
:root {
  --blue-50: rgb(223, 240, 254);
  --blue-500: rgb(71, 136, 199);
  --blue-800: rgb(0, 64, 128);
  --yellow-100: rgb(241, 244, 186);
  --overview-yellow: #F8F8E4;
  --ink: #14314a;
  --muted: #547086;
  --line: #c8ddec;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0, 64, 128, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 11px 15px; background: var(--yellow-100); color: var(--blue-800); border-radius: 0 0 8px 8px; font-weight: 700; }
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #f6c743; outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav-shell { width: min(1180px, calc(100% - 40px)); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; border-radius: 11px; box-shadow: 0 8px 18px rgba(0,64,128,.18); }
.desktop-nav { display: flex; align-items: center; gap: 34px; color: #294b66; }
.desktop-nav a { position: relative; padding: 27px 0 24px; font-size: 15px; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--blue-800); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 15px; height: 2px; background: var(--blue-500); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 9px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 19px; height: 2px; background: var(--blue-800); }
.mobile-menu nav { position: absolute; right: 0; top: 50px; width: min(260px, calc(100vw - 40px)); padding: 10px; display: grid; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.mobile-menu nav a { padding: 13px 14px; border-radius: 8px; }
.mobile-menu nav a:hover { background: var(--blue-50); }

.hero { background: var(--blue-500); color: #fff; overflow: hidden; }
.hero-shell, .feature-shell, .content-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero-shell { min-height: 600px; padding: 84px 0; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.hero h1 { max-width: 660px; margin: 14px 0 22px; font-size: clamp(46px, 5vw, 72px); line-height: 1.04; letter-spacing: -.05em; }
.hero-lead { max-width: 590px; margin: 0; font-size: 19px; line-height: 1.7; color: #f4faff; }
.eyebrow { margin: 0 0 12px; color: var(--blue-800); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #eef8ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--yellow-100); color: var(--blue-800); box-shadow: 0 10px 24px rgba(0,64,128,.2); }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.72); }
.hero-note { margin: 18px 0 0; color: #eaf6ff; font-size: 13px; }

.intro-strip { background: var(--blue-800); color: #fff; }
.intro-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.intro-grid div { min-height: 54px; padding: 0 28px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.2); }
.intro-grid div:first-child { padding-left: 0; border-left: 0; }
.intro-grid strong { font-size: 24px; letter-spacing: -.03em; }
.intro-grid span { margin-top: 5px; color: #cfe8fa; font-size: 13px; }

.screenshot-card { position: relative; margin: 0; overflow: hidden; background: white; border: 1px solid rgba(0,64,128,.14); border-radius: 14px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.screenshot-card::before { content: "Screenshot placeholder"; position: absolute; inset: 0 0 44px; display: grid; place-items: center; background: linear-gradient(135deg, #eef7fd, #d9ecf9); color: #7694aa; font-size: 13px; letter-spacing: .04em; }
.shot-link:hover .screenshot-card { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,64,128,.2); }
.screenshot-card img { position: relative; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; color: transparent; font-size: 0; }
.screenshot-card figcaption { position: relative; min-height: 44px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; color: var(--muted); font-size: 12px; }
.screenshot-card figcaption span:last-child { font-size: 20px; color: var(--blue-500); }

.feature-section { scroll-margin-top: 72px; }
.feature-section.white { background: #fff; }
.feature-section.yellow { background: var(--overview-yellow); }
.feature-shell { min-height: 470px; padding: 76px 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 84px; }
.feature-shell.reverse .feature-copy { order: 2; }
.feature-shell.reverse .shot-link { order: 1; }
.feature-copy h2, .principles h2, .safety-section h2, .faq-hero h1 { margin: 0; max-width: 720px; font-size: clamp(31px, 3.5vw, 48px); line-height: 1.13; letter-spacing: -.035em; }
.feature-copy > p:not(.eyebrow) { margin: 22px 0; color: #395a73; font-size: 17px; line-height: 1.75; }
.feature-copy ul { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; color: #24465f; }
.feature-copy li { position: relative; padding-left: 25px; line-height: 1.55; }
.feature-copy li::before { content: ""; position: absolute; left: 0; top: .775em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-500); transform: translateY(-50%); }

.safety-section { padding: 88px 0 94px; background: #fff; }
.section-lead { max-width: 740px; margin: 20px 0 0; color: #395a73; font-size: 18px; line-height: 1.7; }
.proof-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.proof-grid article { min-width: 0; padding: 22px; background: #f8fbfd; border: 1px solid var(--line); border-radius: 14px; }
.proof-grid h3 { margin: 24px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.proof-grid article > p { margin: 0; color: var(--muted); line-height: 1.7; }

.principles { padding: 88px 0 96px; background: var(--blue-50); }
.principles h2 { max-width: 760px; }
.card-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.four-cards { grid-template-columns: repeat(4, 1fr); }
.card-grid article { min-height: 230px; padding: 30px; background: rgba(255,255,255,.78); border: 1px solid #cbdfee; border-radius: 12px; }
.card-grid article span { color: var(--blue-500); font-size: 13px; font-weight: 700; }
.card-grid h3 { margin: 38px 0 12px; font-size: 21px; }
.card-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.download-panel { scroll-margin-top: 92px; margin-top: 32px; padding: 34px; display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(280px, .9fr) auto; gap: 34px; align-items: center; background: var(--blue-800); color: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.download-copy h3 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.02em; }
.download-copy > p:last-child { margin: 0; color: #dbeeff; line-height: 1.65; }
.download-panel .eyebrow { color: #bfe4ff; }
.requirements { margin: 0; display: grid; gap: 10px; }
.requirements div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.requirements dt { color: #bfe4ff; font-size: 13px; font-weight: 700; }
.requirements dd { margin: 0; color: #fff; font-size: 14px; line-height: 1.4; }
.download-button { background: var(--yellow-100); color: var(--blue-800); white-space: nowrap; }
.download-actions { display: grid; justify-items: center; gap: 12px; }
.text-link { color: #dbeeff; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: var(--blue-800); color: #fff; }
.footer-shell { width: min(1180px, calc(100% - 40px)); min-height: 210px; margin: 0 auto; padding: 48px 0 28px; display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: start; }
.footer-shell strong { font-size: 24px; }
.footer-shell p { margin: 10px 0 0; color: #dbeeff; line-height: 1.6; }
.footer-intro { max-width: 570px; }
.footer-shell .translation-note { margin-top: 18px; color: #bfe4ff; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: #eaf6ff; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 30px; }
.lightbox:target, .lightbox.is-open { display: grid; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,31,48,.84); }
.lightbox-panel { position: relative; z-index: 1; width: min(1120px, 96vw); max-height: 90vh; padding: 16px; overflow: auto; background: white; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.lightbox-panel img { width: 100%; }
.lightbox-close { position: sticky; top: 0; float: right; z-index: 2; width: 38px; height: 38px; margin: -7px -7px 8px 8px; display: grid; place-items: center; background: var(--blue-800); color: #fff; border-radius: 50%; font-size: 24px; }

.faq-main { background: #f8fbfd; min-height: 70vh; }
.faq-hero { padding: 76px 0 52px; background: var(--blue-50); }
.faq-hero p:not(.eyebrow) { max-width: 670px; margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.faq-browser { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 90px; }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 34px; }
.faq-tabs button { min-height: 44px; padding: 11px 20px; border: 1px solid #d8e3eb; border-radius: 999px; background: #fff; color: #294b66; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 3px 10px rgba(20,49,74,.06); transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.faq-tabs button:hover { border-color: #b8cfdf; background: #f7fbfe; transform: translateY(-1px); }
.faq-tabs button.is-active { border-color: #e0e39f; background: var(--yellow-100); color: var(--blue-800); box-shadow: 0 4px 12px rgba(20,49,74,.08); }
.faq-list { width: min(920px, 100%); margin: 0 auto; display: grid; gap: 14px; }
.faq-list[hidden] { display: none; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq-list summary { position: relative; padding: 22px 58px 22px 22px; cursor: pointer; list-style: none; color: var(--ink); font-size: 17px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--blue-500); font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 58px 24px 22px; color: var(--muted); line-height: 1.75; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 14px 0; padding-left: 22px; list-style: disc; }
.faq-answer li + li { margin-top: 7px; }
.faq-answer li::marker { color: #56636d; font-size: .8em; }
.faq-answer strong { color: #294b66; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .nav-shell { min-height: 66px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-shell, .feature-shell { grid-template-columns: 1fr; gap: 42px; }
  .hero-shell { padding: 58px 0 64px; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .feature-shell { min-height: 0; padding: 58px 0; }
  .feature-shell.reverse .feature-copy, .feature-shell.reverse .shot-link { order: initial; }
  .feature-copy { order: 1 !important; }
  .shot-link { order: 2 !important; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.four-cards { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
  .intro-grid div { padding: 14px 22px; }
  .intro-grid div:nth-child(3) { border-left: 0; }
  .card-grid article { min-height: 0; }
  .card-grid h3 { margin-top: 22px; }
  .download-panel { grid-template-columns: 1fr; }
  .download-button { width: fit-content; }
  .footer-shell { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

@media (max-width: 520px) {
  .nav-shell, .hero-shell, .feature-shell, .content-shell, .footer-shell, .faq-browser { width: min(100% - 28px, 1180px); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .download-panel { padding: 26px 22px; gap: 26px; }
  .requirements div { grid-template-columns: 72px 1fr; }
  .download-button { width: 100%; }
  .hero-lead { font-size: 17px; }
  .feature-copy h2, .principles h2, .safety-section h2, .faq-hero h1 { font-size: 32px; }
  .principles { padding: 64px 0 70px; }
  .safety-section { padding: 64px 0 70px; }
  .card-grid.four-cards { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid div { padding: 12px 10px; }
  .lightbox { padding: 10px; }
  .faq-hero { padding: 58px 0 42px; }
  .faq-browser { padding-top: 30px; }
  .faq-tabs { margin: 0 -14px 26px; padding: 0 14px 8px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .faq-tabs button { flex: 0 0 auto; }
  .faq-list summary { padding: 19px 52px 19px 18px; font-size: 16px; }
  .faq-list summary::after { right: 18px; }
  .faq-answer { padding-right: 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
