/* Weft website. Tokens live in tokens.css (shared with the app). No framework, no build step. */

/* ───────── Fonts (self-hosted, OFL; see /fonts/licenses) ───────── */
@font-face { font-family: "Hanken Grotesk Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/hanken-grotesk-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: "Hanken Grotesk Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/hanken-grotesk-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+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Martian Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; font-stretch: 75% 112.5%; src: url(../fonts/martian-mono-latin-standard-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: "Martian Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; font-stretch: 75% 112.5%; src: url(../fonts/martian-mono-latin-ext-standard-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/newsreader-latin-standard-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: "Newsreader Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/newsreader-latin-ext-standard-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader Variable"; font-style: italic; font-display: swap; font-weight: 200 800; src: url(../fonts/newsreader-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC; }

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: var(--w-text) 16px/26px var(--font-ui); font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-2); }
::selection { background: var(--dye-indigo-tint); color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-2); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.label {
  font: 500 11px/16px var(--font-num); font-stretch: 87.5%;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3);
}
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.num { font-family: var(--font-num); font-stretch: 87.5%; }
svg.i { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.fill { fill: currentColor; stroke: none; }

/* ───────── Buttons ───────── */
.btn {
  --h: 44px; min-height: var(--h); padding: 0 18px; border-radius: var(--r-2); border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15.5px; font-weight: 560; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: color-mix(in oklab, var(--ink) 86%, var(--paper)); }
.btn--secondary { background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px var(--ink-4); }
.btn--quiet { background: transparent; color: var(--ink-2); padding: 0 12px; }
.btn--quiet:hover { background: var(--sunk); color: var(--ink); }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 16.5px; }
.btn--sm { --h: 40px; padding: 0 14px; font-size: 14.5px; }
.btn[aria-disabled="true"] { background: var(--sunk); color: var(--ink-3); cursor: not-allowed; box-shadow: none; }
.btn .arrow { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .arrow { transform: translateX(2px); }
.kbd { font: 500 11px/1 var(--font-num); font-stretch: 87.5%; padding: 4px 6px; border-radius: var(--r-1); box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--ink-3); background: var(--paper); }

/* ───────── Masthead ───────── */
.mast { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease-out); }
.mast.is-scrolled { border-bottom-color: var(--rule); }
.mast .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 40px; }
.brand .word { font: 650 21px/1 var(--font-ui); letter-spacing: -.035em; }
.mark { width: 24px; height: 24px; --mark-bg: var(--paper); }
.mast nav { display: flex; gap: 4px; margin-left: 12px; }
.mast nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 8px 10px; border-radius: var(--r-2); min-height: 40px; display: inline-flex; align-items: center; }
.mast nav a:hover { color: var(--ink); background: var(--sunk); }
.mast__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 40px; height: 40px; border-radius: var(--r-2); border: 0; background: transparent; color: var(--ink-2); display: inline-grid; place-items: center; cursor: pointer; }
.theme-btn:hover { background: var(--sunk); color: var(--ink); }
.theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: none; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: block; } }

/* ───────── Theme-aware screenshots ───────── */
.shot-dark { display: none !important; }
:root[data-theme="dark"] .shot-light { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none !important; }
  :root:not([data-theme="light"]) .shot-dark { display: block !important; }
}
.frame { position: relative; border-radius: var(--r-4); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-3); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.frame--crop img { object-position: var(--pos, top left); }

/* ───────── Hero ───────── */
.hero { padding: 72px 0 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font: 300 clamp(52px, 7.2vw, 96px)/.98 var(--font-doc); letter-spacing: -.032em; margin: 22px 0 26px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--ink-2); }
.hero .lede { font-size: 19px; line-height: 30px; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.hero .lede strong { color: var(--ink); font-weight: var(--w-strong); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.hero__fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero__fine span { display: inline-flex; align-items: center; gap: 7px; }
.hero__fine svg { width: 15px; height: 15px; }

/* the hero loom */
.loomcard { background: var(--surface); border-radius: var(--r-4); box-shadow: var(--shadow-2); padding: 24px 24px 18px; }
.loomcard__timer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.loomcard__ctx { display: flex; align-items: center; gap: 8px; font-size: 14.5px; line-height: 20px; }
.loomcard__ctx b { font-weight: var(--w-strong); }
.loomcard__ctx .sep { color: var(--ink-4); }
.swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--dye); flex: none; }
.loomcard__desc { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.tnum { font-family: var(--font-num); font-stretch: 75%; font-weight: var(--w-num); font-size: 64px; line-height: .9; letter-spacing: -.045em; display: flex; align-items: baseline; white-space: nowrap; }
.tnum .c { display: inline-block; position: relative; width: .2em; height: .74em; color: transparent; overflow: hidden; user-select: none; }
.tnum .c::before, .tnum .c::after { content: ""; position: absolute; left: 50%; width: .075em; height: .075em; margin-left: -.0375em; border-radius: 50%; background: var(--ink-3); }
.tnum .c::before { top: .19em; } .tnum .c::after { top: .52em; }
.tnum .sec { font-size: .42em; color: var(--ink-3); display: inline-flex; align-items: baseline; letter-spacing: -.02em; }
.tnum .sec .c { width: .3em; }
.tnum .sec .c::before, .tnum .sec .c::after { width: .1em; height: .1em; margin-left: -.05em; }
.loom-svg { display: block; width: 100%; height: auto; overflow: visible; }
.loom-svg .t { transform-box: fill-box; transform-origin: left center; animation: weave .62s var(--ease-settle) both; animation-delay: var(--d, 0s); }
@keyframes weave { from { transform: scaleX(0); opacity: 0; } 12% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
.loom-svg .ring { transform-box: fill-box; transform-origin: center; animation: breathe 2.4s var(--ease-breathe) 3.4s infinite both; opacity: 0; }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 0; transform: scale(2.1); } }
.loom-svg .fade { animation: fadein .5s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.loomcard__foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.loomcard__foot b { color: var(--ink); font-weight: 600; }
.legend-i { display: inline-flex; align-items: center; gap: 7px; }
.legend-i i { width: 16px; height: 6px; border-radius: 3px; display: block; }
.legend-i i.loose { background: var(--dye-indigo-tint); box-shadow: inset 0 0 0 1.5px var(--dye-indigo); }
.legend-i i.bound { background: var(--dye-indigo); }

/* screenshot under hero */
.showcase { padding: 32px 0 24px; }
.showcase figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

/* ───────── Promise list ───────── */
.promises { padding: 64px 0 24px; }
.promises ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.promises li { padding: 22px 28px 26px 0; border-bottom: 1px solid var(--rule); }
.promises li:nth-child(3n+2), .promises li:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid var(--rule); }
.promises .k { font: 500 11px/16px var(--font-num); font-stretch: 87.5%; letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.promises .k i { display: block; width: 18px; height: 6px; border-radius: 3px; background: var(--dye); }
.promises h3 { font: 600 19px/26px var(--font-ui); letter-spacing: -.012em; margin-top: 12px; }
.promises p { color: var(--ink-2); margin-top: 6px; font-size: 15.5px; line-height: 24px; text-wrap: pretty; }

/* ───────── Sections ───────── */
section.sec { padding: 112px 0; }
section.sec + section.sec { border-top: 1px solid var(--rule); }
.sec__head { max-width: 760px; margin-bottom: 56px; }
.sec__head h2 { font: 300 clamp(38px, 4.6vw, 60px)/1.04 var(--font-doc); letter-spacing: -.025em; margin-top: 16px; text-wrap: balance; }
.sec__head p { font-size: 18.5px; line-height: 29px; color: var(--ink-2); margin-top: 20px; max-width: 60ch; text-wrap: pretty; }

/* How it works */
.steps { display: grid; gap: 96px; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.step__no { font: 300 14px/1 var(--font-num); font-stretch: 87.5%; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.step__no svg { width: 64px; height: 8px; overflow: visible; }
.step h3 { font: 600 30px/36px var(--font-ui); letter-spacing: -.022em; margin-top: 20px; }
.step p { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; line-height: 27px; text-wrap: pretty; }
.step ul { list-style: none; margin-top: 20px; border-top: 1px solid var(--rule); }
.step li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); display: flex; gap: 12px; align-items: baseline; }
.step li .kbd { flex: none; }

/* Harvest */
.harvest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.harvest__copy ol { list-style: none; counter-reset: h; margin-top: 28px; border-top: 1px solid var(--rule); }
.harvest__copy li { counter-increment: h; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.harvest__copy li::before { content: counter(h, decimal-leading-zero); font: 400 12px/26px var(--font-num); font-stretch: 87.5%; color: var(--ink-3); }
.harvest__copy li b { font-weight: var(--w-strong); display: block; }
.harvest__copy li span { color: var(--ink-2); font-size: 15.5px; line-height: 24px; }
.harvest__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.figures div { padding: 14px 16px 0 0; }
.figures dt { font: 500 10.5px/14px var(--font-num); font-stretch: 87.5%; letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; }
.figures dd { font-family: var(--font-num); font-stretch: 75%; font-weight: 300; font-size: 30px; line-height: 38px; letter-spacing: -.03em; }
.stack { display: grid; gap: 20px; }

/* E-invoice */
.einv { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.einv dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 1px solid var(--rule); margin-top: 28px; }
.einv dt, .einv dd { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.einv dt { font: 500 11px/24px var(--font-num); font-stretch: 87.5%; letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; }
.einv dd { color: var(--ink-2); font-size: 15.5px; line-height: 24px; }
.einv dd b { color: var(--ink); font-weight: var(--w-strong); }
.de { margin-top: 26px; font: italic 400 19px/28px var(--font-doc); color: var(--ink-2); }
.xml { background: var(--surface); border-radius: var(--r-4); box-shadow: var(--shadow-2); overflow: hidden; }
.xml__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.xml__bar span { font: 500 12px/1 var(--font-num); font-stretch: 87.5%; color: var(--ink-2); }
.xml pre { margin: 0; padding: 18px 20px; font: 400 12.5px/21px var(--font-num); font-stretch: 87.5%; color: var(--ink-2); overflow-x: auto; white-space: pre; }
.xml pre .tg { color: var(--ink-3); }
.xml pre .v { color: var(--ink); }
.checks { list-style: none; border-top: 1px solid var(--rule); }
.checks li { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.checks li:last-child { border-bottom: 0; }
.checks li .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; }
.checks li .tick svg { width: 12px; height: 12px; stroke-width: 2.6; }
.checks li small { margin-left: auto; color: var(--ink-3); font-size: 13px; }

/* Privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.zero { font-family: var(--font-num); font-stretch: 75%; font-weight: 200; font-size: clamp(120px, 16vw, 220px); line-height: .82; letter-spacing: -.06em; }
.zero-cap { margin-top: 18px; color: var(--ink-2); font-size: 16px; line-height: 25px; max-width: 34ch; }
.plist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.plist li { padding: 20px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.plist li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.plist h3 { font: 600 17px/24px var(--font-ui); letter-spacing: -.01em; }
.plist p { color: var(--ink-2); margin-top: 6px; font-size: 15px; line-height: 23px; text-wrap: pretty; }
.honest { margin-top: 24px; font-size: 14.5px; line-height: 23px; color: var(--ink-3); max-width: 70ch; }

/* Year */
.year { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: stretch; }
.price { background: var(--surface); border-radius: var(--r-4); box-shadow: var(--shadow-2); padding: 36px; display: flex; flex-direction: column; }
.price__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price__name { font: 600 20px/26px var(--font-ui); letter-spacing: -.012em; }
.price__tag { font: 500 11px/1 var(--font-num); font-stretch: 87.5%; letter-spacing: .07em; text-transform: uppercase; padding: 7px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ink-3); }
.price__amt { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.price__amt .big { font: 300 96px/.9 var(--font-doc); letter-spacing: -.035em; font-feature-settings: "tnum" 1, "lnum" 1; }
.price__amt .alt { font: 300 34px/1 var(--font-doc); color: var(--ink-2); letter-spacing: -.02em; }
.price__amt .once { color: var(--ink-2); font-size: 15px; }
.price__then { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.price__then s { color: var(--ink-3); }
.price ul { list-style: none; margin-top: 26px; border-top: 1px solid var(--rule); }
.price li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 23px; }
.price li svg { width: 15px; height: 15px; flex: none; position: relative; top: 2px; stroke-width: 2.2; }
.price__buy { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price__note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.side { display: grid; gap: 20px; align-content: start; }
.panel { border-radius: var(--r-4); box-shadow: var(--edge); padding: 26px 28px; }
.panel h3 { font: 600 17px/24px var(--font-ui); letter-spacing: -.01em; }
.panel p, .panel li { color: var(--ink-2); font-size: 15px; line-height: 23px; }
.panel ul { list-style: none; margin-top: 10px; }
.panel li { padding: 7px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.panel li:last-child { border-bottom: 0; }
.lock { margin-top: 32px; border-top: 2px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.lock blockquote { font: 300 clamp(24px, 2.4vw, 32px)/1.3 var(--font-doc); letter-spacing: -.012em; text-wrap: pretty; }

/* Waitlist */
.waitlist { margin-top: 28px; }
.waitlist form { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] { flex: 1 1 240px; min-height: 48px; border-radius: var(--r-2); border: 0; background: var(--raised); box-shadow: inset 0 0 0 1px var(--rule-strong); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.waitlist input[type="email"]:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 3px color-mix(in oklab, var(--ink) 14%, transparent); }
.waitlist input::placeholder { color: var(--ink-3); }
.waitlist .status { margin-top: 10px; font-size: 14px; color: var(--ink-3); min-height: 22px; display: flex; gap: 8px; align-items: center; }
.waitlist .status.warn { color: var(--caution-ink); }
.waitlist .status.ok { color: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; min-height: 56px; font: 560 17.5px/26px var(--font-ui); letter-spacing: -.008em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 1.5px; background: var(--ink-2); border-radius: 1px; transition: transform var(--dur-2) var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 26px; }
.faq .ans p + p { margin-top: 10px; }

/* Final CTA */
.final { padding: 120px 0; text-align: center; }
.final h2 { font: 300 clamp(44px, 6vw, 80px)/1 var(--font-doc); letter-spacing: -.03em; text-wrap: balance; }
.final p { color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.final .hero__cta { justify-content: center; }

/* Footer */
footer.end { border-top: 1px solid var(--rule); padding: 48px 0 64px; font-size: 14px; color: var(--ink-3); }
footer.end .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
footer.end nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
footer.end nav b { font: 500 10.5px/16px var(--font-num); font-stretch: 87.5%; letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; display: block; margin-bottom: 4px; }
footer.end nav a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
footer.end nav a:hover { color: var(--ink); text-decoration: underline; }
footer.end .fine { margin-top: 14px; line-height: 22px; max-width: 46ch; }

/* ───────── Article pages (comparison, legal, thanks) ───────── */
.page { padding: 72px 0 112px; }
.page__head { max-width: 820px; }
.page__head h1 { font: 300 clamp(42px, 5.6vw, 72px)/1.02 var(--font-doc); letter-spacing: -.028em; margin-top: 16px; text-wrap: balance; }
.page__head .lede { font-size: 19px; line-height: 30px; color: var(--ink-2); margin-top: 22px; max-width: 62ch; text-wrap: pretty; }
.prose { max-width: 720px; margin-top: 48px; }
.prose h2 { font: 600 26px/32px var(--font-ui); letter-spacing: -.018em; margin: 56px 0 16px; }
.prose h3 { font: 600 18px/26px var(--font-ui); letter-spacing: -.01em; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; line-height: 28px; text-wrap: pretty; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: var(--w-strong); }
.prose .note { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-3); box-shadow: var(--edge); font-size: 15px; line-height: 24px; color: var(--ink-2); }
.wide { max-width: none; }
.tablewrap { overflow-x: auto; margin: 20px 0 8px; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14.5px; line-height: 21px; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp thead th { font: 500 10.5px/14px var(--font-num); font-stretch: 87.5%; letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; }
.cmp tbody th { font-weight: var(--w-strong); color: var(--ink); white-space: nowrap; }
.cmp td { color: var(--ink-2); }
.cmp tr.us th, .cmp tr.us td { background: color-mix(in oklab, var(--dye-indigo-tint) 55%, transparent); }
.cmp tr.us th { padding-left: 12px; }
.sources { list-style: none; padding: 0 !important; border-top: 1px solid var(--rule); margin-top: 16px !important; }
.sources li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px !important; line-height: 22px !important; margin: 0 !important; }
.sources li span { color: var(--ink-3); }
.fits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.fits > div { border-radius: var(--r-4); box-shadow: var(--edge); padding: 22px 24px; }
.fits h3 { margin: 0 0 8px; }
.fits ul { margin: 0; }

.draft { background: var(--caution); color: #241A00; }
.draft .wrap { display: flex; gap: 12px; align-items: center; min-height: 48px; font-size: 14.5px; font-weight: 560; }
.legal-meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.ph { background: var(--sunk); color: var(--ink); border-radius: 4px; padding: 0 5px; font-family: var(--font-num); font-stretch: 87.5%; font-size: .86em; }

/* thanks */
.keybox { margin-top: 36px; max-width: 720px; background: var(--surface); border-radius: var(--r-4); box-shadow: var(--shadow-2); padding: 28px; }
.keybox .state { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.keybox textarea { width: 100%; min-height: 112px; margin-top: 16px; resize: vertical; border: 0; border-radius: var(--r-2); background: var(--sunk); color: var(--ink); padding: 14px 16px; font: 400 13.5px/21px var(--font-num); font-stretch: 87.5%; word-break: break-all; }
.keybox .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.spinner { width: 120px; height: 6px; border-radius: 3px; background: var(--sunk); position: relative; overflow: hidden; flex: none; }
.spinner::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; border-radius: 3px; background: var(--dye-indigo); animation: shuttle 1.4s var(--ease-in-out) infinite alternate; }
@keyframes shuttle { from { transform: translateX(-10%); } to { transform: translateX(206%); } }
.howto { list-style: none; counter-reset: s; margin-top: 28px; border-top: 1px solid var(--rule); max-width: 720px; }
.howto li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.howto li::before { content: counter(s, decimal-leading-zero); font: 400 12px/26px var(--font-num); font-stretch: 87.5%; color: var(--ink-3); }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .mast nav { display: none; }
  .hero__grid, .harvest, .einv, .privacy, .year, .pricing, .faq, .step { grid-template-columns: 1fr; gap: 40px; }
  .step .frame { order: 2; }
  .lock { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .mast .wrap { height: 60px; gap: 8px; }
  .mast__end .btn { padding: 0 14px; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: 54px; line-height: 56px; margin: 16px 0 20px; }
  .hero .lede { font-size: 17.5px; line-height: 28px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .tnum { font-size: 52px; }
  .loomcard { padding: 18px 16px 14px; }
  .promises { padding-top: 40px; }
  .promises ul { grid-template-columns: 1fr; }
  .promises li, .promises li:nth-child(3n+2), .promises li:nth-child(3n+3) { padding: 18px 0 20px; border-left: 0; }
  section.sec { padding: 80px 0; }
  .sec__head { margin-bottom: 36px; }
  .sec__head p { font-size: 17px; line-height: 27px; }
  .steps { gap: 64px; }
  .step h3 { font-size: 25px; line-height: 31px; }
  .plist { grid-template-columns: 1fr; }
  .plist li, .plist li:nth-child(even) { padding: 18px 0; border-left: 0; }
  .einv dl { grid-template-columns: 1fr; }
  .einv dt { border-bottom: 0; padding-bottom: 0; }
  .price { padding: 24px 20px; }
  .price__amt .big { font-size: 76px; }
  .price__buy .btn { flex: 1 1 100%; }
  .faq .ans { padding-right: 0; }
  footer.end .wrap { grid-template-columns: 1fr; }
  footer.end nav { grid-template-columns: 1fr 1fr; }
  .fits { grid-template-columns: 1fr; }
  .figures dd { font-size: 24px; }
  .page { padding: 48px 0 80px; }
  .prose p, .prose li { font-size: 16.5px; line-height: 27px; }
  .final { padding: 88px 0; }
  .final .hero__cta .btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .brand .word { display: none; }
  .hero h1 { font-size: 46px; line-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .loom-svg .ring { display: none; }
}

/* Section headings outside .sec__head */
.h-doc { font: 300 clamp(38px, 4.6vw, 60px)/1.04 var(--font-doc); letter-spacing: -.025em; margin-top: 16px; text-wrap: balance; }
.h-zero { font: 300 clamp(30px, 3vw, 40px)/1.1 var(--font-doc); letter-spacing: -.02em; margin-top: 6px; }
.lede-s { font-size: 18px; line-height: 29px; margin-top: 20px; max-width: 56ch; color: var(--ink-2); text-wrap: pretty; }

/* Zoomed frames: hide the app's rail so the screen being described reads larger */
.frame--norail { aspect-ratio: 1208 / 900; }
.frame--norail img { width: 119.21%; max-width: none; margin-left: -19.21%; aspect-ratio: 16 / 10; object-fit: cover; }
.figures { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; }
.figures div { padding-right: 0; }
footer.end nav > div { display: flex; flex-direction: column; align-items: flex-start; }
.privacy .label { margin-bottom: 20px; }
@media (max-width: 760px) { footer.end nav a { min-height: 40px; } }
.showcase .phone { display: none; }
@media (max-width: 760px) {
  .loomcard__timer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .loomcard__ctx { flex-wrap: wrap; }
  .showcase .frame { display: none; }
  .showcase .phone { display: block; width: min(78%, 300px); margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-3), 0 0 0 6px var(--surface), 0 0 0 7px var(--rule); }
  .showcase .phone img { width: 100%; }
}
.keybox .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; }
.keybox .tick svg { width: 13px; height: 13px; stroke-width: 2.6; }
.keybox .state b { font-weight: var(--w-strong); }
