/* Homepage (A3 · Night Focus). Sub-pages still use css/site.css. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --panel: #161615;
  --panel-2: #1d1c1a;
  --ink: #edebe8;
  --muted: #b9b5af;
  --faint: #8c8882;
  --line: #2a2926;
  --accent: #f4c59b;
  --accent-ink: #1a1208;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
  --pad: clamp(20px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffd9b5; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 14px; }

/* Header */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 3vw, 28px); font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .pill { background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 48px 64px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1; }
.hero h1 em { font-style: italic; color: var(--accent); }

.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.badge { display: inline-flex; border-radius: 9px; transition: transform .2s ease, opacity .2s ease; }
.badge:hover { transform: translateY(-2px); opacity: .9; }
.badge img { height: 48px; width: auto; }

.hero-media { flex: 1 1 420px; display: flex; justify-content: center; }
.hero-media img { width: 100%; max-width: 540px; }

/* Showcase */
.showcase { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 55%, #2a2016 0%, #111110 65%); display: flex; align-items: center; justify-content: center; }
.showcase video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 28px; bottom: 28px; display: flex; align-items: center; gap: 12px; background: rgba(237,235,232,.12); color: var(--ink); border: 1px solid rgba(237,235,232,.25); border-radius: 999px; padding: 10px 20px 10px 10px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; backdrop-filter: blur(8px); }
.play span { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
[hidden] { display: none !important; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 112px) 0; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 64px); }
.feature + .feature { margin-top: clamp(72px, 10vw, 112px); }
.feature.flip { flex-wrap: wrap-reverse; }
.feature-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature h2 { font-size: clamp(34px, 4vw, 46px); line-height: 1.08; }
.feature-copy p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.feature-media { flex: 1 1 380px; display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.shot { width: calc(50% - 10px); max-width: 260px; border-radius: 28px; border: 1px solid #2a2926; box-shadow: 0 24px 60px rgba(0,0,0,.5); }


.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }
.quotes figure { margin: 0; background: var(--panel); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.creator { background: var(--panel); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .25s ease; }
.creator:hover { color: var(--ink); transform: translateY(-4px); }
.creator .thumb { position: relative; background: #24221f; overflow: hidden; }
.creator .thumb img { width: 100%; height: auto; }
.creator .thumb.square { aspect-ratio: 1 / 1; }
.creator .thumb.square img { width: 100%; height: 100%; }
.creator .yt-play { position: absolute; left: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.creator-copy { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.creator-copy strong { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; }

.section-title { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 28px; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.app-card { border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; transition: transform .25s ease; }
.app-card:hover { transform: translateY(-4px); }
.app-card .id { display: flex; align-items: center; gap: 14px; }
.app-card .id img { width: 56px; height: 56px; border-radius: 14px; }
.app-card .name { display: block; font-size: 22px; font-weight: 700; }
.app-card .tag { display: block; font-size: 14px; }
.app-card .slogan { font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 500; }
.app-card .go { margin-top: auto; font-weight: 700; font-size: 15px; }
.app-card.dayfold { background: #fbf6e4; color: #1c1b19; }
.app-card.dayfold .tag { color: #6b6556; }
.app-card.dayfold p { color: #55524c; }
.app-card.core { background: #1d1d2b; color: #edebf5; }
.app-card.core .tag { color: #a9aad0; }
.app-card.core p { color: #c5c6e2; }
.app-card.core .go { color: #a9aafa; }

.team { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.team-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.team-copy p { color: var(--muted); line-height: 1.65; }
.people { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--panel); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.person img { width: 80px; height: 80px; border-radius: 50%; background: #f5f1e6; }
.person strong { font-size: 20px; }
.person span { font-size: 15px; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--accent); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; color: var(--muted); max-width: 760px; }
.help-note { margin-top: 20px; color: var(--faint); font-size: 15px; }

.footer { border-top: 1px solid #222120; margin-top: clamp(72px, 10vw, 112px); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 40px; font-size: 14px; color: var(--faint); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--faint); }
.footer a:hover { color: var(--ink); }

/* Motion */
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .12s; }
.rise.d2 { animation-delay: .24s; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
  .play { left: 14px; bottom: 14px; }
}

/* App sub-pages (dayfold.html, core.html). Each page sets --app / --app-ink / --app-soft on <body>. */
.back { display: inline-flex; gap: 8px; color: var(--muted); font-size: 15px; margin-top: 8px; }
.back:hover { color: var(--ink); }
.app-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 40px 24px; }
.app-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.app-hero-copy .id { display: flex; align-items: center; gap: 16px; }
.app-hero-copy .id img { width: 72px; height: 72px; border-radius: 18px; }
.app-hero-copy .id strong { display: block; font-size: 24px; }
.app-hero-copy .id span { display: block; color: var(--faint); font-size: 15px; }
.app-hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; }
.app-hero h1 em { font-style: italic; color: var(--app); }
.app-hero-media { flex: 1 1 400px; display: flex; justify-content: center; }
.eyebrow.app { color: var(--app); }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.tile { background: var(--panel); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tile svg { color: var(--app); }
.tile h3 { font-size: 24px; }
.tile p { color: var(--muted); font-size: 16px; }

.uses { display: flex; flex-wrap: wrap; gap: 10px; }
.uses span { border: 1px solid #3a3936; border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--ink); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; margin-bottom: 16px; }
.split p { color: var(--muted); font-size: 18px; }

.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--panel); border-radius: 28px; padding: 36px; color: var(--ink); }
.promo:hover { color: var(--ink); }
.promo .id { display: flex; align-items: center; gap: 16px; }
.promo img { width: 56px; height: 56px; border-radius: 14px; }
.promo strong { font-family: var(--serif); font-weight: 500; font-size: 26px; display: block; }

/* Dayfold illustration (static, matches the Core panel) */
.moments { width: min(420px, 100%); background: #1c1b19; border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.moment { border-radius: 20px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.moment small { font-size: 15px; opacity: .8; }
.moment b { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.moment b i { font-style: normal; font-family: var(--sans); font-size: 14px; font-weight: 500; opacity: .7; margin-left: 6px; }
.moment.m1 { background: #fbf6e4; color: #1c1b19; }
.moment.m2 { background: #ffcb45; color: #26241f; }
.moment.m3 { background: #2a2824; color: #f5f1e6; }

/* Core illustration */
.interval { width: min(420px, 100%); background: #1d1d2b; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.interval .phase { display: flex; justify-content: space-between; align-items: baseline; color: #c5c6e2; font-size: 15px; }
.interval .phase strong { color: var(--app); font-size: 18px; letter-spacing: .12em; }
.interval .big { font-size: clamp(64px, 9vw, 96px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #f1f1ff; line-height: 1; }
.segments { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.segments i { height: 10px; border-radius: 5px; background: #3a3a55; }
.segments i.done { background: var(--app); }
.segments i.now { background: linear-gradient(90deg, var(--app) 60%, #3a3a55 60%); }
.interval .next { display: flex; justify-content: space-between; color: #a9aad0; font-size: 15px; border-top: 1px solid #2e2e44; padding-top: 18px; }

/* Text pages (faq.html, privacy-policy.html, terms-of-use.html) */
.page-main { padding-block: 32px 0; }
.page-main > .wrap { max-width: 860px; }
.page-main h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin: 12px 0 20px; }
.page-main .subhead { font-size: 19px; color: var(--muted); margin-bottom: 40px; }
.prose { color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose h2 { color: var(--ink); font-size: 30px; margin: 48px 0 12px; }
.prose h3 { color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: 0; margin: 28px 0 8px; }
.prose p, .answer p { margin: 0 0 14px; }
.prose strong, .answer strong { color: var(--ink); }
.prose ul, .prose ol, .answer ul, .answer ol { padding-left: 22px; margin: 0 0 14px; }
.prose li, .answer li { margin-bottom: 6px; }
.answer { color: var(--muted); padding-bottom: 20px; line-height: 1.65; }
.answer img { max-width: 100%; border-radius: 12px; margin: 12px 0; }

/* Dayfold screenshot + widget art */
.app-hero-media .shot { width: min(280px, 80%); max-width: 280px; }
.widget-art { width: 100%; border-radius: 24px; }

.split h2 + p { margin-top: 0; }
.split em { font-family: var(--serif); font-style: italic; color: var(--ink); }
.styles { display: flex; flex-wrap: wrap; gap: 10px; }
.styles span { background: var(--panel); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.uses .use { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; }
.uses .use img { width: 32px; height: 32px; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.plan { background: var(--panel); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan.pro { border: 1px solid var(--app); }
.plan h3 { font-size: 28px; }
.plan ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.plan li { margin-bottom: 6px; }

.split-media { display: flex; justify-content: center; }
.split-media .shot { width: min(280px, 80%); max-width: 280px; }
.split-media .widget-art { max-width: 420px; border-radius: 28px; }
.flip-split { flex-wrap: wrap-reverse; }
.split .styles { margin-top: 20px; }
video.shot { display: block; background: #f6f4ef; }

/* Mobile refinements */
@media (max-width: 560px) {
  .nav { padding-block: 12px; gap: 8px; }
  .nav-links { gap: 4px 14px; }
  .nav-links a:not(.pill) { padding: 12px 2px; }
  .nav { flex-wrap: nowrap; }
  .brand { font-size: 19px; white-space: nowrap; }
  .nav-links { flex-wrap: nowrap; gap: 14px; }
  .nav-links .pill { display: none; }
  .hero { gap: 16px; padding-block: 24px 32px; }
  .hero-media img { max-width: 360px; }
  .app-hero { gap: 32px; padding-block: 16px 8px; }
  .lead { font-size: 17px; }
  .feature-media { gap: 12px; }
  .split { gap: 28px; }
  .split-media .shot, .app-hero-media .shot { width: 72%; }
  .badge img { height: 44px; }
  .back { padding: 10px 0; margin-top: 0; }
  .footer nav a { padding: 8px 0; }
}
@media (max-width: 374px) {
  .brand { font-size: 17px; }
  .nav-links { gap: 10px; font-size: 14px; }
}

.app-card.foca { background: #161615; color: var(--ink); border: 1px solid #2a2926; }
.app-card.foca .tag { color: var(--faint); }
.app-card.foca p { color: var(--muted); }
.app-card.foca .go { color: var(--accent); }
.plan ul { margin-top: 0; }

/* Guide pages (/guides/*.html) */
.guide-hero { padding-block: 24px 8px; max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.guide-hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; }
.guide-hero h1 em { font-style: italic; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .shot { width: 100%; max-width: 240px; margin-bottom: 8px; }
.steps strong { font-size: 18px; }
.steps span { color: var(--muted); font-size: 16px; }
.prose-block { max-width: 860px; }
.prose-block h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 48px 0 12px; }
.prose-block h2:first-child { margin-top: 0; }
.prose-block p, .prose-block li { color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose-block li strong { color: var(--ink); }
.prose-block ul { padding-left: 20px; }
.guide-wide { width: 100%; max-width: 520px; margin: 24px 0 0; }
.guide-cta { background: var(--panel); border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.guide-cta h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 6px; }
.guide .wrap { max-width: 860px; }
@media (max-width: 560px) { .steps .shot { max-width: 200px; } }

.glance { background: var(--panel); border-radius: 24px; padding: 28px 32px; }
.glance h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.glance ul { margin: 0; padding-left: 20px; color: var(--ink); line-height: 1.7; }

.routine-intro { margin: -12px 0 24px; max-width: 640px; }
.stretch-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.stretch-grid figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stretch-grid .shot { width: 100%; max-width: none; border-radius: 18px; }
.stretch-grid figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .stretch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; } }

.inline-quote { margin: 8px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink); }
.inline-quote .faint { font-family: var(--sans); font-size: 14px; }

/* ===== Homepage refresh (Nov 9 evening) ===== */
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.05; }
.hero { padding-block: 40px 56px; }
.lead { max-width: 480px; }
.section { padding-block: clamp(64px, 8vw, 96px) 0; }
.feature + .feature { margin-top: clamp(64px, 8vw, 96px); }
.feature h2 em { font-style: italic; color: var(--accent); }
.section-title { margin-bottom: 24px; }

/* Full-row app cards */
.apps.stack { grid-template-columns: 1fr; }
.apps.stack .app-card { min-height: 0; padding: 0 0 0 44px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 32px; overflow: hidden; }
.app-copy { display: flex; flex-direction: column; gap: 16px; padding-block: 40px; }
.app-shot { width: 100%; align-self: end; margin-top: 32px; margin-bottom: -120px; border-radius: 28px 28px 0 0; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.apps.stack .slogan { font-size: clamp(28px, 3vw, 36px); }
@media (max-width: 640px) {
  .apps.stack .app-card { grid-template-columns: 1fr; padding: 0 28px; gap: 0; }
  .app-copy { padding-block: 32px 8px; }
  .app-shot { width: 62%; justify-self: center; margin-bottom: -90px; }
}

/* Reviews carousel */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.row-nav { display: flex; gap: 8px; margin-bottom: 24px; }
.nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3936; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-btn:hover { background: #1a1918; }
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 12px; scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { flex: 0 0 300px; scroll-snap-align: start; margin: 0; background: var(--panel); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; color: var(--ink); }
.carousel .card:hover { color: var(--ink); }
.quote-card { padding: 28px; justify-content: space-between; gap: 20px; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.carousel .creator .thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #24221f; }
.carousel .creator .thumb img { width: 100%; height: 100%; object-fit: cover; }
.carousel .creator .yt-play { width: 40px; height: 40px; left: 16px; bottom: 16px; }
.carousel .creator-copy { padding: 18px 22px 22px; flex: 1; justify-content: flex-end; }
.carousel .creator-copy strong { font-size: 19px; }
@media (max-width: 560px) { .carousel .card { flex-basis: 78vw; } .row-nav { display: none; } }

/* Team (stacked) */
.team { display: block; }
.team-intro { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 640px; margin: -4px 0 32px; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; max-width: none; }
.person { flex-direction: row; align-items: center; gap: 20px; padding: 28px; }
.person img { width: 96px; height: 96px; flex: 0 0 96px; }
.person div { display: flex; flex-direction: column; gap: 6px; }
.apps.stack .app-card { grid-template-columns: minmax(0, 1fr) 200px; padding: 32px 44px; gap: 40px; }
.app-copy { padding-block: 0; }
.app-shot { width: 200px; margin: 0; align-self: center; border-radius: 24px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
#foca.section { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 640px) {
  .apps.stack .app-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .app-shot { width: 60%; margin: 0; justify-self: center; }
}

/* Full-screen hero + stacked store badges */
.hero { min-height: calc(100svh - 88px); padding-block: 24px 48px; box-sizing: border-box; align-content: center; }
.downloads-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.downloads-stack .downloads { margin-top: 0; }
@media (max-width: 560px) {
  .hero { min-height: calc(100svh - 64px); padding-block: 16px 32px; }
}

/* Full-row app cards, balanced two columns */
.apps.stack { gap: 24px; }
.apps.stack .app-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; min-height: 480px; align-items: stretch; }
.apps.stack .app-copy { padding: 56px; justify-content: center; gap: 18px; max-width: 520px; }
.apps.stack .slogan { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.apps.stack .app-copy p { font-size: 17px; line-height: 1.6; max-width: 400px; }
.apps.stack .go { margin-top: 8px; }
.app-media { display: flex; align-items: center; justify-content: center; padding: 40px; }
.app-card.dayfold .app-media { background: #f3ecd6; }
.app-card.core .app-media { background: #25253a; }
.app-card.foca .app-media { background: #1d1c1a; }
.apps.stack .app-shot { width: 220px; max-width: 100%; margin: 0; border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
@media (max-width: 760px) {
  .apps.stack .app-card { grid-template-columns: 1fr; min-height: 0; }
  .apps.stack .app-copy { padding: 32px 28px 28px; }
  .app-media { padding: 28px; }
  .apps.stack .app-shot { width: 200px; }
}

/* Stacked hero: copy above, devices below, fits one screen */
.hero-stack { min-height: calc(100svh - 88px); display: flex; flex-direction: column; align-items: center; padding-top: clamp(16px, 4vh, 48px); overflow: hidden; }
.stack-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.stack-copy h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.05; }
.stack-copy h1 em { font-style: italic; color: var(--accent); }
.stack-copy .lead { margin: 0 auto; }
.stack-copy .downloads-stack { align-items: center; }
.stack-copy .downloads { justify-content: center; }
.stack-media { width: 100%; display: flex; justify-content: center; align-items: flex-end; margin-top: clamp(16px, 3vh, 40px); }
.stack-media img { width: 100%; max-width: min(1100px, 94vw); height: auto; }
@media (min-width: 561px) {
  .hero-stack { height: calc(100svh - 88px); min-height: 640px; }
  .stack-media { flex: 1 1 0; min-height: 260px; }
  .stack-media img { width: auto; height: 100%; object-fit: contain; object-position: center bottom; }
}
@media (max-width: 560px) { .hero-stack { padding-bottom: 24px; } }
@media (max-width: 560px) { .hero-stack { min-height: calc(100svh - 64px); justify-content: space-between; } }
.stack-copy .lead { max-width: 600px; text-wrap: balance; }
@media (max-width: 560px) { .hero-stack { justify-content: center; gap: 8px; } .stack-media { margin-top: 28px; } }

/* Hero devices larger: full view on scroll */
@media (min-width: 561px) {
  .hero-stack { height: auto; min-height: 0; overflow: visible; padding-bottom: clamp(24px, 5vh, 64px); }
  .stack-media { flex: none; min-height: 0; margin-top: clamp(28px, 5vh, 56px); }
  .stack-media img { width: min(1020px, 76vw); max-width: none; height: auto; }
}

/* Guides index */
.guides-index h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 12px; }
.guide-list { display: grid; gap: 20px; margin-top: 40px; }
.guide-card { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; border-radius: 28px; overflow: hidden; background: #151515; color: var(--ink); transition: transform .25s ease; }
.guide-card:hover { transform: translateY(-3px); }
.guide-card-media { background: #26303f; display: flex; align-items: center; justify-content: center; padding: 28px; }
.guide-card-media img { width: auto; height: 300px; border-radius: 22px; display: block; }
.guide-card-copy { display: flex; flex-direction: column; gap: 12px; padding: 36px; justify-content: center; }
.guide-card-copy strong { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.guide-card-copy > span:not(.faint):not(.go) { color: var(--muted); max-width: 520px; }
.guide-card .go { font-weight: 700; font-size: 15px; color: var(--accent); margin-top: 8px; }
@media (max-width: 640px) {
  .guide-card { grid-template-columns: 1fr; }
  .guide-card-media img { height: 260px; }
  .guide-card-copy { padding: 24px; }
}
