/* Hallmark · v2.0.0 · theme: grid (by deal 1/3, editorial) · job: sign up, formFactory in the hero and again before FAQ · kit: design.md §5/§13 mandate scroll-reveal + hero parallax + radius/shadow cards; Grid's still/no-radius material waived for those, kept for flat Aegean fields + hairline data tables */
/* critique: P4 H5 E4 S4 R4 V4 · weakest: S, an aegean fintech hero can read as any broker; carried the lambda-apex mark, bronze node and marble bands instead of a stock dashboard */
/* waive 42 · nav is a grouped dropdown bar because the CRO checklist mandates a full multi-page menu on every page · waive 59 · section gaps compressed to 72/96/120 to keep 25 long-form pages scannable */

:root {
  --bg: #F7F5F0;
  --surface: #FDFCF9;
  --surface-2: #EFEBE2;
  --border: #DCD6C8;
  --text: #16233A;
  --text-muted: #54657F;
  --accent: #1D5FA8;
  --accent-hover: #17497F;
  --accent-tint: #E4ECF5;
  --accent-ink: #F4F8FC;
  --field: #123C6B;
  --field-2: #0E3258;
  --bronze: #A97B3F;
  --bronze-tint: #F1E7D8;
  --ok: #2E7D4F;
  --ok-tint: #E3EFE8;
  --no: #A94438;
  --no-tint: #F6E7E4;
  --font-display: "Advent Pro", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(18, 60, 107, 0.06);
  --shadow-md: 0 1px 2px rgba(18, 60, 107, 0.06), 0 10px 28px rgba(18, 60, 107, 0.09);
  --shadow-lg: 0 2px 6px rgba(18, 60, 107, 0.08), 0 24px 56px rgba(18, 60, 107, 0.16);
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px;
  --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px;
  --space-3xl: 96px; --space-4xl: 144px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-micro: 130ms; --dur-short: 200ms; --dur-long: 400ms;
  --header-h: 68px;
}

/* ---------- base ---------- */

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

html { overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--bronze); color: var(--accent-ink); }
:root { caret-color: var(--accent); }

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 var(--space-md);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  font-synthesis: none;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -0.015em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.3vw, 3.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }
p, li { text-wrap: pretty; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--dur-short) var(--ease), background-color var(--dur-short) var(--ease), text-decoration-color var(--dur-short) var(--ease); }
a:hover { color: var(--accent-hover); text-decoration-color: var(--bronze); }

ul, ol { padding-left: 1.4em; margin: 0 0 var(--space-md); }
li { margin-bottom: var(--space-xs); }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
code { font-family: inherit; background: var(--surface-2); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-sm); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.on-field :focus-visible, .field-panel :focus-visible { outline-color: var(--accent-ink); }

.skip-link {
  /* no -9999px offsets: they extend past the phone screen (sloplint 34);
     off-screen via transform only, so the box never leaves the viewport */
  position: absolute; left: var(--space-md); top: var(--space-md); z-index: 600;
  transform: translateY(-200%);
  background: var(--field); color: var(--accent-ink);
  padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus-visible { transform: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

main { display: block; }

.section { padding-block: var(--space-3xl); position: relative; }
.section--tight { padding-block: var(--space-2xl); }
.section--band { background: var(--surface-2); }
.section--field { background: var(--field); color: var(--accent-ink); }
.section--field h2, .section--field h3 { color: var(--accent-ink); }
.section--field a { color: var(--accent-ink); text-decoration-color: var(--bronze); }

.section-head { margin-bottom: var(--space-2xl); max-width: 62ch; }
.section-head p { color: var(--text-muted); font-size: 1.18rem; max-width: 56ch; }
.section--field .section-head p { color: var(--accent-ink); opacity: 0.85; }

.lead { font-size: 1.22rem; color: var(--text-muted); max-width: 54ch; }
/* Greek glyphs run wider than the ch unit: caps are set lower so real
   rendered lines stay under ~80 characters (impeccable line-length) */
.prose { max-width: 67ch; }
.prose h2 { margin-top: var(--space-2xl); }
.prose h3 { margin-top: var(--space-xl); }

/* thin bronze rule variant (abstract, geometric) */
.rule-bronze { border: 0; border-top: 2px solid var(--bronze); width: 56px; margin: 0 0 var(--space-lg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 48px;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), transform var(--dur-short) var(--ease), color var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); transition: background-color var(--dur-short) var(--ease), color var(--dur-short) var(--ease), transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); transition: background-color var(--dur-short) var(--ease), color var(--dur-short) var(--ease), transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease); }
.btn-block { width: 100%; }
.btn-ghost-light { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost-light:hover { background: rgba(244, 248, 252, 0.12); color: var(--accent-ink); transition: background-color var(--dur-short) var(--ease), color var(--dur-short) var(--ease), transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 300;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur-short) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex; align-items: center; gap: var(--space-lg);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand svg, .brand .logo-svg { display: block; height: 40px; width: auto; }
.brand:hover { text-decoration: none; }

.main-nav { margin-inline-start: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }

.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-short) var(--ease), color var(--dur-short) var(--ease);
}
.nav-trigger:hover { background: var(--accent-tint); color: var(--accent-hover); }
.nav-trigger .icon { width: 14px; height: 14px; transition: transform var(--dur-short) var(--ease); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 264px; max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-xs);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity var(--dur-short) var(--ease), transform var(--dur-short) var(--ease), visibility var(--dur-short);
  z-index: 100;
}
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px;
  width: 10px; height: 10px; background: var(--surface);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown ul { list-style: none; margin: 0; padding: 0; max-height: min(62vh, 520px); overflow-y: auto; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-size: 0.98rem;
  transition: background-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent-hover); }
.nav-item.align-right .dropdown { left: auto; right: 0; }
.nav-item.align-right .dropdown::before { left: auto; right: 22px; }

.btn-header { flex-shrink: 0; padding-inline: var(--space-lg); }

.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-inline-start: auto;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); cursor: pointer;
  transition: background-color var(--dur-short) var(--ease);
}
.nav-burger:hover { background: var(--accent-tint); }
.nav-burger .icon { width: 22px; height: 22px; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-menu { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { border-top: 1px solid var(--border); background: var(--surface); }
.mobile-nav .container { padding-block: var(--space-md); }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) var(--space-2xs);
  font-weight: 600; cursor: pointer; list-style: none;
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary .icon { width: 16px; height: 16px; color: var(--text-muted); }
.mobile-group[open] summary .icon { transform: rotate(180deg); }
.mobile-group ul { list-style: none; margin: 0; padding: 0 0 var(--space-sm); }
.mobile-group a { display: block; padding: var(--space-xs) var(--space-2xs); color: var(--text); text-decoration: none; border-radius: var(--radius-sm); }
.mobile-group a:hover { background: var(--accent-tint); color: var(--accent-hover); }
.mobile-nav .btn { margin-top: var(--space-md); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-burger { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- breadcrumbs ---------- */

.breadcrumbs { background: var(--bg); padding-block: var(--space-md) 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--border); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs span { color: var(--text); font-weight: 600; }

/* ---------- hero (inner pages + home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, var(--accent-tint), transparent 62%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding-block: var(--space-3xl);
  /* fill the first screen with the visual, not copy (sloplint 44c/79) */
  min-height: min(86vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--field {
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(169, 123, 63, 0.22), transparent 60%),
    linear-gradient(180deg, var(--field) 0%, var(--field-2) 100%);
  color: var(--accent-ink);
}
.hero--field h1 { color: var(--accent-ink); }
.hero--field p { color: var(--accent-ink); opacity: 0.88; }
.hero--field a { color: var(--accent-ink); }

/* the Acropolis photo is a full-opacity band behind the form column, masked
   into the marble ground; no raster sits under the text column (impeccable
   buried-raster / low-contrast) */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
  left: auto; width: 54%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}
@media (max-width: 959px) {
  .hero-photo {
    left: 0; width: 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 62%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 62%);
  }
}
/* stretch: the form card sets the row height so the hero's visual fills the
   first screen; the copy centres itself inside its own column (sloplint 44c) */
.hero-inner { position: relative; z-index: 2; display: grid; gap: var(--space-2xl); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); }
}
.hero h1 { margin-bottom: var(--space-lg); }
.hero .lead { margin-bottom: var(--space-lg); }

/* the form card fills its stretched grid column so the hero's visual reaches
   the fold (sloplint 79) */
.hero-form-side { display: flex; align-items: stretch; }
.hero-form-card { width: 100%; display: flex; flex-direction: column; justify-content: center; }

/* home hero motif layer */
.hero-motif { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-motif svg { position: absolute; right: -4%; top: 4%; width: min(62vw, 760px); height: auto; opacity: 0.5; color: var(--accent); }
.hero--field .hero-motif svg { color: var(--accent-ink); opacity: 0.3; }

.hero-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
}

.form-block { position: relative; }

/* formFactory field overrides: its stock inputs render 1.41:1 borders and
   40px heights; the site floor is 3:1 field edges and 44-52px controls
   (sloplint 40, 39b). Scoped to the site's form wrappers only. */
.form-block input[type="text"],
.form-block input[type="email"],
.form-block input[type="tel"],
.form-block input[type="password"],
.form-block select,
.hero-form-card input[type="text"],
.hero-form-card input[type="email"],
.hero-form-card input[type="tel"],
.hero-form-card input[type="password"],
.hero-form-card select {
  min-height: 46px;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
}
.form-block input::placeholder, .hero-form-card input::placeholder { color: var(--text-muted); }
/* formFactory renders its submit as <input type=submit>: same 44-52px floor */
.form-block input[type="submit"],
.hero-form-card input[type="submit"],
.calc-modal input[type="submit"] {
  min-height: 48px;
}

.form-block__title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin: 0 0 var(--space-md); }
.form-block__intro { color: var(--text-muted); margin-bottom: var(--space-md); }
.form-legal { font-size: 0.85rem; color: var(--text-muted); margin: var(--space-sm) 0 0; }
.form-legal a { color: var(--accent); }

.form-note {
  /* flat caption, not a nested chip inside the form card (impeccable nested-cards) */
  display: flex; align-items: flex-start; gap: var(--space-sm);
  margin-top: var(--space-md); padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text);
}
.form-note .icon { width: 18px; height: 18px; color: var(--bronze); flex-shrink: 0; margin-top: 3px; }

/* flags + icon links row (home hero) */
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-lg); }
.flags-row { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.flags-row .flags-label { font-size: 0.92rem; color: var(--text-muted); margin-right: var(--space-2xs); }
.flag-chip { display: inline-flex; align-items: center; gap: var(--space-2xs); font-size: 0.92rem; color: var(--text); }
.flag-chip svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: var(--shadow-sm); }

.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); border-left: 1px solid var(--border); padding-left: var(--space-lg); }
@media (max-width: 640px) { .hero-links { border-left: 0; padding-left: 0; } }
.hero-link {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease), color var(--dur-short) var(--ease), background-color var(--dur-short) var(--ease);
}
.hero-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--accent-hover); }
.hero-link .icon { width: 22px; height: 22px; color: var(--accent); }

/* ---------- ticker row (auto-injected) ---------- */

.ticker-row { background: var(--surface-2); border-bottom: 1px solid var(--border); }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.grid .card img, .grid .card svg { max-width: 100%; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease);
  min-width: 0;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.card h3 { margin-bottom: var(--space-sm); }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card > :last-child { margin-bottom: 0; }

.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); transition: transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease); }

.card-head { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-sm); }
.card-head h3 { margin: 0; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-tint);
  border-radius: var(--radius-md);
  color: var(--accent);
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--bronze { background: var(--bronze-tint); color: var(--bronze); }
.icon-badge--ok { background: var(--ok-tint); color: var(--ok); }
.icon-badge--no { background: var(--no-tint); color: var(--no); }

/* numbered steps: small accent circle, never a giant numeral */
.steps { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-sm); transition: transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease); min-width: 0; }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  margin-bottom: var(--space-md);
}
.step h3 { font-size: 1.15rem; margin-bottom: var(--space-xs); }
.step p { color: var(--text-muted); margin: 0; }

/* ---------- tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-block: var(--space-lg);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 560px; }
th, td { text-align: left; padding: var(--space-md); vertical-align: top; }
thead th {
  background: var(--surface-2);
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody tr + tr { border-top: 1px solid var(--border); }
tbody tr:nth-child(even) { background: rgba(239, 235, 226, 0.45); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { font-size: 0.9rem; color: var(--text-muted); margin-top: calc(-1 * var(--space-xs)); max-width: 72ch; }
/* section-level paragraphs keep a reading measure (sloplint 25) */
.section .container > p { max-width: 66ch; }

/* comparison table */
.compare-col { font-weight: 600; color: var(--accent-hover); }
.mark-ok { color: var(--ok); font-weight: 700; }
.mark-no { color: var(--no); font-weight: 700; }
.compare-yes-col { background: var(--accent-tint); }

/* ---------- exchange marks ---------- */

.exchanges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-xl); }
.exchange-mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; opacity: 0.78; filter: grayscale(1);
  transition: opacity var(--dur-short) var(--ease), transform var(--dur-short) var(--ease);
}
.exchange-mark:hover { opacity: 1; transform: translateY(-2px); }
.exchange-mark img { height: 34px; width: auto; }

/* ---------- reviews ---------- */

.reviews-grid { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.review-card { display: flex; flex-direction: column; gap: var(--space-md); }
.review-top { display: flex; align-items: center; gap: var(--space-md); }
.review-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--accent-tint); color: var(--accent);
}
.review-avatar--b2 { background: var(--bronze-tint); color: var(--bronze); }
.review-avatar--b3 { background: var(--ok-tint); color: var(--ok); }
.review-avatar--b4 { background: var(--surface-2); color: var(--text-muted); }
.review-avatar .icon { width: 26px; height: 26px; }
.review-name { font-weight: 600; margin: 0; }
.review-role { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.review-text { margin: 0; }
.review-stats { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--border); }
.review-stat { font-size: 0.9rem; color: var(--text-muted); }
.review-stat strong { display: block; color: var(--text); font-variant-numeric: tabular-nums; }
.reviews-note { font-size: 0.88rem; color: var(--text-muted); margin-top: var(--space-lg); }

/* ---------- company block ---------- */

.company-grid { display: grid; gap: var(--space-2xl); grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
@media (max-width: 900px) { .company-grid { grid-template-columns: minmax(0, 1fr); } }
.company-facts { list-style: none; padding: 0; margin: var(--space-lg) 0 0; }
.company-facts li { display: flex; gap: var(--space-sm); align-items: flex-start; padding: var(--space-sm) 0; border-top: 1px solid var(--border); margin: 0; }
.company-facts .icon { width: 20px; height: 20px; color: var(--bronze); flex-shrink: 0; margin-top: 3px; }
.company-facts .fact-label { font-weight: 600; display: block; }
.company-facts .fact-value { color: var(--text-muted); }
.company-links { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.company-link {
  display: flex; flex-direction: column; gap: var(--space-xs);
  padding: var(--space-md); border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-short) var(--ease), box-shadow var(--dur-short) var(--ease), border-color var(--dur-short) var(--ease);
}
.company-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--accent-hover); }
.company-link .icon { width: 22px; height: 22px; color: var(--accent); }
.company-link span:last-child { font-weight: 400; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- map ---------- */

.map-embed {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  width: 100%; max-width: 860px; margin-block: var(--space-lg);
  aspect-ratio: 16 / 9; min-height: 320px;
  background: var(--surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ accordion ---------- */

.faq-list { display: grid; gap: var(--space-sm); }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary, .faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-weight: 600; cursor: pointer; list-style: none;
  transition: background-color var(--dur-micro) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { background: var(--accent-tint); }
.faq-item summary .icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; transition: transform var(--dur-short) var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
/* closed answers must not lay out: Chromium's content-visibility details
   still report client rects below the collapsed box (sloplint 72 phantom) */
.faq-item:not([open]) .faq-a { display: none; }
.faq-a { padding: var(--space-md) var(--space-lg) var(--space-lg); color: var(--text-muted); }

/* beacon chart-ticker custom element: takes programmatic focus when the
   widget data lands, which :focus-visible does not match (sloplint 26a) */
tv-ticker-tape:focus,
tv-ticker-tape:focus-visible,
.tv-ticker-wrapper :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* calculator module CTA: labels never wrap, weight stays on the site's
   400/600/700 scale (module ships 500), control height meets the 44-52px
   floor (sloplint 49a, F19, 39b) */
.calc-widget__cta { white-space: nowrap; font-weight: 600; min-height: 46px; }

/* calculator modal fields share the formFactory input floor */
.calc-modal input[type="text"],
.calc-modal input[type="email"],
.calc-modal input[type="tel"],
.calc-modal input[type="password"],
.calc-modal select {
  min-height: 46px;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
}
.faq-a p { margin: 0; }

/* ---------- figures / stats ---------- */

.stat-row { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.stat { padding-top: var(--space-md); border-top: 2px solid var(--bronze); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--accent); }
.stat span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- decorative backgrounds ---------- */

.section--grid-bg {
  background:
    linear-gradient(rgba(228, 236, 245, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 236, 245, 0.55) 1px, transparent 1px);
  background-size: 44px 44px;
  background-color: var(--bg);
}
.motif-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.motif-bg svg { position: absolute; color: var(--accent); opacity: 0.1; }

/* ---------- calculator section ---------- */

/* flat wrapper: the calculator's own Aegean panel is the card — no box
   around a box (impeccable nested-cards) */
.calc-section .calc-widget-wrap {
  padding: 0;
  max-width: 980px;
  margin-inline: auto;
}

/* ---------- alerts / notes ---------- */

.note {
  display: flex; gap: var(--space-md); align-items: flex-start;
  background: var(--surface-2); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}
.note .icon { width: 22px; height: 22px; color: var(--bronze); flex-shrink: 0; margin-top: 2px; }
.note p { margin: 0; max-width: 72ch; }

/* ---------- special offer ---------- */

.so-urgency {
  background: var(--field); color: var(--accent-ink);
  padding-block: var(--space-sm);
  font-size: 0.92rem;
}
.so-urgency .container { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: space-between; }
.so-urgency span { display: inline-flex; align-items: center; gap: var(--space-xs); }
.so-urgency strong { color: var(--accent-ink); font-variant-numeric: tabular-nums; }

.so-hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  background: var(--bronze-tint); color: var(--text);
  border: 1px solid var(--bronze);
  padding: var(--space-2xs) var(--space-md); border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; margin-bottom: var(--space-md);
}

.so-benefits .card p { color: var(--text-muted); }

.so-cta-band { background: linear-gradient(120deg, var(--field) 0%, var(--accent-hover) 100%); color: var(--accent-ink); text-align: center; }
.so-cta-band h2 { color: var(--accent-ink); }
.so-cta-band p { color: var(--accent-ink); opacity: 0.9; max-width: 60ch; margin-inline: auto; }
.so-cta-band .btn { margin-top: var(--space-md); background: var(--bronze); color: var(--accent-ink); }
.so-cta-band .btn:hover { background: #8F6633; color: var(--accent-ink); }

/* countdown: MM:SS:CS in boxed digit pairs */
.countdown { display: inline-flex; gap: var(--space-sm); align-items: center; }
.cd-seg { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.cd-digits { display: inline-flex; gap: 4px; }
.cd-box {
  min-width: 46px; padding: var(--space-xs) 6px; text-align: center;
  background: var(--field); color: var(--accent-ink);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.cd-label { font-size: 0.78rem; color: var(--text-muted); }
.cd-sep { font-size: 1.9rem; font-weight: 700; color: var(--text-muted); align-self: flex-start; padding-top: var(--space-xs); }

/* exit modal */
.so-modal {
  position: fixed; inset: 0; z-index: 500;
  display: none; align-items: center; justify-content: center;
  padding: var(--space-lg);
}
.so-modal.is-open { display: flex; }
.so-modal.is-open .so-modal__overlay, .so-modal.is-open .so-modal__backdrop { animation: lgFadeIn 250ms var(--ease) both; }
.so-modal.is-open .so-modal__card, .so-modal.is-open .so-modal__dialog { animation: lgPopIn 250ms var(--ease) both; }
.so-modal.is-closing .so-modal__overlay, .so-modal.is-closing .so-modal__backdrop { animation: lgFadeOut 160ms var(--ease) both; }
.so-modal.is-closing .so-modal__card, .so-modal.is-closing .so-modal__dialog { animation: lgPopOut 160ms var(--ease) both; }
@keyframes lgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lgFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes lgPopIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes lgPopOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  .so-modal.is-open .so-modal__overlay, .so-modal.is-open .so-modal__card,
  .so-modal.is-closing .so-modal__overlay, .so-modal.is-closing .so-modal__card { animation: none; }
}
.so-modal__overlay { position: absolute; inset: 0; background: rgba(18, 60, 107, 0.55); }
.so-modal__card {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--space-2xl); max-width: 520px; width: 100%;
  text-align: center;
}
.so-modal__close {
  position: absolute; top: var(--space-sm); right: var(--space-sm);
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 50%; cursor: pointer;
  font-size: 1.4rem; line-height: 1;
  transition: background-color var(--dur-short) var(--ease);
}
.so-modal__close:hover { background: var(--bronze-tint); }
.so-modal__art { margin: 0 auto var(--space-lg); width: 150px; height: auto; color: var(--accent); }
.so-modal__card h3 { font-size: 1.7rem; }

/* ---------- 404 ---------- */

.error-page { text-align: center; padding-block: var(--space-4xl); }
.error-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 14vw, 9rem); line-height: 1; color: var(--accent); }
.error-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; margin-top: var(--space-xl); }
.error-links { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; list-style: none; padding: 0; margin-top: var(--space-lg); }

/* ---------- footer ---------- */

.site-footer { background: var(--field); color: var(--accent-ink); padding-block: var(--space-3xl) var(--space-2xl); }
.footer-grid { display: grid; gap: var(--space-2xl); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.footer-col h3 { color: var(--accent-ink); font-size: 1.02rem; margin-bottom: var(--space-md); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a {
  display: inline-block; padding: 4px 0;
  color: var(--accent-ink); opacity: 0.82; text-decoration: none; font-size: 0.95rem;
}
.footer-col a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--bronze); }
.footer-disclaimer { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid rgba(244, 248, 252, 0.22); font-size: 0.85rem; opacity: 0.85; }
.footer-disclaimer p { margin-bottom: var(--space-sm); }
.footer-meta { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: space-between; }
.footer-meta a { color: var(--accent-ink); }
.footer-credits { font-size: 0.8rem; opacity: 0.72; margin-bottom: 0; }

/* ---------- scroll reveal (JS-gated) ---------- */

.js .reveal { opacity: 0; transform: translateY(8px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity var(--dur-long) var(--ease), transform var(--dur-long) var(--ease); }
.js .reveal.is-visible { transition-delay: calc(var(--i, 0) * 45ms); }

/* ---------- responsive ---------- */

@media (max-width: 959px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: var(--space-2xl); }
}
@media (max-width: 640px) {
  .section { padding-block: var(--space-2xl); }
  .cd-box { min-width: 38px; font-size: 1.5rem; }
  .so-urgency .container { flex-direction: column; gap: var(--space-xs); }
  .btn { width: 100%; }
  /* The header CTA label ("Δημιουργία δωρεάν λογαριασμού") is too wide next
     to the burger under ~640px and pushed the burger off-screen; the same
     CTA lives inside the burger menu, the hero form and the pre-FAQ form. */
  .btn-header { display: none; }
  .hero-link { flex: 1 1 100%; }
  /* aspect-ratio + min-height forced the map box wider than the viewport */
  .map-embed { width: 100%; min-height: 240px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-motif { display: none; }
}

/* ---------- product check lists ---------- */

.check-list { list-style: none; padding: 0; margin: var(--space-md) 0; }
.check-list li { display: flex; align-items: flex-start; gap: var(--space-xs); padding: 6px 0; font-size: 0.98rem; }
.check-list li .icon { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }

/* vertical steps variant (product pages, inside prose flow) */
.steps--vertical { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }

/* Ticker and international phone field */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}
.iti__selected-country, .iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

/* Header registration and navigation */
.site-header .registration-cta {
  min-height: 44px;
  gap: .65em;
  font-weight: 700;
}
.registration-cta .cta-arrow { width: 1.05em; height: 1.05em; flex: none; }
.registration-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header .dropdown { top: 100%; }
.site-header .dropdown ul { max-height: min(62vh, 32rem); overflow-y: auto; }
.site-header .mobile-nav { max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; }
.site-header .mobile-nav[hidden] { display: none; }
.site-header .mobile-nav summary, .site-header .mobile-nav li a { min-height: 44px; align-content: center; }
.site-header .nav-burger { min-width: 44px; min-height: 44px; }

/* Home page media */
#content > .hero h1 { text-wrap: balance; }
#content > .hero .form-block { scroll-margin-top: 6rem; }
.review-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.review-photo-note { margin-block: .65rem 1rem; font-size: .875rem; }

#content > .hero .hero-form-side { align-self: start; }
#content > .hero .hero-copy h1 { max-inline-size: 19ch; }
#content > .hero .hero-photo { background-position: 64% center; }

@media (max-width: 959px) {
  #content > .hero .hero-photo {
    background-position: 66% bottom;
    mask-image: linear-gradient(180deg, transparent 12%, rgba(0, 0, 0, .22) 49%, #000 83%);
  }
}

/* Home reading and spacing */
.home-page .form-block :is(input[type="text"], input[type="email"], input[type="tel"]),
.home-page .calc-modal :is(input[type="text"], input[type="email"], input[type="tel"]) {
  min-height: 44px;
  font-size: 1rem;
}
.home-page :is(.form-block, .calc-modal) :is(input[type="text"], input[type="email"], input[type="tel"])::placeholder {
  font-size: .875rem;
  opacity: 1;
}
.home-page .form-legal { font-size: .875rem; line-height: 1.5; }
.home-page .review-photo-note { max-width: 65ch; line-height: 1.5; }
@media (max-width: 640px) {
  .home-page > .section .section-head { margin-bottom: 20px; }
}

#content.home-page > .section { padding-block: clamp(42px, 6vw, 86px); }
#content.home-page > .section--tight { padding-block: clamp(34px, 4.5vw, 64px); }
.home-page > .hero { padding-block: clamp(36px, 5vw, 76px); min-height: auto; }
.home-page > .hero .hero-inner { gap: clamp(24px, 4vw, 62px); }
.home-page > .hero .hero-copy .lead { color: var(--text); margin-bottom: 0; }
.home-page > .hero .hero-meta { margin-top: 22px; gap: 16px; }
@media (max-width: 959px) {
  .home-page > .hero .hero-photo { mask-image: linear-gradient(180deg, transparent 28%, rgba(0,0,0,.25) 52%, #000 90%); }
  .home-page > .hero .flags-row { width: 100%; gap: 8px 12px; }
  .home-page > .hero .flags-label { flex-basis: 100%; }
  .home-page > .hero .hero-links { width: 100%; }
}

/* The registration form reserves a grid row for an optional password. */
#content.home-page :is(.form-block, .calc-modal) form > div:has(> div > input[name="first_name"]):not(:has(input[type="password"])) {
  row-gap: 0;
}
#content.home-page :is(.form-block, .calc-modal) form > div:has(> div > input[name="first_name"]):not(:has(input[type="password"])) > div:has(> :is(input[name="first_name"], input[name="last_name"], input[type="email"], input[type="tel"], .iti)) {
  margin-block-end: 12px;
}
.home-page :is(.form-block, .calc-modal) :is(input, button)[type="submit"] {
  min-height: 44px;
}
