:root {
  --paper: #0a1721;
  --card: #102431;
  --ink: #eaf0f3;
  --muted: #a8bac5;
  --navy: #16394f;
  --blue: #58a9e8;
  --amber: #e0a93b;
  --amber-soft: rgba(224, 169, 59, .10);
  --green: #4fc48d;
  --green-soft: rgba(79, 196, 141, .10);
  --line: #1c3646;
  --danger: #ffb2a7;
  --max: 780px;
  --radius: 20px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .24);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(224, 169, 59, .08), transparent 28rem),
    linear-gradient(rgba(28, 54, 70, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 54, 70, .22) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 32px 32px, 32px 32px, auto;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
[hidden] { display: none !important; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.privacy-note {
  margin: 18px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.privacy-note a { color: var(--blue); }

#submissionStatus.is-error, #accessStatus.is-error { color: #ffb4ab; }
#submissionStatus.is-success, #accessStatus.is-success { color: #74d6a5; }
#accessStatus:not(.is-error):not(.is-success) { color: var(--muted); }
.promise-card a[href^="tel:"] { white-space: nowrap; }

.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; padding: 12px 16px; color: var(--paper); background: var(--amber); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 12px 18px; background: rgba(10, 23, 33, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-leading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-back { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); text-decoration: none; font-size: 22px; line-height: 1; }
.home-back:hover { border-color: var(--amber); color: var(--amber); }
.brand { display: flex; align-items: baseline; gap: 9px; padding: 0; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.brand-name { font-family: Impact, "Arial Narrow", sans-serif; font-size: 23px; letter-spacing: .09em; }
.brand-tool { color: var(--amber); font: 800 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .13em; }
.help-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; }

.progress-shell { width: min(var(--max), calc(100% - 30px)); margin: 18px auto 0; }
.progress-copy { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: var(--muted); font: 800 clamp(16px, 4vw, 18px)/1.35 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.progress-track { height: 6px; overflow: hidden; background: var(--line); border-radius: 999px; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--amber)); transition: width .24s ease; }

.shell { width: min(var(--max), calc(100% - 30px)); margin: 18px auto 54px; }
.screen { padding: clamp(24px, 5vw, 46px); background: rgba(16, 36, 49, .97); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.screen.is-active { animation: rise .22s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.eyebrow { margin-bottom: 12px; color: var(--amber); font: 800 12px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .12em; }
[data-screen="welcome"] > .eyebrow {
  margin-bottom: 16px;
  font-size: clamp(18px, 3.6vw, 22px);
  line-height: 1.25;
  letter-spacing: .09em;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif; font-weight: 850; letter-spacing: -.025em; overflow-wrap: normal; word-break: normal; hyphens: none; }
h1, h2 { max-width: 700px; line-height: 1.02; }
h1 { font-size: clamp(44px, 11vw, 76px); }
h2 { font-size: clamp(37px, 9vw, 59px); }
.screen h1[tabindex="-1"]:focus, .screen h2[tabindex="-1"]:focus { outline: none; }
h3 { font-size: 25px; line-height: 1.15; }
.lead { margin: 20px 0 28px; max-width: 650px; color: var(--muted); font-size: clamp(19px, 4.8vw, 23px); line-height: 1.5; }
.lead.small { font-size: 18px; }

.promise-card, .warning-card, .stop-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin: 26px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.promise-card p, .warning-card p, .stop-card p { margin: 5px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.promise-mark, .finish-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--green); font-weight: 900; }
.warning-card { display: block; background: var(--amber-soft); border-color: rgba(224, 169, 59, .65); }
.warning-card strong { color: #ffd987; }
.stop-card { display: block; background: rgba(88, 169, 232, .08); border-color: rgba(88, 169, 232, .60); }
.compact { margin-top: 28px; }

.action-stack { display: grid; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; padding: 14px 18px; border: 1px solid transparent; border-radius: 15px; cursor: pointer; font-weight: 850; line-height: 1.25; text-align: center; text-decoration: none; }
.btn:focus-visible, .choice:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-primary { color: var(--paper); background: var(--amber); }
.btn-primary:hover { background: #f0bd53; }
.btn-secondary { color: var(--ink); background: var(--navy); border-color: #2b5871; }
.btn-ghost { color: var(--muted); background: transparent; border-color: var(--line); }
.btn-viber { color: #fff; background: #7360f2; }
.viber-help { font-size: .85rem; color: #4b4b56; }
.mini-facts { display: grid; gap: 7px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.mini-facts span::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }

.choice-grid { display: grid; gap: 12px; margin: 28px 0; }
.choice { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; min-height: 86px; padding: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 17px; cursor: pointer; text-align: left; }
.choice:hover { border-color: var(--blue); }
.choice[aria-pressed="true"] { border-color: var(--amber); background: var(--amber-soft); }
.choice-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--blue); background: var(--navy); font-size: 23px; font-weight: 900; }
.choice[aria-pressed="true"] .choice-mark { color: #fff; background: var(--amber); }
.choice strong, .choice small { display: block; }
.choice strong { font-size: 18px; }
.choice small { margin-top: 3px; color: var(--muted); font-size: 14px; }

.field { display: grid; gap: 9px; margin: 24px 0; }
.field > span, .fieldset legend { font-weight: 850; }
.field input { width: 100%; min-height: 58px; padding: 13px 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
.field input::placeholder { color: #859196; }
.field small { color: var(--muted); font-size: 14px; }
.fieldset { margin: 28px 0; padding: 0; border: 0; }
.fieldset legend { margin-bottom: 12px; }
.radio-stack, .check-stack { display: grid; gap: 10px; }
.radio-stack label, .check-stack label { display: flex; align-items: flex-start; min-height: 56px; gap: 11px; padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.radio-stack label:has(input:checked), .check-stack label:has(input:checked) { border-color: var(--amber); background: var(--amber-soft); }
.radio-stack input, .check-stack input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--amber); }
.optional-block { margin: 30px 0; padding: 18px; background: rgba(10, 23, 33, .64); border: 1px dashed #365366; border-radius: var(--radius); }
.optional-block > strong { color: var(--ink); }
.field-error { min-height: 1.5em; color: var(--danger); font-weight: 800; }
.nav-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }

.diagnosis-card { margin: 24px 0; padding: 20px; background: rgba(10, 23, 33, .54); border: 1px solid var(--line); border-radius: var(--radius); }
.diagnosis-card h3 { padding-bottom: 13px; border-bottom: 2px solid var(--line); }
.scenario-fieldset { margin-bottom: 18px; }
.extras-fieldset { padding-top: 18px; border-top: 1px dashed #bdc5c1; }
.route-summary { display: grid; gap: 13px; margin: 28px 0; }
.route-card { padding: 19px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 15px; }
.route-card p { margin: 8px 0 13px; color: var(--muted); }
.route-card .route-note { margin-top: -2px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; }
.route-status { display: inline-flex; padding: 5px 9px; color: #195f43; background: var(--green-soft); border-radius: 999px; font-size: 13px; font-weight: 850; }
.route-status-assisted, .route-status-pending, .route-status-approval { color: #ffd987; background: var(--amber-soft); }
.route-status-stop { color: var(--danger); background: rgba(255, 178, 167, .10); }
.platform-confirmation { margin: 16px 0; padding: 13px 15px; border-left: 4px solid var(--green); background: var(--green-soft); border-radius: 10px; font-weight: 800; line-height: 1.5; }
.message-preview { margin: 24px 0; padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.message-preview pre { margin: 0; color: var(--ink); font: 15px/1.65 "Segoe UI", system-ui, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-status { min-height: 1.5em; color: var(--green); font-size: 14px; font-weight: 800; }
.steps-list { display: grid; gap: 12px; padding: 0; margin: 28px 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.steps-list li > span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--amber); background: var(--navy); border-radius: 50%; font-weight: 900; }
.steps-list p { margin: 5px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.finish-mark { width: 66px; height: 66px; margin-bottom: 22px; font-size: 30px; }
footer { width: min(var(--max), calc(100% - 30px)); margin: 0 auto 36px; padding: 20px 4px; color: var(--muted); font-size: 13px; text-align: center; }
footer p { margin: 5px 0; }

@media (min-width: 640px) {
  .topbar { padding-inline: 28px; }
  .choice-grid:not(.single) { grid-template-columns: repeat(3, 1fr); }
  .choice-grid:not(.single) .choice { grid-template-columns: 1fr; align-content: start; min-height: 160px; }
  .choice-grid.single { grid-template-columns: 1fr 1fr; }
  .nav-row { grid-template-columns: minmax(150px, .4fr) 1fr; }
}
@media (max-width: 480px) {
  .topbar { gap: 10px; padding-inline: 14px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 19px; }
  .brand-tool { font-size: 9px; }
  .help-link { padding-inline: 10px; font-size: 13px; }
  .shell, .progress-shell { width: min(var(--max), calc(100% - 20px)); }
  .screen { padding: 22px; border-radius: 21px; }
  h1 { font-size: clamp(30px, 9.2vw, 38px); }
  h2 { font-size: clamp(30px, 8.5vw, 38px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* v302 — αναδιαμόρφωση /access (προδιαγραφή v1, 01/11/2026): δύο πόρτες, πρόοδος σε φάσεις, διαδρομή πρόσβασης. */
.phase-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.phase-list li { padding: 8px 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font: 800 13px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.phase-list li.is-done { color: var(--green); border-color: rgba(79, 196, 141, .45); }
.phase-list li.is-done::before { content: "✓ "; }
.phase-list li.is-current { color: var(--paper); background: var(--amber); border-color: var(--amber); }
.door-grid { display: grid; gap: 14px; margin: 26px 0; }
.door { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.door:first-child { border-color: rgba(224, 169, 59, .65); }
.door p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.door .btn { margin-top: 6px; }
.door-key { display: grid; place-items: center; width: 40px; height: 40px; color: var(--amber); background: var(--navy); border-radius: 50%; font-weight: 900; }
h2.door-title { font-size: clamp(26px, 6.4vw, 34px); line-height: 1.08; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.copy-row code { padding: 9px 12px; color: var(--ink); background: var(--navy); border-radius: 10px; font: 800 17px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .04em; overflow-wrap: anywhere; }
.btn-inline { width: auto; min-height: 46px; margin-top: 12px; padding: 10px 16px; font-size: 15px; }
.copy-row .btn-inline { margin-top: 0; }
.switch-list { margin-top: 12px; }
.switch-list label { min-height: 48px; padding: 10px 12px; font-size: 16px; }
.help-details { margin: 22px 0 12px; padding: 16px 18px; background: rgba(88, 169, 232, .08); border: 1px solid rgba(88, 169, 232, .6); border-radius: var(--radius); }
.help-details summary { cursor: pointer; font-weight: 850; }
.help-details p { margin: 10px 0 14px; color: var(--muted); font-size: 15px; }
.stuck-link { margin-top: 8px; }
@media (min-width: 640px) {
  .door-grid { grid-template-columns: 1fr 1fr; }
}
/* v400 — Πόρτα Β κατά Οδηγό πρόσβασης v13 */
.approve-entry { margin: 18px 0 0; text-align: center; }
.btn-link { min-height: 44px; padding: 8px 6px; color: var(--amber); background: none; border: 0; font: inherit; font-weight: 800; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.steps-list .field { margin-top: 14px; }
