/* ── BillOS Developers: the Resend homepage, section for section, in Hebrew and in the BillOS brand.
   Black ground, live 3D objects heading the sections, light sans headlines with a white-to-grey
   gradient, one serif statement at the very end, and a footer under a giant wordmark. Hebrew runs
   right to left; code and mocks of the product are LTR islands. ── */
@font-face { font-family: 'Frank Ruhl Libre'; font-weight: 300 500; font-display: swap; src: url('/assets/fonts/frank-hebrew.woff2?v=20260906c') format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA; }
@font-face { font-family: 'Frank Ruhl Libre'; font-weight: 300 500; font-display: swap; src: url('/assets/fonts/frank-latin.woff2?v=20260906c') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Heebo'; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/heebo-hebrew.woff2?v=20260906c') format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA; }
@font-face { font-family: 'Heebo'; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/heebo-latin.woff2?v=20260906c') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Assistant'; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/assistant-hebrew.woff2?v=1') format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA; }
@font-face { font-family: 'Assistant'; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/assistant-latin.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Rubik'; font-weight: 300 900; font-display: swap; src: url('/assets/fonts/rubik-hebrew.woff2?v=1') format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA; }
@font-face { font-family: 'Rubik'; font-weight: 300 900; font-display: swap; src: url('/assets/fonts/rubik-latin.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/jetbrains-mono.woff2?v=20260906c') format('woff2'); }

:root {
  --bg: #000;
  --fg: #fff;
  --mut: #a1a1aa;
  --dim: #71717a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --card: #0a0a0a;
  --code: #0b0b0c;
  --gold: #f2c464;
  --gold-2: #d99a2b;
  --serif: 'Frank Ruhl Libre', serif;
  --sans: 'Heebo', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --w: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--w); margin: 0 auto; padding-inline: 24px; min-width: 0; }
.wrap > * { min-width: 0; max-width: 100%; }
.ltr { direction: ltr; text-align: left; unicode-bidi: isolate; }
.mono { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.grad { background: linear-gradient(180deg, #fff 0%, #fff 40%, #7e7e86 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark { background: linear-gradient(90deg, #f8d98a, #f2c464 40%, #e59a2e); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2 { font-family: var(--sans); font-weight: 300; letter-spacing: -.025em; }
h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; }
h2.left { text-align: start; font-size: clamp(40px, 5.4vw, 72px); max-width: 12ch; }
.lead { color: var(--mut); font-size: 17px; line-height: 1.6; }
.lead i { font-style: italic; color: #d4d4d8; }
.sub { color: var(--mut); font-size: 17px; line-height: 1.6; max-width: 620px; margin: 18px auto 0; text-align: center; }
.center { text-align: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .15s ease, color .15s ease, transform .1s ease; }
.btn.w { background: #fff; color: #000; }
.btn.w:hover { background: #e5e5e5; }
.btn.g { color: var(--fg); background: transparent; }
.btn.g:hover { background: rgba(255,255,255,.06); }
.btn.o { color: var(--fg); background: #0a0a0a; border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.btn.o:hover { border-color: rgba(255,255,255,.3); }
.btn.sm { height: 36px; padding-inline: 16px; font-size: 13px; }
.btn .ch { color: var(--dim); font-size: 15px; line-height: 1; }
.btn.w .ch { color: #666; }

/* the live objects */
.obj { position: relative; width: 196px; height: 196px; margin: 0 auto 26px; cursor: grab; touch-action: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.75)); }
.obj.grab { cursor: grabbing; }
.obj canvas, .obj img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.obj img { transition: opacity .6s ease; }
.obj.ready img { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.obj.hero::before { content: ''; position: absolute; inset: -22%; z-index: -1; background: radial-gradient(closest-side, rgba(47,123,255,.42), rgba(47,123,255,.08) 60%, transparent 75%); pointer-events: none; }
.obj.hero { width: 260px; height: 260px; margin-bottom: 26px; }
.obj.hero img { transform: scale(.72); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-in { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 24px; height: 24px; border-radius: 7px; }
.links { display: flex; gap: 30px; font-size: 14px; color: #b4b4bb; }
.links a { display: inline-flex; align-items: center; gap: 5px; }
.links a:hover { color: #fff; }
.links svg { width: 10px; height: 10px; opacity: .55; transition: transform .18s ease; }
.links a[aria-expanded="true"] { color: #fff; }
.links a[aria-expanded="true"] svg { transform: rotate(180deg); }
/* the mega menus: one panel per item, all landing in the same spot under the links */
.links { position: relative; }
.dd { position: absolute; top: 44px; right: 50%; transform: translate(50%, -6px) scale(.985); transform-origin: top center; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; display: grid; grid-template-columns: 220px 300px; gap: 14px; padding: 14px; width: max-content; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(8,8,9,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
.links.open .dd.on { opacity: 1; transform: translate(50%, 0) scale(1); pointer-events: auto; }
.dd-l { display: grid; align-content: start; gap: 2px; padding: 10px 4px; }
.dd-l.two { grid-template-columns: 1fr 1fr; column-gap: 6px; }
.dd-l.two a { white-space: nowrap; padding-inline: 10px; font-size: 14px; }
.dd-l a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 15px; color: var(--mut); }
.dd-l a:hover { color: #fff; background: rgba(255,255,255,.05); }
.dd-r { display: grid; }
.dd-r.cards { grid-template-columns: 1fr 1fr; gap: 12px; }
.dd-card { position: relative; display: block; border-radius: 16px; border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.07), transparent 60%), #0b0b0c; min-height: 210px; padding: 18px; overflow: hidden; }
.dd-card span { position: relative; z-index: 1; font-size: 15px; color: #e4e4e7; }
.dd-card:hover { border-color: rgba(255,255,255,.3); }
.dd-card.sm { min-height: 96px; }
.dd-card i { position: absolute; font-style: normal; }
.dd-doc { left: 26px; right: 26px; bottom: 0; height: 130px; background: #fff; border-radius: 8px 8px 0 0; padding: 18px 16px; display: grid; gap: 10px; align-content: start; box-shadow: 0 -10px 40px rgba(0,0,0,.6); }
.dd-doc b { display: block; height: 7px; border-radius: 3px; background: #e5e5e7; width: 60%; }
.dd-doc b.w { width: 40%; }
.dd-doc em { display: block; height: 30px; border-radius: 6px; background: #2f7bff; width: 100%; margin-top: 8px; opacity: .9; }
.dd-cert { left: 24px; right: 24px; bottom: 20px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; background: #0a0a0b; }
.dd-cert b { display: block; font-family: var(--mono); font-size: 22px; color: #fff; }
.dd-cert small { display: block; color: var(--dim); font-size: 12px; margin-top: 4px; }
.dd-stamp { left: 24px; right: 24px; bottom: 20px; border-radius: 12px; padding: 14px 16px; background: linear-gradient(135deg, rgba(47,123,255,.22), rgba(47,123,255,.04)); border: 1px solid rgba(47,123,255,.35); }
.dd-stamp b { display: block; color: #fff; font-size: 15px; }
.dd-stamp small { display: block; color: var(--mut); font-size: 12px; margin-top: 4px; }
.dd-docs { left: 22px; right: 22px; bottom: -20px; height: 140px; border-radius: 10px 10px 0 0; border: 1px solid var(--line-2); background: #0a0a0b; padding: 12px; display: grid; gap: 7px; align-content: start; }
.dd-docs b { font-size: 12px; color: #fff; margin-bottom: 4px; }
.dd-docs u { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); width: 70%; text-decoration: none; }
.dd-docs u.on { background: rgba(47,123,255,.7); width: 55%; }
.dd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: center; padding: 6px; }
.dd-grid i { height: 54px; border-radius: 12px; border: 1px solid var(--line); background: #0a0a0b; display: grid; place-items: center; font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--mut); direction: ltr; }
.dd-grid i:hover { color: #fff; border-color: var(--line-2); }
.nav .cta { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.nav .cta .login { font-size: 14px; color: #d4d4d8; padding-inline: 14px; }
.nav .cta .login:hover { color: #fff; }
.nav .menu { display: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: #0a0a0a; color: #fff; cursor: pointer; place-items: center; }
.nav .menu svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; padding: 110px 0 120px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 50%; top: 0; width: 1000px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47,123,255,.12), transparent 70%); pointer-events: none; }
.hero h1 { position: relative; font-size: clamp(48px, 7.4vw, 84px); line-height: 1.04; }
.hero .sub { font-size: 18px; max-width: 560px; }
.hero .acts { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 34px; }

/* Section rhythm */
.sec { position: relative; padding: 84px 0; }
.sec .head { max-width: 760px; margin: 0 auto; text-align: center; }
.sec .head .acts { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.sec .lhead { max-width: 900px; margin-bottom: 44px; }
.sec .lhead .lead { margin-top: 30px; max-width: 760px; }

/* Integrate: SDK row + editor */
.sdks { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px 20px; margin: 60px auto 44px; max-width: 1000px; }
.sdk { direction: ltr; display: grid; justify-items: center; gap: 10px; font-size: 13px; color: var(--mut); }
.sdk i { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #121214, #0a0a0b); display: grid; place-items: center; font-family: var(--mono); font-style: normal; font-size: 12px; font-weight: 500; color: #e5e5e5; letter-spacing: -.02em; direction: ltr; }
.sdk.on i { border-color: rgba(255,255,255,.4); color: #fff; }
.editor { max-width: 1120px; min-width: 0; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 16px; background: var(--code); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); direction: ltr; text-align: left; }
.ed-top { position: relative; display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.ed-top button { font: inherit; font-family: var(--sans); font-size: 13.5px; color: var(--mut); background: none; border: 1px solid transparent; border-radius: 8px; padding: 7px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ed-top button i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line-2); font-style: normal; font-family: var(--mono); font-size: 8.5px; display: grid; place-items: center; color: #ddd; }
.ed-top button[aria-selected="true"] { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.05); }
.ed-top .copy { margin-left: auto; color: var(--dim); }
.ed-body { display: flex; position: relative; }
.ed-body::after, .ed-top::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 72px; background: linear-gradient(90deg, rgba(11,11,12,0), #0b0b0c 80%); pointer-events: none; opacity: 0; z-index: 2; }
.ln { white-space: pre; padding: 24px 0 24px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #3f3f46; text-align: right; user-select: none; min-width: 36px; }
.editor pre { margin: 0; min-width: 0; padding: 24px 24px 24px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #d4d4d8; overflow-x: auto; white-space: pre; flex: 1; }
.editor .panel[hidden] { display: none; }
.k { color: #c4b5fd; } .s { color: var(--gold); } .n { color: #7dd3fc; } .c { color: #52525b; } .d { color: #6b7280; }

/* Two-card rows */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #0c0c0d, #060607); overflow: hidden; }
.card .art { height: 300px; position: relative; overflow: hidden; background: radial-gradient(60% 80% at 50% 110%, rgba(255,255,255,.05), transparent 70%); }
.card .body { padding: 26px 30px 30px; }
.card .body svg { width: 22px; height: 22px; color: #e4e4e7; margin-bottom: 18px; }
.card h3 { font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.card p { color: var(--mut); font-size: 16px; line-height: 1.6; margin-top: 12px; }
.card .more { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--mut); }
.card .more:hover { color: #fff; }
/* sandbox + webhook mocks */
.mock { position: absolute; inset: 60px 28px 0; direction: ltr; text-align: left; font-family: var(--mono); font-size: 12.5px; color: var(--mut); }
.mock .bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: #0a0a0b; padding: 9px 12px; margin-bottom: 20px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.9); }
.mock .pill { border: 1px solid rgba(52,211,153,.35); color: #34d399; background: rgba(52,211,153,.08); border-radius: 8px; padding: 2px 9px; font-size: 12px; }
.mock .bar .go { margin-left: auto; background: #fff; color: #000; border-radius: 8px; padding: 4px 11px; font-family: var(--sans); font-size: 12px; font-weight: 500; }
.mock .ln2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 2; }
.mock .ln2 b { color: #34d399; font-weight: 500; }
.mock .lines { min-height: 128px; }
.mock .st { color: var(--dim); }
.mock .st.ok { color: #86efac; }
.mock .st.warn { color: #fbbf24; }
.mock .go { transition: transform .18s ease, background .18s ease; }
.mock .bar.press .go { transform: scale(.94); background: #d4d4d8; }
.mock .bar.press { box-shadow: 0 10px 30px -14px rgba(0,0,0,.9), 0 0 0 1px rgba(52,211,153,.25); }
.mock .ln2.in { animation: lnIn .5s cubic-bezier(.2,.7,.2,1) both; }
.mock .ln2.out { animation: lnOut .4s ease both; }
@keyframes lnIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes lnOut { from { opacity: 1; } to { opacity: 0; transform: translateY(6px); } }
.tl.live .ev { opacity: 0; }
.tl.live.play .ev { animation: evIn .55s cubic-bezier(.2,.7,.2,1) both; }
.tl.live.play .ev:nth-child(2) { animation-delay: 1s; }
.tl.live.play .ev:nth-child(3) { animation-delay: 2s; }
.tl.live.play .ev i svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tick .4s ease .3s forwards; }
.tl.live.play .ev:nth-child(2) i svg path { animation-delay: 1.3s; }
.tl.live.play .ev:nth-child(3) i svg path { animation-delay: 2.3s; }
.tl.live.play .ev::before { transform: scaleY(0); transform-origin: top; animation: grow .6s ease .5s forwards; }
.tl.live.play .ev:nth-child(2)::before { animation-delay: 1.5s; }
.tl.live .ev { transition: opacity .5s ease; }
.tl.live.leave .ev { opacity: 0 !important; animation: none; }
@keyframes evIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleY(1); } }
.tl { position: absolute; inset: 30px 28px 0; direction: ltr; text-align: left; }
.tl .ev { position: relative; padding-left: 40px; padding-bottom: 22px; }
.tl .ev::before { content: ''; position: absolute; left: 12px; top: 28px; bottom: -4px; width: 1px; background: var(--line-2); }
.tl .ev:last-child::before { display: none; }
.tl .ev i { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: #0a0a0b; display: grid; place-items: center; }
.tl .ev i svg { width: 12px; height: 12px; color: #fff; }
.tl .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl .tag { font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 8px; border: 1px solid rgba(196,181,253,.35); background: rgba(196,181,253,.08); color: #c4b5fd; }
.tl .when { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tl .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tl .meta span { font-family: var(--mono); font-size: 11.5px; color: var(--mut); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; background: #0a0a0b; }
.tl .meta em { font-style: normal; color: var(--dim); margin-right: 4px; }

/* Designer (Resend's editor) */
.designer { max-width: 1120px; margin: 60px auto 0; border: 1px solid var(--line-2); border-radius: 18px; background: #050506; overflow: hidden; box-shadow: 0 -1px 0 rgba(255,255,255,.08) inset, 0 60px 120px -60px rgba(124,58,237,.35); }
.designer .top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.designer .top .name { text-align: center; color: var(--mut); }
.designer .top .r { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.designer .top .when { color: var(--mut); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.designer .top .when svg { width: 14px; height: 14px; }
.designer .paper { position: relative; padding: 44px 24px 0; display: flex; justify-content: center; background: radial-gradient(70% 50% at 50% 0%, rgba(124,58,237,.14), transparent 70%); }
.designer .paper::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, rgba(5,5,6,0), #050506); pointer-events: none; }
.doc { width: min(760px, 100%); background: #fff; color: #111; border-radius: 12px 12px 0 0; padding: 34px 38px 0; font-size: 13.5px; box-shadow: 0 -20px 60px rgba(0,0,0,.6); min-height: 300px; overflow: hidden; }
.doc .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding-bottom: 22px; border-bottom: 1px solid #e5e5e7; }
.doc .grid span { color: #6b6b72; }
.doc .grid b { font-weight: 500; }
.doc .parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; }
.doc .parties small { display: block; color: #6b6b72; font-size: 11.5px; margin-bottom: 4px; }
.doc .head { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin: 6px 0 22px; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th, .doc td { text-align: start; padding: 9px 0; border-bottom: 1px solid #ececef; }
.doc th { color: #6b6b72; font-weight: 400; font-size: 12px; }
.doc td.num, .doc th.num { text-align: end; font-variant-numeric: tabular-nums; }
.doc .ladder { margin-inline-start: auto; width: 260px; padding-top: 14px; }
.doc .ladder div { display: flex; justify-content: space-between; padding: 6px 0; }
.doc .ladder .tot { border-top: 1px solid #e5e5e7; margin-top: 4px; padding-top: 10px; font-weight: 500; }
.doc .stamp { display: inline-block; font-size: 11px; color: #6b6b72; border: 1px solid #e5e5e7; border-radius: 999px; padding: 2px 9px; margin-inline-start: 8px; vertical-align: 2px; }

/* Beyond: customers + reports */
.aud { position: absolute; inset: 40px 28px 0; border: 1px solid var(--line-2); border-radius: 16px; background: #0a0a0b; padding: 24px; }
.aud .who { display: flex; align-items: center; gap: 18px; }
.aud .ic { width: 68px; height: 68px; border-radius: 16px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 50%, rgba(52,211,153,.35), rgba(52,211,153,.05) 70%), repeating-linear-gradient(0deg, transparent 0 7px, rgba(52,211,153,.18) 7px 8px), repeating-linear-gradient(90deg, transparent 0 7px, rgba(52,211,153,.18) 7px 8px); display: grid; place-items: center; }
.aud .ic svg { width: 30px; height: 30px; color: #86efac; }
.aud small { display: block; color: var(--mut); font-size: 14px; }
.aud .big { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.aud .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.aud .stats small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.aud .stats b { display: block; font-size: 22px; font-weight: 400; margin-top: 8px; font-variant-numeric: tabular-nums; }
.aud .stats svg { width: 100%; height: 26px; margin-top: 10px; }
.rep { position: absolute; inset: 40px 28px 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.rep .box { border: 1px solid var(--line-2); border-radius: 16px; background: #0a0a0b; padding: 22px; position: relative; overflow: hidden; }
.rep .box.g::before { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: radial-gradient(closest-side, rgba(52,211,153,.5), transparent 70%); filter: blur(10px); }
.rep small { display: block; color: var(--mut); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; position: relative; }
.rep .big { font-size: 34px; font-weight: 400; margin: 8px 0 22px; position: relative; letter-spacing: -.01em; }
.rep .row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; position: relative; }
.rep .row i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-inline-end: 10px; }
.rep .row span { color: var(--mut); font-variant-numeric: tabular-nums; }

/* Agent (Resend's React section) */
.ide { max-width: 1120px; margin: 64px auto 0; border: 1px solid var(--line-2); border-radius: 18px; background: #050506; overflow: hidden; direction: ltr; text-align: left; }
.ide .bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ide .bar i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.ide .bar .seg { margin-left: auto; display: flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.ide .bar .seg span { padding: 6px 12px; font-size: 12px; color: var(--mut); }
.ide .bar .seg span.on { background: rgba(255,255,255,.08); color: #fff; }
.ide .cols { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
.ide .files { border-right: 1px solid var(--line); padding: 18px 12px; font-size: 14px; }
.ide .files div { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--mut); }
.ide .files div.on { color: #7dd3fc; }
.ide .files b { width: 18px; height: 18px; border-radius: 4px; background: #1f2937; color: #cbd5e1; font-family: var(--mono); font-size: 8.5px; font-weight: 700; display: grid; place-items: center; }
.ide pre { margin: 0; padding: 22px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #d4d4d8; overflow-x: auto; min-width: 0; border-right: 1px solid var(--line); }
.chat { padding: 26px 24px; display: grid; gap: 14px; align-content: start; direction: rtl; text-align: start; font-size: 14px; background: radial-gradient(70% 60% at 50% 100%, rgba(56,189,248,.14), transparent 70%); }
.chat .me { justify-self: start; background: #1e293b; border-radius: 16px 16px 4px 16px; padding: 10px 14px; max-width: 86%; }
.chat .tool { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); direction: ltr; font-size: 11.5px; color: #7dd3fc; border: 1px solid rgba(125,211,252,.3); border-radius: 999px; padding: 4px 10px; background: rgba(56,189,248,.08); }
.chat .tool i { width: 6px; height: 6px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.chat .ai { justify-self: end; background: #111114; border: 1px solid var(--line-2); border-radius: 16px 16px 16px 4px; padding: 12px 14px; max-width: 90%; }
.chat .ai .file { display: flex; align-items: center; gap: 10px; margin-top: 10px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; }
.chat .ai .file b { width: 28px; height: 34px; border-radius: 4px; background: #fff; color: #000; font-family: var(--mono); font-size: 8px; font-weight: 700; display: grid; place-items: center; }
.chat .ai .file span { color: var(--mut); }

/* Document lab (Resend's React-email window): files, the request, the document it becomes */
.lab { max-width: 1120px; margin: 64px auto 0; border: 1px solid var(--line-2); border-radius: 18px; background: #050506; overflow: hidden; direction: ltr; text-align: left; }
.lab .bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lab .bar i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lab .bar .segs { margin-left: auto; display: flex; gap: 10px; direction: rtl; }
.lab .seg { display: flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #0a0a0b; }
.lab .seg button { font: inherit; font-family: var(--sans); font-size: 12.5px; color: var(--mut); background: none; border: 0; padding: 7px 12px; cursor: pointer; }
.lab .seg button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: #fff; }
.lab .cols { display: grid; grid-template-columns: 180px minmax(0, .7fr) minmax(0, 1.45fr); min-height: 560px; }
.lab .files { border-right: 1px solid var(--line); padding: 18px 12px; font-size: 14px; }
.lab .files button { width: 100%; text-align: left; font: inherit; font-family: var(--sans); display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--mut); background: none; border: 0; cursor: pointer; }
.lab .files button:hover { color: #e4e4e7; }
.lab .files button[aria-current="true"] { color: #7dd3fc; }
.lab .files b { width: 18px; height: 18px; border-radius: 4px; background: #1f2937; color: #cbd5e1; font-family: var(--mono); font-size: 8.5px; font-weight: 700; display: grid; place-items: center; flex: none; }
.lab .code { display: flex; border-right: 1px solid var(--line); min-width: 0; position: relative; }
.lab .code::after, .lab .chips::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 64px; background: linear-gradient(90deg, rgba(5,5,6,0), #050506 80%); pointer-events: none; }
.lab .chips { position: relative; }
.lab .code .ln { padding: 22px 0 22px 16px; font-size: 12.5px; }
.lab .code pre { margin: 0; padding: 22px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #d4d4d8; overflow-x: auto; min-width: 0; flex: 1; white-space: pre; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.lab .stage { padding: 30px 22px; display: block; position: relative; background: radial-gradient(70% 50% at 50% 0%, rgba(47,123,255,.12), transparent 70%); }
.paper { --acc: #2F7BFF; --s: .6; cursor: zoom-in; direction: rtl; text-align: start; width: 100%; max-width: 397px; margin: 0 auto; aspect-ratio: 210 / 297; background: #fff; color: #1B2620; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); position: relative; overflow: hidden; transition: opacity .25s ease, transform .25s ease; }
.paper.swap { opacity: 0; transform: translateY(8px); }
/* the sheet is a real A4 at 96dpi with the templates' own sizes, scaled to the column */
.paper .sheet { position: absolute; top: 0; right: 0; width: 794px; height: 1123px; transform: scale(var(--s)); transform-origin: top right; font-family: 'Assistant', 'Heebo', sans-serif; font-size: 12px; line-height: 1.5; color: #1B2620; }
.paper .p-num { display: inline-block; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; white-space: nowrap; }
.paper .rub { font-family: 'Rubik', 'Assistant', sans-serif; font-weight: 300; color: #000; }
/* classic (packages/books/src/pdf/template.js) */
.paper.cls .sheet { padding: 34px 38px 170px; }
.paper.cls .p-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.paper.cls .p-biz { flex: 1; }
.paper.cls .p-name { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.paper.cls .p-tag { color: #46514B; font-size: 13px; font-weight: 600; margin-top: 1px; }
.paper.cls .p-info { margin-top: 12px; }
.paper.cls .p-inforow { font-size: 14px; margin: 2px 0; }
.paper.cls .p-logo { width: 168px; height: 132px; object-fit: contain; object-position: left center; flex: none; }
.paper.cls .p-band { height: 2px; background: #E8ECE9; border-radius: 1px; margin: 18px 0; }
.paper.cls .p-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 4px; }
.paper.cls .p-to { font-size: 14px; max-width: 34%; }
.paper.cls .p-to .p-sub { font-size: 12.5px; margin-top: 2px; }
.paper.cls .p-doc { text-align: center; }
.paper.cls .p-doc .p-t { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.paper.cls .p-doc .p-variant { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: #46514B; }
.paper.cls .p-dates { text-align: left; font-size: 14px; line-height: 1.6; min-width: 90px; }
.paper.cls .p-sect-title { font-size: 24px; font-weight: 800; margin: 16px 0 0; }
.paper.cls .p-tablewrap { border: 1px solid #1B2620; margin-top: 16px; }
.paper.cls table { width: 100%; border-collapse: collapse; font-family: 'Rubik', 'Assistant', sans-serif; }
.paper.cls thead th { background: var(--acc); color: #fff; font-size: 15px; font-weight: 400; padding: 10px 16px; text-align: center; }
.paper.cls thead th.p-desc { text-align: right; }
.paper.cls thead th.p-amt { text-align: left; }
.paper.cls tbody td { padding: 13px 16px; font-size: 16px; font-weight: 300; color: #000; vertical-align: middle; }
.paper.cls tbody tr:nth-child(odd) td { background: #F2F3F2; }
.paper.cls td.p-c { text-align: center; white-space: nowrap; }
.paper.cls td.p-desc { text-align: right; }
.paper.cls td.p-amt { text-align: left; }
.paper.cls tbody tr.p-total td { background: #fff; }
.paper.cls tbody tr.p-total td.p-tlabel { text-align: right; }
.paper.cls tbody tr.p-total.p-grand td { font-weight: 600; }
.paper.cls tbody tr.p-total.p-first td { border-top: .5px solid #1B2620; }
.paper.cls .p-footer { position: absolute; right: 38px; left: 38px; bottom: 20px; font-size: 10px; color: #6b756f; }
.paper.cls .p-footer .p-cols { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; border-top: 1px solid #EDEFEE; padding-top: 12px; }
.paper.cls .p-certify { text-align: right; }
.paper.cls .p-certify .p-big { color: #1B2620; font-size: 12.5px; font-weight: 800; }
.paper.cls .p-certify .p-small { margin-top: 2px; font-size: 10.5px; }
.paper.cls .p-stamp { width: 82px; height: 82px; overflow: visible; opacity: .9; justify-self: center; }
.paper.cls .p-pages { text-align: left; line-height: 1.6; color: #000; font-size: 12px; font-family: 'Rubik', 'Assistant', sans-serif; }
.paper.cls .p-pages .p-l1 { font-weight: 700; font-size: 13px; white-space: nowrap; }
.paper.cls .p-pages .p-l2 { font-weight: 300; }
.paper.cls .p-endmark { text-align: center; color: #A7AFAA; margin-top: 8px; font-size: 9.5px; }
/* minimal (packages/books/src/pdf/templateStripe.js) */
.paper.min .sheet { padding: 46px 48px 130px; color: #1a1a1a; line-height: 1.45; font-variant-numeric: tabular-nums; }
.paper.min a { color: var(--acc); text-decoration: underline; }
.paper.min .p-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.paper.min .p-title { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -.3px; line-height: 1.15; }
.paper.min .p-badge { font-size: 11px; font-weight: 700; color: #545969; background: #ebeef1; border-radius: 4px; padding: 2px 8px; line-height: 1.3; letter-spacing: 0; }
.paper.min .p-logo { height: 44px; width: auto; max-width: 150px; object-fit: contain; flex: none; }
.paper.min .p-meta { margin-top: 18px; display: grid; grid-template-columns: max-content 1fr; column-gap: 22px; row-gap: 3px; font-size: 11.5px; }
.paper.min .p-meta .p-k { font-weight: 700; }
.paper.min .p-parties { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; font-size: 11.5px; line-height: 1.55; }
.paper.min .p-party .p-h { font-weight: 700; }
.paper.min .p-party .p-tag { color: #687385; }
.paper.min .p-headline { margin-top: 32px; font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.paper.min table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 11.5px; }
.paper.min th { font-size: 10.5px; font-weight: 700; color: #1a1a1a; text-align: right; padding: 0 0 7px; border-bottom: 1px solid #30313d; }
.paper.min td { padding: 9px 0; border-bottom: 1px solid #e3e8ee; vertical-align: top; }
.paper.min .p-n { text-align: left; white-space: nowrap; width: 104px; padding-inline-start: 14px; }
.paper.min .p-qty { width: 58px; }
.paper.min .p-desc { text-align: right; }
.paper.min .p-totals { width: 50%; margin-inline-start: auto; padding-top: 8px; font-size: 11.5px; }
.paper.min .p-trow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.paper.min .p-trow + .p-trow { border-top: 1px solid #e3e8ee; }
.paper.min .p-trow.p-grand { font-weight: 700; }
.paper.min .p-footer { position: absolute; right: 48px; left: 48px; bottom: 26px; font-size: 9.5px; color: #687385; line-height: 1.5; }
.paper.min .p-footer .p-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.paper.min .p-footer .p-row.p-first { border-top: 1px solid #e3e8ee; padding-top: 10px; }
.paper.min .p-endmark { text-align: center; margin-top: 8px; color: #a7afaa; font-size: 8.5px; }
/* the email, as the customer's mail client shows it (packages/server/email.js documentShell) */
.paper.mail { aspect-ratio: auto; padding: 0; background: #fff; max-width: 470px; cursor: default; }
.paper.mail .p-mailhead { padding: 16px 20px 12px; border-bottom: 1px solid #ebeef1; font-size: 10.5px; color: #30313d; display: grid; gap: 4px; }
.paper.mail .p-mailhead > div > span:first-child { display: inline-block; width: 34px; color: #87909f; }
.paper.mail .p-mailhead b { font-weight: 600; }
.paper.mail .p-mailhead .p-num { display: inline-block; }
.paper.mail .p-mailbody { background: #f4f5f4; padding: 24px 14px 18px; text-align: center; color: #16241c; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
.paper.mail .p-mailcard { background: #fff; border-radius: 16px; border: 1px solid #e8eae8; padding: 28px 24px; max-width: 420px; margin: 0 auto; }
.paper.mail .p-maillogo { display: block; width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 14px; }
.paper.mail h1 { font-size: 18px; font-weight: 800; margin: 14px 0 0; letter-spacing: -.3px; color: #16241c; }
.paper.mail .p-hr { height: 1px; background: #ececec; margin: 18px 0; }
.paper.mail .p-greet { font-size: 13px; line-height: 1.8; margin: 0 0 18px; color: #16241c; }
.paper.mail .p-mailbtn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 13px; padding: 11px 32px; border-radius: 999px; background: #16241c; color: #fff; }
.paper.mail .p-alt { font-size: 11px; color: #727f79; margin: 12px 0 0; }
.paper.mail .p-alt a { color: #1F6B4A; font-weight: 700; }
.paper.mail .p-legal { font-size: 10px; color: #9aa5a0; line-height: 1.8; margin: 0; text-align: start; }
.paper.mail .p-mailfoot { color: #9aa5a0; font-size: 10.5px; line-height: 1.7; margin: 16px 0 0; }
.paper.mail .p-mailmeta { margin: 14px 8px 12px; font-size: 10px; color: #87909f; text-align: center; }
.lab .seg.off { opacity: .35; pointer-events: none; }
/* the color swatches */
.lab .seg.colors { align-items: center; padding: 0 6px; gap: 6px; }
.lab .seg.colors button { width: 26px; height: 26px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: none; }
.lab .seg.colors button i { width: 14px; height: 14px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.lab .seg.colors button[aria-pressed="true"] { background: rgba(255,255,255,.1); }
.lab .seg.colors button[aria-pressed="true"] i { box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(255,255,255,.7); }
.lab .seg.colors label { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--mut); }
.lab .seg.colors label svg { width: 14px; height: 14px; }
.lab .seg.colors input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lab .chips { position: relative; }
.lab .code .ln { padding: 22px 0 22px 16px; font-size: 12.5px; }
.lab .code pre { margin: 0; padding: 22px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #d4d4d8; overflow-x: auto; min-width: 0; flex: 1; white-space: pre; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.lab .stage { padding: 30px 22px; display: block; position: relative; background: radial-gradient(70% 50% at 50% 0%, rgba(47,123,255,.12), transparent 70%); }
.lab .chips { display: none; gap: 8px; padding: 12px 14px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.lab .chips button { font: inherit; font-family: var(--mono); font-size: 11.5px; color: var(--mut); background: #0a0a0b; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.lab .chips button[aria-current="true"] { color: #7dd3fc; border-color: rgba(125,211,252,.4); }

/* Compliance grid (Resend's deliverability grid) */
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 44px; margin-top: 70px; }
.f svg { width: 26px; height: 26px; color: #e4e4e7; margin-bottom: 20px; }
.f h3 { font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.f p { color: var(--mut); font-size: 16px; line-height: 1.6; margin-top: 10px; }
.f a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }

/* The statement (Resend's quote) */
.quote { text-align: center; padding: 90px 0; position: relative; overflow: hidden; }
.quote::before { content: ''; position: absolute; left: 50%; top: 0; width: 800px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent 70%); pointer-events: none; }
.quote .mark { position: relative; width: 130px; height: 130px; margin: 0 auto 60px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #1a1a1c, #050506 70%); box-shadow: 0 0 80px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.06); display: grid; place-items: center; }
.quote .mark img { width: 60px; height: 60px; border-radius: 16px; }
.quote p { position: relative; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; max-width: 780px; margin: 0 auto; font-weight: 400; letter-spacing: -.01em; }
.quote .who { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; font-size: 16px; text-align: start; }
.quote .who i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #111; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 12px; }
.quote .who small { display: block; color: var(--mut); font-size: 14px; }
.quote .acts { margin-top: 60px; }

/* Control (Resend's dashboard) */
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 60px auto 40px; }
.pill3 { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: #050506; padding: 18px 22px; font-size: 18px; position: relative; overflow: hidden; }
.pill3 i { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; background: #0a0a0b; }
.pill3 i svg { width: 20px; height: 20px; color: #86efac; }
.pill3::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(52,211,153,.6), transparent); opacity: 0; transition: opacity .6s ease; }
.pill3.on::after { opacity: 1; }
.dash { border: 1px solid var(--line-2); border-radius: 18px; background: #050506; overflow: hidden; display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 520px; box-shadow: 0 60px 120px -60px rgba(0,0,0,.9); }
.dash .side { border-inline-end: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; font-size: 15px; }
.dash .side .biz { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 22px; }
.dash .side .biz img { width: 22px; height: 22px; border-radius: 6px; }
.dash .side .biz em { font-style: normal; font-size: 11px; color: var(--mut); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.dash .side nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--mut); }
.dash .side nav a.on { background: rgba(255,255,255,.06); color: #fff; }
.dash .side nav svg { width: 16px; height: 16px; }
.dash .side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--mut); font-size: 13px; }
.dash .side .me i { width: 24px; height: 24px; border-radius: 50%; background: #1f2937; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; }
.dash .main { padding: 24px 34px 34px; }
.dash .main .tb { display: flex; justify-content: flex-end; gap: 22px; font-size: 13.5px; color: var(--mut); margin-bottom: 26px; }
.dash .main .tb .fb { border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px; }
.dash .main h4 { font-size: 26px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 26px; }
.dash .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dash .kpi { border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 22px; }
.dash .kpi small { display: block; color: var(--mut); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.dash .kpi .v { font-size: 30px; font-weight: 400; margin: 8px 0 22px; letter-spacing: -.01em; }
.dash .kpi .row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dash .kpi .row i { width: 7px; height: 7px; border-radius: 50%; }
.dash .kpi .row span { margin-inline-start: auto; color: var(--mut); font-variant-numeric: tabular-nums; }
.dash .kpi .row b { font-weight: 400; margin-inline-start: 10px; }
.dash .chart { margin-top: 20px; border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 22px 0; }
.dash .chart small { display: block; color: var(--mut); font-size: 11px; letter-spacing: .06em; }
.dash .chart .v { font-size: 30px; font-weight: 400; margin: 8px 0 16px; }
.dash .chart svg { width: 100%; height: 150px; display: block; }

/* Close */
.close { text-align: center; padding: 120px 0 100px; }
.close h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 8vw, 104px); line-height: 1.02; letter-spacing: -.02em; }
.close .acts { margin-top: 46px; }

/* Footer */
footer { position: relative; overflow: hidden; padding-top: 40px; }
.wordmark { --mx: 50%; --my: 40%; position: relative; font-weight: 500; font-size: clamp(120px, 25vw, 360px); line-height: .78; letter-spacing: -.045em; text-align: center; user-select: none; direction: ltr; height: .62em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.wordmark span { position: absolute; left: 0; right: 0; top: 0; }
.wordmark .base { position: relative; display: block; color: #17171b; }
.wordmark .fill { color: transparent; background: radial-gradient(440px circle at var(--mx) var(--my), rgba(255,255,255,.2), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.wordmark .edge { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.8); -webkit-mask-image: radial-gradient(360px circle at var(--mx) var(--my), #000, transparent 72%); mask-image: radial-gradient(360px circle at var(--mx) var(--my), #000, transparent 72%); }
.wordmark .lamp { position: absolute; left: var(--mx); top: var(--my); width: 760px; height: 760px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent 70%); pointer-events: none; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 24px; font-size: 15px; padding: 60px 0 40px; }
.foot h4 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 22px; }
.foot ul { list-style: none; display: grid; gap: 14px; color: var(--mut); }
.foot a:hover { color: #fff; }
.foot .addr { color: var(--mut); font-size: 14px; line-height: 1.6; }
.foot .soc { display: flex; gap: 10px; margin: 26px 0; }
.foot .soc a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: #d4d4d8; }
.foot .soc a:hover { border-color: rgba(255,255,255,.4); }
.foot .soc svg { width: 18px; height: 18px; }
.status { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 14px; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.status.off i { background: #71717a; box-shadow: none; }
.legal .domains { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

@media (max-width: 960px) {
  .links { display: none; }
  .nav .menu { display: grid; }
  .nav.open .links { display: grid; position: absolute; top: 72px; left: 0; right: 0; gap: 0; padding: 8px 16px 14px; background: rgba(0,0,0,.94); border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open .links a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav.open .links a:last-child { border-bottom: 0; }
  .nav.open .links svg { display: none; }
  .dd { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .hero { padding: 72px 0 80px; }
  .sec { padding: 60px 0; }
  .quote { padding: 70px 0; }
  .close { padding: 90px 0 70px; }
  .sec .lhead { margin-bottom: 30px; }
  .duo, .pills { grid-template-columns: 1fr; }
  .grid9 { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
  .ide .cols { grid-template-columns: 1fr; }
  .ide .files { display: none; }
  .lab .cols { grid-template-columns: 1fr; }
  .lab .files { display: none; }
  .lab .chips { display: flex; }
  .lab .code { border-right: 0; border-bottom: 1px solid var(--line); }
  .lab .stage { padding: 26px 16px 0; }
  .lab .bar { flex-wrap: wrap; row-gap: 10px; }
  .lab .bar .segs { width: 100%; margin-left: 0; justify-content: flex-end; flex-wrap: wrap; }
  .lab .code pre, .lab .code .ln { font-size: 11.5px; }
  .paper.min .grid { grid-template-columns: 1fr; }
  .paper.min .grid b, .paper.cls .meta span { white-space: nowrap; }
  .paper.cls .meta { flex-direction: column; gap: 2px; }
  .lab .bar .segs { gap: 6px; }
  .lab .seg button { padding: 6px 9px; font-size: 11.5px; }
  .ide pre { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash { grid-template-columns: 1fr; }
  .dash .side { display: none; }
  .dash .kpis { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .card .art { height: 280px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 44px; }
  .editor pre, .ln { font-size: 11.5px; }
  .ed-body::after, .ed-top::after { opacity: 1; }
  .ed-top { padding-right: 60px; }
  .ide pre { font-size: 11px; }
  .obj.hero { width: 190px; height: 190px; }
  .nav .cta .login { display: none; }
  .grid9 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
  .mock, .tl { inset: 20px 16px 0; }
  .aud, .rep { inset: 20px 16px 0; }
  .rep { grid-template-columns: 1fr; gap: 12px; }
  .rep .box { padding: 16px 18px; }
  .rep .big { font-size: 26px; margin-bottom: 12px; }
  .card .art { height: auto; }
  .mock, .tl, .aud, .rep { position: relative; inset: auto; margin: 22px 16px 18px; }
  .mock { font-size: 11px; }
  .aud { padding: 18px; }
  .aud .stats { margin-top: 20px; }
  .hero { padding-bottom: 60px; }
  .obj { width: 160px; height: 160px; }
  .doc { padding: 24px 20px 0; }
  .doc .parties, .doc .grid { grid-template-columns: 1fr; }
  .designer .top { grid-template-columns: 1fr; }
  .designer .top .name { text-align: start; }
}

/* ── Subpages: the shared components every feature/company page is built from ── */
.phero { position: relative; padding: 90px 0 76px; text-align: center; overflow: hidden; }
.phero::before { content: ''; position: absolute; left: 50%; top: 0; width: 1000px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow, rgba(47,123,255,.12)), transparent 70%); pointer-events: none; }
.phero .crumb { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 26px; }
.phero .crumb a:hover { color: #fff; }
.phero h1 { position: relative; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.05; }
.phero h1 i { font-style: italic; font-family: var(--serif); font-weight: 300; letter-spacing: 0; }
.phero .sub { position: relative; font-size: 18px; max-width: 640px; }
.phero .acts { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.phero .obj { margin-bottom: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split .txt h2 { text-align: start; font-size: clamp(30px, 3.8vw, 46px); }
.split .txt p { color: var(--mut); font-size: 16.5px; line-height: 1.6; margin-top: 14px; max-width: 48ch; }
.split .txt ul { list-style: none; display: grid; gap: 10px; margin-top: 20px; color: var(--mut); font-size: 15.5px; }
.split .txt li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #34d399; margin-inline-end: 12px; vertical-align: 2px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; margin-top: 56px; }
.feats svg { width: 22px; height: 22px; color: #e4e4e7; margin-bottom: 14px; }
.feats h3 { font-size: 18px; font-weight: 500; }
.feats p { color: var(--mut); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.codecard { direction: ltr; text-align: left; border: 1px solid var(--line-2); border-radius: 14px; background: var(--code); overflow: hidden; min-width: 0; }
.codecard .cc-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mut); }
.codecard .cc-top i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; display: inline-block; }
.codecard .cc-top .cp { margin-left: auto; font: inherit; color: var(--dim); background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.codecard .cc-top .cp:hover { color: #fff; }
.codecard pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #d4d4d8; overflow-x: auto; white-space: pre; }
.codecard .tabs { display: flex; gap: 4px; }
.codecard .tabs button { white-space: nowrap; font: inherit; font-size: 12px; color: var(--mut); background: none; border: 1px solid transparent; border-radius: 7px; padding: 4px 10px; cursor: pointer; }
.codecard .tabs button[aria-selected="true"] { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.05); }
.codecard pre[hidden] { display: none; }
.steps { display: grid; gap: 26px; margin-top: 50px; max-width: 860px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.step .stepn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: #fff; background: #0a0a0b; }
.step h3 { font-size: 20px; font-weight: 500; padding-top: 7px; }
.step p { color: var(--mut); margin-top: 6px; font-size: 15.5px; line-height: 1.6; }
.step .codecard { margin-top: 14px; }
.faq { max-width: 760px; margin: 50px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--mut); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq p { color: var(--mut); padding: 0 0 20px; font-size: 15.5px; line-height: 1.65; max-width: 64ch; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 56px auto 0; }
.plan { border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; background: #050506; }
.plan.hi { border-color: rgba(47,123,255,.5); box-shadow: 0 0 90px -30px rgba(47,123,255,.6); }
.plan h3 { font-size: 16px; font-weight: 500; color: var(--mut); }
.plan .price { font-size: 46px; font-weight: 300; letter-spacing: -.02em; margin: 10px 0 4px; }
.plan .price small { font-size: 15px; color: var(--mut); letter-spacing: 0; margin-inline-start: 6px; }
.plan .note { color: var(--mut); font-size: 14px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 24px 0 28px; color: #d4d4d8; font-size: 15px; }
.plan li::before { content: '✓'; color: #34d399; margin-inline-end: 10px; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 50px; font-size: 15px; }
.tbl th, .tbl td { text-align: start; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--mut); font-weight: 400; font-size: 13px; letter-spacing: .04em; }
.tbl td:first-child { color: #fff; font-weight: 500; white-space: nowrap; }
.tbl td { color: var(--mut); line-height: 1.6; overflow-wrap: anywhere; }
.story { max-width: 560px; margin: 0 auto; text-align: center; }
.story h2 { font-family: var(--sans); font-weight: 400; font-size: 20px; letter-spacing: 0; margin-bottom: 26px; }
.story p { color: var(--mut); font-size: 16px; line-height: 1.75; margin-bottom: 18px; text-align: start; }
.story b { font-weight: 400; color: #fff; }
.tblwrap { overflow-x: auto; }
.term { direction: ltr; text-align: left; unicode-bidi: isolate; font-family: var(--mono); font-size: 13px; line-height: 1.85; color: #d4d4d8; padding: 18px 20px; min-height: 300px; white-space: pre-wrap; overflow-wrap: anywhere; }
.term .p { color: var(--dim); }
.term .o { color: var(--mut); }
.term .g { color: #34d399; }
.term .cur { display: inline-block; width: 8px; height: 15px; background: #fff; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.value { border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; background: linear-gradient(180deg, #0a0a0b, #050506); }
.value h3 { font-size: 20px; font-weight: 500; }
.value p { color: var(--mut); margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
.people { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.person { display: flex; align-items: center; gap: 12px; }
.person i { width: 44px; height: 44px; border-radius: 50%; background: #1f2937; display: grid; place-items: center; font-style: normal; font-weight: 500; }
.person small { display: block; color: var(--mut); }
.form { display: grid; gap: 14px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--mut); }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; color: #fff; background: #0a0a0b; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; outline: none; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: rgba(255,255,255,.35); }
.form textarea { min-height: 110px; resize: vertical; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.trio .card { padding: 26px 28px; }
.trio .card h3 { font-size: 20px; font-weight: 500; }
.trio .card p { color: var(--mut); margin-top: 10px; font-size: 15px; line-height: 1.6; }
.trio .card .big { font-size: 40px; font-weight: 300; letter-spacing: -.02em; margin-bottom: 8px; }
/* documents page: the log */
.logs { border: 1px solid var(--line-2); border-radius: 16px; background: #050506; overflow: hidden; direction: ltr; text-align: left; font-family: var(--mono); font-size: 12.5px; }
.logs .row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 60px 60px; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mut); align-items: center; cursor: pointer; }
.logs .row:hover, .logs .row.on { background: rgba(255,255,255,.04); color: #fff; }
.logs .row .m { color: #c4b5fd; }
.logs .row .pth { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logs .row .st { text-align: right; }
.logs .row .st.ok { color: #34d399; } .logs .row .st.bad { color: #f87171; }
.logs .row.in { animation: lnIn .5s ease both; }
.logs .detail { padding: 16px; color: #d4d4d8; background: #0b0b0c; border-top: 1px solid var(--line); white-space: pre-wrap; line-height: 1.7; }
/* webhooks page: the deliveries */
.dlv { border: 1px solid var(--line-2); border-radius: 16px; background: #050506; overflow: hidden; direction: ltr; text-align: left; font-family: var(--mono); font-size: 12.5px; }
.dlv .row { display: grid; grid-template-columns: 1fr 90px 70px 70px; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mut); align-items: center; }
.dlv .row.in { animation: lnIn .5s ease both; }
.dlv .ev { color: #c4b5fd; }
.dlv .ok { color: #34d399; } .dlv .retry { color: #fbbf24; } .dlv .fail { color: #f87171; }
.dlv .att { color: var(--dim); }
.evcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.evcard { border: 1px solid var(--line-2); border-radius: 14px; background: #0a0a0b; padding: 16px 18px; direction: ltr; text-align: left; }
.evcard b { display: block; font-family: var(--mono); font-size: 13px; color: #c4b5fd; }
.evcard span { display: block; color: var(--mut); font-size: 13px; margin-top: 6px; font-family: var(--sans); direction: rtl; text-align: right; }
/* expenses page: the receipt and its fields */
.ocr { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.rcpt { background: #fff; color: #222; border-radius: 6px; padding: 18px 16px; font-family: var(--mono); font-size: 11px; line-height: 1.6; transform: rotate(-2deg); box-shadow: 0 30px 60px rgba(0,0,0,.6); position: relative; overflow: hidden; }
.rcpt::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, transparent, rgba(47,123,255,.35), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { top: -40%; } 60% { top: 110%; } 100% { top: 110%; } }
.rcpt .c { text-align: center; font-weight: 700; }
.rcpt .r { display: flex; justify-content: space-between; }
.rcpt .tot { border-top: 1px dashed #999; margin-top: 6px; padding-top: 6px; font-weight: 700; }
.fields { display: grid; gap: 10px; }
.field2 { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; background: #0a0a0b; font-size: 14px; }
.field2 span { color: var(--mut); }
.field2 b { font-weight: 400; font-family: var(--mono); direction: ltr; text-align: left; min-height: 1.2em; }
.field2 b.he { font-family: var(--sans); direction: rtl; text-align: right; }
.field2 em { font-style: normal; font-size: 11px; color: #34d399; border: 1px solid rgba(52,211,153,.35); border-radius: 6px; padding: 1px 7px; justify-self: start; }
/* sandbox page: the two keys */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; max-width: 560px; margin: 0 auto 26px; }
.modes button { direction: ltr; unicode-bidi: isolate; font: inherit; font-family: var(--mono); font-size: 14px; padding: 12px; background: #0a0a0b; color: var(--mut); border: 0; cursor: pointer; }
.modes button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: #fff; }
.modes button.live[aria-pressed="true"] { color: #34d399; }
.modes button.test[aria-pressed="true"] { color: #fbbf24; }
.wm-demo { position: relative; }
.wm-demo .stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 54px; font-weight: 800; color: rgba(19,78,140,.28); transform: rotate(-24deg); letter-spacing: .2em; transition: opacity .3s ease; }
.wm-demo.live .stamp { opacity: 0; }
/* mcp page: prompts + tools */
.prompts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; max-width: 900px; margin-inline: auto; }
.prompt { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-size: 14.5px; color: var(--mut); background: #0a0a0b; transition: color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.prompt.on { color: #fff; border-color: rgba(56,189,248,.6); box-shadow: 0 0 30px -10px rgba(56,189,248,.8); }
.tools9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tool { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #0a0a0b; }
.tool b { display: block; font-family: var(--mono); font-size: 13px; color: #7dd3fc; direction: ltr; text-align: left; }
.tool span { display: block; color: var(--mut); font-size: 14px; margin-top: 8px; line-height: 1.55; }
/* cli page: commands */
.cmds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 44px; }
.cmd { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #0a0a0b; display: grid; gap: 6px; }
.cmd b { font-family: var(--mono); font-size: 13px; color: #fff; direction: ltr; text-align: left; font-weight: 500; }
.cmd span { color: var(--mut); font-size: 14px; }
.install { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #0a0a0b; padding: 12px 18px; font-family: var(--mono); font-size: 15px; direction: ltr; margin-top: 26px; position: relative; }
.install .cp { font: inherit; font-size: 12px; color: var(--dim); background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; cursor: pointer; font-family: var(--sans); }
.install .cp:hover { color: #fff; }
/* compliance page */
.cert { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; border: 1px solid var(--line-2); border-radius: 20px; padding: 34px; background: radial-gradient(80% 100% at 100% 0%, rgba(47,123,255,.12), transparent 60%), #050506; margin-top: 50px; }
.cert .num { font-family: var(--mono); font-size: clamp(40px, 6vw, 72px); color: #fff; letter-spacing: -.02em; direction: ltr; text-align: end; }
.cert p { color: var(--mut); margin-top: 8px; }
@media (max-width: 960px) {
  .split, .feats, .plans, .values, .trio, .tools9, .cmds, .evcards, .cert, .ocr { grid-template-columns: 1fr; }
  .split .txt h2 { text-align: start; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .rcpt { transform: none; max-width: 300px; }
  .logs .row { grid-template-columns: 50px minmax(0, 1fr) 50px; } .logs .row .t { display: none; }
  .codecard pre { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .codecard .cc-top { flex-wrap: wrap; overflow-x: auto; }
  .wm-demo .stamp { font-size: 34px; }
  .tbl thead { display: none; }
  .tbl tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl td { display: block; padding: 4px 0; border: 0; white-space: normal; }
  .tbl td:first-child { font-size: 16px; margin-bottom: 4px; }
  .dlv .row { grid-template-columns: 1fr 70px 60px; } .dlv .row .att { display: none; }
}
