:root {
  --ink: #09263e;
  --ink-2: #153c54;
  --green: #0f6e56;
  --green-bright: #19a37c;
  --mint: #e7f6f1;
  --gold: #e0a106;
  --paper: #f7faf9;
  --white: #fff;
  --muted: #607586;
  --line: #dce7e6;
  --shadow: 0 24px 70px rgba(9, 38, 62, .13);
  --font: "Times New Roman", Times, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 16px; background: #fff; }
.skip:focus { top: 16px; }

.header { position: fixed; inset: 0 0 auto; z-index: 30; height: 76px; border-bottom: 1px solid transparent; transition: .25s; }
.header.scrolled { background: rgba(247,250,249,.94); border-color: var(--line); backdrop-filter: blur(16px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; }
.links a:hover { color: var(--green); }
.btn {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 1px solid var(--green); border-radius: 12px;
  color: #fff; background: var(--green); font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 26px rgba(15,110,86,.2);
}
.dl { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 14px; }
.btn:hover { background: #0c5c48; }
.links a.btn, .links a.btn:hover { color: #fff; }
.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.menu { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu span { display: block; height: 2px; margin: 6px 8px; background: var(--ink); }

.hero { position: relative; padding: 128px 0 72px; background: #f4f1ea; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-block; margin-bottom: 16px; padding: 0; border: 0; border-radius: 0; color: var(--green); background: none; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 10em; margin-bottom: 18px; font-size: clamp(44px, 4.6vw, 64px); line-height: 1.05; }
.hero h1 em { color: var(--ink); font-style: italic; }
.lead { max-width: 34em; margin-bottom: 26px; color: #496477; font-size: 20px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { font-weight: 700; }
.text-link span { color: var(--green); }
.hero-note { display: flex; gap: 12px; max-width: 520px; margin-top: 28px; padding: 16px 0 0; border-top: 1px solid #ddd4c6; color: var(--muted); font-size: 15px; }
.hero-note > b { flex: 0 0 24px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--ink); font-size: 13px; }
.hero-note p { margin: 0; }
.hero-note strong { color: var(--ink); }

.product { display: grid; gap: 0; min-height: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(9,38,62,.12); }
.case-photo { width: 100%; height: 190px; object-fit: cover; }
.device { position: relative; width: auto; margin: 0; padding: 22px 22px 18px; border: 0; border-radius: 0; background: #fff; box-shadow: none; transform: none; }
.device-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.device-top img { width: 28px; height: 28px; border-radius: 8px; }
.device-top span { margin-left: auto; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.device h2 { margin: 14px 0 16px; font-size: 32px; letter-spacing: -.03em; }
.ship { padding: 0 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ship-head { display: flex; justify-content: space-between; align-items: flex-start; }
.ship-head strong { display: block; font-size: 20px; }
.chip { padding: 4px 8px; border-radius: 20px; color: #087153; background: var(--mint); font-size: 12px; font-weight: 700; }
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-top: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.route b, .route small { display: block; }
.route b { font-size: 14px; }
.route small { color: var(--muted); font-size: 11px; }
.route > div:last-child { text-align: right; }
.route-line { display: flex; align-items: center; color: var(--green); }
.route-line i { flex: 1; border-top: 1px dashed #8caba3; }
.miles { margin: 14px 0 0; padding: 0; list-style: none; }
.miles li { display: flex; gap: 10px; min-height: 48px; }
.miles li > i { flex: 0 0 22px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #c7d5d2; background: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.miles .done > i { border-color: var(--green); color: #fff; background: var(--green); }
.miles .now > i { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(224,161,6,.18); }
.miles strong, .miles span { display: block; }
.miles span { color: var(--muted); font-size: 13px; }
.officer-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--ink-2); font-size: 12px; font-weight: 700; }
.officer-row p { margin: 0; }
.officer-row strong { display: block; }
.case-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.case-notes p { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; margin: 0; padding: 12px; border-radius: 12px; background: #f6f3ec; font-size: 14px; line-height: 1.3; }
.case-notes i { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: var(--green); font-style: normal; font-weight: 700; }
.case-notes p:last-child i { color: var(--ink); background: var(--gold); }
.case-notes span { display: block; color: var(--muted); font-size: 12px; }

.band { padding: 18px 0; color: #fff; background: var(--ink); }
.band-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.band p { margin: 0; color: #9db5c3; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.band div { display: flex; gap: 16px; align-items: center; font-size: 14px; font-weight: 700; }
.band i { width: 4px; height: 4px; border-radius: 50%; background: var(--green-bright); }

.shot { position: relative; }
.shot img { width: 100%; height: min(520px, 62vw); object-fit: cover; }
.shot figcaption { position: absolute; left: 24px; bottom: 24px; max-width: 440px; margin: 0; padding: 16px 18px; border-radius: 14px; color: #fff; background: rgba(9,38,62,.72); }
.shot strong { display: block; font-size: 22px; }

.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.section-head.center { display: block; max-width: 720px; margin-inline: auto; text-align: center; }
.section h2 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 50px); }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-head p, .muted { color: var(--muted); }

.cards-3, .countries, .roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-3 article, .role {
  min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left;
}
.cards-3 article:hover, .country:hover, .role:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(9,38,62,.08); }
.cards-3 span, .num { display: block; margin-bottom: 28px; color: var(--green); font-weight: 700; }
.cards-3 h3, .role h3, .country h3 { margin: 0 0 8px; font-size: 24px; }
.cards-3 p, .role p, .country p { margin: 0; color: var(--muted); }
button.role, button.country { width: 100%; cursor: pointer; color: inherit; transition: .2s; }
.role.on { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.swatch { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 10px; color: #fff; font-weight: 700; }

.photo-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; margin-top: 28px; }
.photo-split img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; }
.guide { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: var(--mint); }
.guide[hidden] { display: none; }
.guide strong { display: block; margin-bottom: 6px; font-size: 20px; }

.how { background: #eef7f4; }
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.steps-flow article { position: relative; z-index: 1; padding: 0 10px; text-align: center; }
.step-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 14px; border: 1px solid #acd1c6; border-radius: 50%; background: #fff; color: var(--green); font-weight: 700; box-shadow: 0 0 0 8px #eef7f4; }
.steps-flow small { color: var(--green); font-weight: 700; letter-spacing: .1em; font-size: 12px; }
.steps-flow p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.stage-wrap { margin-top: 42px; padding: 18px; border-radius: 18px; background: #121820; color: #fff; }
.stage-top { display: flex; justify-content: space-between; align-items: baseline; }
.clock { font-size: 28px; color: #ffe566; }
.stage-scene { margin: 12px 0; border-radius: 12px; overflow: hidden; }
.progress { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.steps button { min-height: 64px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; background: transparent; color: #fff; text-align: left; cursor: pointer; }
.steps button strong { display: block; color: #fff; font-size: 18px; }
.steps button.on { background: #fff; }
.steps button.on strong { color: var(--ink); }
.steps small { display: block; color: #ffe566; font-size: 13px; }
.steps button.on small { color: var(--green); }
.scene-note { min-height: 3em; margin: 12px 0 0; color: #e7eef2; }

.countries { align-items: stretch; gap: 20px; }
.country {
  display: flex; flex-direction: column; gap: 0;
  padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; text-align: left; box-shadow: 0 14px 36px rgba(9,38,62,.06);
}
.country img { width: 100%; height: 168px; margin: 0; object-fit: cover; border-radius: 12px; }
.country div { padding: 16px 10px 10px; }
.country h3 { margin: 4px 0 8px; }
.country p { margin: 0; line-height: 1.45; }
.flag { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.countries.play .country { animation: card-in .6s ease both; animation-delay: calc(var(--i) * 140ms); }
.country.on { border-color: var(--green); box-shadow: 0 18px 40px rgba(15,110,86,.16); }
#country-detail { margin-top: 20px; padding: 22px 24px; }
@keyframes card-in { from { opacity: 0; } to { opacity: 1; } }

.modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mod { min-height: 160px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mod b { display: block; margin-bottom: 10px; color: var(--green); font-size: 12px; letter-spacing: .08em; }
.mod h3 { margin: 0 0 6px; font-size: 20px; }
.mod p { margin: 0; color: var(--muted); font-size: 15px; }
.mod:nth-child(4n+2) b { color: var(--ink); }
.mod:nth-child(4n+3) b { color: #9a3412; }
.mod:nth-child(4n) b { color: #8a6408; }

.recover { color: #fff; background: var(--ink); }
.recover .eyebrow { color: #7ddec8; }
.recover h2, .recover .section-head p { color: #fff; }
.recover .section-head p { color: #b7c9d2; }
.ladder { display: grid; gap: 14px; }
.step-row {
  display: grid; grid-template-columns: 148px 1fr; gap: 18px; align-items: center;
  margin: 0; padding: 18px 22px; border-radius: 16px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  transition: background .4s, transform .4s, box-shadow .4s;
}
.step-row span { color: var(--gold); font-weight: 700; line-height: 1.35; }
.step-row p { margin: 0; color: #e7eef2; }
.ladder.play .step-row { animation: ladder-in .6s ease both; animation-delay: calc(var(--i) * 120ms); }
.step-row.is-live {
  background: rgba(224,161,6,.22);
  box-shadow: inset 5px 0 0 var(--gold), 0 10px 24px rgba(0,0,0,.18);
  transform: translateX(10px);
}
@keyframes ladder-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; } to { opacity: 1; } }

.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; padding: 36px; border-radius: 20px; color: #fff; background: var(--ink); }
.contact-grid h2 { color: #fff; }
.contact-grid .eyebrow { color: var(--gold); }
.contact-grid > div > p { color: #d5e2e8; }
.contact-lines { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-lines small { display: block; color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contact-lines a, .contact-lines span { color: #fff; font-size: 18px; }
.form { display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: #fff; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
#form-note { margin: 0; color: var(--muted); font-size: 15px; }

.footer { padding: 72px 0 24px; color: #fff; background: #061d2e; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr; gap: 64px; padding-bottom: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 10px; color: var(--ink); background: #fff; font-weight: 700; }
.footer-brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.footer-grid p { max-width: 380px; margin: 18px 0 0; color: #8fa8b5; font-size: 15px; }
.footer-grid strong { display: block; margin-bottom: 14px; color: #7e9aa8; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 10px 0; color: #c1d0d6; font-size: 15px; font-weight: 400; }
.footer-grid span { display: block; margin-top: 8px; color: #8fa8b5; font-size: 14px; line-height: 1.45; }
.footer-grid a:hover { color: #7ddec8; }
.footer-cta { color: #fff !important; font-size: 18px !important; font-weight: 700 !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid #1d394b; color: #708d9b; font-size: 13px; }

.nudge { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: min(340px, calc(100% - 24px)); padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transform: translateY(140%); transition: transform .35s; }
.nudge.show { transform: none; }
.nudge p { margin: 8px 0 12px; color: var(--muted); }
.nudge-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nudge .ghost { background: #fff; }

.toon { display: block; width: 100%; height: auto; }
.toon text { font-family: "Times New Roman", Times, serif; }
.toon .ink { stroke: #1f2a37; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.toon .smile { stroke-width: 2.4; }
.toon .sky-a { stop-color: #7ec8ff; }
.toon .sky-b { stop-color: #e8f6ff; }
.stage-scene[data-scene="crash"] .sky-a { stop-color: #ffb35a; }
.stage-scene[data-scene="crash"] .sky-b { stop-color: #ffe7c2; }
.stage-scene[data-scene="decide"] .sky-a { stop-color: #c7b6ff; }
.stage-scene[data-scene="decide"] .sky-b { stop-color: #f6f1ff; }
.stage-scene[data-scene="move"] .sky-a { stop-color: #7ddec8; }
.stage-scene[data-scene="move"] .sky-b { stop-color: #e7fff6; }
.layer { opacity: 0; pointer-events: none; }
.stage-scene[data-scene="crash"] .layer-crash,
.stage-scene[data-scene="capture"] .layer-capture,
.stage-scene[data-scene="decide"] .layer-decide,
.stage-scene[data-scene="move"] .layer-move { opacity: 1; }
.sun { transform: translate(86px, 64px); }
.toon .body { fill: #ff5d4a; }
.cabin { fill: #ff8a73; }
.crash-l { transform: translate(70px, 250px); animation: nudge-r 1.1s ease-in-out infinite; }
.crash-r { transform: translate(650px, 250px) scale(-1, 1); animation: nudge-l 1.1s ease-in-out infinite; }
.boom { transform: translate(360px, 168px); animation: bonk 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.snapper { transform: translate(360px, 236px); animation: bob 1.6s ease-in-out infinite; }
.phone-hand { transform-origin: 16px -28px; animation: aim 1.6s ease-in-out infinite; }
.polaroid { opacity: 0; }
.p1 { transform: translate(150px, 78px) rotate(-8deg); animation: pop-card 2.4s ease-in-out infinite; }
.p2 { transform: translate(250px, 48px) rotate(6deg); animation: pop-card 2.4s .2s ease-in-out infinite; }
.p3 { transform: translate(470px, 70px) rotate(-4deg); animation: pop-card 2.4s .4s ease-in-out infinite; }
.flash { opacity: 0; animation: bulb 2.4s ease-in-out infinite; }
.paper { transform: translate(250px, 78px); }
.stamp { transform: translate(168px, 112px) rotate(-12deg); transform-box: fill-box; transform-origin: center; animation: stamp-in .8s ease both; }
.officer { transform: translate(92px, 214px); }
.leave-l { transform: translate(80px, 250px); animation: drive-off-l 2.8s ease-in infinite; }
.leave-r { transform: translate(560px, 250px) scale(-1, 1); animation: drive-off-r 2.8s ease-in infinite; }
.bye { transform: translate(360px, 92px); animation: float-sign 1.4s ease-in-out infinite; }
.stage-scene[data-scene="move"] .dashes { animation: dash-go .5s linear infinite; }
@keyframes nudge-r { 0%, 100% { transform: translate(70px, 250px); } 45% { transform: translate(150px, 250px); } }
@keyframes nudge-l { 0%, 100% { transform: translate(650px, 250px) scale(-1, 1); } 45% { transform: translate(570px, 250px) scale(-1, 1); } }
@keyframes bonk { 0%, 100% { transform: translate(360px, 168px) scale(.7); } 45% { transform: translate(360px, 168px) scale(1.15); } }
@keyframes bob { 50% { transform: translate(360px, 226px); } }
@keyframes aim { 50% { transform: rotate(-8deg); } }
@keyframes pop-card { 0%, 15% { opacity: 0; } 30%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bulb { 0%, 68%, 100% { opacity: 0; } 74% { opacity: .72; } }
@keyframes dash-go { to { stroke-dashoffset: -40; } }
@keyframes drive-off-l { 0% { transform: translate(220px, 250px); } 100% { transform: translate(-180px, 250px); } }
@keyframes drive-off-r { 0% { transform: translate(500px, 250px) scale(-1, 1); } 100% { transform: translate(900px, 250px) scale(-1, 1); } }
@keyframes float-sign { 50% { transform: translate(360px, 78px); } }
@keyframes stamp-in { from { transform: translate(168px, 112px) rotate(-20deg) scale(1.4); } to { transform: translate(168px, 112px) rotate(-12deg) scale(1); } }

@media (max-width: 900px) {
  .hero { padding-top: 110px; min-height: 0; }
  .hero-grid, .section-head, .cards-3, .countries, .roles, .photo-split, .steps-flow, .modules, .contact-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 108px; }
  .case-notes { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .product { min-height: 0; }
  .menu { display: block; }
  .links { display: none; position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .links.open { display: flex; }
  .steps, .step-row { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 1fr; }
  .shot figcaption { left: 12px; right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
