/* One4Future website. Palette from the logo (tools/brand/make-one4future.mjs). */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin.woff2?v=local-20260927223159") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2?v=local-20260927223159") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Symbols"; src: url("fonts/material-symbols-subset.woff2?v=local-20260927223159") format("woff2"); font-weight: 400; font-display: block; }

:root {
  --paper: #f7f4ef;
  --paper-2: #efe9e1;
  --card: #ffffff;
  --ink: #242a2b;
  --muted: #6f675e;
  --brown: #674c30;
  --bronze: #b08654;
  --sand: #ece2cf;
  --glow: #ece2cf;
  --line: rgba(36, 42, 43, 0.1);
  --shadow: 0 40px 80px -40px rgba(60, 40, 20, 0.35), 0 12px 30px -18px rgba(60, 40, 20, 0.25);
  --radius: 24px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151819; --paper-2: #1c2021; --card: #212627; --ink: #efe7db; --muted: #a89f94;
    --brown: #d6b48e; --bronze: #c9a06e; --line: rgba(239, 231, 219, 0.1); --glow: #3a3129;
    --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), 0 12px 30px -18px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Montserrat", "Inter", sans-serif; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.sym { font-family: "Symbols"; font-weight: 400; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; display: inline-block; vertical-align: middle; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 "Inter", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 36em; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.mark { height: 38px; width: auto; }
.brand img.word { height: 26px; width: auto; }
.brand .word-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .word-light { display: none; } .brand .word-dark { display: block; } }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 24px; font: 600 15px/1 "Inter", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown); color: #fff; box-shadow: 0 10px 24px -12px rgba(103, 76, 48, .8); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #2a1d10; } }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (max-width: 900px) { .nav-links { display: none; } }
/* The header button never wraps or squeezes the logo; on phones it just says "Open". */
.brand { min-width: 0; }
.nav-cta { white-space: nowrap; flex: none; }
.nav-cta .cta-short { display: none; }
@media (max-width: 520px) { .nav-cta .cta-long { display: none; } .nav-cta .cta-short { display: inline; } .nav-cta { padding: 12px 22px; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.mesh { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; filter: blur(60px); opacity: .9; }
.mesh span { position: absolute; border-radius: 50%; animation: drift 22s ease-in-out infinite alternate; }
.mesh span:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 2%; background: radial-gradient(circle, rgba(176, 134, 84, .34), transparent 65%); }
.mesh span:nth-child(2) { width: 40vw; height: 40vw; left: 60%; top: 30%; background: radial-gradient(circle, rgba(169, 160, 151, .45), transparent 65%); animation-delay: -6s; }
.mesh span:nth-child(3) { width: 36vw; height: 36vw; left: -6%; top: 40%; background: radial-gradient(circle, rgba(236, 226, 207, .9), transparent 65%); animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(-4vw, 3vw, 0) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 700; margin: 22px 0 26px; }
.hero h1 .accent { background: linear-gradient(100deg, var(--brown), var(--bronze) 60%, #c9a06e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 11px 20px 11px 16px; border-radius: 16px; background: var(--ink); color: var(--paper); text-decoration: none; position: relative; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store .sym { font-size: 30px; }
.store small { display: block; font-size: 11px; opacity: .72; letter-spacing: .02em; }
.store strong { display: block; font: 600 17px/1.15 "Inter", sans-serif; }
.store .soon { position: absolute; top: -9px; right: 12px; background: var(--bronze); color: #fff; font: 700 10px/1 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.free-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px 9px 12px; border-radius: 999px; background: color-mix(in srgb, var(--bronze) 16%, transparent); color: var(--brown); font-weight: 600; font-size: 15px; }
.hero-visual { position: relative; height: clamp(520px, 56vw, 700px); }
#sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phone { position: absolute; width: clamp(220px, 21vw, 300px); border-radius: 42px; padding: 10px; background: #15171a; box-shadow: var(--shadow), inset 0 0 0 1.5px #2b2e33; }
/* The frame sizes itself around the screenshot, which keeps its own 1080x2400 shape. */
.phone img { width: 100%; height: auto; aspect-ratio: 1080 / 2400; object-fit: cover; border-radius: 33px; }
.phone.front { right: 8%; top: 4%; z-index: 3; animation: float 9s ease-in-out infinite; }
.phone.back { right: 43%; top: 16%; z-index: 2; transform: rotate(-7deg) scale(.9); opacity: .96; animation: float2 11s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes float2 { 50% { transform: rotate(-7deg) scale(.9) translateY(12px); } }
.hero-mark { position: absolute; left: 2%; bottom: 4%; height: 20%; width: auto; z-index: 5; filter: drop-shadow(0 30px 40px rgba(60, 40, 20, .3)); animation: float 12s ease-in-out infinite; }
.pill { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: color-mix(in srgb, var(--card) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; }
.pill .sym { color: var(--bronze); }
.pill small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.pill.p1 { right: 0; bottom: 18%; animation: float 8s ease-in-out infinite -2s; }
.pill.p2 { left: 0; top: 6%; animation: float 10s ease-in-out infinite -5s; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; margin-top: 10px; }
  .phone.front { right: 6%; }
  .phone.back { right: auto; left: 4%; }
  .hero-mark { display: none; }
}

/* Film */
.film { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-tall { display: none; aspect-ratio: 9 / 16; width: min(100%, 420px, calc(80vh * 9 / 16)); margin: 0 auto; }
@media (max-width: 700px) { .film-wide { display: none; } .film-tall { display: block; } }
.film-caption { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 15px; }

/* How it works: sticky phone that follows the steps */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.steps { display: grid; gap: 22vh; padding: 8vh 0 14vh; }
.step { opacity: .35; transition: opacity .5s; }
.step.active { opacity: 1; }
.step .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--glow); color: var(--brown); font: 700 17px/1 "Montserrat", sans-serif; margin-bottom: 22px; }
.step h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 18px; max-width: 30em; }
.step .inline-shot { display: none; }
.stage { position: sticky; top: 14vh; height: 72vh; display: grid; place-items: center; }
.stage .phone { position: relative; width: min(330px, 70%); }
.stage .phone img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); opacity: 0; transition: opacity .6s, transform .6s; transform: scale(.98); }
.stage .phone img:first-child { position: relative; inset: auto; width: 100%; height: auto; } /* sizes the frame; the others sit on top */
.stage .phone img.on { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .stage { display: none; }
  .steps { gap: 70px; padding: 0; }
  .step { opacity: 1; }
  .step .inline-shot { display: block; width: min(280px, 80%); margin-top: 26px; border-radius: 30px; box-shadow: var(--shadow); }
}

/* Moments marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 600 18px/1 "Inter", sans-serif; white-space: nowrap; }
.chip .sym { color: var(--bronze); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { grid-column: span 2; background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.tile.wide { grid-column: span 3; }
.tile .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--glow); color: var(--brown); }
.tile p { color: var(--muted); }
.tile.feature-dark { background: linear-gradient(135deg, #8a6a48, #674c30 45%, #242a2b); color: #f3ead9; box-shadow: none; }
.tile.feature-dark p { color: rgba(243, 234, 217, .78); }
.tile.feature-dark .ic { background: rgba(255, 255, 255, .12); color: #f3ead9; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide { grid-column: auto; } }

/* Legacy band */
.legacy { background: #1b1f20; color: #efe7db; border-radius: clamp(0px, 3vw, 40px); margin: 0 clamp(0px, 2vw, 24px); overflow: hidden; }
.legacy .lede { color: #b6ada2; }
.legacy .eyebrow { color: #d6b48e; }
.legacy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.timeline { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; counter-reset: s; }
.timeline li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.timeline li::before { counter-increment: s; content: counter(s); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 180, 142, .16); color: #d6b48e; font: 700 17px/1 "Montserrat", sans-serif; }
.timeline strong { display: block; font-size: 18px; margin-bottom: 2px; color: #fff; }
.timeline span { color: #b6ada2; }
.legacy .phone { position: relative; width: min(320px, 80%); margin-inline: auto; }
.stop { margin-top: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(214, 180, 142, .12); color: #ecd9bf; font-weight: 600; }
@media (max-width: 900px) { .legacy-grid { grid-template-columns: 1fr; } }

/* Privacy */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust .tile { grid-column: auto; }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; }
.plan { border-radius: 30px; padding: 38px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; }
.plan.featured { background: linear-gradient(160deg, #f1e6d6, #e6d7c3); box-shadow: var(--shadow); color: #2b2218; }
@media (prefers-color-scheme: dark) { .plan.featured { background: linear-gradient(160deg, #3a3129, #2a2521); color: var(--ink); } }
.plan .price { font: 700 clamp(44px, 5vw, 58px)/1 "Montserrat", sans-serif; letter-spacing: -0.03em; }
.plan .price small { font: 500 16px/1 "Inter", sans-serif; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .sym { color: var(--bronze); font-size: 22px; margin-top: 1px; }
.tag { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--brown); color: #fff; font: 700 12px/1 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.tag.muted { background: var(--paper-2); color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 4px 26px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 600 18px/1.35 "Inter", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sym { transition: transform .3s; color: var(--bronze); }
.faq details[open] summary .sym { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }

/* Download band */
.cta { background: var(--sand); color: #242a2b; border-radius: clamp(0px, 3vw, 40px); margin: 0 clamp(0px, 2vw, 24px); text-align: center; overflow: hidden; }
.cta img.logo { width: min(420px, 80%); height: auto; margin: 0 auto 30px; }
.cta .stores { justify-content: center; }
.cta .lede { color: #3d3a36; margin-inline: auto; }

/* Footer */
.site-footer { padding: 60px 0 50px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Scroll reveal (only when JS runs and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s 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; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Spacing helpers (no inline styles: the CSP only allows this stylesheet) */
.section.flush-top { padding-top: 0; }
.section.moments { padding: 0 0 clamp(80px, 10vw, 130px); }
.bare { margin: 0; }
.legacy-title { margin: 18px 0 20px; }
.cta-title { margin-bottom: 16px; }

@media (prefers-color-scheme: dark) { .mesh span:nth-child(3) { background: radial-gradient(circle, rgba(176, 134, 84, .16), transparent 65%); } .mesh { opacity: .7; } }

/* /open/: the page an email link lands on when the app does not open it directly */
.open-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(900px 600px at 70% 10%, rgba(176, 134, 84, .16), transparent 70%), var(--paper); }
.open-card { width: min(560px, 100%); background: var(--card); border-radius: 28px; padding: clamp(28px, 6vw, 48px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.open-card h1 { font-size: clamp(32px, 6vw, 44px); font-weight: 700; margin-top: 10px; }
.open-card .stores { margin-top: 4px; }
.open-btn { justify-self: start; padding: 16px 28px; font-size: 16px; }

/* Terms and privacy */
.legal-page { background: var(--paper); }
.legal-head { max-width: 820px; margin: 0 auto; padding: 28px 20px 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 24px 20px 64px; line-height: 1.65; }
.legal h1 { font-size: clamp(34px, 6vw, 48px); font-weight: 700; margin: 18px 0 6px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; scroll-margin-top: 20px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink); font-size: 16.5px; }
.legal p { margin: 10px 0; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--brown); }
.legal-meta { color: var(--muted); font-size: 14px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 8px; padding: 16px 18px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.legal-toc a { font-size: 14.5px; text-decoration: none; }
.legal .callout { background: var(--sand); color: #242a2b; border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--muted); font-weight: 600; }
.todo { background: #fff1b8; color: #5b4300; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.legal-foot { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; color: var(--muted); font-size: 14px; }
.legal-foot a { color: var(--brown); }
@media (max-width: 600px) { .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; } .legal-table thead { display: none; } .legal-table td { border: 0; padding: 4px 0; } .legal-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); } }