/* qaqm.uz — "the workshop drawing": birch paper, ink, saw-cut red, navy for the app screenshots. */
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url(/fonts/unbounded-latin-600-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: "Unbounded"; font-weight: 600; font-display: swap; src: url(/fonts/unbounded-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, 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: "Unbounded"; font-weight: 600; font-display: swap; src: url(/fonts/unbounded-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-latin-700-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: "Unbounded"; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, 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: "Unbounded"; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-400-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: "Onest"; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, 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: "Onest"; font-weight: 400; font-display: swap; src: url(/fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url(/fonts/onest-latin-500-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: "Onest"; font-weight: 500; font-display: swap; src: url(/fonts/onest-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, 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: "Onest"; font-weight: 500; font-display: swap; src: url(/fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-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: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, 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: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-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: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --paper: #F3EEE4; --paper-2: #E9E1D2; --board: #E9D5B0; --ink: #16191E; --ink-2: #4A4F57; --rule: #C9BFAE;
  --night: #1F2733; --night-2: #2A3341; --night-ink: #C7CEDA; --cut: #D23A22; --cut-dark: #B22F1A; --select: #5B9BD5; --ok: #3F7D4E;
  --display: "Unbounded", "Arial Black", sans-serif; --body: "Onest", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1280px; --gut: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
picture img { width: 100%; }
.kitchens > *, .docs > *, .steps > *, .labels > *, .plans > *, .hero > *, .quote > *, .ai > * { min-width: 0; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.1; overflow-wrap: break-word; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .08em; margin-bottom: 32px; display: block; }
.kicker.red { color: var(--cut); }
.on-night .kicker { color: var(--select); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--select); outline-offset: 2px; }

/* Buttons: sharp, a hard ink offset on hover like a stacked board. */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--ink); transition: transform .12s, box-shadow .12s; cursor: pointer; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.btn-red { background: var(--cut); border-color: var(--cut); color: #fff; }
.btn-red:hover { background: var(--cut-dark); }
.btn-line { background: transparent; color: var(--ink); }
.btn-white { background: #fff; color: var(--cut); border-color: #fff; }
.btn-white:hover { box-shadow: 3px 3px 0 var(--ink); }
.btn-sm { padding: 12px 18px; font-size: 11px; }
.chip { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--rule); padding: 7px 9px; display: inline-block; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font: 700 20px/1 var(--display); letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--cut); }
.top-right { display: flex; align-items: center; gap: 20px; }
.langs { font: 500 12px/1 var(--mono); letter-spacing: .08em; display: flex; gap: 6px; color: var(--ink-2); }
.langs a { text-decoration: none; opacity: .5; }
.langs a:hover { opacity: 1; color: var(--cut); }
.langs [aria-current] { opacity: 1; color: var(--ink); font-weight: 500; }
.burger { display: none; background: none; border: 1.5px solid var(--ink); width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; }

/* Hero */
.hero { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding-top: 88px; padding-bottom: 112px; align-items: start; }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); margin-bottom: 32px; }
.hero .sub { font-size: 20px; color: var(--ink-2); max-width: 34em; margin-bottom: 40px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.shot { display: flex; gap: 16px; margin-top: 8px; }
.dim-v { width: 24px; flex: none; position: relative; border-left: 1px solid var(--ink-2); margin: 28px 0 0 11px; }
.dim-v::before, .dim-v::after { content: ""; position: absolute; left: -6px; width: 11px; border-top: 1px solid var(--ink-2); transform: rotate(-45deg); }
.dim-v::before { top: 0; } .dim-v::after { bottom: 0; }
.dim-v span { position: absolute; top: 50%; left: -12px; transform: translate(-50%, -50%) rotate(-90deg); font: 500 11px/1 var(--mono); background: var(--paper); padding: 0 6px; white-space: nowrap; }
.frame { background: var(--night); border: 1px solid var(--ink); padding: 0 8px 8px; box-shadow: 10px 10px 0 var(--paper-2); }
.frame-bar { display: flex; align-items: center; justify-content: space-between; height: 28px; font: 400 11px/1 var(--mono); color: var(--night-ink); opacity: .8; padding: 0 4px; }
.frame-bar i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4A5568; margin-right: 5px; }
.dim-h { display: flex; align-items: center; gap: 12px; margin-top: 18px; font: 500 12px/1 var(--mono); }
.dim-h::before, .dim-h::after { content: ""; flex: 1; height: 9px; border: solid var(--ink-2); border-width: 0 1px; background: linear-gradient(var(--ink-2), var(--ink-2)) center / 100% 1px no-repeat; }
.dim-h::after { flex: 0 0 48px; }

/* Cutting-map divider: parts on a sheet, red kerf lines. */
.sheet { display: grid; grid-template-columns: 2.1fr 1fr 1.4fr .7fr 1.6fr; gap: 1px; background: var(--cut); border-block: 1px solid var(--cut); }
.sheet div { background: var(--paper); height: 44px; display: grid; place-items: center; font: 400 10px/1.2 var(--mono); color: var(--ink-2); text-align: center; }
.sheet div:nth-child(4) { background: repeating-linear-gradient(45deg, var(--paper) 0 6px, #f0d8cf 6px 7px); }

section { position: relative; }
.pad { padding-top: 128px; padding-bottom: 128px; }
.band { background: var(--paper-2); border-block: 1px solid var(--rule); }
.on-night { background: var(--night); color: #fff; }
.h2 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 24px; max-width: 18em; }
.lede { color: var(--ink-2); max-width: 40em; }

/* 02 problem */
.problem { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.vs > div { padding: 32px; }
.vs > div + div { border-left: 1px solid var(--ink); background: #fff; }
.vs h3 { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.vs p { color: var(--ink-2); }
.mark { width: 22px; height: 22px; display: inline-grid; place-items: center; border: 1px solid currentColor; font-size: 13px; }
.mark.no { color: var(--cut); } .mark.yes { color: var(--ok); }

/* 03 steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step { display: flex; flex-direction: column; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.balloon { width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 500 16px/1 var(--mono); flex: none; background: var(--paper); }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; min-height: 5.2em; }
.step .pic { border: 1px solid var(--rule); background: var(--night); margin-top: auto; aspect-ratio: 4 / 3; overflow: hidden; }
.step .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.step .pic.paper { background: #fff; }
.step .pic.paper img { object-fit: contain; object-position: top center; }

/* 04 AI */
.ai { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.ai .lede { color: var(--night-ink); margin-bottom: 32px; }
.ticks li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: var(--night-ink); }
.ticks li::before { content: "→"; font-family: var(--mono); color: var(--select); }
.providers { display: flex; gap: 8px; margin-top: 28px; }
.providers span { font: 500 11px/1 var(--mono); letter-spacing: .1em; border: 1px solid rgba(255, 255, 255, .25); padding: 8px 12px; }
.chat { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .12); font: 400 14px/1.6 var(--mono); }
.chat-bar { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-ink); }
.chat-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 82%; padding: 14px 16px; }
.msg.user { align-self: flex-end; background: rgba(255, 255, 255, .09); color: #E6EAF0; }
.msg.ai { align-self: flex-start; border: 1px solid rgba(91, 155, 213, .45); background: rgba(91, 155, 213, .12); color: #CFE2F5; }
.msg.ok { border-color: rgba(87, 170, 108, .5); background: rgba(63, 125, 78, .18); color: #CDEBD5; }
.undo { align-self: flex-start; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-ink); border: 1px solid rgba(255, 255, 255, .25); padding: 8px 12px; margin-top: -4px; }
.typing { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.typing.in { opacity: 1; transform: none; }

/* 05 production */
.prod-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc a { display: block; text-decoration: none; }
.doc .paperpic { background: #fff; border: 1px solid var(--rule); padding: 12px; aspect-ratio: 1 / 1.1; overflow: hidden; transition: border-color .15s, transform .15s; }
.doc .paperpic img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.doc a:hover .paperpic { border-color: var(--cut); transform: translateY(-3px); }
.doc .file { display: block; font: 500 12px/1 var(--mono); margin-top: 14px; letter-spacing: .04em; }
.doc .cap { font-size: 14px; color: var(--ink-2); }
.files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.files span { font: 400 12px/1 var(--mono); background: var(--paper-2); padding: 9px 12px; }

/* 06 quote */
.quote { display: grid; grid-template-columns: 6fr 6fr; gap: 72px; align-items: center; }
.quote .paperpic { background: #fff; border: 1px solid var(--rule); box-shadow: 10px 10px 0 var(--board); }
.total { font: 500 clamp(36px, 4.4vw, 60px)/1 var(--mono); color: var(--cut); letter-spacing: -0.04em; margin: 8px 0 32px; }
.quote .lead { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.arrows li { display: flex; gap: 12px; padding: 9px 0; font-size: 16px; }
.arrows li::before { content: "›"; color: var(--cut); font-weight: 700; }
.quote .btn { margin-top: 32px; }

/* 07 bazis */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); font: 400 14px/1.4 var(--mono); }
.table th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--paper-2); padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.table td { padding: 15px 18px; border-top: 1px solid var(--rule); }
.table th + th, .table td + td { text-align: center; width: 18%; }
.y { color: var(--ok); font-weight: 500; } .n { color: var(--rule); }
.note { font-size: 13px; color: var(--ink-2); margin-top: 20px; max-width: 52em; }

/* 08 features: part labels */
.labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.label { background: #fff; border: 1px solid var(--ink); padding: 18px 20px 16px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; gap: 6px 14px; min-height: 196px; }
.label .pos { font: 700 30px/1 var(--display); grid-row: 1 / 3; color: var(--ink); }
.label .ico { grid-column: 3; grid-row: 1; color: var(--ink); }
.label h3 { font-size: 15px; grid-column: 2; grid-row: 1 / 3; align-self: center; line-height: 1.3; }
.label p { grid-column: 1 / 4; font-size: 14px; color: var(--ink-2); }
.label .lfoot { grid-column: 1 / 4; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--rule); padding-top: 10px; font: 400 11px/1 var(--mono); color: var(--ink-2); }
.edge { width: 30px; height: 16px; border: 1px solid var(--ink-2); border-top-width: 3px; border-bottom-width: 3px; }
.kitchens { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.kitchens .frame { box-shadow: none; }

/* 09 pricing: cutting sheets */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.plan { border: 1px solid var(--ink); display: grid; grid-template-rows: auto auto 1fr auto; background: var(--paper); }
.plan.featured { background: var(--board); }
.plan > * { padding: 24px 28px; }
.plan .p-head { border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.plan h3 { font-size: 24px; }
.plan .p-head span { font: 400 11px/1 var(--mono); color: var(--ink-2); }
.plan .price { font: 500 clamp(24px, 2.2vw, 31px)/1.1 var(--mono); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.plan .price .per { font-size: 16px; color: var(--ink-2); margin-left: 6px; }
.plan .price .save { display: table; margin-top: 10px; background: var(--cut); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .04em; padding: 6px 8px; white-space: normal; }
.plan .price small { display: block; font: 400 12px/1.4 var(--body); color: var(--ink-2); margin-top: 6px; letter-spacing: 0; }
.plan ul li { padding: 8px 0; border-bottom: 1px dashed var(--rule); font-size: 15px; }
.plan ul li::before { content: "✓ "; color: var(--ok); }
.plan .btn { justify-content: center; width: 100%; }
.plan .p-cta { padding-top: 0; }

/* 10 FAQ */
.faq { max-width: 860px; margin-top: 40px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 700 18px/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 44em; }

/* 11 final + footer */
.final { background: var(--cut); color: #fff; text-align: center; padding: 104px 0; }
.final h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 15em; margin: 0 auto 44px; }
.foot { padding: 64px 0 32px; }
.foot-grid { display: grid; grid-auto-flow: column; grid-template-columns: 1.6fr; grid-auto-columns: 1fr; gap: 40px; }
.foot h4 { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.foot li { padding: 4px 0; font-size: 15px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--cut); }
.foot .brand { margin-bottom: 12px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* Legal pages */
.legal { max-width: 860px; padding-top: 72px; padding-bottom: 96px; }
.legal h1 { font-size: 40px; margin-bottom: 24px; }
.legal p { margin-bottom: 16px; color: var(--ink-2); }
.legal pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 400 13px/1.55 var(--mono); background: #fff; border: 1px solid var(--rule); padding: 20px; margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 40px 0 14px; }

/* 10 audience */
.aud { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; margin-top: 40px; }
.aud-text p { color: var(--ink-2); margin-bottom: 18px; font-size: 18px; }
.aud-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.aud-list li { padding: 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); }
.aud-list h3 { font-size: 16px; margin-bottom: 8px; }
.aud-list p { font-size: 14px; color: var(--ink-2); }
.topic-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: baseline; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.topic-links .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.topic-links a { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--cut); display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; }
.topic-links a:hover { color: var(--cut); }

/* Topic pages */
.crumbs { font: 400 12px/1 var(--mono); color: var(--ink-2); padding-top: 32px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--cut); }
.t-hero { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding-top: 48px; padding-bottom: 88px; align-items: start; }
.t-hero h1 { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 24px; }
.t-hero .sub { font-size: 19px; color: var(--ink-2); margin-bottom: 36px; }
.t-body { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.t-body > * { min-width: 0; }
.t-toc { position: sticky; top: 104px; align-self: start; font-size: 14px; }
.t-toc li { padding: 8px 0; border-top: 1px solid var(--rule); }
.t-toc a { text-decoration: none; } .t-toc a:hover { color: var(--cut); }
.t-sec { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--rule); }
.t-sec:last-child { border-bottom: 0; }
.t-sec h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 20px; display: flex; gap: 14px; align-items: center; }
.t-sec p { color: var(--ink-2); margin-bottom: 14px; max-width: 44em; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.related a { display: block; border: 1px solid var(--ink); background: #fff; padding: 22px; text-decoration: none; font: 700 16px/1.3 var(--display); transition: transform .12s, box-shadow .12s; }
.related a:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.related a .ico { display: block; margin-bottom: 18px; }
.t-kicker { display: inline-flex; align-items: center; gap: 10px; }
.related a span { display: block; font: 400 11px/1 var(--mono); color: var(--cut); margin-bottom: 12px; letter-spacing: .08em; }
@media (max-width: 1080px) {
  .aud, .t-hero, .t-body { grid-template-columns: 1fr; gap: 40px; }
  .t-toc { position: static; }
}
@media (max-width: 720px) {
  .aud-list, .related { grid-template-columns: 1fr; }
  .t-hero { padding-top: 32px; padding-bottom: 56px; }
}

/* Guides index */
.guide-list { margin-top: 48px; border-top: 1px solid var(--ink); }
.guide { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide h2 { font-size: clamp(20px, 2.2vw, 28px); margin-bottom: 8px; }
.guide p { color: var(--ink-2); font-size: 15px; max-width: 52em; }
.guide:hover h2 { color: var(--cut); }
.t-sec .table { margin-top: 8px; }
@media (max-width: 720px) { .guide { grid-template-columns: auto 1fr; } .guide .ico { display: none; } }

/* Reveal: screenshots slide up, dimension lines draw in. */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .no-js .typing { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .typing { opacity: 1; transform: none; transition: none; }
  .btn, .doc .paperpic { transition: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero, .problem, .ai, .quote { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 56px; padding-bottom: 80px; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .labels, .plans { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  .top.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 16px; }
  .top.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
}
/* Phone */
@media (max-width: 720px) {
  :root { --gut: 16px; }
  h1, h2 { hyphens: auto; }
  body { font-size: 16px; }
  .pad { padding-top: 72px; padding-bottom: 72px; }
  .top .wrap { height: 64px; }
  .top.open .nav { top: 64px; }
  .top-right .btn { display: none; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 44px); }
  .h2 { font-size: clamp(24px, 6.6vw, 34px); }
  .hero .sub { font-size: 17px; }
  .chip { white-space: normal; }
  .ctas .btn { width: 100%; justify-content: center; }
  .shot { gap: 8px; }
  .dim-v { display: none; }
  .frame { box-shadow: 6px 6px 0 var(--paper-2); }
  .sheet { grid-template-columns: 2fr 1fr 1.2fr; }
  .sheet div:nth-child(n+4) { display: none; }
  .vs { grid-template-columns: 1fr; }
  .vs > div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step p { min-height: 0; }
  .prod-head { flex-direction: column; align-items: start; }
  .docs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .doc { flex: 0 0 72%; scroll-snap-align: start; }
  .labels, .plans, .kitchens { grid-template-columns: 1fr; }
  .msg { max-width: 92%; }
  .chat-body { padding: 16px; }
  .table { font-size: 12px; }
  .table th, .table td { padding: 12px 10px; }
  .foot-grid { grid-auto-flow: row; grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; }
  .final { padding: 72px 0; }
}

/* Image lightbox: full-size document pictures in an overlay. */
body.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 18, 16, .82); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; box-shadow: 0 16px 50px rgba(0, 0, 0, .45); cursor: default; }
.lightbox-x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); cursor: pointer; }
.lightbox-x:hover { color: var(--cut); }
