/* ==========================================================================
   Ποδαρικό — Design System «Ρόδι στο κατώφλι»
   Warm luxury: γρανάτης ροδιού · ελεφαντόδοντο · παλαιός χρυσός
   Light default · dark via prefers-color-scheme / [data-theme] · mobile-first
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* surfaces */
  --bg: #F6F0E6;            /* ελεφαντόδοντο */
  --bg-elev: #FDF9F2;       /* κρέμα */
  --bg-sunk: #EDE3D3;       /* άμμος */
  --bg-deep: #2B1D21;       /* βαθύ δαμασκηνί για dark bands */
  --ink: #2A1E22;
  --ink-2: #5A4A4F;
  --ink-3: #6F5F66;
  --line: #E6DACA;
  --line-strong: #CFBFA9;

  /* brand — γρανάτης ροδιού */
  --brand: #8A2432;
  --brand-2: #A6303F;
  --brand-3: #6B1A26;
  --brand-ink: #FFF7F1;
  --brand-soft: #F5E3E1;
  --brand-soft-2: #EBCBC8;

  /* παλαιός χρυσός */
  --gold: #B48E3E;
  --gold-2: #D2B266;
  --gold-3: #8F6E2A;
  --gold-soft: #F5EAD1;
  --gold-ink: #3D2C0B;

  /* status — warm, muted */
  --ok: #4F6F3E;
  --ok-soft: #E7EEDD;
  --warn: #A66A1C;
  --warn-soft: #F7E9D2;
  --danger: #A63A2E;
  --danger-soft: #F6DFDA;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(58, 34, 26, .06), 0 1px 1px rgba(58, 34, 26, .04);
  --shadow: 0 14px 36px -16px rgba(58, 34, 26, .22), 0 3px 8px rgba(58, 34, 26, .05);
  --shadow-lg: 0 34px 70px -24px rgba(58, 34, 26, .32), 0 6px 16px rgba(58, 34, 26, .07);
  --glow-gold: 0 0 0 4px rgba(180, 142, 62, .16);

  --font-display: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1140px;
  --gutter: 16px;
  --nav-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17110F;
    --bg-elev: #211A18;
    --bg-sunk: #100B0A;
    --bg-deep: #0D0908;
    --ink: #F3EADD;
    --ink-2: #C6B8AD;
    --ink-3: #8F8178;
    --line: #2E2523;
    --line-strong: #43362F;
    --brand: #D77B87;
    --brand-2: #E3919B;
    --brand-3: #B85F6B;
    --brand-ink: #1B0C0E;
    --brand-soft: #2E1A1D;
    --brand-soft-2: #452428;
    --gold: #D8BA6E;
    --gold-2: #E8CF8E;
    --gold-3: #B89A52;
    --gold-soft: #2C2415;
    --gold-ink: #F6E8C4;
    --ok: #8CB57A;
    --ok-soft: #1B2617;
    --warn: #E0A95A;
    --warn-soft: #2D2113;
    --danger: #E17F72;
    --danger-soft: #311715;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
    --shadow: 0 14px 36px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 34px 70px -24px rgba(0, 0, 0, .8);
    --glow-gold: 0 0 0 4px rgba(216, 186, 110, .16);
  }
}
:root[data-theme="dark"] {
  --bg: #17110F;
  --bg-elev: #211A18;
  --bg-sunk: #100B0A;
  --bg-deep: #0D0908;
  --ink: #F3EADD;
  --ink-2: #C6B8AD;
  --ink-3: #8F8178;
  --line: #2E2523;
  --line-strong: #43362F;
  --brand: #D77B87;
  --brand-2: #E3919B;
  --brand-3: #B85F6B;
  --brand-ink: #1B0C0E;
  --brand-soft: #2E1A1D;
  --brand-soft-2: #452428;
  --gold: #D8BA6E;
  --gold-2: #E8CF8E;
  --gold-3: #B89A52;
  --gold-soft: #2C2415;
  --gold-ink: #F6E8C4;
  --ok: #8CB57A;
  --ok-soft: #1B2617;
  --warn: #E0A95A;
  --warn-soft: #2D2113;
  --danger: #E17F72;
  --danger-soft: #311715;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow: 0 14px 36px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 34px 70px -24px rgba(0, 0, 0, .8);
  --glow-gold: 0 0 0 4px rgba(216, 186, 110, .16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 100% -10%, color-mix(in srgb, var(--gold-soft) 70%, transparent) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--brand-soft) 60%, transparent) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .45em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 .5em; }
h1 em, h2 em, h3 em, .accent { font-style: normal; color: var(--brand); font-weight: 800; }
h1 .gold, h2 .gold, .gold-text { color: var(--gold-3); font-style: normal; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); line-height: 1.65; font-weight: 400; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--gold { color: var(--gold-3); }
.eyebrow--brand { color: var(--brand); }
.eyebrow--brand::before { background: var(--brand); }
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.serif { font-family: var(--font-display); }
strong, b { font-weight: 700; }
kbd, code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--bg-sunk); padding: 1px 7px; border-radius: 6px; }
.rule { display: flex; align-items: center; gap: 14px; margin: 28px 0; color: var(--gold); }
.rule::before, .rule::after { content: ''; flex: 1; border-top: 1px solid var(--line-strong); }
.rule span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 740px; }
.container--mid { max-width: 900px; }
.section { padding: 64px 0; }
.section--tight { padding: 36px 0; }
.section--sunk { background: var(--bg-sunk); }
.section--deep { background: var(--bg-deep); color: #F3EADD; }
.section--deep h2, .section--deep h3, .section--deep .lead, .section--deep .muted { color: inherit; }
.section--deep .eyebrow { color: var(--gold-2); }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--tight { gap: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }
.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.mb-0 { margin-bottom: 0; }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .section { padding: 96px 0; }
}

/* ---------- Surfaces ---------- */
.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card--elev { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--line) 60%, transparent); }
.card--gold {
  border-color: var(--gold-2);
  background:
    linear-gradient(180deg, var(--gold-soft) 0%, var(--bg-elev) 48%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.card--gold::before {
  content: ''; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: calc(var(--radius) - 6px); pointer-events: none;
}
.card--brand {
  background:
    radial-gradient(120% 90% at 100% 0%, var(--brand-2) 0%, var(--brand) 45%, var(--brand-3) 100%);
  color: var(--brand-ink); border-color: transparent; box-shadow: var(--shadow-lg);
}
.card--brand h1, .card--brand h2, .card--brand h3, .card--brand h4, .card--brand .muted, .card--brand .lead { color: inherit; }
.card--brand .eyebrow { color: var(--gold-2); } .card--brand .eyebrow::before { background: var(--gold-2); }
.card--deep { background: var(--bg-deep); color: #F3EADD; border-color: transparent; }
.card--deep h2, .card--deep h3, .card--deep .muted { color: inherit; }
.card--sunk { background: var(--bg-sunk); box-shadow: none; }
.card__title { margin: 0 0 6px; }
.panel { background: var(--bg-sunk); border-radius: var(--radius); padding: 20px; }
.hero { padding: 56px 0 48px; position: relative; }
.hero__art {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(55% 60% at 85% 5%, color-mix(in srgb, var(--gold-soft) 85%, transparent) 0%, transparent 70%),
    radial-gradient(45% 45% at 5% 95%, color-mix(in srgb, var(--brand-soft) 80%, transparent) 0%, transparent 70%);
}
@media (min-width: 720px) { .hero { padding: 104px 0 80px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg-elev); color: var(--ink); font-weight: 600; font-size: .95rem; letter-spacing: 0;
  line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-1px); border-color: var(--gold); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--brand-ink); border-color: var(--brand-3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow-sm); }
.btn--primary:hover { background: linear-gradient(180deg, var(--brand-2), var(--brand-3)); border-color: var(--brand-3); }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); border-color: var(--gold-3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), var(--shadow-sm); }
.btn--gold:hover { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #fff; border-color: var(--gold-3); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand-soft); box-shadow: none; border-color: transparent; }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); }
.btn--danger { color: var(--danger); border-color: var(--danger); background: transparent; }
.btn--sm { padding: 8px 14px; font-size: .86rem; }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 8px; width: 40px; height: 40px; }
.btn--light { background: rgba(255, 255, 255, .92); color: var(--brand-3); border-color: transparent; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.label { font-weight: 600; font-size: .92rem; }
.label .opt { color: var(--ink-3); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--glow-gold); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 100px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.hint { font-size: .84rem; color: var(--ink-3); }
.error { font-size: .84rem; color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg-elev); font-size: .86rem; font-weight: 600;
  cursor: pointer; user-select: none; transition: all .12s ease;
}
.chip:hover { border-color: var(--gold); }
.chip--on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand-3); }
.chip--static { cursor: default; background: var(--bg-sunk); border-color: transparent; font-weight: 600; }
.chip--static:hover { border-color: transparent; }
.chip--gold { background: var(--gold-soft); border-color: var(--gold-2); color: var(--gold-ink); }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; background: var(--bg-elev); }
.seg__opt { padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; font-size: .88rem; color: var(--ink-2); transition: all .15s ease; }
.seg__opt[aria-pressed="true"] { background: var(--ink); color: var(--bg-elev); box-shadow: var(--shadow-sm); }
.range { width: 100%; accent-color: var(--brand); height: 34px; }
.range-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-3); }

/* ---------- Badges / alerts / toasts ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em; line-height: 1.5;
  background: var(--bg-sunk); color: var(--ink-2); white-space: nowrap;
}
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--muted { background: var(--bg-sunk); color: var(--ink-3); }
.badge--brand { background: var(--brand-soft); color: var(--brand); }
.badge--gold { background: var(--gold-soft); color: var(--gold-3); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.alert { padding: 15px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-elev); font-size: .92rem; }
.alert--info { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 35%, transparent); color: var(--ink); }
.alert--warn { background: var(--warn-soft); border-color: transparent; }
.alert--gold { background: var(--gold-soft); border-color: var(--gold-2); }
.alert--danger { background: var(--danger-soft); border-color: transparent; }
.alert--brand { background: var(--brand-soft); border-color: var(--brand-soft-2); }

.toast-host { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast { pointer-events: auto; padding: 13px 18px; border-radius: var(--radius-sm); background: var(--ink); color: var(--bg-elev); box-shadow: var(--shadow-lg); font-size: .92rem; animation: toast-in .2s ease; border-left: 3px solid var(--gold); }
.toast--warn { background: var(--warn); color: #fff; }
.toast--err { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(28, 16, 18, .6); backdrop-filter: blur(4px); z-index: 900; display: flex; align-items: flex-end; justify-content: center; padding: 0; animation: fade .15s ease; }
.modal { background: var(--bg-elev); border-radius: var(--radius-lg) var(--radius-lg) 0 0; width: 100%; max-width: 540px; padding: 28px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; border-top: 3px solid var(--gold); }
.modal__title { margin: 0 0 12px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
@media (min-width: 720px) { .modal-backdrop { align-items: center; padding: 16px; } .modal { border-radius: var(--radius-lg); border-top: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Data ---------- */
.stat { padding: 20px 22px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat__label { font-size: .84rem; color: var(--ink-2); margin-top: 8px; font-weight: 500; }
.stat--brand { background: linear-gradient(180deg, var(--brand-soft), var(--bg-elev)); border-color: var(--brand-soft-2); }
.stat--brand .stat__num { color: var(--brand); }
.stat--gold { background: linear-gradient(180deg, var(--gold-soft), var(--bg-elev)); border-color: var(--gold-2); }
.stat--gold .stat__num { color: var(--gold-3); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-3); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table--tight th, .table--tight td { padding: 7px 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.progress { height: 8px; background: var(--bg-sunk); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-3), var(--brand-2)); border-radius: 999px; transition: width .3s ease; }
.progress--gold > span { background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ''; position: absolute; left: 5px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.timeline li::after { content: ''; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; min-width: 0; }
.bars__bar { width: 100%; background: linear-gradient(180deg, var(--brand-2), var(--brand-3)); border-radius: 7px 7px 3px 3px; min-height: 3px; transition: height .3s ease; }
.bars__bar--dim { background: var(--brand-soft-2); }
.bars__bar--on { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); box-shadow: var(--glow-gold); }
.bars__lbl { font-size: .74rem; color: var(--ink-3); white-space: nowrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .92rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }
.match-score { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.match-score__ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: .76rem; font-weight: 800; background: conic-gradient(var(--gold) calc(var(--pct) * 1%), var(--bg-sunk) 0); position: relative; color: var(--gold-3); }
.match-score__ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg-elev); }
.match-score__ring span { position: relative; }
.signals { display: flex; flex-wrap: wrap; gap: 6px; }
.two-col { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-elev); transition: border-color .15s ease; }
.list__item:hover { border-color: var(--line-strong); }
.list__item--muted { opacity: .55; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.avatar--gold { background: var(--gold-soft); color: var(--gold-3); }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 56px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 1rem; box-shadow: 0 0 0 4px var(--brand-soft); }
.steps--gold li::before { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 4px var(--gold-soft); }
.wizard-steps { display: flex; gap: 6px; margin-bottom: 26px; }
.wizard-steps span { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.wizard-steps span.on { background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.divider-label { display: flex; align-items: center; gap: 12px; color: var(--gold-3); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.divider-label::before, .divider-label::after { content: ''; flex: 1; border-top: 1px solid var(--line-strong); }

/* ---------- Nav / Footer ---------- */
.nav { position: sticky; top: 0; z-index: 500; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.nav__brand:hover { text-decoration: none; }
.nav__mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(160deg, var(--brand-2), var(--brand-3)); display: grid; place-items: center; color: var(--gold-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), var(--shadow-sm); }
.nav__mark svg { width: 20px; height: 20px; }
.nav__icon { width: 38px; height: 38px; display: block; }
.brand-icon { width: 46px; height: 46px; display: block; }
.brand-logo { display: block; height: 72px; width: auto; }
.brand-logo--footer { height: 64px; margin: -8px 0 4px -6px; }
.brand-logo--hero { height: 84px; margin: 0 0 14px -8px; }
.brand-logo--card { height: 76px; margin: 0 auto 10px; }
.nav__links { display: none; gap: 2px; align-items: center; }
.nav__links a { padding: 8px 11px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.nav__links a:hover { background: var(--bg-sunk); text-decoration: none; color: var(--ink); }
.nav__links a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav__cta { display: flex; gap: 8px; align-items: center; flex: none; }
.nav__burger { display: inline-flex; }
.nav__bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); border: 1px solid transparent; }
.nav__bell:hover, .nav__bell[aria-current="page"] { background: var(--bg-sunk); color: var(--ink); text-decoration: none; }
.nav__bell-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .68rem; font-weight: 800; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px var(--bg); }
/* user menu */
.umenu { position: relative; }
.umenu__btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-elev); font-weight: 600; font-size: .9rem; color: var(--ink); }
.umenu__btn:hover { border-color: var(--gold); }
.umenu__name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu__pop { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 600; }
.umenu__pop.open { display: block; animation: fade .12s ease; }
.umenu__head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.umenu__pop a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.umenu__pop a:hover { background: var(--bg-sunk); color: var(--ink); text-decoration: none; }
.umenu__pop hr { margin: 6px 0; }
@media (max-width: 599px) { .umenu__name { display: none; } .nav__login { display: none; } }
/* threads / notifications */
.notif { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-elev); color: inherit; transition: border-color .15s ease; }
.notif:hover { border-color: var(--gold); text-decoration: none; }
.notif--unread { border-left: 3px solid var(--brand); background: color-mix(in srgb, var(--brand-soft) 35%, var(--bg-elev)); }
.notif__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; flex: none; font-size: 1rem; }
.notif__body { flex: 1; min-width: 0; }
.notif__title { font-weight: 700; }
.notif__meta { font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 82%; padding: 11px 14px; border-radius: 16px; background: var(--bg-sunk); font-size: .95rem; line-height: 1.5; }
.bubble--me { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 5px; }
.bubble--them { align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble--system { align-self: center; background: transparent; color: var(--ink-3); font-size: .82rem; text-align: center; max-width: 100%; }
.bubble__meta { display: block; font-size: .72rem; opacity: .7; margin-top: 4px; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-elev); }
.slot--on { border-color: var(--ok); background: var(--ok-soft); }
.reveal { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reveal { grid-template-columns: 1fr 1fr; } }
.reveal__side { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-elev); }
.reveal__side--ok { border-color: var(--ok); background: var(--ok-soft); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-left: 6px; vertical-align: middle; }
.nav__drawer { display: none; border-top: 1px solid var(--line); padding: 8px 0 14px; }
.nav__drawer.open { display: block; }
.nav__drawer a { display: block; padding: 11px var(--gutter); color: var(--ink-2); font-weight: 600; }
.nav__drawer a[aria-current="page"] { color: var(--brand); }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__burger { display: none; } .nav__drawer { display: none !important; } }
@media (max-width: 599px) { .nav__brand { font-size: 1.25rem; } .nav__cta .btn--primary { padding: 7px 11px; font-size: .8rem; } }
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--ink-3); font-size: .86rem; margin-top: 72px; background: color-mix(in srgb, var(--bg-sunk) 55%, transparent); }
.footer__grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer a { color: var(--ink-2); }
.footer h4 { margin-bottom: 8px; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer__brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.footer__tagline { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink-2); }

/* ---------- Landing & decoration ---------- */
.feature-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; font-size: 1.25rem; font-family: var(--font-display); }
.feature-ic--gold { background: var(--gold-soft); color: var(--gold-3); }
.mirror { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .mirror { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.mirror__mid { display: grid; place-items: center; color: var(--gold); font-size: 1.6rem; padding: 6px 10px; }
.mock { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock__bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-sunk); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.mock__body { padding: 18px; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.price small { font-size: 1rem; font-family: var(--font-body); color: var(--ink-3); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tick-list li { padding-left: 30px; position: relative; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold-3); font-weight: 800; }
.tick-list--x li::before { content: '✕'; color: var(--danger); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }
.quote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.4; color: var(--ink); }
.quote::before { content: '«'; color: var(--gold); } .quote::after { content: '»'; color: var(--gold); }
.ornament { display: flex; justify-content: center; margin: 8px 0 22px; color: var(--gold); }
.ornament svg { width: 120px; height: 14px; }
.tradition { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--gold-soft) 70%, var(--bg-elev)); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.tradition__mark { flex: none; width: 46px; height: 46px; color: var(--brand); }
.tradition p { margin: 0; font-size: 1rem; line-height: 1.55; }
.tradition p strong { font-weight: 600; color: var(--brand); }

/* ---------- Print ---------- */
@media print { .nav, .footer, .btn, .toast-host { display: none !important; } body { background: #fff; } .card { box-shadow: none; } }
