/* ==========================================================================
   ACADEMEE /deal - standalone 50 % campaign landing page
   Shares the design tokens of landing.css so paid traffic lands on the same
   editorial, warm-dark surface as the main site. No framework, no build step.
   ========================================================================== */

:root {
  --bg-dark: #0c0d0f;
  --bg-dark-mid: #121315;
  --bg-dark-soft: #17191d;
  --bg-desk: #e2ddd0;
  --bg-paper: #fffdf9;
  --bg-paper-yellow: #fffddf;
  --ink-primary: #1e2229;
  --ink-light: #f3f4f6;
  --ink-muted: #9ca3af;
  --ink-secondary: #6b7280;
  --ink-paper-muted: #4b5563;
  --brand-ochre: #df9a26;
  --brand-ochre-dark: #9a6210;
  --brand-sage: #3e7b5c;
  --brand-sage-light: #dcebe2;
  --brand-brick: #c24c37;
  --brand-cream-dark: #f2ece0;

  --border-dark: 1px solid rgba(243, 244, 246, 0.14);
  --border-paper: 2px solid var(--ink-primary);
  --shadow-flat: 8px 8px 0 var(--ink-primary);
  --shadow-flat-soft: 5px 5px 0 var(--ink-primary);
  --shadow-dark: 10px 10px 0 rgba(223, 154, 38, 0.16);

  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Kalam', 'Segoe Script', cursive;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--ink-light);
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
button, input { font: inherit; }
p, h1, h2, h3, h4, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }

::selection { background: var(--brand-ochre); color: #0c0d0f; }

:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 3000;
  background: var(--bg-paper);
  color: var(--ink-primary);
  padding: 10px 16px;
  border-radius: 3px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
              box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn-small { padding: 9px 16px; font-size: 12.5px; letter-spacing: 0.01em; }
.btn-large { padding: 17px 30px; font-size: 16.5px; }
.btn-block { width: 100%; padding: 16px 22px; font-size: 15.5px; }

.btn-primary,
.btn-ochre {
  background: var(--brand-ochre);
  color: #0e1013;
  border-color: var(--brand-ochre);
  box-shadow: 0 6px 18px rgba(223, 154, 38, 0.24);
}

.btn-primary:hover,
.btn-ochre:hover {
  background: #f5a623;
  border-color: #f5a623;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(223, 154, 38, 0.36);
}

.btn-primary:active,
.btn-ochre:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.17);
  color: var(--ink-light);
  font-weight: 600;
  padding: 16px 24px;
  font-size: 15px;
}
.btn-ghost:hover {
  border-color: rgba(223, 154, 38, 0.55);
  background: rgba(223, 154, 38, 0.08);
  transform: translateY(-2px);
}

/* ------------------------------------------------------- announcement + header */
.top-stack {
  position: sticky;
  top: 0;
  z-index: 1200;
}

.announcement {
  background: var(--brand-ochre);
  color: #0e1013;
  border-bottom: 1px solid rgba(14, 16, 19, 0.24);
}

.announcement-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 7px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 500;
  min-width: 0;
}
.announcement-text strong { font-weight: 800; white-space: nowrap; }
.icon-bolt { flex: 0 0 auto; }

.announcement-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
}
.announcement-cta:hover { opacity: 0.72; }

.site-header {
  background: rgba(12, 13, 15, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #ffffff;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(223, 154, 38, 0.28));
}
.brand em { font-style: italic; color: var(--brand-ochre); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a6afbd;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--brand-ochre); }

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0 0;
  background:
    radial-gradient(ellipse 55% 60% at 76% 22%, rgba(223, 154, 38, 0.14), transparent 68%),
    var(--bg-dark);
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
}

.hero-copy { animation: rise 0.65s var(--ease) both; }

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(38px, 5.1vw, 64px);
  line-height: 1.03;
  letter-spacing: -2.2px;
  font-weight: 800;
  color: #ffffff;
  text-wrap: balance;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--brand-ochre);
  letter-spacing: -1px;
  text-shadow: 0 6px 28px rgba(223, 154, 38, 0.2);
}

.hero-sub {
  margin-top: 22px;
  max-width: 600px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.72;
  color: #b6bec9;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-micro {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.hero-micro li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #9ca3af;
}
.hero-micro svg { color: var(--brand-ochre); flex: 0 0 auto; }

.coupon-note {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(62, 123, 92, 0.7);
  border-radius: 2px;
  background: rgba(62, 123, 92, 0.12);
  color: #9ed3b7;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.coupon-note[hidden] { display: none; }

.hero-visual { animation: rise 0.7s 0.08s var(--ease) both; }

/* ---------------------------------------------------------------- demo card */
.demo-stage {
  position: relative;
  background: #14161a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  box-shadow: var(--shadow-dark);
  padding-bottom: 37px;
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 6px 6px 0 0;
}
.demo-dots { display: inline-flex; gap: 4px; }
.demo-dots i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.demo-dots i:first-child { background: var(--brand-brick); }
.demo-dots i:nth-child(2) { background: var(--brand-ochre); }
.demo-dots i:last-child { background: var(--brand-sage); }
.demo-url {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #7d8794;
  text-transform: uppercase;
  white-space: nowrap;
}
.demo-timer {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-ochre);
  font-variant-numeric: tabular-nums;
}

.demo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1.05fr);
  gap: 8px;
  padding: 15px 14px 6px;
  align-items: center;
}

.demo-file,
.demo-quiz {
  background: var(--bg-paper);
  color: var(--ink-primary);
  border: 1px solid #d6cfc0;
  border-radius: 3px;
  padding: 12px;
  min-width: 0;
}

.demo-file-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e1dbcf;
}
.file-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: rgba(194, 76, 55, 0.1);
  color: var(--brand-brick);
  border-radius: 2px;
  flex: 0 0 auto;
}
.file-name {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-sheets {
  position: relative;
  height: 104px;
  margin: 11px 0 9px;
  padding: 8px 10px;
}
.sheet {
  position: absolute;
  background: #ffffff;
  border: 1px solid #d9d2c4;
  border-radius: 2px;
}
.sheet-back { inset: 13px 3px 0 17px; transform: rotate(3.5deg); background: #f4efe5; }
.sheet-mid { inset: 6px 9px 5px 10px; transform: rotate(-2deg); background: #fbf7ef; }
.sheet-front {
  inset: 0 14px 8px 5px;
  padding: 11px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sheet-line {
  display: block;
  height: 3px;
  background: #ded7ca;
  border-radius: 1px;
}
.sheet-line.w-80 { width: 80%; }
.sheet-line.w-100 { width: 100%; }
.sheet-line.w-65 { width: 65%; }
.sheet-line.w-90 { width: 90%; }
.sheet-line.w-45 { width: 45%; }

.file-meta {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
}
.file-progress {
  height: 4px;
  background: #e6e0d4;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 1px;
}
.file-progress span {
  display: block;
  height: 100%;
  width: 68%;
  background: var(--brand-ochre);
  animation: scan 2.8s ease-in-out infinite;
}
.file-status {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #6b7280;
}

.demo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--brand-ochre);
}
.arrow-line {
  width: 1px;
  height: 22px;
  background: repeating-linear-gradient(to bottom, rgba(223,154,38,0.8) 0 3px, transparent 3px 6px);
}
.arrow-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-ochre);
}

.quiz-kicker {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-ochre-dark);
  margin-bottom: 6px;
}
.quiz-question {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 9px;
}
.quiz-options { display: grid; gap: 5px; }
.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid #dfd8ca;
  background: #fffefb;
  border-radius: 2px;
  padding: 6px 8px;
  font-size: 9.5px;
  line-height: 1.25;
  color: #4b5563;
}
.quiz-option.is-correct {
  border-color: var(--brand-sage);
  background: var(--brand-sage-light);
  color: #24523a;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(62, 123, 92, 0.08);
}
.quiz-option.is-correct svg { color: var(--brand-sage); flex: 0 0 auto; }
.quiz-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px solid #e4ded2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a8290;
}
.quiz-streak { color: var(--brand-ochre-dark); }

.mee-note {
  position: absolute;
  left: -18px;
  bottom: -20px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
}
.mee-note img {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}
.mee-bubble {
  margin-bottom: 18px;
  background: var(--bg-paper-yellow);
  color: var(--ink-primary);
  border: 1.5px solid var(--ink-primary);
  border-radius: 3px;
  box-shadow: 3px 3px 0 rgba(30, 34, 41, 0.85);
  padding: 5px 8px;
  font-family: var(--font-hand);
  font-size: 12px;
  line-height: 1.25;
  transform: rotate(-2deg);
  max-width: 150px;
}

/* ------------------------------------------------------------- proof strip */
.proof-strip {
  margin-top: clamp(44px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.proof-item {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.proof-item:last-child { border-right: 0; }
.proof-item strong {
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-ochre);
  letter-spacing: -0.5px;
}
.proof-item span {
  font-size: 11.5px;
  color: #8f98a5;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }

.section-head {
  max-width: 800px;
  margin-bottom: clamp(34px, 5vw, 56px);
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.1vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.9px;
  font-weight: 700;
  color: #ffffff;
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--brand-ochre); }
.section-head p {
  margin-top: 16px;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #a9b2bd;
}

.section-head-paper h2 { color: var(--ink-primary); }
.section-head-paper h2 em { color: var(--brand-ochre-dark); }
.section-head-paper p { color: var(--ink-paper-muted); }

/* ---------------------------------------------------------------- problem */
.problem {
  background: var(--bg-dark-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.compare-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 3px;
  overflow: hidden;
}
.compare-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-brick);
  opacity: 0.7;
}
.compare-card.is-good {
  border-color: rgba(223, 154, 38, 0.7);
  background:
    linear-gradient(160deg, rgba(223, 154, 38, 0.14), rgba(223, 154, 38, 0.025) 58%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}
.compare-card.is-good::before { background: var(--brand-ochre); opacity: 1; }

.compare-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.compare-num {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: #6f7885;
  line-height: 1;
}
.is-good .compare-num { color: var(--brand-ochre); }
.compare-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  color: #b7c0cc;
  background: rgba(255, 255, 255, 0.03);
}
.is-good .compare-icon {
  color: var(--brand-ochre);
  border-color: rgba(223, 154, 38, 0.4);
  background: rgba(223, 154, 38, 0.08);
}

.compare-card h3 {
  font-size: 17.5px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
  margin-bottom: 10px;
}
.compare-card p {
  font-size: 13px;
  line-height: 1.62;
  color: #9aa3b0;
}
.compare-foot {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}
.compare-foot span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f7885;
}
.compare-foot strong {
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 600;
  color: #d3d9e1;
}
.is-good .compare-foot span { color: var(--brand-ochre); }
.is-good .compare-foot strong { color: #f6e2ba; }

.problem-close {
  margin-top: 34px;
  max-width: 820px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.38;
  color: #cbd2dc;
  letter-spacing: -0.2px;
}
.problem-close em { color: var(--brand-ochre); font-style: italic; }

/* ---------------------------------------------------------------- features */
.features {
  background: var(--bg-paper);
  color: var(--ink-primary);
  border-top: 2px solid var(--ink-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  position: relative;
  background: #ffffff;
  border: var(--border-paper);
  border-radius: 3px;
  padding: 28px 26px 25px;
  box-shadow: var(--shadow-flat-soft);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink-primary);
}
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink-primary);
  border-radius: 3px;
  background: var(--bg-paper-yellow);
  color: var(--ink-primary);
  margin-bottom: 18px;
}
.feature-proof {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 7px;
  border: 1px solid rgba(154, 98, 16, 0.4);
  border-radius: 2px;
  background: rgba(223, 154, 38, 0.09);
  color: var(--brand-ochre-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feature-card h3 {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.35px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink-paper-muted);
}

.how-strip {
  margin-top: clamp(38px, 5vw, 58px);
  background: var(--ink-primary);
  color: var(--ink-light);
  border-radius: 3px;
  padding: clamp(26px, 3.6vw, 40px);
  scroll-margin-top: 128px;
}
.how-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.4px;
}
.how-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.how-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.how-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  color: var(--brand-ochre);
}
.how-list h4 {
  font-size: 14.5px;
  line-height: 1.3;
  margin-bottom: 5px;
}
.how-list p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #aeb6c1;
}

.hand-note {
  margin-top: 24px;
  text-align: right;
  font-family: var(--font-hand);
  font-size: clamp(17px, 2vw, 21px);
  color: var(--brand-ochre-dark);
  transform: rotate(-1.5deg);
}

/* ------------------------------------------------------------------- trust */
.trust {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.trust h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: #ffffff;
}
.trust h2 em { color: var(--brand-ochre); font-style: italic; }
.trust-sub {
  margin-top: 16px;
  max-width: 600px;
  color: #a2abb7;
  font-size: 15px;
  line-height: 1.7;
}
.trust-list {
  margin-top: 30px;
  display: grid;
  gap: 20px;
}
.trust-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.trust-check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223, 154, 38, 0.55);
  border-radius: 2px;
  background: rgba(223, 154, 38, 0.1);
  color: var(--brand-ochre);
}
.trust-list h3 {
  font-size: 15.5px;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 4px;
}
.trust-list p {
  font-size: 13px;
  line-height: 1.62;
  color: #9ca3af;
}

.seal-stack {
  display: grid;
  grid-template-columns: repeat(2, 116px);
  gap: 16px;
  justify-content: center;
  align-items: start;
}
.seal {
  width: 116px;
  height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 2px solid var(--brand-ochre);
  border-radius: 3px;
  color: var(--brand-ochre);
  transform: rotate(-4deg);
  background: rgba(223, 154, 38, 0.045);
}
.seal span {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}
.seal small {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.seal-brick {
  border-color: var(--brand-brick);
  color: #e17a64;
  background: rgba(194, 76, 55, 0.06);
  transform: rotate(3deg);
  margin-top: 34px;
}
.seal-sage {
  border-color: var(--brand-sage);
  color: #7fbe9c;
  background: rgba(62, 123, 92, 0.07);
  transform: rotate(-2deg);
  margin-top: -10px;
}
.seal-caption {
  grid-column: 1 / -1;
  max-width: 250px;
  justify-self: center;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 15px;
  line-height: 1.35;
  color: #8b949f;
  transform: rotate(-1deg);
  margin-top: 18px;
}

/* ----------------------------------------------------------------- pricing */
.pricing {
  background: var(--bg-desk);
  color: var(--ink-primary);
  border-top: 2px solid var(--ink-primary);
  background-image:
    linear-gradient(rgba(30, 34, 41, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 34, 41, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  background: var(--bg-paper);
  border: var(--border-paper);
  border-radius: 4px;
  box-shadow: 10px 10px 0 var(--ink-primary);
  overflow: hidden;
}

.pricing-left {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.plan-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.plan-badge {
  border: 1px solid var(--ink-primary);
  border-radius: 2px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-paper-yellow);
}
.plan-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-paper-muted);
  max-width: 440px;
}
.plan-features {
  margin-top: 24px;
  display: grid;
  gap: 11px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #2f3540;
}
.plan-features svg {
  color: var(--brand-sage);
  flex: 0 0 auto;
  margin-top: 1px;
}
.plan-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed rgba(30, 34, 41, 0.28);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.checkout-steps {
  margin-top: auto;
  padding-top: 24px;
}
.checkout-steps-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
.checkout-steps ol {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.checkout-steps li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.step-num {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 34, 41, 0.34);
  border-radius: 2px;
  background: var(--bg-paper-yellow);
  color: var(--ink-primary);
  font-size: 10px;
  font-weight: 800;
}
.checkout-steps strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}
.checkout-steps small {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  line-height: 1.35;
  color: var(--ink-secondary);
}
.checkout-steps-note {
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.pricing-right {
  position: relative;
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: clamp(30px, 4vw, 44px);
  border-left: 2px solid var(--ink-primary);
  overflow: hidden;
}
.pricing-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 88% 0%, rgba(223, 154, 38, 0.16), transparent 66%);
  pointer-events: none;
}

.deal-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 2px solid var(--brand-ochre);
  border-radius: 2px;
  color: var(--brand-ochre);
  background: rgba(12, 13, 15, 0.82);
  padding: 6px 9px;
  transform: rotate(4deg);
  text-align: center;
  line-height: 1;
}
.deal-stamp span {
  display: block;
  font-family: var(--font-hand);
  font-size: 25px;
  font-weight: 700;
}
.deal-stamp small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-old {
  position: relative;
  z-index: 1;
  padding-right: 86px;
  font-size: 14px;
  color: #8d96a3;
}
.price-old s { font-weight: 700; }
.price-old span { font-size: 12px; }

.price-now {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.price-value {
  font-family: var(--font-sans);
  font-size: clamp(54px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--brand-ochre);
  font-variant-numeric: tabular-nums;
}
.price-period {
  font-size: 12.5px;
  color: #a8b1bd;
  max-width: 100px;
  line-height: 1.25;
}
.price-after {
  margin-top: 8px;
  font-size: 13px;
  color: #a8b1bd;
}
.price-save {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(62, 123, 92, 0.65);
  border-radius: 2px;
  background: rgba(62, 123, 92, 0.14);
  color: #9ed3b7;
  font-size: 11px;
  font-weight: 700;
}
.price-ended {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(194, 76, 55, 0.5);
  border-radius: 2px;
  background: rgba(194, 76, 55, 0.1);
  font-size: 11.5px;
  line-height: 1.5;
  color: #f0b9ae;
}
.price-ended[hidden] { display: none; }

.countdown {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.countdown-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8f98a5;
}
.countdown-grid {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.count-box {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 4px 5px;
  text-align: center;
}
.count-box strong {
  display: block;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}
.count-box span {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f98a5;
}
.countdown-end {
  margin-top: 8px;
  font-size: 10.5px;
  color: #7f8895;
}

.coupon-chip {
  position: relative;
  z-index: 1;
  margin: 11px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(62, 123, 92, 0.65);
  border-radius: 2px;
  padding: 4px 8px;
  background: rgba(62, 123, 92, 0.13);
  color: #9ed3b7;
  font-size: 10.5px;
  font-weight: 700;
}
.coupon-chip[hidden] { display: none; }

.pricing-right .btn-block {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.price-risk {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  text-align: center;
  font-size: 11.5px;
  color: #9ca3af;
}
.price-legal {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.5;
  color: #717b88;
}
.secure-row {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8f98a5;
}
.secure-row svg { color: var(--brand-sage); }

.pricing-foot {
  margin-top: 22px;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5b6472;
}

/* --------------------------------------------------------------------- faq */
.faq {
  background: var(--bg-paper);
  color: var(--ink-primary);
  border-top: 1px solid rgba(30, 34, 41, 0.18);
}
.faq-container { max-width: 920px; }
.faq-list { border-top: 1.5px solid var(--ink-primary); }
.faq-item { border-bottom: 1px solid rgba(30, 34, 41, 0.22); }
.faq-item h3 { margin: 0; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink-primary);
}
.faq-q > span:first-child {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.2px;
}
.faq-q:hover .faq-icon { background: var(--bg-paper-yellow); }

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink-primary);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--ink-primary);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--brand-ochre); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  max-width: 760px;
  padding-bottom: 21px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-paper-muted);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* --------------------------------------------------------------- final cta */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(70px, 9vw, 112px) 0;
  text-align: center;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 62% at 50% 44%, rgba(223, 154, 38, 0.14), transparent 66%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; max-width: 780px; }
.final-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: #ffffff;
  text-wrap: balance;
}
.final-inner h2 em { color: var(--brand-ochre); font-style: italic; }
.final-inner p {
  margin: 18px auto 28px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #a8b1bd;
}
.final-note {
  margin-top: 16px !important;
  font-size: 12px !important;
  color: #7f8895 !important;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(243, 244, 246, 0.1);
  padding: 54px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.brand-footer { font-size: 23px; }
.footer-brand-col p {
  margin-top: 13px;
  max-width: 330px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8f98a5;
}
.footer-made {
  color: var(--brand-ochre) !important;
  font-size: 11.5px !important;
  letter-spacing: 0.02em;
}
.footer-grid h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #f1f3f5;
  margin-bottom: 13px;
}
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid ul a {
  font-size: 12.5px;
  color: #98a1ad;
  transition: color 0.2s ease;
}
.footer-grid ul a:hover { color: var(--brand-ochre); }

.footer-bottom {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 244, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-bottom p { font-size: 11px; color: #707a87; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7f8895;
}
.lang-switch a:hover { color: var(--brand-ochre); }

/* -------------------------------------------------------------- sticky bar */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(18, 19, 21, 0.97);
  border: 1px solid rgba(223, 154, 38, 0.5);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  padding: 10px 12px;
  transform: translateY(130%);
  transition: transform 0.3s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-copy { display: flex; flex-direction: column; line-height: 1.15; }
.sticky-copy > span {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ochre);
}
.sticky-copy strong {
  font-size: 15px;
  color: #ffffff;
  font-weight: 800;
}
.sticky-copy small { font-size: 10px; font-weight: 500; color: #9ca3af; }

/* --------------------------------------------------------------- success */
.success-view { display: none; }
body[data-page="success"] .landing-only { display: none; }
body[data-page="success"] .success-view { display: block; }
body[data-page="success"] .announcement,
body[data-page="success"] .header-nav,
body[data-page="success"] .header-cta,
body[data-page="success"] .sticky-cta { display: none !important; }

.success-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
}
.success-card {
  width: 100%;
  max-width: 620px;
  background: var(--bg-paper);
  color: var(--ink-primary);
  border: var(--border-paper);
  border-radius: 4px;
  box-shadow: 10px 10px 0 rgba(30, 34, 41, 0.9);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.success-seal {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: var(--brand-ochre);
  border: 2px solid var(--ink-primary);
  border-radius: 3px;
  color: var(--ink-primary);
  transform: rotate(-3deg);
}
.success-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.success-sub {
  margin: 14px auto 26px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-paper-muted);
}
.success-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1.5px solid var(--ink-primary);
  border-radius: 3px;
  background: var(--bg-paper-yellow);
  text-align: left;
}
.success-order div { display: flex; flex-direction: column; }
.success-order strong { font-size: 15px; }
.success-order span { font-size: 11px; color: var(--ink-secondary); }
.success-order > strong { font-size: 26px; letter-spacing: -1px; }
.success-after {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--ink-secondary);
}
.success-pending {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-paper-muted);
}
.success-pending[hidden] { display: none; }
.success-pending .spinner {
  width: 14px;
  height: 14px;
  border-width: 2px;
  border-color: rgba(30, 34, 41, 0.2);
  border-top-color: var(--brand-ochre-dark);
}
.success-error {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(194, 76, 55, 0.5);
  border-radius: 2px;
  background: rgba(194, 76, 55, 0.08);
  color: #8f2e1e;
  font-size: 12px;
  line-height: 1.5;
}
.success-card .btn-block { margin-top: 24px; }
.success-back {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-secondary);
  border-bottom: 1px solid rgba(30, 34, 41, 0.3);
}
.success-back:hover { color: var(--ink-primary); }

/* ------------------------------------------------------------------ modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 7, 8, 0.8);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }

.modal {
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: var(--bg-paper);
  color: var(--ink-primary);
  border: 2px solid var(--ink-primary);
  border-radius: 4px;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.45);
  animation: modal-in 0.25s var(--ease);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 2px solid var(--brand-ochre);
  background: var(--bg-dark);
  color: var(--ink-light);
}
.modal-head h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.4px;
}
.modal-head p {
  margin-top: 5px;
  font-size: 11.5px;
  color: #a8b1bd;
}
.modal-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 249, 0.45);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-light);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.modal-close:hover {
  background: rgba(255, 253, 249, 0.1);
  border-color: var(--ink-light);
}

.modal-body {
  padding: 20px 22px 22px;
  background-image:
    linear-gradient(rgba(30, 34, 41, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 34, 41, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
}

.modal-steps {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 15px;
}
.modal-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8290;
}
.modal-steps li > span {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 34, 41, 0.25);
  border-radius: 2px;
  font-size: 9px;
}
.modal-steps li strong { white-space: nowrap; }
.modal-steps li.is-current { color: var(--ink-primary); }
.modal-steps li.is-current > span {
  background: var(--brand-ochre);
  border-color: var(--brand-ochre);
  color: #0e1013;
}
.modal-steps li:not(:last-child)::after {
  content: '';
  flex: 1;
  min-width: 6px;
  height: 1px;
  margin-left: 1px;
  background: rgba(30, 34, 41, 0.2);
}

.order-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 16px;
  padding: 13px 14px;
  border: 1.5px solid var(--ink-primary);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 3px;
  background: var(--bg-dark);
  color: var(--ink-light);
}
.order-box > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.order-box strong { font-size: 14px; color: var(--ink-light); }
.order-box span { font-size: 10.5px; color: #a8b1bd; }
.order-price { flex: 0 0 auto; text-align: right; }
.order-price strong { font-size: 24px; letter-spacing: -1px; line-height: 1; color: var(--brand-ochre); }
.order-save {
  grid-column: 1 / -1;
  margin-top: 0;
  font-size: 9.5px;
  font-weight: 700;
  text-align: right;
  color: #9ed3b7;
}
.order-after {
  margin-top: 7px;
  font-size: 10.5px;
  color: var(--ink-secondary);
}

.logged-in-box {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1.5px solid var(--ink-primary);
  border-radius: 3px;
  background: var(--bg-paper-yellow);
  box-shadow: 3px 3px 0 rgba(30, 34, 41, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logged-in-box[hidden] { display: none; }
.account-stamp {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink-primary);
  border-radius: 2px;
  background: var(--brand-ochre);
  color: var(--ink-primary);
}
.account-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.account-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
.account-copy strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--ink-primary);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-primary);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.account-link:hover {
  background: var(--ink-primary);
  color: var(--bg-paper);
}

.field { margin-top: 14px; }
.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f4651;
}
.field input {
  width: 100%;
  border: 1.5px solid var(--ink-primary);
  border-radius: 2px;
  background: #ffffff;
  color: var(--ink-primary);
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.field input::placeholder { color: #9aa0a9; }
.field input:focus {
  border-color: var(--brand-ochre-dark);
  box-shadow: 0 0 0 3px rgba(223, 154, 38, 0.2);
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 42px; }
.password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #6b7280;
  transition: color 0.2s ease, background 0.2s ease;
}
.password-toggle:hover {
  color: var(--ink-primary);
  background: rgba(30, 34, 41, 0.06);
}
.password-toggle.is-visible { color: var(--brand-sage); }
.field-hint {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

#deal-turnstile { margin: 14px 0; }

.consent {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 9px;
  align-items: start;
  font-size: 10.5px;
  line-height: 1.55;
  color: #4b5563;
  cursor: pointer;
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border: 1.5px solid var(--ink-primary);
  border-radius: 2px;
  background: #ffffff;
  cursor: pointer;
}
.consent input:checked { background: var(--brand-ochre); }
.consent input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--ink-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent input:focus-visible {
  outline: 2px solid var(--brand-ochre-dark);
  outline-offset: 2px;
}
.consent a {
  color: var(--ink-primary);
  font-weight: 700;
  border-bottom: 1px solid rgba(30, 34, 41, 0.45);
}

.form-error {
  margin-top: 13px;
  padding: 9px 11px;
  border: 1px solid rgba(194, 76, 55, 0.55);
  border-radius: 2px;
  background: rgba(194, 76, 55, 0.08);
  color: #8f2e1e;
  font-size: 11.5px;
  line-height: 1.5;
}
.form-error[hidden] { display: none; }

#checkout-submit { margin-top: 15px; position: relative; }
#checkout-submit .spinner { display: none; }
#checkout-submit .btn-arrow { transition: transform 0.2s ease; }
#checkout-submit:hover .btn-arrow { transform: translateX(3px); }
#checkout-submit.is-loading .btn-label,
#checkout-submit.is-loading .btn-arrow { visibility: hidden; }
#checkout-submit.is-loading .spinner {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -9px;
  border-color: rgba(14, 16, 19, 0.25);
  border-top-color: #0e1013;
}
#checkout-submit:disabled { opacity: 0.78; cursor: wait; transform: none; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

.modal-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(30, 34, 41, 0.22);
  font-size: 9.5px;
  color: #6b7280;
}
.modal-trust li {
  display: flex;
  align-items: center;
  gap: 4px;
}
.modal-trust svg {
  flex: 0 0 auto;
  color: var(--brand-sage);
}

.modal-foot {
  margin-top: 15px;
  font-size: 9.5px;
  line-height: 1.5;
  color: #7a8290;
  text-align: center;
}
.modal-foot a {
  color: #4b5563;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.noscript-note {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2600;
  background: var(--brand-brick);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 3px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* -------------------------------------------------------------- animations */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes scan {
  0%, 100% { width: 18%; }
  50% { width: 78%; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 36px; }
  .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-list { grid-template-columns: 1fr; gap: 16px; }
  .how-list li { grid-template-columns: 42px 1fr; }
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 26px; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .hero-title { font-size: clamp(36px, 7.4vw, 58px); }
  .trust-grid { grid-template-columns: 1fr; gap: 44px; }
  .seal-stack { grid-template-columns: repeat(3, 104px); }
  .seal { width: 104px; height: 104px; }
  .seal-caption { max-width: none; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-right { border-left: 0; border-top: 2px solid var(--ink-primary); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 104px; }
  .announcement-inner { padding-top: 6px; padding-bottom: 6px; gap: 10px; }
  .announcement-text { font-size: 11px; line-height: 1.3; }
  .announcement-text strong { display: none; }
  .announcement-cta { font-size: 10px; }
  .header-inner { min-height: 58px; }
  .brand { font-size: 22px; }
  .brand img { width: 28px; height: 28px; }
  .btn-small { padding: 8px 12px; font-size: 11px; }

  .hero { padding-top: 44px; }
  .hero-title { font-size: clamp(33px, 9vw, 46px); letter-spacing: -1.5px; }
  .hero-sub { font-size: 14.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-micro { flex-direction: column; gap: 7px; }
  .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .demo-body { grid-template-columns: 1fr; gap: 10px; padding: 12px 11px 2px; }
  .demo-arrow { flex-direction: row; gap: 6px; padding: 2px 0; }
  .arrow-line { width: 26px; height: 1px; background: repeating-linear-gradient(to right, rgba(223,154,38,0.8) 0 3px, transparent 3px 6px); }
  .demo-arrow svg { transform: rotate(90deg); }
  .file-sheets { height: 86px; }
  .mee-note { position: static; margin: 10px 12px 0; justify-content: flex-start; }
  .mee-note img { width: 58px; }
  .mee-bubble { margin-bottom: 8px; font-size: 11.5px; }

  .section { padding: 58px 0; }
  .section-head h2 { font-size: clamp(29px, 7.6vw, 39px); }
  .compare-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { box-shadow: 4px 4px 0 var(--ink-primary); }
  .hand-note { text-align: left; }

  .seal-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .seal { width: 100%; height: 92px; }
  .seal span { font-size: 20px; }
  .seal small { font-size: 7px; }
  .seal-brick { margin-top: 18px; }
  .seal-sage { margin-top: 0; }

  .pricing-card { box-shadow: 6px 6px 0 var(--ink-primary); }
  .pricing-left, .pricing-right { padding: 24px 20px; }
  .price-value { font-size: 58px; }
  .count-box strong { font-size: 18px; }

  .faq-q { padding: 18px 0; gap: 12px; }
  .faq-q > span:first-child { font-size: 18px; }
  .faq-icon { width: 25px; height: 25px; }

  .final-inner h2 { font-size: clamp(32px, 8.6vw, 44px); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .sticky-cta { display: flex; }
  .modal-overlay { padding: 10px; align-items: end; }
  .modal { max-height: calc(100vh - 20px); }
  .modal-head, .modal-body { padding-left: 17px; padding-right: 17px; }
  .modal-head h2 { font-size: 25px; }
  .modal-steps { gap: 5px; }
  .modal-steps li { font-size: 8px; letter-spacing: 0.04em; }
  .modal-steps li > span { flex-basis: 18px; width: 18px; height: 18px; }
  .modal-trust { gap: 6px 10px; font-size: 9px; }

  .success-card { box-shadow: 6px 6px 0 rgba(30, 34, 41, 0.9); }
}

@media (max-width: 460px) {
  .price-value { font-size: 52px; }
  .deal-stamp { top: 12px; right: 12px; padding: 5px 7px; }
  .deal-stamp span { font-size: 21px; }
  .countdown-grid { gap: 5px; }
  .count-box { padding: 6px 2px 4px; }
  .count-box strong { font-size: 16px; }
  .count-box span { font-size: 7px; }
  .checkout-steps ol { gap: 8px; }
  .checkout-steps small { display: none; }
  .account-copy strong { font-size: 11.5px; }
  .seal-stack { grid-template-columns: 1fr 1fr; }
  .seal-caption { display: none; }
  .seal { height: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
