/* ===================================================================
   mantras.gr — pre-launch landing
   Aesthetic: refined editorial × wholesale annual report
   Dealer-first audience. Restraint over noise.
   ===================================================================*/

/**
 * Gebuk — Latin-only font. Declaring its unicode-range means the browser
 * skips it for Greek and falls through to Comfortaa.
 */
@font-face {
  font-family: "Gebuk";
  src: url("assets/fonts/Gebuk-Regular.woff2") format("woff2"),
       url("assets/fonts/Gebuk-Regular.woff") format("woff");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
  unicode-range:
    U+0020-007F, U+00A0-00FF, U+0100-017F, U+0180-024F,
    U+2000-206F, U+2070-209F, U+20A0-20CF, U+2200-22FF;
}

:root {
  /* ==== Brand palette ==== */
  --blue: #1478FA;
  --blue-600: #0F62D4;
  --blue-tint: #E6F0FE;
  --orange: #F57A2C;
  --orange-tint: #FEEEDF;
  --ink: #1F1F1F;
  --ink-2: #2A2A2A;
  --ink-soft: rgba(31, 31, 31, .68);
  --bone: #F4F1EA;
  --bone-2: #EAE4D4;
  --bone-3: #DDD6C4;
  --grey: #6E6A5F;

  /* Hairline rules — the workhorse */
  --rule: rgba(31, 31, 31, .14);
  --rule-strong: rgba(31, 31, 31, .28);
  --rule-dark: rgba(244, 241, 234, .16);
  --rule-dark-strong: rgba(244, 241, 234, .32);

  /* ==== Type ==== */
  --f-display: "Gebuk", "Comfortaa", ui-rounded, "Segoe UI Rounded", "Helvetica Neue", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ==== Scale ==== */
  --step--2: clamp(.72rem, .70rem + .08vw, .78rem);
  --step--1: clamp(.82rem, .80rem + .12vw, .92rem);
  --step-0:  clamp(.95rem, .92rem + .15vw, 1.05rem);
  --step-1:  clamp(1.10rem, 1.05rem + .25vw, 1.30rem);
  --step-2:  clamp(1.35rem, 1.25rem + .45vw, 1.70rem);
  --step-3:  clamp(1.70rem, 1.50rem + .85vw, 2.30rem);
  --step-4:  clamp(2.20rem, 1.85rem + 1.45vw, 3.30rem);
  --step-5:  clamp(2.80rem, 2.20rem + 2.40vw, 4.50rem);
  --step-6:  clamp(3.40rem, 2.50rem + 3.80vw, 6.20rem);

  /* ==== Rhythm ==== */
  --pad-x: clamp(1.5rem, 1.25rem + 2vw, 3.5rem);
  --pad-y: clamp(5rem, 4rem + 4vw, 9rem);
  --max-w: 1280px;
  --readable: 64ch;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-pill: 999px;
}

/* ==== Reset ==== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
/* Subtle dot-pattern texture — paper stock, ~7% opacity, fixed so it doesn't scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(31, 31, 31, .07) 1px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 700; }
em { font-style: normal; color: var(--blue); }

::selection { background: var(--orange); color: var(--ink); }

/* ==== Utilities ==== */
.mono { font-family: var(--f-mono); letter-spacing: 0; font-feature-settings: "tnum" 1; }
.muted { color: var(--grey); }
.accent { color: var(--orange); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone);
  padding: .6rem 1rem; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

.hp {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.9,.25,1),
              background .2s, color .2s, border-color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
/* Submit/CTA arrow icons inline as <path fill="currentColor"> on open
   polylines — they need stroke to render. Override here once instead of
   touching six inline SVGs. */
.btn svg path,
.audience-card__cta svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--bone);
}
.btn--primary:hover {
  background: var(--blue);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bone);
}

.btn--outline-light {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone);
}
.btn--outline-light:hover { background: var(--bone); color: var(--ink); }

.btn--sm { padding: .55rem .95rem; font-size: var(--step--1); }

.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ==== Nav ==== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bone) 92%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo {
  display: block;
  width: 170px;
  height: 28px;
  max-width: none;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  gap: 2rem;
  justify-self: center;
}
.nav__links a {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav__links a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__status {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}
@media (max-width: 880px) {
  .nav__links, .nav__status { display: none; }
}

/* ==== Section heads (consistent rhythm) ==== */
.section__head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  margin-bottom: clamp(2.5rem, 1.5rem + 2vw, 4rem);
  display: grid;
  gap: .75rem;
}

.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: .98;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 22ch;
}
.section__title em {
  color: var(--blue);
  font-style: normal;
}

/* ==== Hero ==== */
.hero {
  background: var(--bone);
  padding: clamp(3rem, 2rem + 3vw, 6rem) var(--pad-x) var(--pad-y);
}
.hero__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(2rem, 2vw + 1rem, 4rem);
  align-items: start;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-6);
  line-height: .95;
  letter-spacing: -0.025em;
  margin: 1.5rem 0 1.5rem;
  text-wrap: balance;
  max-width: 16ch;
}
.display em {
  color: var(--blue);
  font-style: normal;
}

.subhead {
  font-family: var(--f-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 32ch;
  margin: -0.5rem 0 1.5rem;
  /* text-wrap: balance; */
}
.subhead em {
  color: var(--orange);
  font-style: normal;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
  font-weight: 400;
  margin-bottom: 2rem;
}
.lede b { font-weight: 700; }

/* Image-based H1 (seller "Πούλα το με 1click!" brand lockup) */
.display--art {
  margin: 0 0 1.25rem;
  max-width: none;
}
.display--art img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
}

/* Hero context strip — small mono line below the form (replaces the kicker) */
.hero__meta {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0;
}
/* In the hero__lockup, the children stack as plain blocks (no gap), so we add
   the spacing here. In the chooser__head grid, the parent gap handles it. */
.hero__lockup .hero__meta { margin-top: 1.5rem; }

/* ==== Seller-hero — plain transparent PNG, no frame ==== */
.seller-hero {
  margin: 0;
  align-self: center;
  justify-self: center;
  width: 125%;
  /* max-width: 1400px; */
}
.seller-hero img {
  width: 100%;
  height: auto;
  display: block;
}
/* Give the right column extra breathing room when the hero hosts seller-hero,
   so the upsized image isn't squeezed by the 1.25fr / .75fr default split. */
.hero__inner:has(.seller-hero) {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
}
@media (max-width: 980px) {
  .hero__inner:has(.seller-hero) { grid-template-columns: 1fr; }
}

/* ==== Plate (quiet listing card replacing the ticker) ==== */
.plate {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--f-body);
}
.plate__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: var(--step--2);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}
.plate__lot { color: var(--ink); }
.plate__example {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  padding: .15rem .55rem;
  line-height: 1;
}
.plate__deadline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.plate__deadline-label { color: var(--grey); }
.plate__deadline-time { color: var(--ink); }

.plate__photo {
  margin: 0;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
}
.plate__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.plate__body { padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: .85rem; }
.plate__model {
  font-family: var(--f-display);
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.02em;
}
.plate__sub {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  color: var(--grey);
  letter-spacing: 0;
}

.plate__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: .25rem;
  border-top: 1px solid var(--rule);
}
.plate__specs > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid var(--rule);
  gap: .5rem;
}
.plate__specs dt {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-mono);
  font-size: var(--step--2);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grey);
}
.plate__spec-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}
.plate__specs dd {
  font-family: var(--f-body);
  font-size: var(--step-0);
  font-weight: 600;
  text-align: right;
}

/* ==== Plate: bid input mock ==== */
.plate__bid {
  display: grid;
  gap: .4rem;
  margin-top: .4rem;
}
.plate__bid-label {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
}
.plate__bid-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  align-items: stretch;
}
.plate__bid-input {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: .65rem .8rem;
  font-family: var(--f-mono);
  font-size: var(--step-0);
  color: var(--ink);
  min-width: 0;
}
.plate__bid-currency { color: var(--ink); font-weight: 700; }
.plate__bid-amount { flex: 1 1 auto; min-width: 0; color: var(--ink); }
.plate__bid-decimals { color: var(--grey); }
.plate__bid-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.plate__bid-submit:hover { background: var(--blue-600); }

/* ==== Form ==== */
.signup {
  background: var(--ink);
  border-radius: var(--radius);
  padding: .75rem;
  max-width: 640px;
  border: 1px solid var(--ink);
}
.signup__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .4rem;
  align-items: stretch;
}
@media (max-width: 760px) { .signup__row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border-radius: calc(var(--radius) - 4px);
  padding: .55rem .9rem .5rem;
  transition: background .2s, box-shadow .2s;
}
.field:focus-within {
  background: #2F2F2F;
  box-shadow: 0 0 0 2px var(--blue);
}
.field__label {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.field input,
.field select {
  background: transparent;
  border: 0; outline: 0; padding: 0;
  color: var(--bone);
  font-size: var(--step-0);
  font-weight: 500;
}
.field select {
  appearance: none; cursor: pointer;
  padding-right: 1.4rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%23F4F1EA' d='M6 9L1 4h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right .25rem center;
  background-size: 10px;
}
.field select option { background: var(--ink); color: var(--bone); }
.field--compact { min-width: 170px; }

.signup .btn--primary {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-pill);
}
.signup .btn--primary:hover {
  background: var(--orange);
  color: var(--ink);
}

.signup__micro {
  margin: .65rem .4rem 0;
  font-size: var(--step--2);
  color: var(--bone-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}
.signup__micro--on-dark { color: var(--bone-3); }
.chip {
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: var(--step--2);
  letter-spacing: .04em;
  background: var(--bone);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: .12rem .5rem;
}
.chip--blue { background: var(--blue); color: #fff; }
.chip--orange { background: var(--orange); color: var(--ink); }
.divider { color: var(--bone-3); }

.signup__success {
  margin: .65rem 0 0;
  padding: .85rem 1rem;
  background: var(--orange);
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  font-weight: 500;
}
.signup__success--on-dark { background: var(--blue); color: #fff; }

.signup__error {
  margin: .65rem 0 0;
  padding: .8rem 1rem;
  background: #C81F1F;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  font-weight: 600;
}

/* ==== Specs (3-up "what you get") ==== */
.specs {
  padding: var(--pad-y) 0;
  background: var(--bone-2);
}
.specs__list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
}
@media (max-width: 880px) {
  .specs__list { grid-template-columns: 1fr; }
}
.spec {
  display: grid;
  gap: .65rem;
  align-content: start;
}
.spec__num {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.spec__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: .5rem;
}
.spec__icon img,
.spec__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.spec__title {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.spec__body {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}

/* ==== How (flow — horizontal 3-up cards, no dividers) ==== */
.how {
  padding: var(--pad-y) 0;
  background: var(--bone);
}
.steps {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  display: grid;
  gap: .85rem;
  align-content: start;
}
.step__num {
  font-family: var(--f-display);
  font-size: var(--step-4);
  line-height: .9;
  color: var(--blue);
  letter-spacing: -0.04em;
}
.step__body { display: grid; gap: .4rem; }
.step__body h3 {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 14ch;
}
.step__body p {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}
.step__body p b { color: var(--ink); }
@media (max-width: 640px) {
  .step__num { font-size: var(--step-3); }
}

/* ==== FAQ — accordion only (between-row hairlines kept; section dividers gone) ==== */
.faq {
  padding: var(--pad-y) 0;
  background: var(--bone);
}
.faq__list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.faq__list details {
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0;
}
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color .2s;
}
.faq__list summary:hover { color: var(--blue); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 1.15em;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .25s, color .25s;
  line-height: 1;
}
.faq__list details[open] summary::after {
  content: "−";
  color: var(--orange);
}
.faq__body {
  padding-top: .85rem;
  padding-right: 2rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
  line-height: 1.6;
  max-width: 64ch;
}
.faq__body a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

/* ==== Plans compare (seller) ==== */
.plans {
  padding: var(--pad-y) 0;
  background: var(--bone-2);
}
.plans__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, .75rem + 1vw, 1.5rem);
  align-items: stretch;
}
@media (max-width: 760px) {
  .plans__grid { grid-template-columns: 1fr; }
}

.plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}
.plan-card--premium {
  background: var(--ink);
  color: var(--bone);
}

.plan-card__head {
  display: grid;
  gap: .5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.plan-card--premium .plan-card__head {
  border-bottom-color: var(--rule-dark-strong);
}
.plan-card__name {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}
.plan-card--premium .plan-card__name {
  color: var(--orange);
}
.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin: 0;
}
.plan-card__price-figure {
  font-family: var(--f-display);
  font-size: var(--step-5);
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan-card__price-unit {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  color: var(--grey);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.plan-card--premium .plan-card__price-unit {
  color: var(--bone-3);
}

.plan-card__features {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan-card__features li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
}
.plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: var(--blue-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.4 2.4 4.6-4.8' stroke='%231478FA' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 75%;
}
.plan-card--premium .plan-card__features li {
  color: var(--bone);
}
.plan-card--premium .plan-card__features li::before {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.4 2.4 4.6-4.8' stroke='%231F1F1F' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.plan-card__cta {
  justify-self: start;
}
/* Primary CTA inside dark Premium card needs to lift off the ink background */
.plan-card--premium .plan-card__cta.btn--primary {
  background: var(--bone);
  color: var(--ink);
}
.plan-card--premium .plan-card__cta.btn--primary:hover {
  background: var(--orange);
  color: var(--ink);
}

.plan-card__badge {
  position: absolute;
  top: -.7rem;
  right: clamp(1.25rem, 1rem + 1vw, 2rem);
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--orange);
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
}

/* ==== Final CTA ==== */
.final {
  padding: var(--pad-y) 0;
  background: var(--ink);
  color: var(--bone);
}
.final__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  gap: 1.25rem;
}
.final__lockup {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 0 .5rem;
  display: block;
}
.final__headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: .98;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.final__headline_merch{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: .98;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.final__headline em {
  color: var(--orange);
  font-style: normal;
}
.final__note {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--bone-mute, rgba(244,241,234,.72));
  max-width: 60ch;
  margin: -.25rem 0 .25rem;
}
.final .signup {
  margin-top: .5rem;
  background: var(--ink-2);
  border-color: var(--rule-dark-strong);
}
.final .field { background: #2F2F2F; }
.final .field:focus-within { background: #383838; }

/* ==== Footer ==== */
.foot {
  background: var(--bone);
  color: var(--ink);
}
.foot__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 2rem + 3vw, 5rem) var(--pad-x) 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 880px) {
  .foot__inner { grid-template-columns: 1fr; gap: 2rem; }
}

.foot__col { display: grid; gap: .35rem; align-content: start; }
.foot__col a {
  font-size: var(--step--1);
  color: var(--ink);
  transition: color .2s;
}
.foot__col a:hover { color: var(--blue); }
.foot__heading {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: .35rem;
}
.foot__meta { color: var(--grey); font-size: var(--step--1); }
.foot__col--brand { gap: .65rem; }
.foot__logo { height: 32px; width: auto; }
.foot__tag {
  font-family: var(--f-display);
  color: var(--blue);
  font-size: var(--step-2);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-top: .35rem;
}
.foot__copy {
  max-width: 44ch;
  color: var(--grey);
  line-height: 1.5;
  font-size: var(--step--1);
}

.foot__fine {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--pad-x) 2.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: .5rem;
  font-family: var(--f-mono);
  font-size: var(--step--2);
  color: var(--grey);
  letter-spacing: .02em;
}
.foot__fine .muted { font-style: italic; font-family: var(--f-body); letter-spacing: 0; }

/* ==== Audience chooser (homepage /) ==== */
.body--chooser .nav__inner--chooser {
  grid-template-columns: auto 1fr;
}
.body--chooser .nav__status {
  justify-self: end;
}

.chooser {
  padding: clamp(3rem, 2rem + 4vw, 6rem) var(--pad-x) var(--pad-y);
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
  min-height: calc(100vh - 64px);
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  align-content: start;
}
.chooser__head {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 1rem;
}
.chooser__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-6);
  line-height: .95;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0;
}
.chooser__lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 50ch;
}
.chooser__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, .75rem + 1vw, 1.5rem);
}
@media (max-width: 760px) {
  .chooser__grid { grid-template-columns: 1fr; }
}
.chooser__note {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  font-family: var(--f-mono);
  font-size: var(--step--1);
  color: var(--grey);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  letter-spacing: 0;
}
.chooser__note .chip {
  background: var(--ink);
  color: var(--bone);
}

.audience-card {
  display: grid;
  gap: .85rem;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.9,.25,1), box-shadow .3s, border-color .25s;
  position: relative;
}
/* Merchant card is the primary commercial path — tinted gradient for subtle weight. */
.audience-card--merchant {
  background: linear-gradient(180deg, #fff 0%, var(--blue-tint) 100%);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(31,31,31,.22);
}
.audience-card--merchant:hover { border-color: var(--blue); }
.audience-card--seller:hover { border-color: var(--orange); }

.audience-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: .25rem;
}
.audience-card__icon svg { width: 28px; height: 28px; display: block; }
.audience-card__icon--blue {
  background: var(--blue-tint);
  color: var(--blue);
}
.audience-card__icon--orange {
  background: var(--orange-tint);
  color: var(--orange);
}
.audience-card__kicker {
  font-family: var(--f-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}
.audience-card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
}
.audience-card__body {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0;
}
.audience-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .5rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  width: max-content;
  transition: color .2s, border-color .2s;
}
.audience-card__cta svg { width: 1.05em; height: 1.05em; }
.audience-card--merchant:hover .audience-card__cta { color: var(--blue); border-color: var(--blue); }
.audience-card--seller:hover .audience-card__cta { color: var(--orange); border-color: var(--orange); }

/* ==== Nav CTA — short label on narrow phones ==== */
.btn__label--short { display: none; }
@media (max-width: 480px) {
  .btn__label--full { display: none; }
  .btn__label--short { display: inline; }
}

/* ==== Mobile optimizations (≤640px) ==== */
@media (max-width: 640px) {
  :root {
    /* Tighten vertical rhythm — every section was 80–144px top+bottom; cut to ~48–80px */
    --pad-y: clamp(3rem, 2.5rem + 2vw, 5rem);
    --pad-x: 1.25rem;
  }

  /* Sticky nav is ~56px on mobile, not 80px */
  html { scroll-padding-top: 60px; }

  .nav__inner { gap: 1rem; padding: .75rem var(--pad-x); }

  /* Hero — collapse the extra top air */
  .hero { padding-top: 1.75rem; padding-bottom: 3rem; }
  .display {
    font-size: clamp(2.4rem, 8vw + .25rem, 3.4rem);
    line-height: .98;
    margin: 1rem 0 1.25rem;
    max-width: none;
  }
  .lede { font-size: var(--step-0); margin-bottom: 1.5rem; }

  /* Section heads — tighter scale, full width */
  .section__head { margin-bottom: 2rem; }
  .section__title {
    font-size: clamp(2rem, 7vw + .25rem, 2.6rem);
    max-width: none;
  }

  /* iOS auto-zoom prevention — inputs need ≥16px to skip the zoom-on-focus */
  .field input,
  .field select { font-size: 16px; }

  /* Plate — single-column spec list so labels can breathe */
  .plate__specs { grid-template-columns: 1fr; }
  .plate__specs > div:nth-child(odd) { padding-right: 0; border-right: 0; }
  .plate__specs > div:nth-child(even) { padding-left: 0; }
  .plate__model { font-size: var(--step-2); }

  /* Final headline */
  .final__headline { font-size: clamp(2rem, 7vw + .25rem, 2.6rem); }

  /* Chooser scales down on phones */
  .chooser__title { font-size: clamp(2.4rem, 8vw + .25rem, 3.4rem); max-width: none; }
  .audience-card__title { font-size: var(--step-3); max-width: none; }
  .audience-card__icon { width: 48px; height: 48px; }
  .audience-card__icon svg { width: 24px; height: 24px; }

  /* Footer logo proportions for narrow viewports */
  .foot__logo { height: 24px; width: 150px; }

  /* FAQ summary — fit longer Greek questions without awkward 2-line breaks */
  .faq__list summary { font-size: var(--step-1); line-height: 1.25; }
  .faq__body { padding-right: 0; }

}

/* ==== Page-load entrance stagger ==== */
@keyframes mantras-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero on /merchant and /seller — headline → subhead → lede → form → meta, then the right column */
.hero__lockup > .display,
.hero__lockup > .subhead,
.hero__lockup > .lede,
.hero__lockup > .signup,
.hero__lockup > .hero__meta,
.hero .plate,
.hero .seller-hero {
  animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both;
}
.hero__lockup > .display    { animation-delay:   0ms; }
.hero__lockup > .subhead    { animation-delay:  80ms; }
.hero__lockup > .lede       { animation-delay: 140ms; }
.hero__lockup > .signup     { animation-delay: 200ms; }
.hero__lockup > .hero__meta { animation-delay: 280ms; }
.hero .plate,
.hero .seller-hero          { animation-delay: 320ms; }

/* Chooser entrance: title → lede → meta → cards */
.chooser__head > .chooser__title { animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both; animation-delay:   0ms; }
.chooser__head > .chooser__lede  { animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both; animation-delay:  80ms; }
.chooser__head > .hero__meta     { animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both; animation-delay: 160ms; }
.audience-card:nth-child(1)      { animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both; animation-delay: 240ms; }
.audience-card:nth-child(2)      { animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both; animation-delay: 320ms; }
.chooser__note                   { animation: mantras-rise .55s cubic-bezier(.2,.9,.25,1) both; animation-delay: 420ms; }

/* ==== Keyboard focus — visible ring across all interactive elements ==== */
.btn:focus-visible,
.nav__links a:focus-visible,
.nav__brand:focus-visible,
.foot__col a:focus-visible,
.faq__list summary:focus-visible,
.plate__bid-submit:focus-visible,
.hero__alt a:focus-visible,
.faq__body a:focus-visible,
.audience-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.skip:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 2px;
}

/* ==== Scroll-triggered reveals ==== */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2,.9,.25,1),
              transform .55s cubic-bezier(.2,.9,.25,1);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2,.9,.25,1),
              transform .55s cubic-bezier(.2,.9,.25,1);
}
[data-reveal-stagger].in > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].in > *:nth-child(2) { transition-delay:  80ms; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].in > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger].in > *:nth-child(8) { transition-delay: 560ms; }

/* ==== Form: submit-busy spinner + success slide-down ==== */
.btn { position: relative; }
.btn[aria-busy="true"] svg { visibility: hidden; }
.btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: mantras-spin .7s linear infinite;
}
@keyframes mantras-spin {
  to { transform: rotate(360deg); }
}
.signup__success:not([hidden]) {
  animation: mantras-rise .35s cubic-bezier(.2,.9,.25,1) both;
}

/* ==== FAQ: smooth open/close (height + padding animated via JS-set inline styles) ==== */
.faq__list .faq__body {
  overflow: hidden;
  transition: height 320ms cubic-bezier(.4,0,.2,1),
              padding-top 240ms ease;
}

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