/* Quillwind design system. Silk Wind direction. */
:root {
  color-scheme: dark light;
  --bg: #060709;
  --bg-raise: #0c0e13;
  --bg-sunk: #040506;
  --card: rgba(255, 255, 255, .028);
  --card-hi: rgba(255, 255, 255, .055);
  --fg: #f3f4f7;
  --fg-2: rgba(243, 244, 247, .70);
  --fg-3: rgba(243, 244, 247, .54);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --a1: #8fb2ff;
  --a2: #c9a8ff;
  --a3: #ffc4a3;
  --link: #b4c8ff;
  --mark: #f6c26b;
  --glass: rgba(14, 16, 22, .58);
  --glass-line: rgba(255, 255, 255, .09);
  --btn-bg: #f3f4f7;
  --btn-fg: #08090c;
  --shadow-phone: 0 60px 120px -40px rgba(0, 0, 0, .85), 0 30px 60px -30px rgba(40, 60, 140, .45);
  --glow: rgba(120, 150, 255, .22);
  --glow-2: rgba(190, 150, 255, .14);
  --ribbon-alpha: 1;
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fa;
    --bg-raise: #ffffff;
    --bg-sunk: #eef0f5;
    --card: rgba(255, 255, 255, .72);
    --card-hi: rgba(255, 255, 255, .95);
    --fg: #0a0b10;
    --fg-2: rgba(10, 11, 16, .70);
    --fg-3: rgba(10, 11, 16, .58);
    --line: rgba(10, 11, 16, .08);
    --line-2: rgba(10, 11, 16, .15);
    --a1: #3e5bd8;
    --a2: #8a4fe0;
    --a3: #e8784a;
    --link: #2f45c0;
    --mark: #9a5700;
    --glass: rgba(246, 247, 250, .72);
    --glass-line: rgba(10, 11, 16, .08);
    --btn-bg: #0a0b10;
    --btn-fg: #ffffff;
    --shadow-phone: 0 60px 100px -45px rgba(30, 40, 90, .45), 0 24px 50px -28px rgba(30, 40, 90, .35);
    --glow: rgba(90, 120, 240, .16);
    --glow-2: rgba(170, 110, 240, .10);
  }
}
/* Orately product tint */
.t-orately {
  --a1: #6cc4ff;
  --a2: #8fa8ff;
  --a3: #c9a8ff;
  --link: #8fd0ff;
  --glow: rgba(70, 160, 255, .24);
  --glow-2: rgba(120, 140, 255, .14);
}
@media (prefers-color-scheme: light) {
  .t-orately {
    --a1: #0b6fc4;
    --a2: #4a63e0;
    --a3: #8a4fe0;
    --link: #0b6fc4;
    --glow: rgba(30, 140, 240, .16);
    --glow-2: rgba(80, 100, 240, .10);
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { min-height: 100vh; overflow-x: clip; font-size: 17px; line-height: 1.6; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: color-mix(in oklab, var(--a1) 40%, transparent); }
:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .tick { width: 18px; height: 1px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.grad { background: linear-gradient(100deg, var(--a1), var(--a2) 55%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s; border-bottom: 1px solid transparent; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; max-width: calc(1320px + var(--gutter) * 2); }
.hdr.scrolled, .hdr.solid { background: var(--glass); border-bottom-color: var(--line); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.brand svg.wm { height: 21px; width: auto; }
.brand .app-ic { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.brand .app-name { font-weight: 560; font-size: 17px; letter-spacing: -.02em; }
.brand-by { font-size: 13px; color: var(--fg-3); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); transition: color .2s; }
.brand-by:hover { color: var(--fg); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 14px; color: var(--fg-2); padding: 8px 14px; border-radius: 99px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--fg); background: var(--card-hi); }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 99px; color: var(--fg); background: var(--card); border: 1px solid var(--line-2); transition: background-color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.pill:hover { background: var(--card-hi); border-color: color-mix(in oklab, var(--a1) 45%, var(--line-2)); }
.pill svg { width: 15px; height: 15px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.menu-btn span { position: relative; width: 16px; height: 1.5px; background: currentColor; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-5px); }
.menu-btn span::after { transform: translateY(5px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }
.sheet { position: fixed; inset: 68px 0 0; z-index: 49; background: color-mix(in oklab, var(--bg) 95%, transparent); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.menu-open .sheet { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.sheet a { font-size: 28px; font-weight: 500; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 24px; justify-content: center; font-size: 16px; }
@media (max-width: 860px) {
  .nav, .hdr-right .pill.hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 861px) { .sheet { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; padding: 13px 22px; border-radius: 99px; background: var(--btn-bg); color: var(--btn-fg); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s; box-shadow: 0 0 0 0 transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--a1) 60%, transparent); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--card-hi); box-shadow: none; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--fg); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.appstore { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 13px; background: #000; color: #fff; border: 1px solid #000; transition: transform .3s var(--ease), box-shadow .3s; }
@media (prefers-color-scheme: dark) { .appstore { border-color: #a6a6a6; } }
.appstore:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px color-mix(in oklab, var(--a1) 70%, transparent); }
.appstore svg { width: 24px; height: 24px; }
.appstore .l { display: flex; flex-direction: column; line-height: 1; }
.appstore small { font-size: 11px; letter-spacing: .01em; margin-bottom: 3px; }
.appstore strong { font-size: 21px; font-weight: 550; letter-spacing: -.02em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 720px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; padding: 120px 0 120px; }
.hero canvas.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .halo { position: absolute; z-index: -2; left: 50%; bottom: 0; width: 140%; height: 75%; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 98%); mask-image: linear-gradient(180deg, #000 40%, transparent 98%); transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 60%, var(--glow), transparent 70%), radial-gradient(30% 40% at 70% 40%, var(--glow-2), transparent 70%); pointer-events: none; }
.hero-inner { text-align: center; position: relative; }
.chip { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-2); padding: 5px 14px 5px 6px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .3s, color .3s; }
.chip:hover { color: var(--fg); border-color: color-mix(in oklab, var(--a1) 50%, var(--line-2)); }
.chip img { width: 22px; height: 22px; border-radius: 6px; }
.chip svg { width: 13px; height: 13px; opacity: .7; transition: transform .3s var(--ease); }
.chip:hover svg { transform: translateX(2px); }
.display { font-weight: 500; font-size: clamp(46px, 8.6vw, 128px); line-height: .94; letter-spacing: -.053em; margin: 30px 0 28px; text-wrap: balance; }
.display .l2 { background: linear-gradient(180deg, var(--fg) 20%, color-mix(in oklab, var(--fg) 50%, var(--a1)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display .w { display: inline-block; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--fg-2); max-width: 600px; margin: 0 auto; text-wrap: pretty; letter-spacing: -.005em; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 28px; }
@media (max-width: 600px) { .hero-foot .scroll-cue, .hero-foot .eyebrow + .scroll-cue + .eyebrow { display: none; } .hero-foot .wrap { justify-content: center !important; } }
.hero-foot .wrap { display: flex; justify-content: space-between; align-items: center; max-width: calc(1320px + var(--gutter) * 2); }
.scroll-cue { width: 1px; height: 36px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fg-2); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Hero intro motion */
.js .intro { opacity: 0; transform: translateY(14px); filter: blur(8px); }
.js .loaded .intro { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 176px) 0; }
.section.tight { padding-top: clamp(40px, 6vw, 80px); }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.h2 { font-weight: 500; font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -.045em; margin-top: 20px; text-wrap: balance; }
.h2 .soft { color: var(--fg-3); }
.sec-head .lede { margin-top: 24px; }
.sec-head:not(.center) .lede { margin-left: 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- App identity row ---------- */
.app-id { display: inline-flex; align-items: center; gap: 14px; }
.app-id img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(0, 0, 0, .5); }
.app-id b { display: block; font-size: 20px; font-weight: 560; letter-spacing: -.02em; line-height: 1.2; }
.app-id span { font-size: 14px; color: var(--fg-3); }

/* ---------- Device ---------- */
.phone { --w: 320px; position: relative; width: var(--w); aspect-ratio: 1206 / 2622; border-radius: calc(var(--w) * .176); padding: calc(var(--w) * .034); background: linear-gradient(145deg, #6b6e75 0%, #2a2c31 22%, #17181b 50%, #2d2f34 78%, #7a7d84 100%); box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, .14); flex: none; }
.phone::before { content: ""; position: absolute; inset: calc(var(--w) * .011); border-radius: calc(var(--w) * .166); background: #050506; }
.phone::after { content: ""; position: absolute; right: calc(var(--w) * -.009); top: 27%; width: calc(var(--w) * .012); height: 13%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #2a2c31, #60636a); }
.phone img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .142); }
.phone .shine { position: absolute; z-index: 2; inset: calc(var(--w) * .034); border-radius: calc(var(--w) * .142); background: linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .05)); pointer-events: none; }

/* ---------- Stage (home Orately showcase) ---------- */
.stage { position: relative; height: clamp(560px, 58vw, 780px); margin-top: clamp(8px, 2vw, 24px); perspective: 1800px; isolation: isolate; }
.stage canvas.ribbon { position: absolute; left: 50%; top: 0; width: 100vw; height: 100%; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.stage .light { position: absolute; z-index: -2; inset: 5% 15%; background: radial-gradient(closest-side, var(--glow), transparent), radial-gradient(40% 50% at 65% 40%, var(--glow-2), transparent 70%); filter: blur(10px); }
.stage .floor { position: absolute; left: 50%; bottom: 2%; width: 46%; height: 60px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px); z-index: -1; }
@media (prefers-color-scheme: light) { .stage .floor { background: radial-gradient(closest-side, rgba(30, 40, 90, .22), transparent); } }
.stage-rig { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; transform: rotateX(calc((1 - var(--p, 1)) * 16deg)) translateY(calc((1 - var(--p, 1)) * 70px)) scale(calc(.9 + var(--p, 1) * .1)); will-change: transform; }
.stage .phone.front { --w: clamp(240px, 23vw, 330px); z-index: 2; transform: translateX(14%) translateZ(40px); }
.stage .phone.back { --w: clamp(210px, 20vw, 290px); z-index: 1; transform: translateX(-62%) translateZ(-120px) rotateY(16deg); filter: saturate(.9); }
.stage .phone.back img { opacity: .92; }
.dims { position: absolute; inset: 0; list-style: none; padding: 0; z-index: 3; pointer-events: none; }
.dims li { position: absolute; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; padding: 9px 15px 9px 11px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .6); color: var(--fg); animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.dims li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.dims li:nth-child(1) { left: 12%; top: 16%; --c: #8fb2ff; }
.dims li:nth-child(2) { left: 7%; top: 58%; --c: #a8e0c8; --fd: -2s; }
.dims li:nth-child(3) { right: 13%; top: 12%; --c: #c9a8ff; --fd: -4s; }
.dims li:nth-child(4) { right: 7%; top: 46%; --c: #ffc4a3; --fd: -1s; }
.dims li:nth-child(5) { right: 17%; bottom: 12%; --c: #f6c26b; --fd: -5s; }
@media (prefers-color-scheme: light) {
  .dims li { box-shadow: 0 16px 40px -22px rgba(30, 40, 90, .35); }
  .dims li:nth-child(1) { --c: #3e5bd8; } .dims li:nth-child(2) { --c: #1f9d72; } .dims li:nth-child(3) { --c: #8a4fe0; } .dims li:nth-child(4) { --c: #e8784a; } .dims li:nth-child(5) { --c: #c98a00; }
}
.js .dims li { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.25s + var(--i) * .12s); }
.js .stage.in .dims li { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .stage { height: auto; padding: 24px 0 0; overflow-x: clip; overflow-y: visible; }
  .stage-rig { position: relative; height: 440px; }
  .stage-rig { transform: none; }
  .stage .phone.front, .showcase .stage .phone.front { --w: 188px; transform: translateX(-7%); }
  .stage .phone.back, .showcase .stage .phone.back { --w: 156px; transform: translateX(15%) translateY(18px); }
  .dims { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
  .dims li { position: static; animation: none; font-size: 13px; padding: 7px 12px 7px 9px; }
}

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.card { position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 28px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 420px; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--a1) 14%, transparent), transparent 60%); }
.card:hover::before { opacity: 1; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--a1) 60%, transparent), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 20px; font-weight: 560; letter-spacing: -.02em; line-height: 1.25; margin-top: 24px; }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--fg-2); margin-top: 10px; }
.card .viz { flex: 1; min-height: 210px; position: relative; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

.tx { font-size: 17px; line-height: 1.6; letter-spacing: -.01em; color: var(--fg); }
.tx .dim { color: var(--fg-3); }
.tx mark { background: color-mix(in oklab, var(--mark) 22%, transparent); color: var(--mark); border-radius: 6px; padding: 1px 6px; font-weight: 500; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--mark) 40%, transparent); }
.wave { width: 100%; height: 64px; margin-top: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--fg-2); }
.tag.on { border-color: color-mix(in oklab, var(--a1) 55%, transparent); color: var(--fg); background: color-mix(in oklab, var(--a1) 12%, transparent); }
.bubble { position: relative; font-size: 15.5px; line-height: 1.5; padding: 16px 18px; border-radius: 18px 18px 18px 6px; background: var(--card-hi); border: 1px solid var(--line); color: var(--fg); max-width: 92%; }
.bubble.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, color-mix(in oklab, var(--a1) 85%, #000 0%), color-mix(in oklab, var(--a2) 85%, #000 0%)); color: #fff; border: 0; margin-top: 10px; max-width: 80%; }
@media (prefers-color-scheme: dark) { .bubble.me { color: #0a0b10; } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--card-hi); border: 1px solid var(--line); margin-top: 10px; width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); animation: blink 1.4s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.radar { width: 100%; max-width: 280px; margin: 0 auto; overflow: visible; }
.radar .grid { fill: none; stroke: var(--line-2); }
.radar .axis { stroke: var(--line); }
.radar .before { fill: none; stroke: var(--fg-3); stroke-dasharray: 3 4; }
.radar .now { stroke: var(--a1); stroke-width: 1.5; transform-origin: 140px 132px; }
.js .radar .now { transform: scale(.55); opacity: 0; transition: transform 1.6s var(--ease) .3s, opacity 1s var(--ease) .3s; }
.js .in .radar .now { transform: none; opacity: 1; }
.radar text { font-family: var(--font); font-size: 11.5px; fill: var(--fg-2); letter-spacing: -.005em; }
.legend { display: flex; gap: 16px; justify-content: center; font-size: 12.5px; color: var(--fg-3); margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 0; border-top: 1.5px dashed var(--fg-3); }
.legend i.n { border-top: 2px solid var(--a1); }

.app-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.app-cta .meta { font-size: 13.5px; color: var(--fg-3); }
.app-cta .row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.principles .sec-head { position: sticky; top: 120px; }
.principles .h2, .contact .h2 { font-size: clamp(36px, 4.6vw, 64px); }
.plist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.plist li { display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; padding: 36px 0; border-bottom: 1px solid var(--line); position: relative; }
.plist .n { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; padding-top: 6px; }
.plist h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 520; letter-spacing: -.03em; line-height: 1.2; }
.plist p { grid-column: 2; color: var(--fg-2); font-size: 16.5px; max-width: 520px; }
.plist li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); transition: width 1.2s var(--ease); }
.plist li.in::before { width: 100%; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } .principles .sec-head { position: static; } .plist li { grid-template-columns: 44px 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.mails { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.mails a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; padding: 26px 4px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.mails .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); grid-column: 1; }
.mails .v { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; grid-column: 1; overflow-wrap: anywhere; transition: transform .5s var(--ease); }
.mails svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--fg-3); transition: transform .5s var(--ease), color .3s; }
.mails a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); transition: transform .7s var(--ease); }
.mails a:hover::after, .mails a:focus-visible::after { transform: scaleX(1); }
.mails a:hover .v { transform: translateX(6px); }
.mails a:hover svg { transform: translate(3px, -3px); color: var(--fg); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { position: relative; border-top: 1px solid var(--line); padding: 64px 0 0; overflow: hidden; }
.ftr .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ftr .note { color: var(--fg-3); font-size: 14px; margin-top: 16px; max-width: 280px; }
.ftr h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.ftr ul a { font-size: 14.5px; color: var(--fg-2); transition: color .2s; }
.ftr ul a:hover { color: var(--fg); }
.ftr .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.ftr .bottom a:hover { color: var(--fg); }
.giant { margin-top: 32px; color: var(--fg); opacity: .9; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 92%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 92%); margin-bottom: -2.5%; }
.giant svg { width: 100%; height: auto; }
@media (max-width: 860px) { .ftr .top { grid-template-columns: 1fr 1fr; } .ftr .top > :first-child { grid-column: 1 / -1; } }

/* ---------- Orately page ---------- */
.o-hero { padding-top: 140px; min-height: max(100svh, 760px); }
.o-hero .hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.o-hero .hero-inner { text-align: left; }
.o-hero .lede { margin: 0; }
.o-hero .ctas { justify-content: flex-start; }
.o-hero .display { font-size: clamp(42px, 5vw, 76px); margin-top: 26px; }
@media (min-width: 901px) { .o-hero .display .l2 { white-space: nowrap; } }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 0 4px color-mix(in oklab, var(--a1) 22%, transparent); margin-left: 6px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; font-size: 13.5px; color: var(--fg-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 15px; height: 15px; color: var(--a1); }
.mascot-wrap { position: relative; display: grid; place-items: center; }
.mascot-wrap img { width: min(100%, 460px); height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
.mascot-wrap .ring { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent 72%); }
.mascot-wrap .ring::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid var(--line-2); -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%); }
@media (prefers-reduced-motion: no-preference) { .mascot-wrap img { animation: bob 8s ease-in-out infinite; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 900px) { .o-hero .hero-grid { grid-template-columns: 1fr; } .o-hero .hero-inner { text-align: center; } .o-hero .ctas, .trust { justify-content: center; } .o-hero .lede { margin: 0 auto; } .mascot-wrap img { width: min(70%, 320px); } }

.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker-track ul { display: flex; list-style: none; padding: 0; }
.ticker li { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; display: inline-flex; align-items: center; }
.ticker li::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: linear-gradient(var(--a1), var(--a2)); margin: 0 28px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.showcase .stage { height: clamp(560px, 52vw, 720px); margin: 0; }
@media (min-width: 761px) {
  .showcase .stage .phone.front { --w: clamp(220px, 20vw, 300px); transform: translateX(26%) translateZ(40px); }
  .showcase .stage .phone.back { --w: clamp(190px, 17vw, 256px); transform: translateX(-34%) translateZ(-120px) rotateY(16deg); }
}
.feat-list { list-style: none; padding: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.feat-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.feat-list svg { width: 20px; height: 20px; color: var(--a1); margin-top: 3px; }
.feat-list b { display: block; font-weight: 560; letter-spacing: -.015em; }
.feat-list span { color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .showcase .stage { height: auto; } }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.bento .card { min-height: 300px; grid-column: span 2; }
.bento .card.wide { grid-column: span 4; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--a1) 13%, transparent); color: var(--a1); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a1) 28%, transparent); }
.card .ic svg { width: 22px; height: 22px; }
.bento .card.full { grid-column: span 6; flex-direction: row; align-items: center; gap: 40px; min-height: 0; }
.bento .card.full > div:first-child { flex: 1; max-width: 520px; }
.bento .card.full .tags { flex: 1; justify-content: flex-end; margin: 0; }
.bento .card .viz { justify-content: flex-end; }
@media (max-width: 980px) { .bento .card.full { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 20px; } .bento .card.full .tags { justify-content: flex-start; } }
.bento .card .viz { min-height: 140px; margin-top: 18px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .bento .card, .bento .card.wide { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 980px) { .bento .card:not(.wide) { grid-column: span 1; } }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); counter-reset: s; position: relative; }
.steps li { position: relative; padding: 32px 28px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.steps .n { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.steps h3 { font-size: 22px; font-weight: 540; letter-spacing: -.025em; margin: 40px 0 10px; }
.steps p { color: var(--fg-2); font-size: 15.5px; }
.steps .bar { position: absolute; left: 28px; right: 28px; top: 76px; height: 1px; background: var(--line); overflow: hidden; }
.steps .bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .3s); }
.steps li.in .bar::after { transform: scaleX(1); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.pgrid .card { min-height: 0; padding: 26px; }
.pgrid .card h3 { margin-top: 20px; font-size: 18px; }
.pgrid .card p { font-size: 15px; }
@media (max-width: 1080px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }

.final-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(110px, 14vw, 190px) 0; }
.final-cta canvas.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.final-cta .h2 { font-size: clamp(38px, 5.6vw, 80px); }
.final-cta .lede { margin-top: 24px; }
.final-cta .ctas { margin-top: 40px; }

/* ---------- Legal / prose ---------- */
.doc { padding: 140px 0 clamp(80px, 10vw, 140px); }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(40px, 6vw, 96px); justify-content: center; }
.toc { position: sticky; top: 108px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
.toc p { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; font-size: 13.5px; line-height: 1.4; color: var(--fg-3); padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--fg); }
.toc a.on { color: var(--fg); border-left-color: var(--a1); }
@media (max-width: 1020px) { .doc-grid { grid-template-columns: minmax(0, 720px); } .toc { display: none; } }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-3); transition: color .2s; }
.back:hover { color: var(--fg); }
.back svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-3px); }
.prose h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; margin: 26px 0 16px; text-wrap: balance; }
.prose .date { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; margin-bottom: 48px; }
.prose > p:first-of-type { font-size: 19px; color: var(--fg); line-height: 1.6; }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 540; letter-spacing: -.028em; line-height: 1.25; margin: 64px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.prose h3 { font-size: 18px; font-weight: 560; letter-spacing: -.015em; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--fg-2); font-size: 16.5px; line-height: 1.72; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.prose li::marker { color: var(--fg-3); }
.prose strong { color: var(--fg); font-weight: 560; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--link) 40%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--link); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 24px; }
.support-grid .card { min-height: 0; padding: 22px; }
.support-grid .card h3 { margin: 18px 0 8px; font-size: 17px; color: var(--fg); }
.support-grid .card p { font-size: 15px; margin: 0; line-height: 1.55; }
.support-grid .card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in oklab, var(--a1) 13%, transparent); color: var(--a1); }
.support-grid .card .ic svg { width: 20px; height: 20px; }
.support-grid a.card { text-decoration: none; color: inherit; transition: border-color .3s, transform .3s var(--ease); }
.support-grid a.card:hover { border-color: color-mix(in oklab, var(--a1) 45%, var(--line)); transform: translateY(-2px); }
@media (max-width: 760px) { .support-grid { grid-template-columns: 1fr; } }
.faq h3 { font-size: 19px; margin-top: 40px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; }
.nf .code { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--fg-3); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .intro, .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .stage-rig { transform: none; }
}
.bento .card.wide .viz { min-height: 0; margin-top: auto; padding-top: 28px; }
.bento .card.wide .tx { font-size: clamp(18px, 1.6vw, 22px); }
.bento .card.wide .wave { height: 110px; }
.prose a.back { color: var(--fg-3); text-decoration: none; }
.prose a.back:hover { color: var(--fg); }
.doc { position: relative; isolation: isolate; overflow-x: clip; }
.doc::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(1400px, 140%); height: 520px; transform: translateX(-50%); background: radial-gradient(45% 60% at 50% 0%, var(--glow), transparent 70%), radial-gradient(30% 50% at 72% 0%, var(--glow-2), transparent 70%); pointer-events: none; }
.hero .btn.ghost, .final-cta .btn.ghost { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
