/* Hellenify website: the app's own look (petrol blue on a warm off-white; "Greek night" navy and gold in dark mode). */
:root {
  --bg: #F9F5EF; --surface: #FFFFFF; --surface-2: #EFE9DF; --ink: #173A4D; --ink-2: #3D5767; --muted: #55636B;
  --line: #E6E0D5; --accent: #174B65; --accent-ink: #FFFFFF; --sea: #E4EEF0; --gold: #AD8D55; --gold-ink: #80622E;
  --shadow: 0 1px 2px rgb(23 58 77 / .06), 0 12px 32px rgb(23 58 77 / .08);
  --ui: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --display: -apple-system, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F2836; --surface: #183A4A; --surface-2: #1E4456; --ink: #F4EFE6; --ink-2: #D3DBDE; --muted: #A7B6BD;
    --line: #24475A; --accent: #E9C582; --accent-ink: #0F2836; --sea: #1E4456; --gold: #E9C582; --gold-ink: #E9C582;
    --shadow: 0 1px 2px rgb(0 0 0 / .25), 0 12px 32px rgb(0 0 0 / .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--ui); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
[lang="el"] { font-family: var(--ui); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.wordmark { font: 700 1.3rem var(--display); letter-spacing: .04em; color: var(--accent); }
.top nav { display: flex; gap: 18px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }

/* Home: hero */
.hero { padding-top: 56px; padding-bottom: 24px; text-align: center; } /* sides come from .wrap */
.hero .eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; max-width: 15ch; margin: 0 auto .35em; }
.hero h1 span[lang="el"] { color: var(--accent); white-space: nowrap; }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--ink-2); max-width: 36em; margin: 0 auto 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 12px 20px; font-weight: 700; text-decoration: none; }
.badge svg { width: 22px; height: 22px; fill: currentColor; }
.badge small { display: block; font-size: 12px; font-weight: 600; opacity: .85; line-height: 1.1; }
.badge b { display: block; font-size: 17px; line-height: 1.2; }
.ghost { display: inline-flex; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }

/* Home: phone screens */
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screens figure { margin: 0; scroll-snap-align: center; text-align: center; }
.phone { border-radius: 30px; padding: 7px; background: var(--ink); box-shadow: var(--shadow); max-width: 250px; margin: 0 auto; }
@media (prefers-color-scheme: dark) { .phone { background: #050E14; } }
.phone img { border-radius: 24px; aspect-ratio: 600 / 1299; width: 100%; height: auto; background: var(--surface-2); }
.screens figcaption { margin-top: 12px; font-weight: 700; font-size: 15px; }
.screens figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

/* Home: features */
.section-title { text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 64px 0 8px; }
.section-sub { text-align: center; color: var(--ink-2); max-width: 34em; margin: 0 auto 28px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sea); color: var(--accent); font-size: 22px; margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Home: plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.plan.plus { border: 2px solid var(--accent); }
.plan h3 { font-size: 1.3rem; }
.plan ul { padding-left: 20px; margin: 10px 0 0; color: var(--ink-2); }
.plan li { margin: 4px 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }

/* Text pages (support, privacy) */
.page-head { display: flex; align-items: center; gap: 14px; padding: 40px 0 8px; }
.page-head img { width: 60px; height: 60px; border-radius: 14px; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); margin: 0; }
.page-head p { margin: 2px 0 0; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 16px 0; }
.card h2 { font-size: 1.3rem; }
.card h3 { font-size: 1.05rem; margin: 18px 0 4px; }
.card p, .card li { margin: 6px 0; }
.card ul { padding-left: 22px; }
.muted { color: var(--muted); font-size: 15px; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Footer */
footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
footer a { color: var(--ink-2); }

@media (max-width: 560px) {
  .top nav { gap: 14px; font-size: 14px; }
  .hero { padding-top: 36px; }
  .card { padding: 18px; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
