/* journeylabs.net. Plain CSS, no inline styles (the Content-Security-Policy forbids them). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
  color: #17181B;
  background: #0E3B38;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: #2F7D78; }
a:hover { color: #256560; }
:focus-visible { outline: 2px solid #2F7D78; outline-offset: 2px; }
.dark :focus-visible { outline-color: #E9B44C; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
section[id], [id].anchor { scroll-margin-top: 80px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #FFFFFF; color: #0E3B38; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page-beta .wrap { max-width: 1200px; }
.display { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.btn-teal, .btn-teal:hover { color: #FFFFFF; }
.btn-teal { background: #2F7D78; }
.btn-teal:hover { background: #256560; }
.btn-white, .btn-white:hover { color: #0E3B38; }
.btn-white { background: #FFFFFF; }
.btn-white:hover { background: #E8F2F1; }
.btn-ghost, .btn-ghost:hover { color: #FFFFFF; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 30; background: #FFFFFF; border-bottom: 1px solid #EEEFF1; }
.site-header.dark { background: #0E3B38; border-bottom-color: rgba(255,255,255,0.08); }
.header-row { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #17181B; }
.brand:hover { color: #17181B; }
.brand-name {
  font-family: 'Archivo', 'Inter', sans-serif; font-size: 20px; line-height: 24px;
  font-weight: 800; font-stretch: 108%; letter-spacing: -0.01em;
}
.dark .brand, .dark .brand:hover { color: #FFFFFF; }
.dark .brand-name { font-size: 21px; line-height: 26px; font-stretch: 110%; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; line-height: 22px; font-weight: 500; }
.nav-link { color: #17181B; text-decoration: none; }
.nav-link:hover { color: #256560; }
.nav-pill { height: 42px; padding: 0 16px; border-radius: 999px; }
@media (max-width: 560px) { .nav-extra { display: none !important; } }

/* ---------- Footer ---------- */

.site-footer { background: #0E3B38; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-row {
  padding-top: 26px; padding-bottom: 38px;
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
}
.footer-note { font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.78); }
.footer-note a { color: #FFFFFF; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; }
.footer-nav a { color: #BFE3DF; }
.footer-nav a:hover { color: #FFFFFF; }
.footer-legal {
  flex: 1 1 100%; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; line-height: 20px; color: rgba(255,255,255,0.75);
}
.footer-legal a { color: #BFE3DF; }
.footer-legal a:hover { color: #FFFFFF; }

/* ======================================================================
   Company page (/)
   ====================================================================== */

.page-company main { display: flex; flex-direction: column; flex: 1 0 auto; }

.co-hero { background: #FFFFFF; }
.co-hero-row {
  padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(64px, 9vw, 104px);
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.co-hero-text { flex: 1 1 480px; min-width: 0; }
.hire-chip {
  display: inline-flex; gap: 8px; align-items: center; background: #E8F2F1; color: #17181B;
  border-radius: 999px; padding: 8px 14px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none;
}
.hire-chip:hover { color: #17181B; background: #DCEDEB; }
.hire-chip .dot { width: 8px; height: 8px; border-radius: 999px; background: #2F7D78; flex: none; }
.chip-phone { display: none; }
@media (max-width: 480px) {
  .chip-desk, .chip-arrow { display: none !important; }
  .chip-phone { display: inline !important; }
  .hire-chip { font-size: 13px; }
}
.co-hero h1 {
  margin-top: 24px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 110%;
  font-size: clamp(2.75rem, 6.2vw, 5rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 8em;
}
.co-hero .lede { margin-top: 26px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: #3B3F45; max-width: 28em; }
.co-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.co-cta .btn { height: 50px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
.text-link { font-size: 16px; font-weight: 600; text-underline-offset: 3px; }

.co-hero-art { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.post-card {
  width: 100%; max-width: 400px; background: #FFFFFF; border: 1px solid #E5E6E9; border-radius: 26px;
  box-shadow: 0 24px 60px rgba(23,24,27,0.12); overflow: hidden;
}
.post-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; }
.avatar {
  width: 40px; height: 40px; border-radius: 999px; background: #F6E7C4; color: #7A570F;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; flex: none;
}
.post-meta { display: flex; flex-direction: column; min-width: 0; }
.post-name { font-size: 15px; line-height: 20px; font-weight: 600; }
.post-sub { font-size: 13px; line-height: 18px; color: #6B7076; }
.post-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 18px; }
.post-reacts { font-size: 14px; line-height: 20px; color: #6B7076; }
.post-try {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid #C9CCD1; background: #F7F7F8; color: #6B7076; font-size: 14px; font-weight: 600;
}
.art-caption { font-size: 13px; line-height: 18px; color: #6B7076; text-align: center; }

.co-thesis { background: #F7F7F8; border-top: 1px solid #E5E6E9; border-bottom: 1px solid #E5E6E9; }
.co-thesis > .wrap { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.eyebrow { font-size: 15px; line-height: 20px; font-weight: 600; color: #256560; }
.thesis-big {
  margin-top: 14px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 106%;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 20em;
}
.thesis-row { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.thesis-text { flex: 1 1 400px; min-width: 0; }
.thesis-text p { font-size: 19px; line-height: 30px; color: #3B3F45; max-width: 30em; }
.thesis-text p + p { margin-top: 18px; color: #17181B; font-weight: 600; }
.loop-wrap { flex: 0 0 auto; margin: 0 auto; }
.loop { position: relative; width: 328px; height: 296px; }
.loop-arrows { position: absolute; inset: 0; overflow: visible; }
.loop-box {
  position: absolute; width: 140px; height: 88px; padding: 8px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 14px; line-height: 20px; background: #FFFFFF; border: 1px solid #D5D7DB; border-radius: 14px;
}
.loop-box.b1 { left: 0; top: 0; }
.loop-box.b2 { left: 188px; top: 0; font-weight: 600; color: #256560; background: #E8F2F1; border-color: #BFE3DF; }
.loop-box.b3 { left: 188px; top: 208px; }
.loop-box.b4 { left: 0; top: 208px; border: 1.5px solid #C6952B; }
.loop-center { position: absolute; left: 89px; top: 114px; width: 150px; text-align: center; font-size: 14px; line-height: 19px; color: #3B3F45; }

.pillars { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 0 48px; }
.pillar { flex: 1 1 420px; min-width: 0; border-top: 1px solid #D5D7DB; padding: 26px 0 32px; }
.pillar h3 { margin-bottom: 8px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 700; font-stretch: 105%; font-size: 23px; line-height: 29px; }
.pillar p { font-size: 17px; line-height: 27px; color: #3B3F45; }

.co-testing { background: #FFFFFF; }
.co-testing > .wrap { padding-top: clamp(64px, 9vw, 96px); padding-bottom: 24px; }
.co-h2 {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 108%;
  font-size: clamp(1.875rem, 3.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em;
}
.co-sub { margin-top: 14px; font-size: 18px; line-height: 28px; color: #3B3F45; max-width: 34em; }
.q-cards { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.q-card { flex: 1 1 300px; min-width: 0; border: 1px solid #E5E6E9; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.q-card h3 { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 700; font-stretch: 105%; font-size: 21px; line-height: 27px; }
.q-card p { font-size: 15px; line-height: 23px; color: #3B3F45; }
.q-card strong { font-weight: 600; color: #17181B; }

.co-status { background: #FFFFFF; }
.co-status > .wrap { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; }
.status-col { flex: 1 1 440px; min-width: 0; }
.status-col h2 {
  margin-bottom: 18px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 108%;
  font-size: 30px; line-height: 34px; letter-spacing: -0.015em;
}
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid #E5E6E9; }
.timeline li:last-child { border-bottom: 1px solid #E5E6E9; }
.tl-when { font-size: 15px; line-height: 24px; color: #6B7076; font-variant-numeric: tabular-nums; }
.tl-when.next { color: #256560; font-weight: 600; }
.tl-what { font-size: 16px; line-height: 24px; }
.follow { margin-top: 18px; font-size: 15px; line-height: 22px; color: #6B7076; }
.team { display: flex; flex-wrap: wrap; gap: 14px; }
.person { flex: 1 1 200px; min-width: 0; border: 1px solid #E5E6E9; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.person-avatar {
  width: 52px; height: 52px; border-radius: 999px; background: #E8F2F1; color: #256560;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600;
}
.person-name { font-size: 17px; line-height: 23px; font-weight: 600; }
.person-role { margin-top: 2px; font-size: 14px; line-height: 20px; color: #6B7076; }
.person-bio { font-size: 15px; line-height: 23px; color: #3B3F45; }
a.slot { border: 1.5px dashed #9AA0A6; text-decoration: none; color: #17181B; background: #FFFFFF; }
a.slot:hover { border-color: #2F7D78; background: #F3F9F8; color: #17181B; }
.slot-plus {
  width: 52px; height: 52px; border-radius: 999px; border: 1.5px dashed #2F7D78; color: #2F7D78;
  display: flex; align-items: center; justify-content: center;
}
.slot-open { font-size: 15px; line-height: 23px; color: #256560; font-weight: 600; }

.co-join { background: #0E3B38; color: #FFFFFF; flex: 1 0 auto; }
.co-join > .wrap {
  padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px);
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start;
}
.join-text { flex: 1 1 460px; min-width: 0; }
.join-text h2 {
  margin-bottom: 16px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 110%;
  font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.02; letter-spacing: -0.02em;
}
.join-text > p { font-size: 18px; line-height: 28px; color: rgba(255,255,255,0.88); max-width: 30em; }
.terms { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 24px; }
.terms li { display: flex; gap: 12px; align-items: center; }
.terms svg { flex: none; }
.join-text .terms-note { margin-top: 18px; font-size: 15px; line-height: 22px; color: rgba(255,255,255,0.78); }
.join-actions { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.join-actions .btn { height: 52px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
.join-hint { font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.78); }
.investors { margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 15px; line-height: 22px; color: rgba(255,255,255,0.88); }
.investors a, .investors a:hover { color: #FFFFFF; font-weight: 600; }

/* ======================================================================
   Product page (/beta)
   ====================================================================== */

.page-beta main { display: flex; flex-direction: column; flex: 1 0 auto; }
.nav-faq { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-faq:hover { color: #FFFFFF; }
@media (max-width: 520px) { .nav-faq { display: none !important; } }
.hdr-right { display: flex; align-items: center; gap: 20px; }
.hdr-cta { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; }
.js .hdr-cta:not(.show) { display: none; }
.hdr-cta.show { animation: hdrIn 220ms cubic-bezier(0.05,0.7,0.1,1) both; }
@keyframes hdrIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.dots {
  background-color: #0E3B38;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  color: #FFFFFF;
}
.b-hero-row {
  padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px);
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: space-between;
}
.b-hero-text { flex: 1 1 480px; min-width: 0; }
.b-hero h1 {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 108%;
  font-size: clamp(2.125rem, 4.9vw, 4.25rem); line-height: 1; letter-spacing: -0.025em; max-width: 12em;
}
.b-hero h1 span { display: block; }
.b-hero h1 span + span { margin-top: 0.3em; }
.b-hero .lede { margin-top: 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,0.9); max-width: 30em; }
.invite {
  margin-top: 24px; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; line-height: 20px;
  font-weight: 600; color: #17181B; background: #F6E7C4; border-radius: 999px; padding: 8px 14px;
}
.invite svg { flex: none; }

.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .btn { height: 54px; padding: 0 24px; border-radius: 14px; font-size: 16px; }
.cta-row .btn-ghost { padding: 0 22px; }
.cta-link { color: #FFFFFF; font-size: 15px; font-weight: 600; text-underline-offset: 3px; padding: 12px 4px; }
.cta-link:hover { color: #E8F2F1; }
/* Visitor-specific buttons. Default (desktop, or no script): both buttons. */
.cta-iphone-primary, .cta-iphone-link, .cta-android-link { display: none !important; }
[data-visitor="iphone"] .cta-android-primary,
[data-visitor="iphone"] .cta-iphone-secondary { display: none !important; }
[data-visitor="iphone"] .cta-iphone-primary { display: inline-flex !important; }
[data-visitor="iphone"] .cta-android-link { display: inline !important; }
[data-visitor="android"] .cta-iphone-secondary { display: none !important; }
[data-visitor="android"] .cta-iphone-link { display: inline !important; }

.beta-facts { margin-top: 16px; display: flex; gap: 8px; align-items: center; font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.8); }
.beta-facts svg { flex: none; }

/* Hero demo card */
.demo-col { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0 auto; }
.demo {
  width: 100%; max-width: 360px; height: 392px; background: #FFFFFF; color: #17181B; border-radius: 28px;
  padding: 18px; box-shadow: 0 30px 70px rgba(0,0,0,0.35); overflow: hidden; position: relative;
}
.stage { display: flex; flex-direction: column; gap: 12px; animation: stageIn 420ms cubic-bezier(0.05,0.7,0.1,1) both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.demo .avatar { width: 36px; height: 36px; font-size: 15px; }
.demo-who { display: flex; gap: 10px; align-items: center; }
.demo-name { font-size: 14px; line-height: 19px; font-weight: 600; }
.demo-sub { font-size: 12px; line-height: 16px; color: #6B7076; }
.demo-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.demo-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.demo-counts { display: flex; gap: 14px; align-items: center; font-size: 13px; color: #6B7076; }
.demo-counts span { display: inline-flex; gap: 5px; align-items: center; }
.tap-wrap { position: relative; display: inline-flex; }
.demo-btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px;
  background: #2F7D78; color: #FFFFFF; font-size: 13px; font-weight: 600;
  transition: transform 120ms ease, background-color 120ms ease;
}
.ripple {
  display: none; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 999px; background: #FFFFFF; pointer-events: none;
}
.demo.is-tap .demo-btn { transform: scale(0.93); background: #256560; }
.demo.is-tap .ripple { display: block; animation: ripple 700ms ease-out both; }
@keyframes ripple { from { opacity: 0.55; transform: scale(0.2); } to { opacity: 0; transform: scale(2.6); } }

.stage-steps { gap: 14px; }
.steps-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.steps-title { display: flex; gap: 6px; align-items: center; font-size: 17px; line-height: 22px; font-weight: 600; }
.pill-time { font-size: 12px; line-height: 16px; font-weight: 600; color: #256560; background: #E8F2F1; border-radius: 999px; padding: 4px 10px; }
.prog-track { height: 6px; border-radius: 999px; background: #E5E6E9; overflow: hidden; }
.prog { height: 100%; width: 100%; background: #2F7D78; border-radius: 999px; animation: prog 2300ms cubic-bezier(0.2,0,0,1) both; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.step-list { display: flex; flex-direction: column; }
.step { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #EEEFF1; font-size: 15px; line-height: 20px; }
.step:last-child { border-bottom: 0; font-weight: 600; }
.chk { flex: none; animation: chk 320ms cubic-bezier(0.05,0.7,0.1,1) both; }
.step:nth-child(1) .chk { animation-delay: 350ms; }
.step:nth-child(2) .chk { animation-delay: 900ms; }
.step:nth-child(3) .chk { animation-delay: 1450ms; }
.step:nth-child(4) .chk { animation-delay: 2000ms; }
@keyframes chk { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
.demo-note { font-size: 12px; line-height: 16px; color: #6B7076; }

.stage-portfolio { gap: 14px; }
.pf-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; line-height: 22px; font-weight: 600; }
.xp-pop {
  font-size: 13px; line-height: 18px; font-weight: 700; color: #17181B; background: #E9B44C; border-radius: 999px;
  padding: 4px 11px; font-variant-numeric: tabular-nums; animation: pop 650ms cubic-bezier(0.05,0.7,0.1,1) 300ms both;
}
@keyframes pop { 0% { opacity: 0; transform: scale(0.5); } 60% { opacity: 1; transform: scale(1.1); } 100% { transform: scale(1); } }
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.demo-grid img, .demo-grid .tile-time { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; object-fit: cover; }
.tile-new { animation: tileNew 1000ms cubic-bezier(0.05,0.7,0.1,1) both; box-shadow: 0 0 0 2px #C6952B; }
@keyframes tileNew {
  0% { opacity: 0; transform: scale(0.6); }
  55% { opacity: 1; transform: scale(1.08); box-shadow: 0 0 0 7px rgba(198,149,43,0.35); }
  100% { transform: scale(1); box-shadow: 0 0 0 2px #C6952B; }
}
.tile-time {
  background: #E8F2F1; display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; color: #17181B;
}
.level { display: flex; flex-direction: column; gap: 8px; }
.level-row { display: flex; justify-content: space-between; font-size: 13px; line-height: 18px; }
.level-row span:first-child { font-weight: 600; }
.level-row span:last-child { color: #8A6413; font-weight: 700; }
.bar { height: 8px; border-radius: 999px; background: #EEEFF1; overflow: hidden; }
.bar-fill { height: 100%; width: 100%; background: #C6952B; border-radius: 999px; animation: barFill 1400ms cubic-bezier(0.2,0,0,1) 400ms both; }
@keyframes barFill { from { width: 58%; } to { width: 100%; } }

.stage-labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.stage-label { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; line-height: 18px; font-weight: 600; color: rgba(255,255,255,0.62); }
.stage-label::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.3); }
.stage-label.is-on { color: #FFFFFF; }
.stage-label.is-on::before { background: #E9B44C; }

/* Sections */
.b-section { padding: clamp(64px, 9vw, 104px) 0; }
.b-gray { background: #F7F7F8; }
.b-white { background: #FFFFFF; }
.b-h2 {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 108%;
  font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1; letter-spacing: -0.02em;
}
.b-sub { margin-top: 14px; font-size: 19px; line-height: 28px; color: #3B3F45; }

/* Challenge cards */
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
@media (max-width: 400px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.dcard { scroll-margin-top: 88px; scroll-margin-bottom: 16px; position: relative; min-width: 0; border-radius: 22px; overflow: hidden; color: #FFFFFF; aspect-ratio: 4 / 5; }
.dcard-cook { background: #1B1512; }
.dcard-fit { background: #C24D3C; }
.dcard-photo { background: #16213E; }
.dcard-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.86) 66%, rgba(0,0,0,0.9) 100%);
}
.dcard-badge {
  position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 6px; align-items: center;
  background: #FFFFFF; color: #17181B; border-radius: 999px; padding: 6px 14px 6px 10px;
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 105%; font-size: 20px; line-height: 24px;
}
.dcard-text { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dcard-kicker { font-size: 14px; line-height: 18px; font-weight: 600; color: rgba(255,255,255,0.85); }
.dcard h3 { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 105%; font-size: 28px; line-height: 1.05; letter-spacing: -0.01em; }
.dcard-go {
  display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: #FFFFFF; color: #0E3B38; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.dcard-go:hover { background: #E8F2F1; }
.dcard-plan {
  position: absolute; inset: 0; background: rgba(14,59,56,0.97); padding: 24px;
  display: flex; flex-direction: column; gap: 16px; animation: stageIn 420ms cubic-bezier(0.05,0.7,0.1,1) both;
}
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-kicker { font-size: 14px; color: rgba(255,255,255,0.75); }
.plan-title { margin-top: 2px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 105%; font-size: 26px; line-height: 30px; }
.plan-close {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); background: none;
  color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; padding: 0;
}
.plan-close:hover { background: rgba(255,255,255,0.12); }
.plan-steps { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 24px; }
.plan-join { margin-top: auto; height: 48px; border-radius: 12px; font-size: 15px; font-weight: 700; }
@media (max-width: 640px) {
  .dcard { aspect-ratio: auto; height: 208px; }
  .dcard-art { width: 42%; }
  .dcard-shade { display: none !important; }
  .dcard-text { left: 42%; right: 0; top: 0; bottom: 0; padding: 16px; gap: 8px; justify-content: center; background: rgba(0,0,0,0.42); }
  .dcard h3 { font-size: 20px; }
  .dcard-badge { left: 8px; top: 8px; font-size: 15px; line-height: 20px; padding: 4px 10px 4px 8px; }
  .dcard.open { height: auto; min-height: 440px; }
}

/* Game */
.game-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.game-text { flex: 1 1 380px; min-width: 0; }
.game-text p { margin-top: 22px; font-size: 19px; line-height: 30px; color: #3B3F45; max-width: 26em; }
.game-card-wrap { flex: 0 1 440px; min-width: 0; margin: 0 auto; width: 100%; }
.game-card { background: #FFFFFF; border: 1px solid #E5E6E9; border-radius: 26px; box-shadow: 0 24px 60px rgba(23,24,27,0.10); padding: 28px; }
.done-line { display: flex; gap: 10px; align-items: center; font-size: 15px; line-height: 20px; font-weight: 600; }
.done-line svg { flex: none; }
.xp-big {
  margin-top: 18px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 110%;
  font-size: clamp(2.75rem, 9vw, 4rem); line-height: 1; color: #8A6413; font-variant-numeric: tabular-nums;
}
.xp-detail { margin-top: 6px; font-size: 14px; line-height: 20px; color: #6B7076; font-variant-numeric: tabular-nums; }
.game-card .level-row { margin-top: 22px; font-size: 14px; line-height: 20px; }
.game-card .bar { margin-top: 8px; height: 10px; }
.companion { margin-top: 24px; padding-top: 20px; border-top: 1px solid #EEEFF1; display: flex; gap: 16px; align-items: center; }
.tilt {
  width: 76px; height: 76px; flex: none; border-radius: 20px; background: #FBF3E3;
  display: flex; align-items: center; justify-content: center;
  animation: tilt 5s ease-in-out infinite; transform-origin: 50% 85%;
}
@keyframes tilt { 0%, 78%, 100% { transform: rotate(0); } 85% { transform: rotate(-7deg); } 92% { transform: rotate(4deg); } }
.companion-text { display: flex; flex-direction: column; gap: 2px; }
.companion-text span:nth-child(1) { font-size: 14px; line-height: 20px; color: #6B7076; }
.companion-text span:nth-child(2) { font-size: 20px; line-height: 26px; font-weight: 600; }
.companion-text span:nth-child(3) { font-size: 13px; line-height: 18px; color: #8A6413; font-weight: 600; }

/* Portfolio */
.pf-intro { margin-top: 18px; font-size: 19px; line-height: 30px; color: #3B3F45; max-width: 34em; }
.pf-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.pf-panel { flex: 1 1 520px; min-width: 0; background: #FFFFFF; border: 1px solid #E5E6E9; border-radius: 24px; padding: 22px; }
.pf-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-title { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 105%; font-size: 22px; line-height: 28px; font-variant-numeric: tabular-nums; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; line-height: 18px; font-weight: 600; color: #256560; background: #E8F2F1; border-radius: 999px; padding: 5px 11px; }
.pf-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 640px) { .pf-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pf-grid li { aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; }
.pf-grid img { width: 100%; height: 100%; object-fit: cover; }
.pf-grid .tile-time { width: 100%; height: 100%; font-size: 13px; }
.pf-grid .tile-empty { border: 1.5px dashed #C9CCD1; }
.compare { flex: 1 1 380px; min-width: 0; background: #FFFFFF; border: 1px solid #E5E6E9; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.compare-row { display: flex; gap: 12px; align-items: center; }
.compare-row svg { flex: none; }
.compare-item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.compare-item img { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; object-fit: cover; }
.compare-item.after img { outline: 2px solid #C6952B; outline-offset: 2px; }
.compare-item figcaption { font-size: 13px; line-height: 18px; color: #6B7076; }

/* FAQ */
.b-faq { padding: clamp(64px, 9vw, 96px) 0; }
.faq-h2 {
  margin-bottom: 28px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 108%;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em;
}
.faq { display: flex; flex-wrap: wrap; gap: 0 48px; }
.faq details { flex: 1 1 420px; min-width: 0; border-top: 1px solid #E5E6E9; padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; font-size: 18px; line-height: 24px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; transition: transform 200ms ease; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; font-size: 16px; line-height: 25px; color: #3B3F45; }

/* Final call to action */
.b-final { padding: clamp(72px, 10vw, 120px) 0; flex: 1 0 auto; }
.b-final h2 {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 110%;
  font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: 1; letter-spacing: -0.025em; max-width: 11em;
}
.b-final .cta-row { margin-top: 36px; }
.final-note { margin-top: 16px; font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.8); }
.final-note a, .final-note a:hover { color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .stage, .ripple, .demo.is-tap .ripple, .chk, .prog, .tile-new, .xp-pop, .bar-fill, .tilt, .hdr-cta.show, .dcard-plan, .faq-plus {
    animation: none !important; transition: none !important;
  }
  .demo-btn { transition: none; }
}

/* ======================================================================
   Text pages (/privacy, /terms, /delete-account, 404)
   ====================================================================== */

.page-text main { flex: 1 0 auto; background: #FFFFFF; }
.prose { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) 24px clamp(56px, 8vw, 96px); }
.prose h1 {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 108%;
  font-size: clamp(1.875rem, 4.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em;
}
.prose h2 {
  margin-top: 44px; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 800; font-stretch: 105%;
  font-size: 22px; line-height: 28px; letter-spacing: 0.01em; scroll-margin-top: 80px;
}
.prose h3 { margin-top: 28px; font-size: 18px; line-height: 26px; font-weight: 600; scroll-margin-top: 80px; }
.prose p, .prose li { font-size: 17px; line-height: 28px; color: #3B3F45; }
.prose p { margin-top: 16px; }
.prose h2 + p, .prose h3 + p { margin-top: 10px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose a { overflow-wrap: anywhere; }
.prose .meta { margin-top: 12px; color: #6B7076; font-size: 15px; }
.prose .lead { margin-top: 20px; font-size: 19px; line-height: 30px; color: #17181B; }
.prose .excerpt { margin-top: 20px; padding: 4px 0 4px 20px; border-left: 3px solid #BFE3DF; }
.prose .excerpt > p:first-child, .prose .excerpt > ul:first-child { margin-top: 0; }
.prose .btn { margin-top: 28px; height: 50px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
