/* BorderScan — borderscan.eu
   Look and feel of Mobile Forensics (navy, blue, cyan) with the gold of the
   BorderScan wordmark. No external fonts, no frameworks. */

:root {
  --navy-950: #030a13;
  --navy-900: #071425;
  --navy-850: #0a1a2e;
  --navy-800: #0d2037;
  --navy-700: #13304f;
  --blue: #0796e8;
  --brand-blue: #006dba;
  --cyan: #24c5ff;
  --cyan-soft: #86e2ff;
  --gold: #d9af39;
  --gold-soft: #f0c95a;
  --steel: #9eb1c4;
  --white: #f7fbff;
  --ink: #102338;
  --muted: #5a6e83;
  --line: rgba(139, 178, 210, .24);
  --soft: #eef5fa;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(3, 17, 31, .13);
  --container: min(1180px, calc(100% - 40px));
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: var(--brand-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 16px; color: #fff; background: var(--blue); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ── header ─────────────────────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(3, 10, 19, .72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(3, 10, 19, .92); box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.nav-wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 230px; flex: none; position: relative; z-index: 102; }
.primary-nav { display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.84); font-size: .93rem; font-weight: 650; }
.primary-nav > a { color: inherit; text-decoration: none; position: relative; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: right .25s ease; }
.primary-nav > a:hover, .primary-nav > a[aria-current] { color: #fff; }
.primary-nav > a:hover::after, .primary-nav > a[aria-current]::after { right: 0; }
.nav-cta { padding: 11px 18px; color: #041321 !important; background: linear-gradient(135deg, var(--cyan), #66dbff); border-radius: 999px; white-space: nowrap; }
.nav-cta:hover { filter: brightness(1.06); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 102; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -7px; }
.nav-toggle span:first-child::after { left: 0; top: 7px; }
.nav-open .nav-toggle span:first-child { background: transparent; }
.nav-open .nav-toggle span:first-child::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

/* language switcher: details/summary, works without JavaScript */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .82rem; letter-spacing: .06em; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("globe.svg") center / contain no-repeat; mask: url("globe.svg") center / contain no-repeat; }
.lang summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; margin: 0; padding: 8px; list-style: none; background: var(--navy-850); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lang li a { display: block; padding: 8px 12px; color: rgba(255,255,255,.86); text-decoration: none; border-radius: 9px; font-weight: 600; }
.lang li a:hover { background: rgba(255,255,255,.07); color: #fff; }
.lang li a[aria-current] { color: var(--gold-soft); }

/* ── buttons ───────────────────────────────────────────────────────── */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button-primary { color: #041321; background: linear-gradient(135deg, var(--cyan), #66dbff); box-shadow: 0 12px 32px rgba(36, 197, 255, .28); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(36, 197, 255, .36); }
.button-ghost { color: var(--brand-blue); border-color: rgba(0, 109, 186, .35); background: transparent; }
.button-ghost:hover { border-color: var(--brand-blue); background: rgba(0,109,186,.05); }
.button-disabled { color: var(--muted); background: #e9eef3; border-color: #dde5ec; cursor: not-allowed; }
.button-large { min-height: 60px; padding: 16px 30px; font-size: 1.05rem; }
.hero .button-ghost, .page-hero .button-ghost, .cta .button-ghost, .tone-dark .button-ghost, .featured .button-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.hero .button-ghost:hover, .page-hero .button-ghost:hover, .cta .button-ghost:hover, .featured .button-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); }
.featured .button-disabled, .tone-dark .button-disabled { color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }

/* ── hero ──────────────────────────────────────────────────────────── */

.hero, .page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero { padding: calc(var(--header-h) + 72px) 0 96px; }
.page-hero { padding: calc(var(--header-h) + 64px) 0 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(7, 150, 232, .22), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(217, 175, 57, .10), transparent 60%),
    linear-gradient(rgba(134, 226, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(134, 226, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 18ch; }
.gradient { background: linear-gradient(100deg, var(--gold-soft), var(--cyan) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: 1.16rem; color: rgba(247, 251, 255, .8); max-width: 60ch; }
.page-hero .container { position: relative; }
.eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-blue); }
.hero .eyebrow, .page-hero .eyebrow, .tone-dark .eyebrow, .featured .eyebrow { color: var(--cyan-soft); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .92rem; color: rgba(247,251,255,.78); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.price-tag { margin: 22px 0 0; font-size: 2rem; font-weight: 800; }
.price-tag small { font-size: .9rem; font-weight: 600; color: var(--steel); margin-left: 6px; }

.scan-visual { position: relative; max-width: 420px; margin-inline: auto; }
.scan-phone { width: 74%; margin-inline: auto; filter: drop-shadow(0 40px 70px rgba(7,150,232,.25)); }
.scan-phone .beam { animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: .2; } 50% { transform: translateY(150px); opacity: 1; } }
.float-tag { position: absolute; z-index: 2; padding: 13px 16px; background: rgba(10, 26, 46, .86); border: 1px solid rgba(134, 226, 255, .22); border-radius: 14px; backdrop-filter: blur(8px); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.float-tag span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-soft); font-weight: 700; }
.float-tag strong { display: block; font-size: .9rem; color: #fff; }
.tag-a { left: -6%; top: 18%; }
.tag-b { right: -6%; bottom: 16%; border-color: rgba(217, 175, 57, .35); }
.tag-b span { color: var(--gold-soft); }

.strip { background: var(--navy-900); color: var(--steel); border-top: 1px solid rgba(255,255,255,.06); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 22px 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ── sections ──────────────────────────────────────────────────────── */

.section { padding: 96px 0; }
.section-tight { padding: 44px 0; }
.tone-soft { background: var(--soft); }
.tone-dark { background: var(--navy-900); color: var(--white); }
.tone-dark a { color: var(--cyan-soft); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--muted); }
.tone-dark .lead { color: rgba(247,251,255,.74); }
.fine { font-size: .88rem; color: var(--muted); margin-top: 22px; }
.tone-dark .fine { color: var(--steel); }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.product-card h3 { font-size: 1.8rem; }
.product-tagline { color: var(--muted); }
.product-card.featured { color: var(--white); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: rgba(217, 175, 57, .35); }
.product-card.featured .product-tagline { color: rgba(247,251,255,.74); }
.product-price { margin-top: auto; padding-top: 24px; display: flex; align-items: baseline; gap: 10px; }
.product-price strong { font-size: 2.3rem; letter-spacing: -.02em; }
.product-price span { font-size: .88rem; color: var(--muted); }
.featured .product-price span { color: var(--steel); }
.product-card .actions { margin-top: 18px; }

.checklist, .crosslist { margin: 18px 0; padding: 0; list-style: none; }
.checklist li, .crosslist li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); }
.checklist li:last-child, .crosslist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border: solid var(--blue); border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg); }
.featured .checklist li::before, .tone-dark .checklist li::before { border-color: var(--gold); }
.crosslist li::before, .crosslist li::after { content: ""; position: absolute; left: 4px; top: 20px; width: 14px; height: 2.2px; background: #c2554c; transform: rotate(45deg); }
.crosslist li::after { transform: rotate(-45deg); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tone-soft .step { box-shadow: 0 10px 30px rgba(3,17,31,.05); }
.tone-dark .step { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.step h3 { font-size: 1.08rem; margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.tone-dark .step p { color: rgba(247,251,255,.72); }
.step-number { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #041321; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }

.steps-3, .steps-6 { grid-template-columns: repeat(3, 1fr); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.tone-dark .feature { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.feature h3 { font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); }
.tone-dark .feature p { color: rgba(247,251,255,.72); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; color: var(--brand-blue); background: rgba(7,150,232,.09); }
.tone-dark .feature-icon { color: var(--gold-soft); background: rgba(217,175,57,.12); }

/* split + panel */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.split .section-heading { margin-bottom: 24px; }
.panel { padding: 32px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.tone-soft .panel { background: #fff; }
.tone-dark .panel { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.panel h3 { font-size: 1.2rem; }

/* columns */
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.column { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tone-soft .column { box-shadow: 0 10px 30px rgba(3,17,31,.05); }
.column h3 { font-size: 1.2rem; }
.column-cross { background: #fbf7f6; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.compare td { text-align: center; }
.compare thead th:not(:first-child) { text-align: center; color: var(--ink); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.compare th[scope="row"] { font-weight: 600; }
.yes { color: var(--blue); font-weight: 800; }
.no { color: #a7b5c2; }
.price-row td { font-size: 1.15rem; }

/* notice */
.notice { padding: 24px 28px; border-left: 4px solid var(--gold); border-radius: var(--radius-sm); background: #fffaf0; }
.notice strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-info { border-left-color: var(--blue); background: #f0f8fd; }

/* faq */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--blue); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 0 18px; color: var(--muted); }

/* download */
.download-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 44px; border-radius: var(--radius); color: var(--white); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border: 1px solid rgba(217, 175, 57, .3); }
.download-card .section-heading { margin-bottom: 18px; }
.download-card .eyebrow { color: var(--cyan-soft); }
.download-card .lead, .download-card .fine { color: rgba(247,251,255,.72); }
.download-card .checklist li { border-color: rgba(255,255,255,.1); }
.download-card .checklist li::before { border-color: var(--gold); }
.download-action { text-align: center; }
.download-action .button { width: 100%; }

/* call to action */
.cta { padding: 72px 0; color: var(--white); background: radial-gradient(800px 300px at 80% 50%, rgba(7,150,232,.25), transparent 70%), var(--navy-950); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: rgba(247,251,255,.74); margin: 0; max-width: 60ch; }
.cta .actions { margin-top: 0; }

.prose { max-width: 760px; }

/* guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.guide-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.guide-card:hover { transform: translateY(-3px); border-color: rgba(0,109,186,.35); box-shadow: 0 16px 40px rgba(3,17,31,.08); }
.guide-card h3 { font-size: 1.12rem; }
.guide-card p { color: var(--muted); }
.guide-more { margin-top: auto; font-weight: 700; color: var(--brand-blue); }

/* forms */
.site-form { max-width: 760px; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field .optional { font-weight: 500; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid rgba(16, 35, 56, .22); border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(36, 197, 255, .45); outline-offset: 0; border-color: var(--blue); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c2554c; }
.hint { margin: 0; font-size: .85rem; color: var(--muted); }
.site-form .button { margin-top: 22px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* order (content/<lang>/pages/order.json; review and problem pages from php/Orders/View/) */
.order-layout { grid-template-columns: 1.45fr .75fr; }
.order-form { max-width: none; }
.order-step { margin: 0 0 34px; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.order-step > legend { padding: 0; margin-bottom: 18px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.order-step .fields + .fields, .order-step .choices + .fields, .order-step .choices + .choices { margin-top: 20px; }
.choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices > legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .95rem; }
.order-step > .choices:first-of-type > legend { font-size: .95rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(16, 35, 56, .22); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.choice:hover { border-color: var(--brand-blue); }
.choice input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--brand-blue); flex: none; }
.choice-body { display: flex; flex-direction: column; gap: 2px; }
.choice-body span { font-size: .88rem; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--brand-blue); background: #f0f8fd; box-shadow: 0 0 0 1px var(--brand-blue) inset; }
.choice:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.order-subhead { margin: 22px 0 12px; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-blue); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: .95rem; cursor: pointer; }
.check input { margin: 4px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--brand-blue); }
.consumer-only { margin: 6px 0; padding: 4px 18px 8px; border-left: 3px solid var(--gold); background: #fffaf0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.consumer-only .order-subhead { margin-top: 12px; color: #8a6a12; }
[data-for][hidden] { display: none; }
.order-form .button-large { margin-top: 4px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.05rem; }
.order-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.order-aside .table-wrap, .order-price .table-wrap { margin-bottom: 16px; }
.order-summary { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.order-summary > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.order-summary > div:last-child { border-bottom: 0; }
.order-summary > div:nth-child(odd) { background: var(--soft); }
.order-summary dt { font-weight: 700; font-size: .9rem; color: var(--muted); }
.order-summary dd { margin: 0; overflow-wrap: anywhere; }
.order-price table td { text-align: right; white-space: nowrap; }
.order-price .order-part-note td { padding-top: 10px; padding-bottom: 4px; text-align: left; white-space: normal; font-size: .82rem; color: var(--muted); border-bottom: 0; }
.order-price .order-part th, .order-price .order-part td { padding-left: 34px; font-size: .88rem; color: var(--muted); }
.order-price .order-total th, .order-price .order-total td { font-size: 1.15rem; font-weight: 800; color: var(--ink); background: #f0f8fd; }
.order-pay { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.order-pay .button-primary { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.05rem; }
.notice + .notice, .notice + .split { margin-top: 18px; }
.notice-error { border-left-color: #c2554c; background: #fbf1f0; }
.notice-test { border-left-color: var(--gold); background: #fff5d9; }
.section .notice:first-child { margin-bottom: 26px; }

/* documents (terms, privacy, withdrawal) */
.doc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-single { grid-template-columns: minmax(0, 1fr); }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); font-size: .9rem; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.doc-toc a { color: var(--ink); text-decoration: none; }
.doc-toc a:hover { color: var(--brand-blue); text-decoration: underline; }
.document { max-width: 780px; }
.doc-version { font-size: .9rem; color: var(--muted); font-weight: 600; }
.doc-section { padding-top: 14px; }
.doc-section h2 { font-size: 1.45rem; margin-top: 26px; }
.doc-section h3 { font-size: 1.08rem; margin-top: 22px; }
.doc-section ul { margin: 0 0 1em; padding-left: 1.3em; }
.doc-section li { margin-bottom: .35em; }
.doc-section .table-wrap { margin: 8px 0 18px; }
.doc-section .actions { margin: 6px 0 18px; }
.doc-box { padding: 20px 24px; margin: 6px 0 18px; border-left: 4px solid var(--blue); border-radius: var(--radius-sm); background: #f0f8fd; }
.doc-box p:last-child { margin-bottom: 0; }

/* footer */
.site-footer { padding: 64px 0 28px; color: var(--steel); background: var(--navy-950); font-size: .93rem; }
.site-footer a { color: rgba(247,251,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { width: 190px; margin-bottom: 16px; }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.withdraw-link { display: inline-block; margin-top: 16px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-weight: 700; font-size: .86rem; }
.withdraw-link:hover { border-color: rgba(255,255,255,.5); text-decoration: none !important; }
.footer-legal { padding-top: 22px; font-size: .82rem; }
.footer-legal p { margin: 0 0 6px; }

/* ── responsive ────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .primary-nav { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  /* Full-screen menu over a blurred page. The header's own backdrop-filter
     would make it the containing block of this fixed panel (the menu then
     only covers the header and spills over the page), so it is dropped
     while the menu is open. */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; box-shadow: none; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 101; height: 100vh; height: 100dvh; overflow-y: auto;
    flex-direction: column; justify-content: center; gap: 26px;
    padding: calc(var(--header-h) + 16px) 24px 32px;
    font-size: 1.2rem; background: rgba(3, 10, 19, .9);
    -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; }
  .lang ul { position: static; margin-top: 10px; }
  .hero-grid, .split, .download-card, .doc-layout, .order-layout { grid-template-columns: 1fr; }
  .order-aside { position: static; }
  .doc-toc { position: static; max-height: none; }
  .steps, .steps-3, .steps-5, .steps-6 { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand { width: 180px; }
  .section { padding: 68px 0; }
  .product-grid, .footer-grid, .fields, .steps, .steps-3, .steps-5, .steps-6, .choice-grid { grid-template-columns: 1fr; }
  .order-summary > div { grid-template-columns: 1fr; gap: 2px; }
  .product-card, .download-card { padding: 28px; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .tag-a { left: 0; } .tag-b { right: 0; }
  .strip-inner { justify-content: center; }
  .strip .dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
