/* ===== Tokens ===== */
:root {
  --ink: #0033A0;
  --ink-2: #0B3FB0;
  --ink-3: #1650C2;
  --gold: #E8C468;
  --gold-soft: #F8E9C2;
  --gold-dark: #AD8A2E;
  --green: #1D9E75;
  --paper: #FFFFFF;
  --paper-2: #EEF1F8;
  --slate: #7C8698;
  --slate-dark: #3C4A63;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 116px 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 18px;
}
.eyebrow-dark { color: var(--gold-dark); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 780px;
  color: var(--ink);
}

.section-lede {
  font-size: 1.05rem;
  color: var(--slate-dark);
  max-width: 640px;
  margin: 0 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--gold-soft);
  box-shadow: 0 6px 18px rgba(0, 51, 160, 0.22);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--ink-2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }
.btn-full { width: 100%; margin-top: 8px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0, 51, 160, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark-icon {
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--white);
}
.brand-accent { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: rgba(255,255,255,0.82); font-size: 0.92rem; font-weight: 500; }
.main-nav a:hover { color: var(--gold-soft); }
.nav-login { color: rgba(255,255,255,0.75) !important; font-weight: 500; }
.nav-login:hover { color: var(--white) !important; }
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-soft); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 12px; margin: -12px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(150deg, rgba(0, 51, 160,0.72), rgba(0, 51, 160,0.82)),
    url('/images/hero-background.jpg') center 30% / cover no-repeat;
  color: var(--white);
  padding: 164px 32px 88px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.22;
  margin: 0 0 26px;
}
.gold-text { color: var(--gold); }
.hero-sub {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Rank card (signature element — data only, hence green) */
.rank-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 48px rgba(0,51,160,0.07);
}
.rank-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.rank-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(29,158,117,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(29,158,117,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(29,158,117,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
}
.rank-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--slate); }
.rank-query { font-size: 0.95rem; color: rgba(255,255,255,0.72); margin-bottom: 12px; }
.rank-number-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.rank-hash { font-family: var(--font-mono); font-size: 1.4rem; color: var(--slate); }
.rank-number {
  font-family: var(--font-mono);
  font-size: 3.1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.4s ease;
}
.rank-chart { width: 100%; height: 90px; margin-bottom: 14px; }
.rank-foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); }
.rank-foot-accent { color: var(--green); }

/* ===== Difference / compare ===== */
.difference { background: var(--paper); }
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.compare-col {
  border-radius: var(--radius);
  padding: 32px;
}
.compare-col--them {
  background: var(--paper-2);
  border: 1px dashed var(--slate);
}
.compare-col--them h3 { color: var(--slate-dark); }
.compare-col--us {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 20px 48px rgba(0,51,160,0.07);
}
.compare-col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 18px;
}
.compare-col li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 0.97rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.compare-col--us li { border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.compare-col li:first-child { border-top: none; }
.compare-col--them li::before { content: "×"; position: absolute; left: 0; color: var(--slate); font-weight: 700; }
.compare-col--us li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== Process ===== */
.process { background: var(--ink); color: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.process-step {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.process-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232, 196, 104, 0.12);
  border: 1px solid rgba(232, 196, 104, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.process-step p { color: rgba(255,255,255,0.66); font-size: 0.94rem; margin: 0; }

/* ===== Services ===== */
.services { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.service-card {
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,51,160,0.07); border-color: rgba(232, 196, 104,0.4); }
.service-icon svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  margin-bottom: 18px;
}
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; margin: 0 0 10px; }
.service-card p { color: var(--slate-dark); font-size: 0.94rem; margin: 0; }

/* ===== Offer ===== */
.offer { background: var(--paper-2); }
.offer-inner { max-width: 760px; }
.offer-card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 36px;
  box-shadow: 0 20px 48px rgba(0,51,160,0.07);
}
.offer-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.offer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.offer-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
  padding: 6px 12px;
  border-radius: 20px;
}
.offer-price-row {
  display: flex;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
  margin-bottom: 28px;
}
.offer-price { display: flex; flex-direction: column; }
.offer-amount { font-family: var(--font-mono); font-size: 2.1rem; font-weight: 600; color: var(--ink); }
.offer-period { font-size: 0.86rem; color: var(--slate-dark); margin-top: 4px; }
.offer-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.offer-list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.97rem;
  color: var(--slate-dark);
}
.offer-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== Guarantee ===== */
.guarantee-section { background: var(--white); }
.guarantee-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.guarantee-seal {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto;
}
.seal-num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.seal-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--gold-dark); text-align: center; line-height: 1.3; }
.guarantee-terms {
  margin-top: 24px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guarantee-terms p { margin: 0; font-size: 0.92rem; color: var(--slate-dark); }
.guarantee-terms strong { color: var(--ink); }

/* ===== Contact ===== */
.contact { background: var(--ink); color: var(--white); }
.contact-inner { max-width: 640px; }
.contact .section-lede { color: rgba(255,255,255,0.68); }
.contact .section-title { color: var(--white); }
.contact-form { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row--split > div { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-family: var(--font-mono); letter-spacing: 0.03em; }
.contact-form input {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
}
.contact-form input:focus { border-color: var(--gold); outline: none; }
.contact-form .btn-primary { background: var(--gold); color: var(--ink); }
.contact-form .btn-primary:hover { background: var(--gold-soft); }
.form-note { font-size: 0.87rem; color: var(--gold-soft); min-height: 20px; margin: 4px 0 0; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .compare-table { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-inner { grid-template-columns: 1fr; }
  .guarantee-seal { margin: 0; }
  .offer-price-row { gap: 28px; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 24px 32px; gap: 20px; transform: translateY(-110%); transition: transform 0.25s ease; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
  .section-inner { padding: 56px 20px; }
  .process-grid, .service-grid { grid-template-columns: 1fr; }
  .form-row--split { grid-template-columns: 1fr; }
  .offer-card { padding: 24px 20px; }
  .offer-price-row { flex-direction: column; gap: 16px; }
  .tier-card, .includes-card, .state-card, .service-card, .process-step { padding: 22px 18px; }
  .rank-card { padding: 20px; }
  .section-title { font-size: 1.6rem; }
}

/* ===== Text link ===== */
.text-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(232, 196, 104,0.4);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--gold); }
.process .text-link, .services .text-link { color: var(--gold); }

/* ===== Page hero (interior pages) ===== */
.page-hero { background: var(--ink); color: var(--white); padding: 164px 32px 64px; }
.page-hero .section-inner { padding: 0; max-width: var(--max-width); }
.page-title { color: var(--white); max-width: 820px; }
.page-hero .section-lede { color: rgba(255,255,255,0.7); max-width: 640px; }

/* ===== Service detail blocks ===== */
.detail-block { background: var(--white); }
.detail-block--alt { background: var(--paper); }
.detail-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.detail-inner--reverse { direction: rtl; }
.detail-inner--reverse > * { direction: ltr; }
.detail-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}
.detail-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.detail-list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.97rem;
  color: var(--slate-dark);
}
.detail-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.detail-visual { display: flex; justify-content: center; }

.mock-browser { width: 100%; max-width: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--paper-2); box-shadow: 0 20px 48px rgba(0,51,160,0.07); }
.mock-browser-bar { background: var(--paper-2); padding: 10px 12px; display: flex; gap: 6px; }
.mock-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--slate); opacity: 0.5; }
.mock-browser-body { background: var(--white); padding: 24px; }
.mock-line { height: 10px; border-radius: 4px; background: var(--paper-2); margin-bottom: 10px; }
.mock-line--wide { width: 80%; }
.mock-line--med { width: 55%; }
.mock-block { height: 70px; border-radius: 6px; background: var(--paper); margin-top: 16px; border: 1px dashed var(--slate); }

.mock-map { width: 100%; max-width: 320px; height: 220px; border-radius: var(--radius); background: var(--paper-2); position: relative; overflow: hidden; }
.mock-map-pin {
  position: absolute;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
}
.mock-map-pin--gold { background: var(--gold); color: var(--ink); top: 40px; left: 40px; }
.mock-map .mock-map-pin:nth-of-type(2) { top: 110px; left: 160px; }
.mock-map .mock-map-pin:nth-of-type(3) { top: 150px; left: 60px; }

.mock-dash { width: 100%; max-width: 340px; background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius); padding: 20px; box-shadow: 0 20px 48px rgba(0,51,160,0.07); }
.mock-dash-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--paper-2); font-size: 0.9rem; color: var(--slate-dark); }
.mock-dash-row:first-child { border-top: none; }
.mock-dash-num { font-family: var(--font-mono); font-weight: 600; color: var(--green); }

.mock-cycle { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 320px; }
.mock-cycle span {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  background: var(--white); border: 1px solid var(--gold); color: var(--gold-dark);
  padding: 10px 16px; border-radius: 20px;
}

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.faq-item { padding: 24px 0; border-top: 1px solid var(--paper-2); }
.faq-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin: 0 0 10px; color: var(--ink); }
.faq-item p { font-size: 0.94rem; color: var(--slate-dark); margin: 0; }

/* ===== About page ===== */
.about-body { background: var(--paper); }
.about-inner { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.about-inner p { font-size: 1.06rem; color: var(--slate-dark); line-height: 1.75; }
.about-inner em { font-style: normal; color: var(--ink); font-weight: 600; }

.values { background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.values-item { padding: 26px; border-radius: var(--radius); background: var(--paper); border-top: 3px solid var(--gold); }
.values-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; margin: 0 0 10px; color: var(--ink); }
.values-item p { font-size: 0.93rem; color: var(--slate-dark); margin: 0; }

/* ===== Final CTA banner ===== */
.final-cta { background: var(--ink); color: var(--white); }
.final-cta-inner { text-align: left; max-width: 640px; }
.final-cta .section-title { color: var(--white); }
.final-cta .section-lede { color: rgba(255,255,255,0.68); }

/* ===== Contact page layout ===== */
.contact-page { background: var(--paper); padding-top: 60px; }
.contact-page-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 120px;
}
.contact-info .section-lede { max-width: 480px; }
.contact-steps { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--gold-soft);
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-step p { font-size: 0.95rem; color: var(--slate-dark); margin: 0; padding-top: 4px; }
.contact-page .contact-form {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 48px rgba(0,51,160,0.07);
}
.contact-page .contact-form label { color: var(--slate-dark); }
.contact-page .contact-form input {
  background: var(--paper);
  border: 1px solid var(--paper-2);
  color: var(--ink);
}
.contact-page .contact-form input:focus { border-color: var(--gold); }
.contact-page .form-note { color: var(--green); }

/* ===== Footer nav ===== */
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--gold-soft); }

/* ===== Responsive additions ===== */
@media (max-width: 980px) {
  .detail-inner, .detail-inner--reverse { grid-template-columns: 1fr; direction: ltr; }
  .detail-visual { order: -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-page-inner { grid-template-columns: 1fr; padding-top: 100px; }
}

@media (max-width: 760px) {
  .page-hero { padding-top: 130px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Results / proof card (SAMPLE DATA — swap for real client) ===== */
.results { background: var(--paper); }
.proof-card {
  margin-top: 32px;
  background: var(--white);
  border: 1px dashed var(--slate);
  border-radius: var(--radius);
  overflow: hidden;
}
.proof-flag {
  display: block;
  background: var(--paper-2);
  color: var(--slate-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  border-bottom: 1px dashed var(--slate);
}
.proof-body { padding: 28px 32px 32px; }
.proof-client { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.proof-client-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.proof-client-loc { font-size: 0.85rem; color: var(--slate); }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proof-stat { display: flex; flex-direction: column; gap: 8px; }
.proof-stat-label { font-size: 0.82rem; color: var(--slate-dark); }
.proof-stat-value { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.proof-before { color: var(--slate); font-weight: 500; }
.proof-after { color: var(--green); }

@media (max-width: 760px) {
  .proof-stats { grid-template-columns: 1fr; gap: 18px; }
  .proof-body { padding: 24px 20px 28px; }
}

/* ===== Gold outline button ===== */
.btn-outline-gold {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold-soft); }

.eyebrow-gold { color: var(--gold-dark); }
.hero-microcopy { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 14px; }

/* ===== Two-tier contrast pricing ===== */
.tiers { background: var(--paper-2); }
.tiers--alt { background: var(--white); }
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: stretch;
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.tier-grid--three { grid-template-columns: repeat(3, 1fr); }
.tier-card--entry { border-top: 4px solid var(--gold); }
.tier-card--premium {
  background: var(--ink);
  border: 1px solid rgba(232, 196, 104,0.3);
  color: var(--white);
}
.tier-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-dark);
  background: var(--paper);
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.tier-label--gold { color: var(--gold); background: rgba(232, 196, 104,0.14); }
.tier-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: 0 0 12px; }
.tier-card--premium .tier-name { color: var(--white); }
.tier-desc { font-size: 0.95rem; color: var(--slate-dark); margin: 0 0 24px; flex-grow: 0; }
.tier-card--premium .tier-desc { color: rgba(255,255,255,0.72); }
.tier-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.tier-amount { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.tier-card--premium .tier-amount { color: var(--gold); }
.tier-unit { font-size: 0.82rem; color: var(--slate-dark); }
.tier-card--premium .tier-unit { color: rgba(255,255,255,0.6); }
.tier-plus { color: var(--slate); margin: 0 2px; }
.tier-note { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 10px 0 22px; }
.tier-card .offer-list { margin: 20px 0 26px; }
.tier-card--premium .offer-list li { color: rgba(255,255,255,0.82); }
.tier-card--premium .offer-list li::before { color: var(--gold); }
.tier-card .btn-full { margin-top: auto; }

/* ===== Premium page hero ===== */
.page-hero--premium { border-bottom: 1px solid rgba(255,255,255,0.12); }

/* ===== Why limited ===== */
.why-limited { background: var(--white); }
.why-limited-inner { max-width: 780px; }

/* ===== Partnership includes ===== */
.partnership-includes { background: var(--paper); }
.includes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.includes-card { background: var(--white); border-radius: var(--radius); padding: 30px; border-top: 3px solid var(--gold); }
.includes-num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold-dark); letter-spacing: 0.08em; }
.includes-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 10px 0 14px; color: var(--ink); }

/* ===== Who built ===== */
.who-built { background: var(--ink); color: var(--white); }
.who-built-inner { max-width: 760px; }
.who-built .section-title { color: var(--white); }
.who-built .section-lede { color: rgba(255,255,255,0.72); }
.who-built em { color: var(--gold); font-style: normal; }

/* ===== Apply form ===== */
.apply { background: var(--paper); }
.apply-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.apply-copy .section-lede { max-width: 460px; }
.apply-form {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 48px rgba(0,51,160,0.07);
}
.apply-form label { color: var(--slate-dark); }
.apply-form input, .apply-form select, .apply-form textarea {
  background: var(--paper);
  border: 1px solid var(--paper-2);
  color: var(--ink);
  border-radius: 6px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 16px;
}
.apply-form select { appearance: none; }
.apply-form textarea { resize: vertical; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { border-color: var(--gold); outline: none; }
.apply-form .form-note { color: var(--green); }

/* ===== Cross-link band (Services -> Partnership) ===== */
.cross-link { background: var(--paper-2); }
.cross-link-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cross-link-inner .section-title { margin-bottom: 8px; }
.cross-link-inner > div { max-width: 640px; }

.contact-partnership-note { margin-top: 28px; font-size: 0.9rem; color: var(--slate-dark); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .tier-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .apply-inner { grid-template-columns: 1fr; }
  .cross-link-inner { flex-direction: column; align-items: flex-start; }
  .state-grid { grid-template-columns: 1fr; }
}

/* ===== Privacy trust band ===== */
.privacy-band { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.privacy-band-inner { display: flex; align-items: center; gap: 28px; padding: 44px 32px; }
.privacy-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.6; flex-shrink: 0; }
.privacy-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); margin: 0 0 8px; }
.privacy-text { font-size: 0.94rem; color: rgba(255,255,255,0.68); margin: 0; max-width: 720px; }
.privacy-text .text-link { color: var(--gold); }

/* ===== Mock server visual (service 05) ===== */
.mock-server { width: 100%; max-width: 320px; background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 48px rgba(0,51,160,0.07); position: relative; }
.mock-server-unit { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--slate-dark); padding: 10px 0; border-top: 1px solid var(--paper-2); }
.mock-server-unit:first-child { border-top: none; }
.mock-server-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.mock-server-lock { position: absolute; bottom: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.mock-server-lock svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; }

@media (max-width: 760px) {
  .privacy-band-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== Page hero with image slot ===== */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* ===== Image placeholder slot — swap for a real <img> when photos are ready ===== */
.img-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(232, 196, 104, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.img-slot--dark { background: var(--ink-2); }
.img-slot--gold { background: rgba(232, 196, 104, 0.08); }
.img-slot-icon { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0.8; }
.img-slot-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}
.img-slot-note { font-size: 0.8rem; color: rgba(255,255,255,0.55); max-width: 220px; }
.img-slot--gold .img-slot-note { color: var(--slate-dark); }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .img-slot { max-width: 420px; margin: 0 auto; }
}

/* ===== Real hero photo (swapped in from img-slot) ===== */
.hero-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Technology page: state cards (today vs roadmap) ===== */
.tech-state { background: var(--white); }
.state-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.state-card { background: var(--paper); border-radius: var(--radius); padding: 28px; border-top: 3px solid var(--slate); }
.state-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.state-tag--now { background: rgba(29,158,117,0.14); color: #1D9E75; }
.state-tag--next { background: rgba(232,196,104,0.18); color: var(--gold-dark); }
.state-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; margin: 0 0 10px; color: var(--ink); }
.state-card p { font-size: 0.94rem; color: var(--slate-dark); margin: 0; }

/* ===== Technology page: data moat statement ===== */
.tech-moat { background: var(--ink); color: var(--white); }
.tech-moat-inner { max-width: 780px; }
.tech-moat .section-title { color: var(--white); }
.tech-moat .section-lede { color: rgba(255,255,255,0.75); max-width: 100%; }

/* ===== Mathematical foundation / pipeline diagram ===== */
.math-foundation { background: var(--paper); }
.math-foundation .section-lede { max-width: 760px; }
.math-foundation strong { color: var(--ink); }

.pipeline-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--slate-dark);
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  padding: 12px 18px;
  margin: 28px 0 40px;
  max-width: 700px;
}

.pipeline-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.pipeline-stage {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-width: 210px;
  flex: 1 1 210px;
  border-top: 3px solid var(--ink);
}
.pipeline-stage--gated { border-top-color: var(--green); }
.pipeline-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; margin-bottom: 14px; }
.pipeline-stage--gated .pipeline-icon svg { stroke: var(--green); }
.pipeline-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.pipeline-stage h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0 0 8px; color: var(--ink); }
.pipeline-stage p { font-size: 0.86rem; color: var(--slate-dark); margin: 0; }
.pipeline-arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.pipeline-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--slate); stroke-width: 1.6; }

@media (max-width: 980px) {
  .pipeline-flow { flex-direction: column; }
  .pipeline-arrow { transform: rotate(90deg); padding: 4px 0; }
  .pipeline-stage { min-width: 0; }
}

/* ===== The honest LLM vs real-AI distinction ===== */
.tech-distinction { background: var(--ink); color: var(--white); }
.tech-distinction-inner { max-width: 800px; }
.tech-distinction .section-title { color: var(--white); }
.tech-distinction .section-lede { color: rgba(255,255,255,0.75); max-width: 100%; }

/* ===== Login page: two-panel split ===== */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 74px);
  margin-top: 74px;
}

.login-side {
  background:
    linear-gradient(155deg, rgba(0,51,160,0.94), rgba(11,63,176,0.97)),
    url('/images/hero-background.jpg') center 40% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.login-side-inner { max-width: 420px; color: var(--white); }
.login-side-mark { border-radius: 10px; margin-bottom: 28px; }
.login-side-title { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.3; margin: 0 0 28px; }
.login-side-list { display: flex; flex-direction: column; gap: 16px; margin: 0 0 32px; }
.login-side-list li { font-size: 0.98rem; color: rgba(255,255,255,0.85); display: flex; gap: 10px; align-items: flex-start; }
.login-check { color: var(--gold); font-weight: 700; flex-shrink: 0; }
.login-side-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232,196,104,0.14);
  border: 1px solid rgba(232,196,104,0.35);
  padding: 6px 14px;
  border-radius: 20px;
}

.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background: var(--paper);
}
.login-card { width: 100%; max-width: 380px; }
.login-title { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); margin: 10px 0 6px; }
.login-sub { font-size: 0.95rem; color: var(--slate-dark); margin: 0 0 28px; }
.login-form .contact-form label { color: var(--slate-dark); }
.login-form input {
  background: var(--white);
  border: 1.5px solid var(--paper-2);
  color: var(--ink);
  width: 100%;
}
.login-form input:focus { border-color: var(--ink); outline: none; }
.login-form .form-row { position: relative; }
.login-form .form-note { color: #1D9E75; }

.password-wrap { position: relative; display: flex; }
.password-wrap input { padding-right: 46px; }
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate);
  display: flex;
}
.password-toggle:hover { color: var(--ink); }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.password-toggle.is-visible svg circle { display: none; }

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #C0392B;
  margin-top: 6px;
  min-height: 0;
}
.form-row.has-error input { border-color: #C0392B; }
.form-row.has-error input:focus { border-color: #C0392B; }

.login-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 6px; flex-wrap: wrap; gap: 10px; }
.remember-me { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--slate-dark); cursor: pointer; }
.remember-me input { width: 16px; height: 16px; accent-color: var(--ink); cursor: pointer; }

.btn-label { display: inline-flex; align-items: center; gap: 10px; }
.btn.is-loading .btn-label { opacity: 0; }
.btn.is-loading { position: relative; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  top: 50%; left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(0,51,160,0.2);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.login-footnote { font-size: 0.85rem; color: var(--slate-dark); text-align: center; margin-top: 22px; line-height: 1.6; }

@media (max-width: 980px) {
  .login-split { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .login-form-side { padding: 40px 20px; }
}

/* ===== Form validation shake ===== */
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.form-row.shake { animation: shake 0.5s; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Header scroll state ===== */
.site-header { transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled {
  background: rgba(0, 51, 160, 0.97);
  box-shadow: 0 8px 24px rgba(0,51,160,0.12);
}

/* ===== Button shine sweep ===== */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 130%; }

/* ===== Hero mini plan (StoryBrand 3-step orientation) ===== */
.hero-ministeps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-ministeps span { font-size: 0.86rem; color: rgba(255,255,255,0.7); }
.hero-ministeps strong { color: var(--gold); }

/* ===== Featured proof card (confident "Most Popular" callout, not a draft) ===== */
.proof-card--featured { border: 1px solid var(--paper-2); border-top: 4px solid var(--gold); }
.proof-card--featured .proof-flag {
  background: var(--gold);
  color: var(--ink);
  border-bottom: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.proof-card--featured .proof-stat-value { color: var(--ink); }
.price-amount-row { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.price-unit-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; }
.price-currency { font-family: var(--font-mono); font-size: 1.6rem; color: var(--gold); font-weight: 600; }
.price-amount { font-family: var(--font-mono); font-size: 3.4rem; font-weight: 600; color: var(--white); line-height: 1; }
.price-unit { font-size: 0.86rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.price-speed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(29,158,117,0.14);
  border: 1px solid rgba(29,158,117,0.35);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.price-speed-icon { width: 16px; height: 16px; fill: none; stroke: #1D9E75; stroke-width: 2.2; flex-shrink: 0; }
.price-strike { text-decoration: line-through; color: var(--slate); }

/* ===== Live speed badge ===== */
.speed-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid rgba(232,196,104,0.3);
  box-shadow: 0 12px 32px rgba(0,51,160,0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.speed-badge.is-visible { opacity: 1; transform: translateY(0); }
.speed-badge.is-settled { opacity: 0.55; }
.speed-badge.is-settled:hover { opacity: 1; }
.speed-badge strong { color: var(--gold); }
.speed-badge-icon { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }

@media (max-width: 760px) {
  .speed-badge { left: 12px; bottom: 12px; font-size: 0.72rem; padding: 8px 12px; }
}

/* ===== Magnetic buttons (transition only; JS sets the transform) ===== */
.btn-primary, .btn-outline-gold {
  transition: transform 0.2s ease, box-shadow 0.15s ease, background 0.2s ease;
}

/* ===== Custom cursor (desktop only, JS adds .has-custom-cursor to <html>) ===== */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor input,
.has-custom-cursor textarea,
.has-custom-cursor select {
  cursor: none;
}
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(232,196,104,0.15);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, background 0.2s ease;
}
.custom-cursor.is-active { opacity: 1; }
.custom-cursor.is-hovering {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: rgba(232,196,104,0.25);
  border-color: var(--gold);
}

/* ===== Price spectrum visualization (Pricing page) ===== */
.price-spectrum { margin-top: 56px; }
.price-spectrum-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-dark);
  text-align: center;
  margin-bottom: 32px;
}
.spectrum-track {
  position: relative;
  height: 6px;
  background: var(--paper-2);
  border-radius: 4px;
  margin: 0 20px 60px;
}
.spectrum-zone {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible .spectrum-zone { transform: scaleX(1); }
.spectrum-zone--basic { background: rgba(124, 134, 152, 0.4); }
.spectrum-zone--custom { background: rgba(232, 196, 104, 0.4); transition-delay: 0.15s; }

.spectrum-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.5s ease 0.6s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
}
.reveal.is-visible .spectrum-marker { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.spectrum-marker--down { flex-direction: column-reverse; }
.spectrum-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
}
.spectrum-marker-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,51,160,0.1);
}
.spectrum-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--slate-dark);
}
.legend-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.legend-swatch--basic { background: rgba(124, 134, 152, 0.6); }
.legend-swatch--custom { background: var(--gold); }

@media (max-width: 760px) {
  .spectrum-track { margin: 0 10px 76px; }
  .spectrum-marker-label { font-size: 0.68rem; white-space: normal; max-width: 90px; }
}

/* ===== Headline word reveal ===== */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.headline-revealed .word-reveal { opacity: 1; transform: translateY(0); }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  z-index: 70;
  pointer-events: none;
}

/* ===== Animated gradient border on the Most Popular tier ===== */
.tier-card--entry {
  border: 2px solid transparent;
  border-top: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(120deg, var(--gold), #F5E3B0, var(--gold-dark), var(--gold)) border-box;
  background-size: auto, 300% 300%;
  animation: borderShift 7s ease infinite;
}
@keyframes borderShift {
  0%, 100% { background-position: 0 0, 0% 50%; }
  50% { background-position: 0 0, 100% 50%; }
}

/* ===== Hero photo clip reveal (overrides generic reveal for photos) ===== */
.hero-photo-wrap.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-photo-wrap.reveal.is-visible { clip-path: inset(0 0 0 0); }

/* ===== Advanced hero: layered browser mockup + floating parallax badges ===== */
.hero-visual { position: relative; min-height: 380px; }
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px; height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,196,104,0.22), rgba(0,51,160,0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.browser-mockup {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,20,60,0.35);
  transition: transform 0.2s ease;
  will-change: transform;
}
.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mock-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D8DCE3; }
.mock-browser-bar span:first-child { background: #E8746C; }
.mock-browser-bar span:nth-child(2) { background: #E8C468; }
.mock-browser-bar span:nth-child(3) { background: #6FB98F; }
.mock-browser-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate-dark);
  background: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  flex: 1;
  max-width: 160px;
}
.mock-browser-body { padding: 16px; background: var(--paper); }
.mockup-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mockup-nav-dot { width: 14px; height: 14px; border-radius: 3px; background: var(--ink); }
.mockup-nav-line { height: 6px; width: 34px; border-radius: 3px; background: var(--paper-2); }
.mockup-hero-block {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
.mockup-hero-img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.mockup-hero-text { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.mockup-line { height: 7px; border-radius: 3px; background: var(--paper-2); }
.mockup-line--wide { width: 100%; }
.mockup-line--med { width: 65%; }
.mockup-cta { height: 16px; width: 70px; border-radius: 4px; background: var(--gold); margin-top: 4px; }
.mockup-cards-row { display: flex; gap: 8px; }
.mockup-mini-card { flex: 1; height: 36px; border-radius: 6px; background: var(--white); box-shadow: 0 2px 6px rgba(0,20,60,0.06); }

.mockup-float-wrap {
  position: absolute;
  z-index: 3;
  will-change: transform;
}
.mockup-float-wrap--guarantee { top: 6%; right: -4%; }
.mockup-float-wrap--price { bottom: 8%; left: -6%; }

.mockup-float {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 16px 40px rgba(0,20,60,0.22);
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
  animation: floatBob 5s ease-in-out infinite;
}
.mockup-float .mockup-float-icon { width: 15px; height: 15px; fill: none; stroke: #1D9E75; stroke-width: 2.4; }
.mockup-float--price-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation-delay: 1.4s;
}
.mockup-float-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--slate); font-weight: 400; }
.mockup-float-amount { font-family: var(--font-mono); font-size: 1.15rem; color: var(--ink); }

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .mockup-float-wrap--guarantee { right: 2%; }
  .mockup-float-wrap--price { left: 2%; }
}
@media (max-width: 640px) {
  .mockup-float { padding: 7px 11px; font-size: 0.72rem; }
  .mockup-float-amount { font-size: 0.95rem; }
  .hero-visual { min-height: 320px; }
}

/* ===== Client logo wall (infinite marquee) ===== */
.logo-wall { padding: 44px 0; background: var(--paper-2); overflow: hidden; }
.logo-wall-tagline {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-dark);
  margin-bottom: 28px;
}
.logo-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
  animation: marqueeScroll 26s linear infinite;
}
.logo-marquee.is-paused .logo-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.logo-item:hover { opacity: 1; filter: grayscale(0); }
.logo-item--mc {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: #0033A0;
}
.logo-item--mc .logo-item-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: #5A6B8C;
}
.logo-item--nunusz {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.4rem;
  color: #2F5233;
}
.logo-item--nunusz .logo-item-sub {
  font-family: var(--font-mono);
  font-weight: 400;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: #A66E38;
  text-transform: uppercase;
}
.logo-item--nyx {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: #C0392B;
}
.logo-item--nyx .logo-item-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: #0033A0;
}
.logo-item--sellfast {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #C0392B;
}
.logo-item--sellfast .logo-item-sub {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #0033A0;
}

@media (max-width: 640px) {
  .logo-track { gap: 40px; padding-right: 40px; }
  .logo-item--mc, .logo-item--nunusz { font-size: 1.15rem; }
}

/* ===== Footer CTA ===== */
.footer-cta {
  display: inline-block;
  margin: 8px 0 6px;
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ===== Footer email ===== */
.footer-email {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--slate-dark);
  margin-top: 4px;
}
.footer-email:hover { color: var(--gold-dark); }
