/* Mpoukia site. One green accent on a soft neutral ground. Commissioner throughout:
   flared at heading sizes (the FLAR axis), plain for reading. Content sits on the page;
   only things you fill in or compare get a frame. */
:root {
  --bg: #F5F7F4;
  --white: #FFFFFF;
  --ink: #1A1D1B;
  --muted: #525954;
  --body: #33403A;
  --line: #DCE1DC;
  --field: #C9CFC9;
  --control: #868F88; /* edges of things you click or fill in: at least 3:1 on white and on --bg */
  --accent: #1E6B47;
  --accent-ink: #155236;
  --soft: #E4EFE8;
  --quiet: #A9B3AC;
  --r-sm: 8px;
  --r: 12px;
  --font: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img, iframe { max-width: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-variation-settings: "FLAR" 100; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
s { text-decoration-thickness: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-decoration: none; }
.brand .mark { grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--accent); }
.brand-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.brand-name strong { font-size: 24px; line-height: 1.15; font-weight: 650; letter-spacing: -0.01em; color: var(--accent); font-variation-settings: "FLAR" 100; }
.brand-el { padding-left: 10px; border-left: 1px solid var(--field); font-size: 21px; font-weight: 500; color: var(--accent); font-variation-settings: "FLAR" 100; }
.brand-note { font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav > a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav > a:hover { color: var(--accent); }
.nav > a.btn-primary { padding: 0 18px; color: var(--white); }
.nav > a.btn-primary:hover { color: var(--white); }
.lang { display: flex; gap: 2px; font-size: 14px; }
.lang a { min-width: 40px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Buttons */
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: var(--r-sm); font: 600 16px var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-ink); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--control); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; max-width: 24ch; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.lead { font-size: 1.15em; max-width: 52ch; color: var(--body); text-wrap: pretty; }

/* Sections */
.section { padding: 88px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head p { max-width: 62ch; }
.hero { padding: 64px 0 80px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-phones { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; align-items: flex-start; }
.hero-note { max-width: 50ch; font-size: 15px; color: var(--muted); }
.hero-note .status { color: var(--accent-ink); font-weight: 600; }

/* Phone frames: the app screens are real pages scaled into a frame */
.phone { flex: none; position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--field); }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; pointer-events: none; }
.phone-lg { width: 297px; height: 642px; border-radius: 34px; }
.phone-lg iframe { transform: scale(0.76); }
.phone-sm { width: 243px; height: 525px; border-radius: 28px; }
.phone-sm iframe { transform: scale(0.622); }
.phone-front { z-index: 2; }
.phone-back { z-index: 1; margin: 64px 0 0 -72px; }

/* Numbered steps and screen showcases */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 32px; }
.steps li { display: flex; flex-direction: column; gap: 18px; }
.step-text { display: flex; flex-direction: column; gap: 6px; max-width: 34ch; }
.step-num { font-size: 15px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.showcase { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(243px, 1fr)); gap: 40px 24px; }
.showcase li { display: flex; flex-direction: column; gap: 18px; }
.showcase.pair { grid-template-columns: repeat(auto-fit, minmax(243px, 300px)); }
.showcase .note { font-size: 14px; color: var(--muted); }
/* Greek step titles often run to two lines: reserve two so the text under them lines up */
html[lang="el"] .showcase .step-text h3 { min-height: 2.6em; }
/* Greek pages show the Greek name only */
html[lang="el"] .brand-el { display: none; }

/* What's in a bag: set like a menu, with the usual price struck through */
.menu { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 36px 72px; max-width: 1040px; }
.menu li { display: flex; flex-direction: column; gap: 8px; }
.menu-line { display: flex; align-items: baseline; gap: 12px; }
.menu-line h3 { flex: none; }
.menu-dots { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--field); transform: translateY(-5px); }
.menu-price { flex: none; display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.menu-price s { font-size: 15px; color: var(--muted); }
.menu-price strong { font-size: 21px; font-weight: 700; color: var(--accent); }
.menu li p { max-width: 46ch; color: var(--muted); }

/* A comparison drawn to scale */
.bars { margin: 0; display: grid; grid-template-columns: max-content 1fr auto; align-items: center; gap: 14px 16px; max-width: 520px; font-variant-numeric: tabular-nums; }
.bar-row { display: contents; }
.bar-label { font-weight: 500; }
.bar-track { height: 28px; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 0 3px 3px 0; }
.bar-fill.quiet { background: var(--quiet); }
.bar-val { text-align: right; font-weight: 700; }
.bars figcaption { grid-column: 1 / -1; padding-top: 6px; font-size: 15px; color: var(--muted); max-width: 52ch; }

/* Short notes: text separated by a rule, no boxes */
.notes { display: flex; flex-direction: column; gap: 28px; }
.notes > div, .points > div { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.notes p, .points p { max-width: 52ch; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 36px 56px; }
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px 48px; }
.faq div { display: flex; flex-direction: column; gap: 6px; }
.faq dt { font-weight: 600; }
.faq dd { margin: 0; color: var(--muted); }
.aside { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); max-width: 480px; }
.aside h3 { font-size: 19px; }
.aside a { align-self: flex-start; min-height: 44px; display: flex; align-items: center; font-weight: 600; }

/* Forms */
.form-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); max-width: 580px; }
.form-plain { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.fields { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.form-plain .field-email { flex-grow: 2; }
.form-plain .field-area { flex-basis: 160px; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field.wide { flex-basis: 100%; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { height: 48px; width: 100%; padding: 0 14px; border: 1px solid var(--control); border-radius: var(--r-sm); background: var(--white); font: 400 16px var(--font); color: var(--ink); }
.field select { padding: 0 12px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; max-width: 580px; }
.inline-form .field { flex: 1 1 260px; }
.inline-form .field-area { flex: 1 1 150px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { font-size: 14px; color: #8A2E1F; font-weight: 500; }
.success { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--soft); max-width: 580px; }
.success strong { font-size: 18px; }
.talk { display: flex; flex-direction: column; gap: 6px; max-width: 44ch; }
.talk .row { margin-top: 6px; }
.contact-line { font-size: 15px; color: var(--body); }
.contact-line a { font-weight: 600; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* Calculator */
.calc { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.calc-controls { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.calc-results { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.calc fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc legend, .calc-label { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc output { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; height: 32px; margin: 0; accent-color: var(--accent); }
.scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); border: 1px solid var(--control); background: var(--white); color: var(--ink); font: 500 15px var(--font); cursor: pointer; text-align: left; }
.chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); font-weight: 600; }
.totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.totals div { display: flex; flex-direction: column; gap: 4px; }
.totals .amount { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.totals .month .amount { color: var(--accent); }
.formula { padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.tiles div { display: flex; flex-direction: column; gap: 2px; }
.tiles .amount { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile-label { font-size: 14px; color: var(--muted); }

/* Pricing: the fee first, then the two plans side by side in one table */
.fee { display: flex; align-items: center; gap: 22px; max-width: 900px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.fee-big { flex: none; font-size: 64px; line-height: 0.9; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; font-variation-settings: "FLAR" 100; }
.fee-text { display: flex; flex-direction: column; gap: 4px; }
.fee-text strong { font-size: 19px; font-weight: 600; }
.fee-text span { font-size: 15px; color: var(--muted); }
.fee-terms { max-width: 900px; padding: 16px 0 40px; font-weight: 500; }
.ptable { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 16px; }
.ptable th, .ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable th:first-child { padding-left: 0; }
.ptable thead th { padding-top: 0; padding-bottom: 18px; border-bottom: 2px solid var(--ink); vertical-align: bottom; font-weight: 400; }
.ptable tbody th { font-weight: 500; color: var(--body); }
.ptable col.plan { width: 27%; }
.ptable td:nth-child(2), .ptable thead th:nth-child(2) { background: var(--white); }
.ptable thead th:not(:first-child) { padding-top: 18px; vertical-align: top; }
.plan-name { display: block; font-size: 22px; font-weight: 600; font-variation-settings: "FLAR" 100; }
.plan-for { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan-tag { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.pt-big { display: block; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pt-note { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.ptable .yes { display: inline-flex; color: var(--accent); }
.ptable .no { color: var(--control); font-weight: 600; }

/* Footer and consent */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 48px; font-size: 14px; color: var(--muted); }
.site-footer .col { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.site-footer .col strong { color: var(--ink); }
.site-footer .col .foot-brand { font-size: 18px; color: var(--accent); font-variation-settings: "FLAR" 100; }
.linklike { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; align-self: flex-start; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 20px; background: var(--white); border: 1px solid var(--field); border-radius: var(--r); box-shadow: 0 12px 32px rgba(26, 29, 27, 0.14); font-size: 15px; }
.consent p { flex: 1 1 260px; }
/* Desktop: the banner sits bottom right, over the app pictures, not over the form */
@media (min-width: 641px) { .consent { left: auto; right: 24px; bottom: 24px; max-width: 460px; margin: 0; } }

/* Prose (privacy) */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.4rem; margin-top: 12px; max-width: none; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { padding: 20px 0 52px; }
  /* First screen on phones: the waitlist form sits above the cookie banner */
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; gap: 4px 12px; }
  .brand-note, .brand-el { display: none; }
  .nav { gap: 4px 14px; font-size: 14px; }
  .lang a { min-width: 34px; }
  .hero-copy { gap: 16px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
  .form-plain .fields { flex-wrap: nowrap; gap: 10px; }
  .form-plain .field-email { flex: 1 1 auto; }
  .form-plain .field-area { flex: 0 0 128px; }
  .consent { left: 0; right: 0; bottom: 0; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: var(--r) var(--r) 0 0; border-width: 1px 0 0; font-size: 14px; line-height: 1.4; }
  .consent p { flex-basis: 100%; }
  .consent .row { flex: 1 1 100%; flex-wrap: nowrap; }
  .consent .row .btn { flex: 1 1 0; }
  .phone-back { display: none; }
  .showcase { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; gap: 16px; margin: 0 -18px; padding: 0 18px 12px; }
  .showcase li { flex: 0 0 243px; scroll-snap-align: start; }
  .wrap { padding: 0 18px; }
  /* On phones the header keeps the brand, the other page, the language switch and the main button */
  .nav > a[href^="#"]:not(.btn) { display: none; }
  .brand .mark { width: 30px; height: 30px; }
  .menu { gap: 28px; }
  .menu-price strong { font-size: 19px; }
  .bars { gap: 12px 12px; }
  .fee { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fee-big { font-size: 52px; }
  /* Pricing on phones: each row's label sits above the two plans' values */
  .ptable, .ptable thead, .ptable tbody { display: block; }
  .ptable colgroup { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr 1fr; }
  .ptable thead th:first-child { display: none; }
  .ptable thead th:not(:first-child) { padding: 14px 12px 14px; }
  .ptable tbody th { grid-column: 1 / -1; padding: 16px 0 6px; border-bottom: 0; }
  .ptable td { padding: 8px 12px 14px; }
  .ptable td:nth-child(2), .ptable thead th:nth-child(2) { background: transparent; }
  .ptable td, .ptable thead th:not(:first-child) { padding-left: 0; }
  .ptable { font-size: 15px; }
  .plan-name { font-size: 19px; }
  .pt-big { font-size: 24px; }
  .calc-results { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
