/* Nea Greek website – one shared stylesheet */
:root {
  --navy: #10233d;
  --navy-btn: #12294a;
  --navy-mid: #294a6e;
  --surface: #e4eff8;
  --sky: #c8dff0;
  --gold: #c49b39;
  --gold-text: #8a6a16;
  --gold-soft: #f5edd8;
  --muted: #4d6078;
  --line: #d6dfe8;
  --green: #1e9a58;
  --white: #fff;
  --display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif; /* wordmark only */
  --radius: 26px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.75);
  --shadow: 0 30px 60px -28px rgba(16, 35, 61, 0.5);
  --p: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--navy); background: #dfeaf3; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--navy-mid); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.8em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.greek { font-family: var(--display); font-weight: 800; }
.muted { color: var(--muted); }
.center { text-align: center; }
.glass { background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }

/* ---------- background scene: five photos, dawn to blue hour (main.js sets --p and opacities) ---------- */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #dfeaf3; pointer-events: none; }
.scene-layer { position: absolute; inset: -5%; background-size: cover; background-position: 62% 50%; opacity: 0; will-change: opacity, transform; transform: scale(1.05); }
.scene-layer:first-child { opacity: 1; }
.scene-layer.timed { transition: opacity 1.8s ease; }
.scene-layer.swap { animation: soft-swap 1.9s ease; }
@keyframes soft-swap { 0%, 100% { filter: blur(0); } 50% { filter: blur(14px); } }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(247, 250, 251, 0.18), rgba(247, 250, 251, 0) 30%); }
/* inner pages: a soft white veil sits behind the page content only (it scrolls with it), so the footer glass shows the dusk scene */
body.inner main { position: relative; isolation: isolate; display: flow-root; } /* flow-root keeps the last box's bottom margin inside the veil, so there is no gap above the footer */
body.inner main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 250, 251, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- header: floating glass bar ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; }
.bar { width: min(1280px, 100% - 24px); margin-inline: auto; min-height: 70px; padding: 0 14px 0 26px; display: flex; align-items: center; gap: 24px; background: rgba(255, 255, 255, 0.58); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 22px; box-shadow: 0 14px 40px -20px rgba(16, 35, 61, 0.5); }
.brand { text-decoration: none; color: var(--navy); font-size: 1.55rem; line-height: 1; white-space: nowrap; margin-right: 10px; }
.brand:hover { color: var(--navy); }
.brand-nea { font-family: var(--serif); font-weight: 700; }
.brand-greek { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
.site-nav { flex: 1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 16px; border-radius: 12px; color: rgba(16, 35, 61, 0.78); font-weight: 600; font-size: 1.08rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.site-nav a:hover { color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.site-nav a[aria-current="page"] { color: var(--navy); background: rgba(255, 255, 255, 0.7); }
.menu-btn { display: none; margin-left: 0; background: rgba(255, 255, 255, 0.6); color: var(--navy); border: 0; border-radius: 14px; min-width: 46px; height: 46px; padding: 0 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons: navy pills, no borders ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font: 700 1.05rem var(--display); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-green, .btn-navy { background: linear-gradient(#1a3560, #0f2240); color: var(--white); box-shadow: 0 14px 26px -12px rgba(11, 27, 49, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-green:hover, .btn-navy:hover { background: linear-gradient(#21427a, #12294a); color: var(--white); box-shadow: 0 18px 30px -12px rgba(11, 27, 49, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--navy); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -14px rgba(16, 35, 61, 0.5); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.site-header .btn { padding: 13px 24px; font-size: 1.05rem; }
.site-header .btn::after { content: ""; width: 14px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 22'%3E%3Cpath d='M3 1h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zm1 2.5h6M6 18.5h2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 22'%3E%3Cpath d='M3 1h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zm1 2.5h6M6 18.5h2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: var(--navy-mid); font-size: 0.9rem; font-weight: 600; }

/* ---------- phone mockup (pure CSS): titanium frame, black bezel, glass glare, side buttons ---------- */
.phone { --w: 260px; width: var(--w); margin: 0; position: relative; flex: none; isolation: isolate; }
.phone-body { position: relative; padding: calc(var(--w) * 0.036); border-radius: calc(var(--w) * 0.175); background: linear-gradient(135deg, #a9b3be 0%, #e6eaee 7%, #697585 20%, #2b3543 46%, #566272 72%, #d3d9df 92%, #8d98a5 100%); box-shadow: 0 50px 80px -34px rgba(6, 16, 34, 0.8), 0 18px 30px -18px rgba(6, 16, 34, 0.5), inset 0 0 0 calc(var(--w) * 0.004) rgba(255, 255, 255, 0.55); }
.phone-body::after { content: ""; position: absolute; inset: calc(var(--w) * 0.012); background: #05080d; border-radius: calc(var(--w) * 0.163); z-index: 0; box-shadow: inset 0 0 0 calc(var(--w) * 0.003) rgba(255, 255, 255, 0.08); }
.phone-body::before { content: ""; position: absolute; top: calc(var(--w) * 0.066); left: 50%; width: calc(var(--w) * 0.27); height: calc(var(--w) * 0.078); background: radial-gradient(circle at 80% 50%, #1b2c48 0 11%, #0a1220 13% 20%, transparent 22%), #020408; border-radius: 999px; transform: translateX(-50%); z-index: 3; }
.phone::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--w) * -0.011); right: calc(var(--w) * -0.011); z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #5a6674, #aeb7c1) left 0 top 17% / calc(var(--w) * 0.014) 3.2% no-repeat,
    linear-gradient(90deg, #5a6674, #aeb7c1) left 0 top 25% / calc(var(--w) * 0.014) 6% no-repeat,
    linear-gradient(90deg, #5a6674, #aeb7c1) left 0 top 33.5% / calc(var(--w) * 0.014) 6% no-repeat,
    linear-gradient(270deg, #5a6674, #aeb7c1) right 0 top 29% / calc(var(--w) * 0.014) 10% no-repeat; }
.phone::after { content: ""; position: absolute; inset: calc(var(--w) * 0.036); border-radius: calc(var(--w) * 0.14); background: linear-gradient(112deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.1) 100%); pointer-events: none; z-index: 4; }
.phone img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; border-radius: calc(var(--w) * 0.14); background: var(--surface); }
.phone-stack { position: relative; z-index: 1; aspect-ratio: 1170 / 2532; border-radius: calc(var(--w) * 0.14); overflow: hidden; background: var(--surface); }
.phone-stack img { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 0.7s ease; border-radius: 0; }
.phone-stack img.on { opacity: 1; }

/* podcast demo: a looping screen recording inside the phone, with a clean status bar drawn over the recording's own */
.phone-stack > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; background: #fff; border-radius: 0; }
.phone-stack > video.on { opacity: 1; }
.status-fix { position: absolute; left: 0; right: 0; top: 0; height: 6.6%; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * 0.085) 0 calc(var(--w) * 0.1); font-size: calc(var(--w) * 0.044); color: #10233d; background: #fff; opacity: 0; pointer-events: none; z-index: 2; transition: opacity 0.7s ease; }
.status-fix b { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
.status-fix i { display: flex; align-items: center; gap: 0.35em; font-style: normal; }
.phone-stack > video.on + .status-fix { opacity: 1; }
.pill { margin-left: 8px; vertical-align: 1px; letter-spacing: 0.04em; text-transform: none; }
.sound-row { margin: 8px 0 0; }
.sound-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer; font: 700 0.98rem var(--display); color: var(--navy); background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 24px -14px rgba(16, 35, 61, 0.6); transition: background 0.2s, color 0.2s, transform 0.2s; }
.sound-btn:hover { background: #fff; transform: translateY(-2px); }
.sound-btn[aria-pressed="true"] { background: linear-gradient(#1a3560, #0f2240); color: #fff; }
.sound-icon { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- inner pages ---------- */
.page-hero { padding: 150px 0 36px; text-align: center; position: relative; }
.page-hero h1 { margin-bottom: 0.3em; text-shadow: 0 2px 24px rgba(255, 255, 255, 0.6); }
.page-hero .lead { color: #2f4560; text-shadow: 0 1px 16px rgba(255, 255, 255, 0.6); }
.page-hero .lead { margin-inline: auto; }
.section { padding: 56px 0; }
.section-tint { background: rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.divider { width: min(420px, 70%); margin: 0 auto; opacity: 0.9; }

.feature { display: grid; gap: 40px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid rgba(16, 35, 61, 0.1); }
.feature-copy ul { list-style: none; padding: 0; }
.feature-copy li { position: relative; padding-left: 1.6em; margin-bottom: 0.5em; }
.feature-copy li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--navy-mid); opacity: 0.8; }
.feature-art { display: flex; gap: 28px; justify-content: center; align-items: center; }
.feature-art .icon { width: 120px; }
@media (max-width: 640px) { .feature-art .icon { display: none; } }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature:nth-child(even) .feature-art { order: -1; }
}

.cards { display: grid; gap: 22px; }
@media (min-width: 760px) { .cards.c2 { grid-template-columns: 1fr 1fr; } .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgba(255, 255, 255, 0.86); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 30px; box-shadow: 0 16px 40px -28px rgba(16, 35, 61, 0.6); }
.card h3 { margin-top: 0; }
.cards .card { display: flex; flex-direction: column; }
.cards .card .card-cta { margin: auto 0 0; padding-top: 12px; }
.cards .card > p:last-child { margin-bottom: 0; }
.plan-premium { background: linear-gradient(#fff, #f2f7fc); position: relative; box-shadow: 0 0 0 2px var(--navy-btn), 0 24px 50px -28px rgba(16, 35, 61, 0.6); }
.plan-tag { position: absolute; top: -14px; left: 28px; background: var(--navy-btn); color: #fff; font-family: var(--display); font-weight: 800; font-size: 0.78rem; padding: 5px 14px; border-radius: 999px; letter-spacing: 0.08em; }
.price { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1.1; }
.price small { font: 500 1rem var(--sans); color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1em 0; }
.ticks li { position: relative; padding-left: 1.8em; margin-bottom: 0.55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--navy-btn); }
.ticks li::after { content: ""; position: absolute; left: 0.37em; top: 0.5em; width: 0.28em; height: 0.52em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-row { display: grid; gap: 14px; margin: 18px 0; }
.price-opt { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 20px; background: #fff; }
.price-opt strong { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }

.faq details { background: rgba(255, 255, 255, 0.9); border: 1px solid var(--glass-line); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--navy-mid); }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: #33465c; }

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; margin: 18px 0 0; }
.badges img { width: 100%; background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 8px 18px -12px rgba(16, 35, 61, 0.5); }
@media (min-width: 560px) { .badges { grid-template-columns: repeat(6, 1fr); max-width: 560px; } }

.post-list { display: grid; gap: 22px; }
.post-card { display: grid; gap: 18px; text-decoration: none; color: inherit; transition: transform 0.2s; }
.post-card:hover { color: inherit; transform: translateY(-3px); }
.post-card .glyph { font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--navy-mid); background: var(--surface); border-radius: 18px; display: grid; place-items: center; min-height: 120px; }
.post-card h2 { font-size: 1.5rem; margin-bottom: 0.3em; }
.meta { font-size: 0.9rem; color: var(--muted); }
@media (min-width: 700px) { .post-card { grid-template-columns: 200px 1fr; align-items: center; } }
.article { margin-top: 130px; margin-bottom: 24px; padding: 34px 38px 26px; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 600px) { .article { padding: 24px 20px 18px; } }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); }
.article h2 { margin-top: 1.8em; font-size: 1.6rem; }
.article p, .article li { font-size: 1.1rem; line-height: 1.75; }
.big-greek { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.8rem); text-align: center; color: var(--navy-mid); margin: 0.6em 0; letter-spacing: 0.02em; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; background: rgba(255, 255, 255, 0.92); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
td.g { font-family: var(--display); font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.callout { background: rgba(255, 255, 255, 0.85); border-left: 4px solid var(--navy-mid); border-radius: 12px; padding: 16px 20px; margin: 1.4em 0; }
.cta-box { text-align: center; background: linear-gradient(#17315a, #0f2240); color: #dbe6f2; border-radius: var(--radius); padding: 40px 24px; margin: 48px 0; }
.cta-box h2, .cta-box h3 { color: var(--white); margin-top: 0; }
.cta-box .btn-green { background: #fff; color: var(--navy); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.6); }
.cta-box .btn-green:hover { background: #eaf2fa; color: var(--navy); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal li { margin-bottom: 0.4em; }
.legal { background: rgba(255, 255, 255, 0.8); border-radius: var(--radius); padding: 28px 30px; }
.story-note p { font-size: 1.1rem; line-height: 1.75; }
.story-note .story-sign { margin: 1.4em 0 0; font-family: var(--display); font-weight: 800; color: var(--navy-mid); }
.story-note .story-sign::before { content: "— "; }
.story-note { padding: 34px 38px; }
@media (max-width: 600px) { .story-note { padding: 26px 22px; } }
.placeholder-box { border: 2px dashed rgba(16, 35, 61, 0.35); border-radius: var(--radius); background: rgba(255, 255, 255, 0.7); padding: 28px; }

/* ---------- footer ---------- */
.site-footer { background: rgba(11, 27, 49, 0.52); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border-top: 1px solid rgba(255, 255, 255, 0.22); color: #d3deec; padding: 56px 0 28px; position: relative; }
.footer-top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.footer-proverb { font-family: var(--display); font-weight: 700; color: var(--white); font-size: 1.4rem; margin: 0 0 0.2em; }
.footer-proverb-by { margin: 0; font-size: 0.9rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #e1e9f3; text-decoration: none; padding: 6px 0; display: inline-block; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-small { font-size: 0.85rem; padding-top: 22px; display: grid; gap: 4px; }
.footer-small a { color: #e1e9f3; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.2fr 1fr; align-items: end; } .footer-nav { justify-content: flex-end; } }

/* ---------- Home ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 70px; }
.hero-grid { display: grid; gap: 36px; align-items: center; width: min(1120px, 100% - 44px); margin-inline: auto; }
.hero-copy { position: relative; z-index: 2; max-width: 540px; }
.hero h1 { margin-bottom: 0.35em; text-shadow: 0 2px 30px rgba(255, 255, 255, 0.45); }
.hero h1 .accent { color: var(--navy-mid); }
.hero .lead { color: #2f4560; text-shadow: 0 1px 20px rgba(255, 255, 255, 0.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 16px; }
.hero-note { font-size: 0.95rem; color: #2f4560; margin: 0; }
.hero-phones { position: relative; height: 400px; perspective: 1500px; }
.hp, .hp-in { transform-style: preserve-3d; }
.hp { position: absolute; left: 50%; top: 50%; opacity: 0; animation: phone-in 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hp-in { transform: translateY(calc(var(--hp, 0) * var(--dy))); will-change: transform; animation: float 8s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.hp .phone { --w: calc(var(--pw, 250px) * var(--k, 1)); transform: translate(-50%, -50%) translateX(var(--x, 0)) rotateY(var(--ry, 0)) rotateZ(var(--rz, 0)); transform-style: preserve-3d; }
.hp-main { z-index: 3; --k: 1; --dy: -70px; animation-delay: 0.15s; }
.hp-left { z-index: 2; --k: 0.82; --x: calc(var(--pw, 250px) * -0.74); --ry: 26deg; --rz: -7deg; --dy: -130px; --fd: -2.5s; animation-delay: 0.4s; }
.hp-right { z-index: 2; --k: 0.82; --x: calc(var(--pw, 250px) * 0.74); --ry: -26deg; --rz: 7deg; --dy: -30px; --fd: -5s; animation-delay: 0.55s; }
.hp-left .phone-body, .hp-right .phone-body { filter: brightness(0.96); }
@keyframes phone-in { from { opacity: 0; translate: 0 90px; } to { opacity: 1; translate: 0 0; } }

/* the story: one big phone that follows you down and changes side and screen */
.story { position: relative; }
.stage { display: none; }
.scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0; transition: opacity 1.5s ease; }
.scene-video.ready { opacity: 1; }
.stop { position: relative; min-height: 78vh; display: flex; align-items: center; padding: 40px 0; }
.stop-card { position: relative; width: min(520px, 100%); }
.stop-card h2 { margin-bottom: 0.4em; }
.stop-glyphs { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.2rem); color: var(--navy-mid); letter-spacing: 0.04em; margin: 0.1em 0 0.35em; line-height: 1.1; }
.stop-card .ticks { margin-bottom: 0; }
.stop-phone { display: grid; place-items: center; margin: 26px 0 0; perspective: 1200px; }
.stop-phone .phone { transform-origin: 50% 80%; }
.pricing-stop, .final-stop { position: relative; padding: 60px 0; }
.pricing-stop .glass { max-width: 640px; margin-inline: auto; text-align: center; }
.price-teaser { display: grid; gap: 12px; margin: 18px 0; }
.final-stop .glass { max-width: 700px; margin-inline: auto; text-align: center; }
/* scroll reveal: CSS scroll-driven where supported, IntersectionObserver otherwise */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes tilt-in { from { opacity: 0.2; transform: translateY(60px) rotateX(18deg) rotateY(-14deg) scale(0.9); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .js .reveal { opacity: 1; transform: none; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
  .stop-phone .phone { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; width: min(1120px, 100% - 140px); }
  .hero-phones { height: 470px; --pw: 205px; }
  .stage { display: block; position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; pointer-events: none; z-index: 1; perspective: 1600px; --sx: min(310px, 24vw); }
  .stage .phone { position: absolute; left: 50%; top: 50%; --w: min(310px, 27vh * 1.25); transform: translate(-50%, -50%) translateX(calc(var(--x, 1) * var(--sx))) rotateY(calc(var(--x, 1) * -16deg)) rotateZ(calc(var(--x, 1) * 2deg)); will-change: transform; }
  .stop { min-height: 92vh; position: relative; z-index: 2; }
  .stop:nth-child(even) { justify-content: flex-end; }
  .stop-phone { display: none; }
  .story .container { position: relative; z-index: 2; }
}
@media (max-width: 899px) {
  .hero { padding-top: 104px; align-items: flex-start; }
  .hero-copy { background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: var(--radius); padding: 26px 22px; }
  .hero-phones { --pw: 150px; height: 340px; }
  .hp-left { --x: calc(var(--pw) * -0.62); }
  .hp-right { --x: calc(var(--pw) * 0.62); }
  .stop { min-height: 0; padding: 22px 0; }
  .stop-card { width: 100%; }
  .glass { padding: 26px 22px; }
  .scene-layer { background-position: 70% 50%; }
}

/* mobile menu */
@media (max-width: 860px) {
  .bar { gap: 10px; min-height: 64px; padding: 0 10px 0 18px; }
  .menu-btn { display: inline-flex; }
  .site-header .btn { margin-left: auto; padding: 11px 18px; font-size: 0.98rem; }
  .site-nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-radius: 22px; padding: 8px 12px 14px; display: none; flex: none; box-shadow: 0 24px 40px -20px rgba(16, 35, 61, 0.5); border: 1px solid rgba(255, 255, 255, 0.8); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.12rem; }
  .brand { font-size: 1.35rem; }
}
@media (max-width: 480px) { .bar { gap: 8px; padding: 0 8px 0 16px; } .site-header .btn { padding: 10px 15px; font-size: 0.95rem; } .site-header .btn::after { display: none; } .brand { font-size: 1.2rem; margin-right: 0; } .menu-btn { min-width: 42px; height: 42px; padding: 0 10px; } }

/* respect reduced motion: no big movement, content simply appears */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hp { animation: none; opacity: 1; }
  .hp-in { transform: none; animation: none; }
  .stop-phone .phone { animation: none !important; }
  .scene-layer { transform: none !important; }
  .scene-layer.timed { transition: none; }
  .phone-stack img { transition: none; }
  .btn:hover, .post-card:hover, .sound-btn:hover { transform: none; }
}
