/* icaonav.com - one stylesheet, no framework */
:root {
  --navy: #0b1b33;        /* the app background */
  --navy-2: #122a4d;
  --amber: #ffc83d;       /* accent */
  --amber-ink: #1b1300;
  --cyan: #4cc9f0;
  --green: #3ddc84;
  --red: #e8322d;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --ink: #16213a;
  --muted: #5b6577;
  --line: #e1e6ef;
  --link: #0e4fa3;
  --max: 1100px;
  --gutter: 16px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 27, 51, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }
code { font: .92em var(--mono); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---- top navigation ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); text-decoration: none; letter-spacing: .04em; margin-right: auto; }
.brand img { width: 30px; height: 30px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { margin: 0; }
.nav li a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav li a:hover { background: var(--bg-alt); color: var(--navy); }
.nav li a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 6px 6px 0 0; }
.nav li.cta a { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 42px; height: 38px; cursor: pointer; padding: 0; color: var(--navy); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 14px; gap: 2px; box-shadow: 0 12px 24px rgba(11,27,51,.12); }
  .nav.open ul { display: flex; }
  .nav li.cta a { margin: 8px 0 0; text-align: center; }
}

/* ---- buttons ---- */
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; line-height: 1.2; border: 2px solid transparent; transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { color: var(--amber-ink); box-shadow: 0 4px 14px rgba(255,200,61,.45); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.nav .btn { padding: 8px 16px; }

/* ---- hero ---- */
.hero { background: var(--navy); color: #e9eefb; padding: clamp(40px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -20%; bottom: -60%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(76,201,240,.18), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 5fr 6fr; } }
.hero h1 { color: #fff; }
.hero .lead { color: #c7d2ea; font-size: 1.2rem; margin-bottom: 1.4em; }
.hero .kicker { color: var(--amber); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: 12px; }
.hero figure { margin: 0; }
.hero figure img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12); }
.hero figcaption { color: #9fb0cc; font-size: .88rem; margin-top: 10px; }

/* ---- sections ---- */
section { padding: clamp(40px, 6vw, 72px) 0; }
section.alt { background: var(--bg-alt); }
section > .wrap > h2:first-child { margin-bottom: .8em; }
.two { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } .two.rev > .text { order: 2; } }
.text p:last-child, .text ul:last-child { margin-bottom: 0; }
.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: .8em; }
.card .more { color: var(--link); font-weight: 600; }
.card .tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--navy); background: var(--amber); padding: 2px 8px; border-radius: 4px; margin-bottom: 12px; }

/* ---- figures ---- */
figure { margin: 0; }
figure.shot img { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(11,27,51,.12); background: var(--navy); }
figure.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
figure.shot a { display: block; }
figure.shot.narrow { max-width: 600px; }
.strip { display: grid; gap: 20px; }
@media (min-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .strip.four { grid-template-columns: repeat(4, 1fr); } }
.strip figcaption { font-size: .85rem; }

/* ---- video ---- */
.video { background: var(--navy); color: #c7d2ea; }
.video h2 { color: #fff; }
.video video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }

/* ---- steps / lists ---- */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.three { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 58px; position: relative; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.cols2 { display: grid; gap: 24px 40px; }
@media (min-width: 860px) { .cols2 { grid-template-columns: 1fr 1fr; } }

/* ---- notice ---- */
.notice { border-left: 4px solid var(--amber); background: #fff8e3; padding: 16px 20px; border-radius: 0 8px 8px 0; }
.notice p:last-child { margin-bottom: 0; }
.notice.red { border-color: var(--red); background: #fdeeed; }

/* ---- download block ---- */
.download { background: var(--navy); color: #d7deee; }
.download h2 { color: #fff; }
.download .box { background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; display: grid; gap: 28px; }
@media (min-width: 860px) { .download .box { grid-template-columns: 1fr 1fr; } }
.download code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.download .file { font-size: 1.05rem; }
.download .file a { color: #fff; }
.download h3 { color: var(--amber); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6em; }
.download ol { padding-left: 1.2em; }
.download .small { font-size: .88rem; color: #9fb0cc; margin-top: 20px; }
.download .btn-primary { margin: 6px 0 14px; }

/* ---- contact CTA (exam) ---- */
.contact { text-align: center; }
.contact .btn { font-size: 1.1rem; }
.contact p.small { font-size: .9rem; color: var(--muted); }

/* ---- footer ---- */
footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--muted); }
footer .line1 { color: var(--ink); font-weight: 600; margin-bottom: 12px; }
footer .licences { max-width: 900px; }
footer .warn { color: var(--red); font-weight: 700; margin-top: 12px; }
footer nav { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { color: var(--muted); }
