@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-display: swap;
}
@property --sweep { syntax: "<angle>"; inherits: true; initial-value: 253.2deg; }

:root {
  --bg: #08080A;
  --panel: #111114;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #F7F5F2;
  --ink-2: rgba(247, 245, 242, 0.72);
  --ink-3: rgba(247, 245, 242, 0.58);
  --amber: #F2B45C;
  --teal: #7FD6CF;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --radius: 28px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { --pad: 24px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.nw { white-space: nowrap; }
em { font-style: normal; color: var(--amber); }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(54px, 7.2vw, 96px); line-height: 0.96; }
h2 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.2px; font-weight: 650; }
.eyebrow { font-size: 16px; font-weight: 600; color: var(--amber); }
.stone .mode { font-size: 13px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: var(--ink-3); }

/* Buttons */
.btn { display: inline-block; text-align: center; padding: 12px 22px; line-height: 22px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.16); color: var(--ink); font-weight: 600; font-size: 15px;
  transition: background-color .2s, border-color .2s, transform .2s; }
.btn:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.04); }
.btn.gold { background: linear-gradient(180deg, #F6C478, #E9A44A); border-color: transparent; color: #1A1207; }
.btn.gold:hover { background: linear-gradient(180deg, #F9CF8C, #EFAE56); }
.badge img { height: 54px; width: auto; }

/* Nav: a floating glass bar; on phones the links fold into a menu */
.nav { position: sticky; top: 0; z-index: 10; padding: 12px 16px 0; }
.nav .bar { max-width: calc(var(--max) - 8px); margin: 0 auto; display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 10px 0 18px;
  border-radius: 99px; border: 1px solid var(--line); background: rgba(17, 17, 20, 0.72);
  backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); }
.brand { display: flex; align-items: center; min-height: 44px; gap: 10px; color: var(--amber); font-weight: 700; font-size: 18px; letter-spacing: -0.2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
#menu { margin-left: auto; display: flex; gap: 28px; font-size: 15px;
  position: static; inset: auto; width: auto; height: auto; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
#menu a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
#menu a:hover, #menu a[aria-current] { color: var(--ink); text-decoration: none; }
#menu a[aria-current] { box-shadow: 0 2px 0 var(--amber); }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #111; font-size: 15px; font-weight: 600; white-space: nowrap; }
.pill:hover { text-decoration: none; background: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
/* open: the two bars cross into a close mark, and the page dims behind the menu */
.bar:has(#menu:popover-open) .menu-btn i:first-child { transform: translateY(3.75px) rotate(45deg); }
.bar:has(#menu:popover-open) .menu-btn i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
#menu::backdrop { background: linear-gradient(transparent 0 72px, rgba(0, 0, 0, 0.55) 72px); }

/* Hero */
.hero { position: relative; padding: 56px 0 24px; }
.hero::before { content: ""; position: absolute; inset: -140px 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(48% 52% at 72% 46%, rgba(242, 180, 92, 0.16), rgba(127, 214, 207, 0.05) 55%, transparent 80%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-top: 18px; }
.lede { margin-top: 24px; max-width: 36ch; font-size: 20px; color: var(--ink-2); text-wrap: pretty; }
.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta .note { font-size: 14px; color: var(--ink-3); }

/* The living stone: the app's own artwork inside its shrinking time arc */
.stone { text-align: center; }
.stone .stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 14px auto 0; overflow: clip; }
.stone .stage img { position: absolute; left: 50%; top: 50%; width: 76%; translate: -50% -52%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
  mask-image: radial-gradient(closest-side, #000 72%, transparent);
  animation: breathe 6.8s ease-in-out infinite; }
.stone .stage::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(241, 168, 78, 0.20), rgba(110, 201, 195, 0.06) 60%, transparent);
  animation: aura 11s ease-in-out infinite; }
.ring { position: absolute; inset: 4%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(245, 224, 199, 0.08);
  filter: drop-shadow(0 0 7px rgba(240, 174, 92, 0.45)); }
.ring.live { transition: --sweep 1s linear; }
.arc { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from calc(var(--sweep) * -1), #FDDEA6, #E6A657 calc(var(--sweep) * 0.48), rgba(122, 199, 194, 0.9) var(--sweep), transparent 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.tip { position: absolute; inset: 0; rotate: calc(var(--sweep) * -1); pointer-events: none; }
.tip::before { content: ""; position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin: -4px 0 0 -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff, #FAD18F 45%, #D98F3D); box-shadow: 0 0 12px rgba(246, 189, 107, 0.9); }
.stone .count { margin-top: 4px; font-size: 64px; font-weight: 200; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.stone .until { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
@keyframes breathe { 50% { transform: translateY(-1.2%) scale(1.016); } }
@keyframes aura { 50% { opacity: 0.6; transform: scale(1.05); } }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof div { padding: 24px 4px; text-align: center; }
.proof svg { display: block; width: 28px; height: 28px; margin: 0 auto 10px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.proof b { display: block; font-size: 20px; font-weight: 650; letter-spacing: -0.3px; white-space: nowrap; }
.proof b + span { font-size: 14px; color: var(--ink-3); white-space: nowrap; }

/* Sections */
section { padding: 120px 0 0; }
.section-lede { margin-top: 18px; max-width: 58ch; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.statement { padding-top: 112px; }
.statement p { max-width: 20em; font-family: var(--serif); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }

/* Staged devices: real app captures in a drawn titanium frame */
.device { container-type: inline-size; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.55)); }
.device .body { position: relative; padding: 1.4cqw; border-radius: 16.6cqw;
  background: linear-gradient(140deg, #6A6A70, #2A2A2E 22%, #45454A 48%, #1E1E21 74%, #5C5C61);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), inset 0 0 0 2px rgba(0, 0, 0, 0.5); }
.device img { width: 100%; border: 2.8cqw solid #000; border-radius: 15.2cqw; background: #000; }
.device .body::after { content: ""; position: absolute; left: 50%; top: 6.6cqw; width: 28cqw; height: 8.2cqw; translate: -50%; border-radius: 99px; background: #000; }
.device.pad .body { border-radius: 6cqw; padding: 0.9cqw; }
.device.pad img { border-width: 3.2cqw; border-radius: 5.1cqw; }
.device.pad .body::after { display: none; }

.trio { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; perspective: 1800px; }
.trio figure { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
.trio .device { width: 84%; margin: 0 auto 36px; transform-style: preserve-3d; }
.trio figure:nth-child(1) .device { transform: rotateY(14deg) rotateZ(-1deg); }
.trio figure:nth-child(2) .device { transform: translateY(-28px); }
.trio figure:nth-child(3) .device { transform: rotateY(-14deg) rotateZ(1deg); }
.trio p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { position: relative; display: grid; place-items: center; }
.split .visual::before { content: ""; position: absolute; inset: 8% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 180, 92, 0.12), transparent); }
.split .visual > .device { width: min(330px, 74%); }
.split .visual.first { order: -1; }
.split .duo { justify-items: start; }
.split .duo .pad { width: 84%; }
.split .duo .small { position: absolute; right: 0; bottom: -8%; width: 30%; }
.list { margin-top: 26px; list-style: none; display: grid; gap: 14px; }
.list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--amber), #B9772A); box-shadow: 0 0 12px rgba(242, 180, 92, 0.5); }
.list b { color: var(--ink); }

/* Pricing */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.plan.best { border-color: rgba(242, 180, 92, 0.6); background: linear-gradient(180deg, rgba(242, 180, 92, 0.08), var(--panel) 60%); }
.plan .tag { position: absolute; top: 30px; right: 26px; margin: 0; color: var(--amber); font-size: 14px; font-weight: 600; }
.plan h3 { font-size: 17px; font-weight: 650; color: var(--ink); }
.plan .price { margin-top: 10px; font-size: 40px; font-weight: 650; letter-spacing: -1px; color: var(--ink); }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.plan .btn { margin-top: auto; }
.plan p + .btn { margin-top: 24px; }
.free-line { margin-top: 20px; color: var(--ink-3); font-size: 14px; }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
/* the whole row is the tap target, not just the line of text */
.faq summary { position: relative; display: block; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; padding: 22px 40px 22px 0; }
.faq details[open] p { margin-top: 0; padding-bottom: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: 4px; top: 22px; content: "+"; color: var(--amber); font-weight: 300; font-size: 24px; line-height: 1; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { margin-top: 12px; color: var(--ink-2); max-width: 70ch; }

/* Closing */
.closing { text-align: center; padding: 64px 24px 0; }
.stone.small .stage { width: 220px; margin: 0 auto; }
.stone.small .stage img { width: 72%; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); }
.closing h2 { margin-top: 8px; }
.closing .cta { justify-content: center; margin-top: 28px; }

/* Article pages */
.doc { max-width: var(--max); margin: 0 auto; padding: 64px 24px 0; }
.doc > * { max-width: 720px; }
.doc h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.02; }
.doc .lede { max-width: 720px; }
.doc h2 { margin-top: 48px; font-family: inherit; font-size: 24px; line-height: 1.25; font-weight: 650; letter-spacing: -0.4px; }
.doc p, .doc li { margin-top: 14px; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; }
.doc .meta { font-size: 14px; color: var(--ink-3); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; font-size: 14px; color: var(--ink-3); }
.doc .crumb { margin-top: 0; color: var(--ink-3); }
.doc .mail { margin-top: 26px; }
.shot { margin: 40px auto 8px; text-align: center; }
.doc > .shot { margin-left: 0; }
.shot .device { width: min(300px, 76%); margin: 0 auto; }
.shot figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.cta-box { margin-top: 64px; padding: 22px 26px; border: 1px solid rgba(242, 180, 92, 0.3); border-radius: 24px;
  background: linear-gradient(120deg, rgba(242, 180, 92, 0.10), var(--panel) 55%);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-box img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.doc .cta-box p { flex: 1 1 200px; margin: 0; color: var(--ink); font-weight: 600; }
.cta-box .badge img { width: auto; height: 50px; border-radius: 0; }

/* Guides index */
.guides { margin-top: 40px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.doc > .guides { max-width: none; }
.guide { display: grid; grid-template-columns: 1fr; gap: 18px; align-content: start; padding: 0 0 22px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px; background: var(--panel); color: var(--ink); transition: border-color .2s; }
.guide:hover { text-decoration: none; border-color: rgba(242, 180, 92, 0.45); }
.guide .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #08080a; }
.guide .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide .thumb img.fit { object-fit: contain; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.guide > span:last-child { padding: 0 22px; }
.guide b { display: block; font-size: 20px; line-height: 1.3; letter-spacing: -0.3px; font-weight: 650; text-wrap: pretty; }
.guide b + span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }

/* Footer */
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
p, li { text-wrap: pretty; }

/* Motion: an entrance for the hero, a scroll-lit statement and rising devices where the browser supports scroll timelines */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .stone { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero .stone { animation-delay: .1s; animation-duration: 1.4s; }
  @supports (animation-timeline: view()) {
    .statement span { animation: lit linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes lit { from { color: rgba(247, 245, 242, 0.3); } }
@media (prefers-reduced-motion: reduce) {
  .stone .stage img, .stone .stage::before { animation: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .stone .stage { width: min(100%, 420px); }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .split { gap: 44px; }
  .split .visual.first { order: 0; }
  .split .duo { max-width: 560px; }
  section { padding-top: 88px; }
}
@media (max-width: 760px) {
  .nav { padding: 8px 10px 0; }
  .nav .bar { gap: 8px; height: 56px; padding: 0 6px 0 14px; }
  .pill { margin-left: auto; padding: 8px 14px; font-size: 14px; }
  .menu-btn { display: flex; }
  #menu:not(:popover-open) { display: none; }
  #menu:popover-open { position: fixed; inset: 72px 10px auto; margin: 0; flex-direction: column; gap: 0; padding: 8px 20px;
    border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); font-size: 17px; }
  #menu:popover-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  #menu:popover-open a:last-child { border-bottom: 0; }
  #menu a[aria-current] { box-shadow: none; color: var(--amber); }
  .proof .wrap { grid-template-columns: repeat(2, 1fr); }
  .proof div { padding: 18px 2px; }
  .proof b { font-size: 17px; }
  .proof b + span { font-size: 13px; }
  .trio { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 44px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 8px; scrollbar-width: none; perspective: none; }
  .trio::-webkit-scrollbar { display: none; }
  .trio figure { flex: 0 0 76%; display: block; scroll-snap-align: center; }
  .trio figure:nth-child(n) .device { width: 92%; transform: none; }
  .statement { padding-top: 64px; }
  .stone .count { font-size: 54px; }
}
@media (max-width: 480px) {
  .wrap { --pad: 20px; }
  .lede { font-size: 18px; }
  /* stacked: the thumbnail on top, the text gets the full width */
  /* one phone margin everywhere: articles and the closing band match the 20px wrap and footer */
  .doc, .closing { padding-left: 20px; padding-right: 20px; }
  .guide b { font-size: 17px; }
  .guide b + span { font-size: 14px; }
  .cta-box { padding: 20px; }
}
@media (max-width: 360px) {
  .cta-box > img { width: 40px; height: 40px; }
  .doc .cta-box p { flex-basis: 150px; }
}
.hero .wrap > *, .split > *, .plans > *, .proof .wrap > * { min-width: 0; }

/* Phone carousel: dots show where you are in the three screens */
.dots { display: none; }
@media (max-width: 760px) {
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
  .dots i.on { width: 20px; border-radius: 4px; background: var(--amber); }
}

/* Article pages on wide screens: the reading column on the left, the app card held in view on the right */
@media (min-width: 1100px) {
  .doc:not(:has(.guides)) { display: grid; grid-template-columns: minmax(0, 720px) 1fr; column-gap: 64px; align-items: start; }
  .doc:not(:has(.guides)) > * { grid-column: 1; justify-self: start; }
  .doc:not(:has(.guides)) > .cta-box p { flex: none; }
  .doc:not(:has(.guides)) > .cta-box { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 104px; margin-top: 0; flex-direction: column; align-items: flex-start; }
}
.doc > .guides ~ .cta-box { max-width: none; }
