/* Sutra: getsutra.app
   Layout: one column of rooms. Each room holds a single idea and one living thing (the soul, the phone, the Lock Screen).
   Type: SF Pro on Apple devices (the app's own face), Figtree elsewhere. Sentence case, no tracked labels.
   Colour: ink for controls, pearl or near-black for ground, and five earth dyes that only ever mean an energy. */

:root {
  --ground: #FBFAFD;
  --ground-2: #F3F1F8;
  --card: #FFFFFF;
  --ink: #0B0B10;
  --ink-2: rgba(11, 11, 16, .6);
  --ink-3: rgba(11, 11, 16, .26);
  --line: rgba(11, 11, 16, .09);
  --wash: rgba(11, 11, 16, .055);
  --on-ink: #FFFFFF;
  --glass: rgba(255, 255, 255, .7);
  --glass-edge: rgba(11, 11, 16, .08);
  --mesh-1: #FCE1EE;
  --mesh-2: #EAE6FF;
  --mesh-3: #DFE9FF;
  --mesh-4: #DDF5EC;
  --shadow: 0 30px 70px -28px rgba(46, 34, 92, .28), 0 6px 18px -8px rgba(46, 34, 92, .12);

  --madder: #A8412E; --turmeric: #A87708; --leaf: #2F7443; --indigo: #34489A; --plum: #74386A;
  --madder-d: #E27A63; --turmeric-d: #E7BC4E; --leaf-d: #7CC98F; --indigo-d: #93A3EC; --plum-d: #CF93C3;

  --soul-base: #C6D0FF;
  --pupil: #1B1A3F;
  --room: #09080E;
  --room-ink: #F4F3F8;
  --room-ink-2: rgba(244, 243, 248, .5);

  /* the app itself, inside the phone */
  --app-g: #F5F2EC; --app-card: #FFFFFF; --app-ink: #000000; --app-ink-2: rgba(60, 60, 67, .62);
  --app-wash: rgba(0, 0, 0, .06); --app-glass: rgba(255, 255, 255, .8); --app-edge: rgba(0, 0, 0, .07); --app-inset: #ECE8E0; --app-on-ink: #FFFFFF;

  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Figtree", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Figtree", system-ui, sans-serif;

  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --spring-soft: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077 20.4%, 1.121, 1.149 24.3%, 1.159, 1.163 27%, 1.154, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
    --spring-soft: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #050507; --ground-2: #0B0A10; --card: #141318; --ink: #F4F4F7; --ink-2: rgba(244, 244, 247, .62); --ink-3: rgba(244, 244, 247, .24);
    --line: rgba(255, 255, 255, .09); --wash: rgba(255, 255, 255, .075); --on-ink: #0B0B10; --glass: rgba(24, 23, 30, .66); --glass-edge: rgba(255, 255, 255, .1);
    --mesh-1: #22102A; --mesh-2: #15112C; --mesh-3: #0B1430; --mesh-4: #071A1C;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
    --madder: #E27A63; --turmeric: #E7BC4E; --leaf: #7CC98F; --indigo: #93A3EC; --plum: #CF93C3;
    --soul-base: #8E9DFF; --room: #0F0D17;
    --app-g: #0F0E0D; --app-card: #1E1D1B; --app-ink: #FFFFFF; --app-ink-2: rgba(235, 235, 245, .6);
    --app-wash: rgba(255, 255, 255, .09); --app-glass: rgba(58, 56, 53, .7); --app-edge: rgba(255, 255, 255, .09); --app-inset: #1A1918; --app-on-ink: #000000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #050507; --ground-2: #0B0A10; --card: #141318; --ink: #F4F4F7; --ink-2: rgba(244, 244, 247, .62); --ink-3: rgba(244, 244, 247, .24);
  --line: rgba(255, 255, 255, .09); --wash: rgba(255, 255, 255, .075); --on-ink: #0B0B10; --glass: rgba(24, 23, 30, .66); --glass-edge: rgba(255, 255, 255, .1);
  --mesh-1: #22102A; --mesh-2: #15112C; --mesh-3: #0B1430; --mesh-4: #071A1C;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  --madder: #E27A63; --turmeric: #E7BC4E; --leaf: #7CC98F; --indigo: #93A3EC; --plum: #CF93C3;
  --soul-base: #8E9DFF; --room: #0F0D17;
  --app-g: #0F0E0D; --app-card: #1E1D1B; --app-ink: #FFFFFF; --app-ink-2: rgba(235, 235, 245, .6);
  --app-wash: rgba(255, 255, 255, .09); --app-glass: rgba(58, 56, 53, .7); --app-edge: rgba(255, 255, 255, .09); --app-inset: #1A1918; --app-on-ink: #000000;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
img { max-width: 100%; }
::selection { background: color-mix(in srgb, var(--plum) 30%, transparent); }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }

/* type */
.display { font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 5.2vw, 5rem); line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.display .soft { color: var(--ink-3); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.fine { font-size: 14px; color: var(--ink-2); }
.hint { font-size: 14px; color: var(--ink-2); }
.center { text-align: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .55s var(--spring), background-color .2s, opacity .2s; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.95); }
.btn svg { width: 20px; height: 20px; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ground)); }
.btn-wash { background: var(--wash); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--wash); display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--spring); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 18px; height: 18px; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) 0; pointer-events: none; }
.nav-in {
  pointer-events: auto; max-width: 1160px; margin: 0 auto; height: 60px; padding: 0 10px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px);
  transition: transform .6s var(--spring);
}
.nav.tuck .nav-in { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 24px; color: var(--madder); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--wash); }
.nav-end { display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* hero */
.hero { position: relative; padding-block: calc(env(safe-area-inset-top, 0px) + 128px) 40px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 82% 30%, var(--mesh-2), transparent 70%),
    radial-gradient(36% 46% at 12% 92%, var(--mesh-1), transparent 70%),
    radial-gradient(38% 46% at 90% 95%, var(--mesh-3), transparent 70%),
    radial-gradient(30% 36% at 52% 50%, var(--mesh-4), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; align-items: center; }
.hero-copy { display: grid; gap: 28px; align-content: center; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.stage { --k: 1; position: relative; display: grid; grid-template-rows: auto auto 244px; justify-items: center; min-width: 0; }
.orbit-area { position: relative; width: 100%; height: calc(410px * var(--k)); }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.thought {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--k) * 1px), calc(var(--y) * var(--k) * 1px)) rotate(var(--r, 0deg));
  padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: 0 8px 24px -14px rgba(46, 34, 92, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: drift 7s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.thought.mine { color: var(--ink); font-weight: 600; }
.thought.pop-in { animation: popin .7s var(--spring) both, drift 7s ease-in-out .7s infinite; }
@keyframes drift { 50% { translate: 0 -9px; } }
@keyframes popin { from { scale: .2; } to { scale: 1; } }
.hero-soul { position: absolute; left: 50%; top: 50%; width: calc(250px * var(--k)); height: calc(250px * var(--k)); transform: translate(-50%, -50%); }
.soul-svg { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 62%; }
.soul-base { fill: var(--soul-base); }
.soul-glow { fill: var(--soul-base); opacity: .7; }
.soul-pupil { fill: var(--pupil); }
.soul-arc { stroke: var(--pupil); }

.capture {
  position: relative; align-self: start; width: min(440px, 100%); height: 64px;
  border-radius: 32px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.cap-input { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 7px 0 22px; transition: transform .45s var(--spring), opacity .18s; }
.cap-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 16px var(--text); color: var(--ink); }
.cap-input input::placeholder { color: var(--ink-2); }
.capture[data-state="input"]:has(input:focus-visible) { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.btn-cap { height: 50px; padding: 0 18px 0 16px; font-size: 15px; }
.cap-card { position: absolute; left: 0; right: 0; top: 0; padding: 22px 22px 20px; display: grid; gap: 6px; opacity: 0; transform: translateY(18px) scale(.97); pointer-events: none; transition: transform .7s var(--spring), opacity .2s; }
.capture[data-state="card"] .cap-input { opacity: 0; transform: scale(.92); pointer-events: none; }
.capture[data-state="card"] .cap-card { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.capture[data-state="card"] { border-radius: 28px; }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.e-ic { --c: var(--leaf); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); transition: background-color .3s, color .3s; }
.e-ic svg { width: 18px; height: 18px; }
.meta { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.meta.later { margin-left: auto; }
.card-title { font: 600 23px/1.2 var(--display); letter-spacing: -.02em; }
.card-step { font-size: 15px; color: var(--ink-2); }
.card-row { display: flex; gap: 10px; margin-top: 12px; }
.card-row .btn { flex: 1; height: 50px; }
.cap-card.swap .card-title, .cap-card.swap .card-step, .cap-card.swap .card-top { animation: swap .6s var(--spring) both; }
@keyframes swap { from { transform: translateY(14px); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
.stage .hint { margin: 4px 0 14px; min-height: 21px; text-align: center; }
.flyer { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; z-index: 60; pointer-events: none; box-shadow: 0 0 14px 4px currentColor; background: currentColor; }

@media (max-width: 900px) {
  .hero { padding-top: calc(env(safe-area-inset-top, 0px) + 112px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stage { --k: .74; }
  .thought { font-size: 14px; padding: 8px 13px; }
}
@media (max-width: 520px) {
  .display { font-size: clamp(2.6rem, 11.6vw, 3.4rem); }
  .stage { --k: .6; }
  .orbit-area { height: 300px; }
  .hero-soul { width: 150px; height: 150px; }
  .thought { font-size: 13px; padding: 7px 12px; transform: translate(-50%, -50%) translate(calc(var(--mx, var(--x)) * 1px), calc(var(--my, var(--y)) * 1px)) rotate(var(--r, 0deg)); }
  .btn-cap span { display: none; }
  .btn-cap { width: 50px; padding: 0; }
}

/* manifesto */
.manifesto { padding-block: clamp(96px, 16vw, 200px); }
.big-read { font-family: var(--display); font-weight: 650; font-size: clamp(1.9rem, 4.3vw, 3.9rem); line-height: 1.1; letter-spacing: -.035em; max-width: 20ch; text-wrap: pretty; }
.big-read .w { color: var(--ink-3); transition: color .35s; }
.big-read .w.lit { color: var(--ink); }

/* tour */
.tour { padding-block: 40px clamp(80px, 12vw, 160px); }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.tour-text { display: grid; align-content: start; }
.tour-text .h2 { margin-bottom: 8vh; }
.step { min-height: 62vh; display: grid; align-content: center; gap: 14px; max-width: 30rem; transition: opacity .3s; opacity: .32; }
.step.is-on { opacity: 1; }
.step:last-child { min-height: 70vh; }
.step-tab { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.step h3 { font: 700 clamp(1.6rem, 2.6vw, 2.3rem)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.step p { color: var(--ink-2); font-size: 18px; max-width: 34ch; }
.tour-phone { position: relative; }
.tour-phone .phone { position: sticky; top: calc(50vh - 844px * var(--k) / 2); margin-inline: auto; }
.seg { display: none; position: relative; grid-template-columns: repeat(3, 1fr); background: var(--wash); border-radius: 999px; padding: 4px; margin: 0 0 22px; max-width: 360px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; height: 40px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: color .25s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--card); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); transition: transform .6s var(--spring); }
@media (max-width: 900px) {
  .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour-text .h2 { margin-bottom: 26px; }
  .seg { display: grid; }
  .step, .step:last-child { display: none; min-height: 0; opacity: 1; }
  .step.is-on { display: grid; }
  .step-tab { display: none; }
  .tour-phone .phone { position: relative; top: 0; }
}

/* phone */
.phone { --k: .8; position: relative; width: calc(390px * var(--k)); height: calc(844px * var(--k)); border-radius: calc(58px * var(--k)); box-shadow: 0 0 0 calc(9px * var(--k)) #121214, 0 0 0 calc(10.5px * var(--k)) #3A3A40, var(--shadow); flex: 0 0 auto; }
@media (max-width: 900px) { .phone { --k: .78; } }
@media (max-width: 420px) { .phone { --k: .72; } }
.device { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--k)); transform-origin: 0 0; border-radius: 58px; overflow: hidden; background: var(--app-g); color: var(--app-ink); font: 17px/22px var(--text); letter-spacing: -.01em; isolation: isolate; }
.device svg { width: 100%; height: 100%; }
.island { position: absolute; z-index: 5; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.status { position: absolute; z-index: 4; top: 17px; left: 0; right: 0; padding: 0 34px 0 46px; display: flex; justify-content: space-between; font-size: 17px; font-weight: 600; }
.status-r { display: flex; gap: 6px; align-items: center; }
.status-r i { width: 17px; height: 11px; border-radius: 3px; background: currentColor; opacity: .9; }
.status-r i:first-child { clip-path: polygon(0 100%, 22% 100%, 22% 66%, 39% 66%, 39% 100%, 61% 100%, 61% 33%, 78% 33%, 78% 100%, 100% 100%, 100% 0, 78% 0); width: 18px; }
.status-r .bat { width: 26px; height: 12px; border-radius: 4px; }
.status.light { color: #fff; }

.scr { position: absolute; inset: 0; padding: 58px 20px 0; transform: translateX(10%) scale(.97); opacity: 0; transition: transform .75s var(--spring), opacity .22s; pointer-events: none; }
.scr.is-on { transform: none; opacity: 1; }
.scr.was { transform: translateX(-10%) scale(.97); }
.a-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 56px; }
.a-title { font-size: 21px; flex: 1; text-align: center; }
.glass { width: 44px; height: 44px; border-radius: 50%; background: var(--app-glass); border: 1px solid var(--app-edge); display: grid; place-items: center; font-weight: 600; font-size: 17px; flex: 0 0 auto; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); }
.glass svg { width: 20px; height: 20px; }
.glass.dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.a-mini { width: 44px; height: 44px; flex: 0 0 auto; }
.dayline { margin-top: 18px; display: grid; gap: 6px; }
.hours { display: flex; justify-content: space-between; padding: 0 8px; font-size: 13px; color: var(--app-ink-2); }
.track { position: relative; height: 26px; border-radius: 13px; background: var(--app-wash); }
.track i { position: absolute; top: 5px; bottom: 5px; border-radius: 8px; background: color-mix(in srgb, var(--app-ink) 18%, transparent); }
.track b { position: absolute; top: -6px; bottom: -6px; width: 2px; border-radius: 2px; background: var(--app-ink); }
.a-sub { font-size: 15px; line-height: 20px; color: var(--app-ink-2); text-align: center; }
.a-card { background: var(--app-card); border-radius: 26px; padding: 22px; margin-top: 18px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .18); border: 1px solid var(--app-edge); }
.hero-card .a-sub { text-align: left; margin-top: 4px; }
.a-meta { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--app-ink-2); }
.a-h { font: 700 25px/30px var(--display); letter-spacing: -.02em; margin-top: 6px; }
.a-btns { display: flex; gap: 10px; margin-top: 18px; }
.a-ink, .a-wash { height: 54px; border-radius: 999px; display: grid; place-items: center; font-weight: 600; }
.a-ink { flex: 1.6; background: var(--app-ink); color: var(--app-on-ink); }
.a-wash { flex: 1; background: var(--app-wash); }
.a-e { --c: var(--madder); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); flex: 0 0 auto; }
.a-e svg { width: 17px; height: 17px; }
.a-e.body { --c: var(--madder); } .a-e.focus { --c: var(--turmeric); } .a-e.heart { --c: var(--leaf); }
.a-sec { font-size: 15px; font-weight: 600; color: var(--app-ink-2); margin: 24px 2px 8px; }
.a-routine { background: var(--app-inset); border-radius: 24px; padding: 16px; }
.r-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.r-head b { font-size: 18px; }
.r-head span { color: var(--app-ink-2); }
.r-head em { margin-left: auto; font-style: normal; color: var(--app-ink-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 4px; border-radius: 999px; background: var(--app-card); font-size: 15px; font-weight: 500; }
.chip .a-e { width: 32px; height: 32px; }
.chip.done { color: var(--app-ink-2); }
.chip.done .a-e { background: var(--c); color: var(--app-g); }
.a-dock { position: absolute; left: 0; right: 0; bottom: 92px; display: flex; justify-content: center; align-items: center; gap: 22px; }
.a-dock .glass { width: 52px; height: 52px; }
.a-mic { width: 104px; height: 54px; border-radius: 999px; background: #000; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 8px 18px -4px rgba(0, 0, 0, .35); }
.a-mic svg { width: 24px; height: 24px; }
.a-tabs { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 84px; display: flex; justify-content: space-around; padding: 14px 30px 0; border-top: 1px solid var(--app-edge); background: var(--app-g); }
.a-tabs button { border: 0; background: none; height: 36px; padding: 0 18px; font-size: 14px; font-weight: 600; color: var(--app-ink-2); cursor: pointer; }
.a-tabs button.on { color: var(--app-ink); }
.a-tabs-dot { position: absolute; top: -1px; left: 0; width: 58px; height: 3px; border-radius: 3px; background: var(--app-ink); transition: transform .6s var(--spring); }

.a-seg { display: flex; background: var(--app-wash); border-radius: 999px; padding: 4px; margin-top: 14px; }
.a-seg span { flex: 1; text-align: center; padding: 9px 0; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--app-ink-2); }
.a-seg .on { background: var(--app-card); color: var(--app-ink); font-weight: 600; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.threads { margin-top: 10px; }
.th { padding: 16px 2px; border-bottom: 1px solid var(--app-edge); display: grid; gap: 8px; }
.th b { font-size: 19px; }
.th span { font-size: 15px; color: var(--app-ink-2); }
.knots { display: flex; align-items: center; height: 14px; position: relative; }
.knots::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: linear-gradient(90deg, var(--c), transparent); opacity: .5; }
.knots i { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c); background: var(--app-g); margin-right: 12px; }
.knots i.f { background: var(--c); }
.ask { margin-top: 18px; display: grid; gap: 8px; }
.ask .q { justify-self: end; background: var(--app-ink); color: var(--app-on-ink); padding: 10px 16px; border-radius: 20px 20px 6px 20px; font-size: 16px; }
.ask .a { background: var(--app-card); border: 1px solid var(--app-edge); padding: 12px 16px; border-radius: 20px 20px 20px 6px; font-size: 16px; max-width: 88%; }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--app-ink-2); padding-left: 6px; }
.src svg { width: 14px; height: 14px; }
.a-search { position: absolute; left: 20px; right: 20px; bottom: 102px; height: 52px; border-radius: 999px; background: var(--app-glass); border: 1px solid var(--app-edge); display: flex; align-items: center; gap: 10px; padding: 0 18px; color: var(--app-ink-2); }
.a-search svg { width: 20px; height: 20px; }
.a-soul { width: 250px; height: 250px; margin: 40px auto 16px; }
.a-sub.small { font-size: 13px; margin-top: 8px; }
.spectrum { display: flex; gap: 4px; height: 8px; margin: 22px 40px 0; }
.spectrum i { border-radius: 4px; background: var(--c); }
.legend { display: flex; justify-content: center; gap: 14px; margin-top: 18px; font-size: 13px; color: var(--app-ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 4px; }
.legend svg { width: 13px; height: 13px; color: var(--c); }
.a-guide { position: absolute; left: 40px; right: 40px; bottom: 110px; height: 58px; border-radius: 999px; background: var(--app-ink); color: var(--app-on-ink); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 18px; }
.a-guide svg { width: 22px; height: 22px; }

/* energies */
.energies { padding-block: clamp(80px, 12vw, 160px); background: var(--ground-2); }
.en-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 6vw, 72px); }
.en-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.en-list { border-top: 1px solid var(--line); }
.en-list li { border-bottom: 1px solid var(--line); }
.en {
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: clamp(14px, 2vw, 22px) 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(14px, 2vw, 24px); align-items: center;
}
.en-ic { width: clamp(44px, 5vw, 64px); height: clamp(44px, 5vw, 64px); border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); background: var(--wash); transition: background-color .3s, color .3s, transform .6s var(--spring); }
.en-ic svg { width: 46%; height: 46%; }
.en-name { font: 700 clamp(2.6rem, 7.4vw, 6.4rem)/1 var(--display); letter-spacing: -.05em; color: var(--ink-3); transition: color .3s; }
.en-more { grid-column: 2; display: grid; grid-template-rows: 0fr; font-size: 17px; color: var(--ink-2); transition: grid-template-rows .6s var(--spring-soft); }
.en-more > span { overflow: hidden; min-height: 0; }
.en[aria-expanded="true"] .en-more { grid-template-rows: 1fr; }
.en-more b { color: var(--ink); font-weight: 600; display: block; padding-top: 8px; }
.en[aria-expanded="true"] .en-name { color: var(--c); }
.en[aria-expanded="true"] .en-ic { background: var(--c); color: var(--ground-2); transform: scale(1.06) rotate(-6deg); }
.en:hover .en-name { color: color-mix(in srgb, var(--c) 70%, var(--ink-3)); }
.en-soul-wrap { position: sticky; top: 22vh; display: grid; place-items: center; }
.en-soul { width: min(340px, 100%); aspect-ratio: 1; }
@media (max-width: 900px) {
  .en-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .en-grid { grid-template-columns: minmax(0, 1fr); }
  .en-soul-wrap { display: none; }
}

/* everywhere */
.everywhere { padding-block: clamp(80px, 12vw, 160px); }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ev-copy { display: grid; gap: 24px; align-content: center; }
.ev-label { font-weight: 600; margin-top: 20px; }
.ways { display: grid; gap: 10px; }
.ways li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 500; }
.w-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; }
.w-ic svg { width: 20px; height: 20px; }
.lock-wrap { display: grid; justify-items: center; gap: 18px; }
.lock .device { background: radial-gradient(70% 50% at 70% 85%, #E79C83 0%, transparent 70%), radial-gradient(80% 60% at 20% 70%, #6A4C8C 0%, transparent 70%), linear-gradient(175deg, #141A33 0%, #2C2550 45%, #6B4A73 75%, #C7826F 100%); color: #fff; }
.l-date { position: absolute; top: 92px; left: 0; right: 0; text-align: center; font-size: 21px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.l-time { position: absolute; top: 112px; left: 0; right: 0; text-align: center; font: 600 104px/1 var(--display); letter-spacing: -.035em; color: rgba(255, 255, 255, .92); font-variant-numeric: tabular-nums; }
.l-note { position: absolute; left: 14px; right: 14px; top: 460px; display: flex; gap: 12px; padding: 14px; border-radius: 26px; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); }
.l-app { width: 40px; height: 40px; border-radius: 10px; background: #F6F1E8; display: grid; place-items: center; color: #B3402F; flex: 0 0 auto; padding: 7px; }
.l-n1 { display: flex; justify-content: space-between; font-size: 15px; }
.l-n1 span { color: rgba(255, 255, 255, .7); font-size: 14px; }
.l-n2 { font-weight: 600; font-size: 15px; }
.l-n3 { font-size: 15px; color: rgba(255, 255, 255, .86); }
.live { position: absolute; left: 14px; right: 14px; top: 580px; padding: 16px 16px 18px; border-radius: 30px; background: rgba(16, 16, 20, .7); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.live-top { display: flex; align-items: center; gap: 12px; }
.live .a-e { width: 44px; height: 44px; --c: var(--madder-d); }
.live .a-e svg { width: 22px; height: 22px; }
.live-txt { flex: 1; min-width: 0; }
.live-k { font-size: 14px; color: rgba(255, 255, 255, .62); }
.live-s { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.live-done { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: #000; display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--spring); }
.live-done svg { width: 24px; height: 24px; }
.live-done:active { transform: scale(.88); }
.live-bar { display: flex; gap: 6px; margin-top: 14px; }
.live-bar i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; }
.live-bar i::after { content: ""; position: absolute; inset: 0; background: var(--madder-d); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--spring-soft); }
.live-bar i.on::after { transform: scaleX(1); }
.live-s.swap { animation: swap .6s var(--spring) both; }
.l-bottom { position: absolute; left: 44px; right: 44px; bottom: 30px; display: flex; justify-content: space-between; align-items: end; }
.l-bottom .glass { width: 50px; height: 50px; background: rgba(255, 255, 255, .16); border: 0; box-shadow: none; }
.l-bottom .home { width: 140px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); margin-bottom: -16px; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } }

/* gentle */
.gentle { padding-block: 0 clamp(80px, 12vw, 160px); }
.room { position: relative; overflow: hidden; background: var(--room); color: var(--room-ink); border-radius: clamp(28px, 4vw, 44px); padding: clamp(36px, 7vw, 96px) clamp(22px, 6vw, 88px); }
.room-glow { position: absolute; width: 70%; aspect-ratio: 1; right: -24%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(142, 157, 255, .34), rgba(207, 147, 195, .14) 45%, transparent 70%); pointer-events: none; }
.room .h2 { position: relative; margin-bottom: clamp(28px, 5vw, 56px); }
.promises { position: relative; display: grid; }
.promises li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding: clamp(16px, 2.2vw, 26px) 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.promises s { position: relative; justify-self: start; text-decoration: none; font: 700 clamp(1.7rem, 3.6vw, 3.2rem)/1.05 var(--display); letter-spacing: -.035em; color: var(--room-ink-2); }
.promises s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 54%; height: 4px; border-radius: 4px; background: var(--c); transform: scaleX(var(--strike, 1)); transform-origin: left; transition: transform .9s var(--spring-soft); }
.promises li.pre s::after { --strike: 0; }
.promises span { font-size: 18px; color: var(--room-ink); }
.promises a { color: var(--room-ink); text-underline-offset: 3px; }
@media (max-width: 700px) { .promises li { grid-template-columns: minmax(0, 1fr); } }

/* join */
.join { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 12vw, 140px); }
.join-in { display: grid; justify-items: center; text-align: center; gap: 22px; }
.join-in .lede { max-width: 40ch; }
.join-h { font-size: clamp(2.6rem, 6.6vw, 5.6rem); }
.app-icon { width: 92px; height: 92px; border-radius: 22px; background: linear-gradient(#FBF8F2, #F2EBDF); color: #B3402F; display: grid; place-items: center; padding: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), var(--shadow); margin-bottom: 6px; }
.app-icon svg, .l-app svg, .brand-mark { width: 100%; height: 100%; }
.brand-mark { width: 30px; height: 24px; }
.wl { display: flex; gap: 8px; width: min(480px, 100%); padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wl input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; font: 500 16px var(--text); color: var(--ink); }
.wl input::placeholder { color: var(--ink-2); }
.wl:focus-within { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.wl .btn { height: 48px; }
@media (max-width: 460px) { .wl { flex-direction: column; border-radius: 28px; } .wl input { height: 48px; } }

/* footer */
.foot { padding-block: 0 calc(env(safe-area-inset-bottom, 0px) + 28px); overflow: hidden; }
.word { pointer-events: none; position: relative; font: 800 clamp(6rem, 27vw, 23rem)/.78 var(--display); letter-spacing: -.065em; text-align: center; padding-top: clamp(40px, 8vw, 110px); user-select: none; }
.word span { position: relative; z-index: 1; display: inline-block; }
.foot-soul { position: absolute; z-index: 0; width: clamp(90px, 15vw, 200px); aspect-ratio: 1; left: 61%; top: calc(clamp(40px, 8vw, 110px) - clamp(28px, 5vw, 70px)); }
.foot-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.foot-row nav { display: flex; gap: 20px; }
.foot-row a { text-decoration: none; color: var(--ink); }
.foot-row a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* reveal: content stays visible; only position springs into place */
.rise.pre { transform: translateY(28px); }
.rise { transition: transform 1s var(--spring-soft); }

/* doc pages */
.doc { max-width: 680px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 140px) var(--gutter) 80px; }
.doc h1 { font: 700 clamp(2.6rem, 6vw, 4rem)/1 var(--display); letter-spacing: -.045em; margin-bottom: 18px; }
.doc h2 { font: 700 24px/1.2 var(--display); letter-spacing: -.02em; margin: 44px 0 10px; }
.doc h3 { font: 600 18px/1.3 var(--display); margin: 26px 0 6px; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.doc b { color: var(--ink); }
.doc .draft { display: inline-block; font-size: 14px; background: var(--wash); padding: 6px 12px; border-radius: 999px; margin-bottom: 26px; }
.doc-soul { width: 96px; height: 96px; margin-bottom: 12px; margin-left: -12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; transition-timing-function: ease-in-out !important; }
  .rise.pre { transform: none; }
}
