/* ==========================================================================
   Sorted. - website stylesheet (front page, pricing, sign-up, legal)
   Same tokens as panel.css: deep ink, warm paper, one jade full stop.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/fraunces-latin-full-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/fraunces-latin-ext-full-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/fraunces-latin-full-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ink-950: #0b1310; --ink-900: #13201b; --ink-800: #1f2e28; --ink-700: #33423b; --ink-600: #4a5852; --ink-500: #5f6b65; --ink-400: #8b948f; --ink-300: #b8beb9;
    --paper-0: #ffffff; --paper-50: #fbfaf7; --paper-100: #f6f4ef; --paper-150: #f0ede6; --paper-200: #e9e5dc; --paper-300: #e1dcd1; --paper-400: #cdc6b8;
    --jade-50: #eaf6f1; --jade-100: #d3eee3; --jade-200: #a6dcc7; --jade-300: #6cc7a6; --jade-400: #34c08f; --jade-500: #12a179; --jade-600: #0b8463; --jade-700: #08694f; --jade-800: #0a5240;
    --amber-600: #9a5b00; --amber-50: #fcf2de; --red-700: #912018; --red-600: #b42318; --red-200: #f2c5bf; --red-50: #fdeeec;

    --bg: var(--paper-100);
    --surface: #fff;
    --line: #e4dfd5;
    --line-strong: var(--paper-400);
    --text: var(--ink-900);
    --dim: var(--ink-600);
    --faint: var(--ink-500);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

    --radius-sm: 8px; --radius: 12px; --radius-lg: 18px; --radius-xl: 28px;
    --shadow: 0 1px 2px rgba(19, 32, 27, 0.05), 0 1px 3px rgba(19, 32, 27, 0.03);
    --shadow-md: 0 10px 24px -10px rgba(19, 32, 27, 0.16), 0 2px 6px -2px rgba(19, 32, 27, 0.06);
    --shadow-lg: 0 30px 70px -24px rgba(19, 32, 27, 0.32), 0 8px 20px -8px rgba(19, 32, 27, 0.1);
    --ring: 0 0 0 3px rgba(18, 161, 121, 0.28);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    --wrap: 1160px;
    --gutter: 24px;
    --section: 120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; font-feature-settings: "cv11"; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: var(--jade-100); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--jade-500); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink-900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */

.wordmark { font-family: var(--display); font-weight: 620; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; color: var(--ink-900); }
.wordmark i { font-style: normal; color: var(--jade-500); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-700); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jade-500); box-shadow: 0 0 0 4px var(--jade-50); }
.eyebrow { font-size: 12.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jade-700); }

.h-display {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-weight: 480;
    letter-spacing: -0.035em;
    line-height: 0.98;
}
.h-display em { font-style: italic; font-weight: 440; }
.dot { color: var(--jade-500); font-style: normal; }

.h1 { font-size: clamp(46px, 8vw, 92px); }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; }
.h3 { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 560; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--dim); max-width: 640px; }
.small { font-size: 13.5px; color: var(--faint); }

/* ---------- Buttons ---------- */

.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 22px; border-radius: 12px;
    font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, transform 0.15s var(--ease), box-shadow 0.15s;
}
.s-btn svg { width: 17px; height: 17px; transition: transform 0.15s var(--ease); }
.s-btn:hover svg { transform: translateX(2px); }
.s-btn:active { transform: translateY(1px); }
.s-btn.ink { background: var(--ink-900); color: #fff; box-shadow: 0 1px 2px rgba(19, 32, 27, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.s-btn.ink:hover { background: var(--ink-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.s-btn.jade { background: var(--jade-600); color: #fff; box-shadow: 0 1px 2px rgba(8, 105, 79, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.s-btn.jade:hover { background: var(--jade-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.s-btn.ghost { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.s-btn.ghost:hover { background: rgba(255, 255, 255, 0.7); border-color: var(--ink-300); }
.s-btn.light { background: var(--paper-100); color: var(--ink-900); }
.s-btn.light:hover { background: #fff; transform: translateY(-1px); }
.s-btn.small { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.s-btn.block { width: 100%; }
.s-link { font-weight: 600; color: var(--jade-700); display: inline-flex; align-items: center; gap: 6px; }
.s-link svg { width: 16px; height: 16px; flex: none; }
.s-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */

.s-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 244, 239, 0.82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.s-header.scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 239, 0.92); }
.s-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.s-header .wordmark { font-size: 27px; }
.s-nav { display: flex; gap: 2px; }
.s-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-700); }
.s-nav a:hover { color: var(--ink-900); background: rgba(19, 32, 27, 0.05); }
.s-nav a.active { color: var(--ink-900); font-weight: 600; }
.s-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.s-actions .signin { font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.s-actions .signin:hover { background: rgba(19, 32, 27, 0.05); }
.s-menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-900); }
.s-menu-btn svg { width: 20px; height: 20px; }
.s-mobile-menu { display: none; }

@media (max-width: 880px) {
    .s-nav, .s-actions .signin, .s-actions .s-btn { display: none; }
    .s-menu-btn { display: inline-flex; }
    .s-header .wrap { height: 64px; }
    .s-mobile-menu { display: block; position: fixed; inset: 64px 0 auto 0; background: var(--paper-100); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.2s var(--ease); }
    .s-mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
    .s-mobile-menu a:not(.s-btn) { display: block; padding: 12px 6px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line); }
    .s-mobile-menu .s-btn { margin-top: 14px; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section.tight { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head .lede { margin-top: 20px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 72px 0 0; text-align: center; isolation: isolate; }
.hero::before {
    content: ""; position: absolute; inset: -72px 0 auto; height: 760px; z-index: -1;
    background:
        radial-gradient(520px 320px at 50% 140px, rgba(18, 161, 121, 0.13), transparent 70%),
        radial-gradient(900px 420px at 50% 0, rgba(255, 255, 255, 0.85), transparent 70%);
}
.hero .kicker { padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, 0.7); box-shadow: var(--shadow); }
.hero h1 { margin: 28px auto 0; max-width: 11ch; }
.hero .lede { margin: 26px auto 0; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-proof { margin-top: 18px; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; font-size: 13.5px; color: var(--faint); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; height: 15px; color: var(--jade-600); }

/* ---------- Product mock (pure HTML/CSS) ---------- */

.mock-stage { position: relative; margin: 72px auto 0; max-width: 1080px; padding: 0 var(--gutter); }
.mock {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.55);
    overflow: hidden;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
}
.mk-chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper-50); }
.mk-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-300); }
.mk-chrome .mk-url { margin-left: 16px; flex: 0 1 320px; height: 24px; border-radius: 7px; background: var(--paper-150); display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--faint); font-size: 11.5px; }
.mk-chrome .mk-url svg { width: 11px; height: 11px; }
.mk-body { display: grid; grid-template-columns: 236px minmax(0, 1fr) 248px; min-height: 470px; }

.mk-list { border-right: 1px solid var(--line); background: var(--paper-100); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.mk-list-head { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; font-weight: 650; font-size: 12.5px; }
.mk-badge { width: 22px; height: 22px; border-radius: 6px; background: var(--ink-900); color: #fff; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; }
.mk-list-head .mk-count { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--faint); }
.mk-t { border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; color: var(--ink-700); }
.mk-t b { font-weight: 600; color: var(--ink-900); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-t span { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-t.active { background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(19, 32, 27, 0.06); }
.mk-t .mk-tags { display: flex; gap: 5px; margin-top: 2px; }
.mk-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; border-radius: 99px; padding: 0 7px; line-height: 17px; white-space: nowrap; }
.mk-pill.jade { background: var(--jade-50); color: var(--jade-700); }
.mk-pill.amber { background: var(--amber-50); color: var(--amber-600); }
.mk-pill.grey { background: var(--paper-150); color: var(--ink-600); }
.mk-pill.ink { background: var(--ink-900); color: #fff; }
.mk-pill.jade::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--jade-500); }

.mk-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-subject { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 560; font-size: 19px; letter-spacing: -0.015em; }
.mk-facts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -6px; }
.mk-msg { display: flex; gap: 10px; }
.mk-av { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-300); display: grid; place-items: center; font-size: 10.5px; font-weight: 650; flex: none; }
.mk-bubble { background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 10px 13px; color: var(--ink-700); }
.mk-bubble b { display: block; color: var(--ink-900); font-weight: 600; font-size: 12px; margin-bottom: 2px; }
.mk-draft { border: 1px solid var(--jade-200); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 4px var(--jade-50); }
.mk-draft-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--jade-50); font-weight: 600; font-size: 12px; color: var(--jade-800); }
.mk-draft-head svg { width: 14px; height: 14px; color: var(--jade-600); }
.mk-draft-head .mk-conf { margin-left: auto; font-size: 11px; color: var(--jade-700); background: #fff; border-radius: 99px; padding: 0 8px; line-height: 18px; }
.mk-draft-body { padding: 12px 14px; color: var(--ink-800); }
.mk-draft-body p + p { margin-top: 8px; }
.mk-draft-body .mk-link { color: var(--jade-700); text-decoration: underline; text-decoration-color: var(--jade-200); text-underline-offset: 2px; }
.mk-caret { display: inline-block; width: 2px; height: 14px; background: var(--jade-500); vertical-align: -2px; margin-left: 2px; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mk-draft-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--jade-100); background: #fff; }
.mk-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--ink-800); background: #fff; }
.mk-btn.ink { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.mk-btn.ml { margin-left: auto; }
.mk-timer { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-600); }
.mk-ring { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--jade-500) 0 72%, var(--jade-100) 72% 100%); -webkit-mask: radial-gradient(circle 6px, transparent 98%, #000); mask: radial-gradient(circle 6px, transparent 98%, #000); }

.mk-side { border-left: 1px solid var(--line); background: var(--paper-50); padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mk-card-title { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 8px; }
.mk-card-title svg { width: 13px; height: 13px; }
.mk-order { font-weight: 650; font-size: 13.5px; }
.mk-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-600); padding: 3px 0; }
.mk-row b { color: var(--ink-900); font-weight: 600; }
.mk-track { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mk-track i { height: 4px; border-radius: 99px; background: var(--paper-200); }
.mk-track i.on { background: var(--jade-500); }
.mk-track-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--faint); margin-top: 5px; }

/* Floating notes around the mock */
.mk-float {
    position: absolute; z-index: 3;
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 10px 14px 10px 12px; box-shadow: var(--shadow-md);
    font-size: 13px; text-align: left; white-space: nowrap;
}
.mk-float .mk-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.mk-float .mk-ico svg { width: 16px; height: 16px; }
.mk-float b { display: block; font-weight: 650; font-size: 13px; }
.mk-float small { display: block; color: var(--faint); font-size: 11.5px; }
.mk-float.one { left: -28px; bottom: -26px; }
.mk-float.one .mk-ico { background: var(--jade-50); color: var(--jade-700); }
.mk-float.two { right: -28px; top: -26px; }
.mk-float.two .mk-ico { background: var(--ink-900); color: var(--jade-400); }

@media (prefers-reduced-motion: no-preference) {
    .mk-float.one { animation: bob 6s ease-in-out infinite; }
    .mk-float.two { animation: bob 7s ease-in-out -2s infinite; }
    @keyframes bob { 50% { transform: translateY(-8px); } }
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
    .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .mk-float.one { left: 8px; }
    .mk-float.two { right: 8px; }
}
@media (max-width: 960px) {
    .mk-body { grid-template-columns: 200px minmax(0, 1fr); }
    .mk-side { display: none; }
}
@media (max-width: 680px) {
    .mk-body { grid-template-columns: 1fr; min-height: 0; }
    .mk-list { display: none; }
    .mk-float { display: none; }
    .mk-main { padding: 16px; }
    .mk-chrome .mk-url { display: none; }
    .mk-draft-bar .mk-btn:not(.ink) { display: none; }
}

/* ---------- Feature bento ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
    grid-column: span 2;
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px 26px 28px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 10px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: 1 / -1; }
.tile .t-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--paper-150); color: var(--ink-800); display: grid; place-items: center; margin-bottom: 6px; }
.tile .t-icon svg { width: 20px; height: 20px; }
.tile.accent .t-icon { background: var(--jade-50); color: var(--jade-700); }
.tile h3 { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 560; font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.tile p { color: var(--dim); font-size: 15px; line-height: 1.6; }
.tile .t-art { margin-top: auto; padding-top: 18px; }
.tile.dark { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper-100); }
.tile.dark p { color: rgba(246, 244, 239, 0.72); }
.tile.dark .t-icon { background: rgba(255, 255, 255, 0.08); color: var(--jade-400); }

/* Mini illustrations inside tiles */
.art-card { background: var(--paper-50); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink-700); }
.art-card + .art-card { margin-top: 8px; }
.art-card b { color: var(--ink-900); font-weight: 600; }
.art-line { display: flex; align-items: center; gap: 8px; }
.art-line + .art-line { margin-top: 6px; }
.art-tick { width: 18px; height: 18px; border-radius: 50%; background: var(--jade-600); color: #fff; display: grid; place-items: center; flex: none; }
.art-tick svg { width: 11px; height: 11px; }
.art-dim { color: var(--faint); font-size: 12px; margin-left: auto; white-space: nowrap; }
.tile.dark .art-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.09); color: rgba(246, 244, 239, 0.8); }
.tile.dark .art-card b { color: #fff; }
.tile.dark .art-dim { color: rgba(246, 244, 239, 0.5); }
.art-undo { display: flex; align-items: center; gap: 12px; }
.art-undo .mk-ring { width: 26px; height: 26px; -webkit-mask: radial-gradient(circle 9px, transparent 98%, #000); mask: radial-gradient(circle 9px, transparent 98%, #000); }
.art-undo .u-btn { margin-left: auto; font-size: 12px; font-weight: 650; padding: 4px 11px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #fff; }

@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile, .tile.wide { grid-column: span 1; }
    .tile.full { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .bento { grid-template-columns: 1fr; }
    .tile, .tile.wide, .tile.full { grid-column: auto; }
}

/* ---------- How it works ---------- */

.band-dark { background: var(--ink-900); color: var(--paper-100); position: relative; overflow: hidden; isolation: isolate; }
.band-dark::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 192, 143, 0.16), transparent 62%); z-index: -1; }
.band-dark .eyebrow { color: var(--jade-300); }
.band-dark .lede { color: rgba(246, 244, 239, 0.72); }
.band-dark .dot { color: var(--jade-400); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: linear-gradient(90deg, rgba(52, 192, 143, 0.6), rgba(255, 255, 255, 0.12)); }
.step { position: relative; counter-increment: step; padding-top: 70px; }
.step::before {
    content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ink-800); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--paper-100);
    font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 19px; font-weight: 560;
}
.step:last-child::before { background: var(--jade-500); border-color: var(--jade-500); color: var(--ink-950); }
.step h3 { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 520; font-size: 23px; letter-spacing: -0.015em; margin-bottom: 10px; }
.step p { color: rgba(246, 244, 239, 0.7); font-size: 15px; }
.step .step-time { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--jade-300); letter-spacing: 0.02em; }
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .steps::before { display: none; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
}

/* ---------- Trust / safety strip ---------- */

.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.safety > div { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; }
.safety b { display: block; font-weight: 600; color: #fff; margin-bottom: 4px; }
.safety span { font-size: 14.5px; color: rgba(246, 244, 239, 0.66); }
@media (max-width: 760px) { .safety { grid-template-columns: 1fr; } }

/* ---------- Add-ons ---------- */

.addon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow); }
.addon + .addon { margin-top: 16px; }
.addon .tag { display: inline-flex; font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--jade-700); background: var(--jade-50); border-radius: 99px; padding: 3px 10px; margin-bottom: 14px; }
.addon h3 { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 540; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.addon p { color: var(--dim); }
.addon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.addon-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper-50); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: var(--ink-700); }
.addon-list li svg { width: 18px; height: 18px; color: var(--jade-600); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .addon { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; } }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px 28px 28px; box-shadow: var(--shadow);
}
.plan.featured { background: var(--ink-900); color: var(--paper-100); border-color: var(--ink-900); box-shadow: var(--shadow-lg); }
.plan .p-flag { position: absolute; top: -12px; left: 28px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.04em; background: var(--jade-500); color: var(--ink-950); border-radius: 99px; padding: 3px 11px; }
.plan .p-name { font-weight: 650; font-size: 15px; letter-spacing: 0.01em; }
.plan .p-price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 6px; }
.plan .p-price b { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 520; font-size: 54px; letter-spacing: -0.03em; line-height: 1; }
.plan .p-price span { color: var(--faint); font-size: 14px; }
.plan.featured .p-price span { color: rgba(246, 244, 239, 0.6); }
.plan .p-blurb { color: var(--dim); font-size: 14.5px; min-height: 46px; }
.plan.featured .p-blurb { color: rgba(246, 244, 239, 0.72); }
.plan .p-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 4px; }
.plan .p-meta span { font-size: 12px; font-weight: 600; color: var(--ink-700); background: var(--paper-150); border-radius: 99px; padding: 3px 10px; }
.plan.featured .p-meta span { background: rgba(255, 255, 255, 0.08); color: var(--paper-100); }
.plan ul { list-style: none; margin: 20px 0 26px; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.plan.featured ul { border-top-color: rgba(255, 255, 255, 0.12); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--jade-600); }
.plan.featured li svg { color: var(--jade-400); }
.plan .s-btn { margin-top: auto; }
.plan.featured .s-btn.ghost { color: var(--paper-100); border-color: rgba(255, 255, 255, 0.2); }
.plans-note { text-align: center; margin-top: 28px; color: var(--faint); font-size: 14px; }
@media (max-width: 960px) {
    .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .plan .p-blurb { min-height: 0; }
}

.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 32px; margin-top: 8px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-700); padding: 10px 0; border-bottom: 1px solid var(--line); }
.includes li svg { width: 17px; height: 17px; color: var(--jade-600); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .includes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--paper-150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2313201b' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") no-repeat center / 14px;
    transition: transform 0.25s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--jade-50); }
.faq summary:hover::after { background-color: var(--paper-200); }
.faq .a { padding: 0 52px 24px 4px; color: var(--dim); font-size: 15.5px; line-height: 1.7; }
.faq .a p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; background: var(--ink-900); color: var(--paper-100); border-radius: var(--radius-xl); padding: 80px 48px; text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: auto auto -260px 50%; width: 760px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(52, 192, 143, 0.22), transparent 62%); z-index: -1; }
.cta-band .lede { color: rgba(246, 244, 239, 0.72); margin: 20px auto 0; }
.cta-band .hero-ctas { margin-top: 32px; }
.cta-band .s-btn.ghost { color: var(--paper-100); border-color: rgba(255, 255, 255, 0.22); }
.cta-band .s-btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }
.cta-band .dot { color: var(--jade-400); }
@media (max-width: 620px) { .cta-band { padding: 56px 22px; border-radius: var(--radius-lg); } }

/* ---------- Footer ---------- */

.s-footer { background: var(--ink-950); color: rgba(246, 244, 239, 0.7); padding: 72px 0 40px; margin-top: 0; font-size: 14.5px; }
.s-footer .wordmark { color: var(--paper-100); font-size: 30px; }
.s-footer .wordmark i { color: var(--jade-400); }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.f-grid h4 { font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 244, 239, 0.45); margin-bottom: 14px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.f-grid a:hover { color: #fff; }
.f-tag { margin-top: 14px; max-width: 300px; line-height: 1.6; }
.f-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 12.5px; color: rgba(246, 244, 239, 0.45); }
@media (max-width: 820px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Page hero (pricing, legal) ---------- */

.page-hero { padding: 80px 0 56px; text-align: center; position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -72px 0 auto; height: 520px; z-index: -1; background: radial-gradient(520px 280px at 50% 120px, rgba(18, 161, 121, 0.1), transparent 70%); }
.page-hero h1 { margin-top: 16px; }
.page-hero .lede { margin: 22px auto 0; }

/* ---------- Sign-up ---------- */

.signup { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding: 56px 0 120px; }
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.signup-card h1 { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.05; }
.signup-card .lede { font-size: 16px; margin-top: 12px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: block; margin-top: 20px; }
.f-field > span:not(.f-err):not(.f-hint) { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 7px; }
.f-field input[type="text"], .f-field input[type="email"], .f-field input[type="password"] {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff;
    font: inherit; font-size: 15.5px; color: var(--text); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
    box-shadow: inset 0 1px 1px rgba(19, 32, 27, 0.03);
}
.f-field input::placeholder { color: var(--ink-400); }
.f-field input:hover:not(:focus) { border-color: var(--ink-300); }
.f-field input:focus { border-color: var(--jade-600); box-shadow: var(--ring); }
.f-field.has-error input { border-color: var(--red-600); }
.f-err { display: block; color: var(--red-700); font-size: 13px; margin-top: 6px; font-weight: 500; }
.f-hint { display: block; color: var(--faint); font-size: 13px; margin-top: 6px; }
.f-legend { font-size: 13.5px; font-weight: 600; color: var(--ink-700); margin: 24px 0 8px; display: block; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin: 0; }
.plan-pick label { position: relative; display: block; cursor: pointer; }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick .pp { display: block; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; height: 100%; }
.plan-pick .pp b { display: block; font-weight: 650; font-size: 14.5px; }
.plan-pick .pp span { display: block; color: var(--faint); font-size: 13px; }
.plan-pick label:hover .pp { border-color: var(--ink-300); }
.plan-pick input:checked + .pp { border-color: var(--jade-600); background: var(--jade-50); box-shadow: 0 0 0 1px var(--jade-600); }
.plan-pick input:focus-visible + .pp { box-shadow: var(--ring); }
.plan-pick input:checked + .pp::after { content: ""; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--jade-500); }
.f-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 14.5px; color: var(--ink-700); cursor: pointer; }
.f-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--jade-600); flex: none; }
.f-check a { color: var(--jade-700); font-weight: 600; text-decoration: underline; text-decoration-color: var(--jade-200); text-underline-offset: 2px; }
.f-submit { margin-top: 28px; }
.f-alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--faint); }
.f-alt a { color: var(--jade-700); font-weight: 600; }
.f-errors { background: var(--red-50); border: 1px solid var(--red-200); color: var(--red-700); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-top: 22px; }
.f-errors ul { margin: 6px 0 0; padding-left: 18px; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.signup-aside { position: sticky; top: 104px; }
.signup-aside .aside-card { background: var(--ink-900); color: var(--paper-100); border-radius: var(--radius-xl); padding: 34px; position: relative; overflow: hidden; isolation: isolate; }
.signup-aside .aside-card::before { content: ""; position: absolute; right: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 192, 143, 0.2), transparent 64%); z-index: -1; }
.aside-card h2 { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 480; font-size: 30px; letter-spacing: -0.025em; line-height: 1.1; }
.aside-card h2 em { font-style: italic; color: var(--jade-300); }
.aside-card ol { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.aside-card ol li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 14.5px; color: rgba(246, 244, 239, 0.74); }
.aside-card ol li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; font-size: 12.5px; font-weight: 650; color: var(--paper-100); }
.aside-card ol li b { display: block; color: #fff; font-weight: 600; }
.aside-note { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--faint); padding: 0 6px; }
.aside-note span { display: flex; gap: 8px; align-items: center; }
.aside-note svg { width: 15px; height: 15px; color: var(--jade-600); flex: none; }
@media (max-width: 960px) {
    .signup { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
    .signup-aside { position: static; }
}
@media (max-width: 620px) {
    .signup-card { padding: 26px 20px; border-radius: var(--radius-lg); }
    .f-row { grid-template-columns: 1fr; gap: 0; }
    .plan-pick { grid-template-columns: 1fr; }
}

/* ---------- Legal (long-form reading) ---------- */

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 24px 0 120px; align-items: start; }
.legal-toc { position: sticky; top: 100px; font-size: 13.5px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
.legal-toc .toc-title { font-size: 11.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--dim); line-height: 1.35; }
.legal-toc a:hover { color: var(--ink-900); }
.legal-toc a.active { color: var(--ink-900); border-left-color: var(--jade-500); font-weight: 600; }
.legal-docs { margin-top: 30px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 12px; }
.legal-docs a { padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 550; color: var(--dim); }
.legal-docs a:hover { color: var(--ink-900); background: rgba(19, 32, 27, 0.05); }
.legal-docs a.current { background: var(--ink-900); color: #fff; }

.prose { max-width: 720px; font-size: 16.5px; line-height: 1.75; color: var(--ink-800); }
.prose .meta { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 14px; color: var(--faint); padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.prose .summary { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--jade-500); border-radius: 12px; padding: 20px 24px; margin: 28px 0 8px; font-size: 15.5px; color: var(--ink-700); }
.prose .summary b { color: var(--ink-900); }
.prose h2 { font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-weight: 560; font-size: 27px; letter-spacing: -0.02em; line-height: 1.2; margin: 52px 0 14px; color: var(--ink-900); scroll-margin-top: 96px; }
.prose h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 30px 0 8px; color: var(--ink-900); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--jade-600); }
.prose a { color: var(--jade-700); font-weight: 550; text-decoration: underline; text-decoration-color: var(--jade-200); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--jade-600); }
.prose strong { color: var(--ink-900); font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th { text-align: left; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: var(--paper-50); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose .defs dt { font-weight: 650; color: var(--ink-900); margin-top: 12px; }
.prose .defs dd { margin: 2px 0 0; }
.prose .callout { background: var(--paper-50); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 18px; font-size: 15.5px; }
.prose .end { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--faint); }
@media (max-width: 960px) {
    .legal { grid-template-columns: 1fr; gap: 0; }
    .legal-toc { position: static; max-height: none; margin-bottom: 32px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
    .legal-toc ol { border-left: 0; }
    .legal-toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 620px) {
    .prose { font-size: 16px; }
    .prose h2 { font-size: 23px; margin-top: 40px; }
    .prose table, .prose thead, .prose tbody, .prose tr, .prose td, .prose th { display: block; }
    .prose thead { display: none; }
    .prose tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
    .prose td { border: 0; padding: 3px 14px; }
}

/* ---------- Responsive spacing ---------- */

@media (max-width: 760px) {
    :root { --gutter: 16px; --section: 76px; }
    .hero { padding-top: 44px; }
    .hero h1 { margin-top: 22px; }
    .mock-stage { margin-top: 48px; }
    .section-head { margin-bottom: 36px; }
    .page-hero { padding: 48px 0 36px; }
    .s-footer { padding-top: 56px; }
}
