/* CADbuddy website. Warm light page, white rounded sheets, black pill buttons, orange labels.
   The page sits on a dark footer with rounded bottom corners. */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-500.woff") format("woff"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/static/fonts/interdisplay-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --page: #f6f5f2;
  --sheet: #ffffff;
  --well: #efeeea;
  --chip: #f2f1ee;
  --line: #e7e5e0;
  --line-strong: #d6d3cc;
  --text: #19181d;
  --muted: #6b6a72;
  --faint: #9a9890;
  --label: #c2410c;
  --brand: #ff6a1a;
  --btn: #19181d;
  --blue: #3f51c9;
  --good: #13855b;
  --bad: #b8322a;
  --foot: #0c0c0e;
  --display: "Inter Display", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(25, 24, 29, .04), 0 24px 60px rgba(25, 24, 29, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html, body { margin: 0; }
body { font-family: var(--sans); font-size: 16px; color: var(--text); background: var(--foot); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; margin: 0; line-height: 1.08; }
h3, h4 { letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1240px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* the light page, with rounded bottom corners over the dark footer */
.sheet-page { position: relative; background: var(--page); border-radius: 0 0 44px 44px; padding-bottom: 96px; }
.sheet-page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 760px; background: radial-gradient(ellipse 60% 70% at 70% 0%, rgba(150, 190, 255, .28), transparent 70%), radial-gradient(ellipse 50% 60% at 15% 10%, rgba(255, 170, 120, .18), transparent 70%); pointer-events: none; }
.sheet-page > * { position: relative; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; transition: background .2s ease; }
.nav-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 28px; height: 80px; padding: 0 40px; }
.nav.scrolled { background: rgba(246, 245, 242, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--text); letter-spacing: -.03em; text-decoration: none; }
.brand b { color: var(--brand); font-weight: 600; }
.brand img { display: block; height: 28px; width: auto; }
.foot-grid .brand img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 15px; margin-left: auto; }
.nav-links a { color: #3b3a40; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.nav-actions form { margin: 0; }
.linkbtn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 12px; }
.linkbtn:hover { color: var(--text); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 46px; min-width: 220px; display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.menu-panel a { padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.menu-panel a:hover { background: var(--chip); }
@media (max-width: 960px) { .nav-links { display: none; } .menu { display: block; margin-left: auto; } .nav-actions .btn-outline { display: none; } .nav-actions > form { display: none; } .nav-inner { padding: 0 20px; gap: 10px; height: 68px; } }

/* announcement */
.announce { display: flex; justify-content: center; padding: 0 20px; margin-top: 4px; }
.announce div { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 14px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 6px; }
.announce i { font-style: normal; font-weight: 500; font-size: 12px; background: var(--btn); color: #fff; padding: 2px 10px; border-radius: 999px; }
.announce a { color: var(--blue); text-decoration: none; padding-right: 8px; }
.announce a::after { content: " →"; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 8px 20px rgba(25, 24, 29, .18); }
.btn-primary:hover { background: #34333a; }
.btn-outline, .btn-ghost { background: #fff; color: var(--text); border-color: var(--line); box-shadow: 0 2px 8px rgba(25, 24, 29, .05); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--line-strong); }
.btn-soft, .btn-dark { background: var(--chip); color: var(--text); }
.btn-soft:hover, .btn-dark:hover { background: #e8e6e1; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.arrow::after { content: "→"; }
.out::after { content: "↗"; }

/* labels */
.label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: 14px; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #3b3a40; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 6px; box-shadow: 0 2px 10px rgba(25, 24, 29, .05); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--chip); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.live { color: var(--good); background: #e5f4ed; }

/* hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 66px); line-height: 1.02; margin-top: 22px; }
.hero .lede { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 30em; line-height: 1.65; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero .cta-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 32px 0 48px; } }

/* product frame: white bezel, light CAD window, floating panel */
.frame { background: #fff; border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); }
.viewport { position: relative; border-radius: 22px; overflow: hidden; background-color: #f1f0ec; background-image: linear-gradient(rgba(25, 24, 29, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 24, 29, .05) 1px, transparent 1px); background-size: 28px 28px; aspect-ratio: 1.24; }
.cadwin { position: absolute; left: 0; top: 16%; width: 80%; bottom: 16%; background: #fafaf8; border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; box-shadow: 0 10px 30px rgba(25, 24, 29, .08); display: grid; grid-template-columns: 1fr 30%; overflow: hidden; }
.cadwin .dots { position: absolute; left: 12px; top: 10px; display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.cadwin .model { display: grid; place-items: center; padding: 26px 4px 8px 16px; min-width: 0; }
.cadwin .model svg { width: 100%; max-height: 100%; }
.ftree { border-left: 1px solid var(--line); padding: 12px 8px; font-size: 10px; color: #55545b; display: grid; gap: 3px; align-content: start; min-width: 0; }
.ftree div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.ftree div::before { content: ""; flex: none; width: 8px; height: 8px; border: 1px solid #b9b6ae; border-radius: 2px; }
.ftree .in { padding-left: 11px; }
.ftree .faint { color: #a3a19a; }

/* the CADbuddy panel, as it looks in Fusion */
.cb-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(25, 24, 29, .14); font-size: 12.5px; color: var(--text); display: flex; flex-direction: column; gap: 10px; padding: 10px 12px 12px; text-align: left; line-height: 1.45; }
.viewport .cb-panel { position: absolute; right: 2.5%; top: 9%; bottom: 6%; width: 42%; }
.cb-top { display: flex; align-items: center; justify-content: space-between; }
.cb-top .dots { display: flex; gap: 5px; }
.cb-top span { color: var(--faint); font-size: 15px; line-height: 1; }
.cb-user { align-self: flex-end; max-width: 96%; background: var(--chip); border-radius: 12px; padding: 7px 10px; display: grid; gap: 5px; }
.cb-ctx { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); }
.cb-ctx::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #c7d0ff; border: 1px solid #8f9be6; }
.cb-steps { display: grid; gap: 4px; color: var(--muted); font-size: 11.5px; }
.cb-steps div { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-steps div::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; border: 1px solid #bdbab3; }
.cb-steps .think::before { border-radius: 50%; }
.cb-steps u { color: var(--text); text-decoration-color: #bdbab3; text-underline-offset: 2px; }
.cb-input { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: grid; gap: 8px; color: var(--faint); }
.cb-input .row2 { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cb-input .send { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--btn); }
.cb-input .chip { font-size: 10.5px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
@media (max-width: 600px) { .viewport { aspect-ratio: .8; } .cadwin { top: 5%; bottom: 55%; width: 100%; border-radius: 0; grid-template-columns: 1fr; border-right: 0; } .ftree { display: none; } .viewport .cb-panel { left: 4%; right: 4%; width: auto; top: 38%; } }

/* big white cards */
.section { padding: 14px 0; }
.card-xl { background: var(--sheet); border-radius: var(--r-lg); padding: 56px; box-shadow: var(--shadow); }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.head-row h2, .section-head h2, .h2 { font-size: clamp(32px, 4.2vw, 46px); }
.head-row p, .section-head p { color: var(--muted); font-size: 17px; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head p { margin-top: 16px; }
.section-head .cta-row { margin-top: 26px; }
.bare { padding: 56px 0 20px; }
@media (max-width: 860px) { .card-xl { padding: 30px 22px; border-radius: 26px; } .head-row { grid-template-columns: 1fr; gap: 14px; } }

/* feature tiles: grey well with a small UI, then title and text */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 30px; }
.tile .well { background: var(--well); border-radius: 22px; min-height: 290px; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.tile .well > * { width: 100%; max-width: 360px; }
.tile h3 { font-size: 21px; margin-top: 20px; }
.tile p { color: var(--muted); margin-top: 6px; }
.mini { background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(25, 24, 29, .1); font-size: 12.5px; text-align: left; overflow: hidden; }
.mini-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mini-head span { flex: none; font-size: 11px; font-weight: 500; background: var(--btn); color: #fff; padding: 1px 8px; border-radius: 999px; }
.mini-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 9px 14px; }
.mini-row + .mini-row { border-top: 1px solid var(--line); }
.mini-row .n { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 10.5px; color: var(--muted); }
.mini-row em { font-style: normal; display: block; font-size: 11px; color: var(--blue); }
.mini-row b { font-weight: 500; }
.mini-row small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.mini table { width: 100%; border-collapse: collapse; }
.mini td, .mini th { text-align: left; padding: 8px 14px; border-top: 1px solid var(--line); }
.mini th { color: var(--faint); font-weight: 500; font-size: 11px; border-top: 0; }
.mini td.ok { color: var(--good); font-weight: 600; }
.tile .cb-panel { box-shadow: 0 12px 30px rgba(25, 24, 29, .1); }
.soon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); align-items: center; }
.soon > span:first-child { font-size: 14px; color: var(--muted); margin-right: 6px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile .well { aspect-ratio: auto; } }

/* split: text card + video card */
.split { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 20px; }
.split .card-xl { padding: 40px; }
.split h2 { font-size: clamp(30px, 3.4vw, 40px); }
.split p { color: var(--muted); margin-top: 16px; }
.split .cta-row { margin-top: 26px; }
.split .vid { padding: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.video { position: relative; height: 100%; min-height: 320px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #e9e7e2, #d9d6cf); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; }
.video .chip-l { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.video .play, .media .play { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 10px 30px rgba(25, 24, 29, .15); }
.video .play::after, .media .play::after { content: ""; border-left: 18px solid var(--btn); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.video strong, .media strong { display: block; color: var(--text); font-weight: 600; font-size: 17px; }
.media { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; background: linear-gradient(160deg, #e9e7e2, #d9d6cf); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; }

/* numbered steps (a real sequence), and plain columns */
.steps3, .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps3 > div, .cols > div { background: var(--chip); border-radius: 20px; padding: 24px; }
.steps3 .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; font-weight: 600; font-size: 14px; }
.steps3 h3 { font-size: 18px; margin: 16px 0 6px; }
.steps3 p, .cols p { color: var(--muted); font-size: 15px; }
.cols svg { width: 26px; height: 26px; margin-bottom: 14px; }
.cols h3 { font-size: 18px; margin-bottom: 6px; }
@media (max-width: 760px) { .steps3, .cols { grid-template-columns: 1fr; } }

/* student price */
.student { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.student .big { font-family: var(--display); font-weight: 600; font-size: clamp(76px, 10vw, 128px); letter-spacing: -.05em; line-height: .9; }
.student .big small { font-size: 18px; color: var(--muted); letter-spacing: 0; font-family: var(--sans); font-weight: 400; margin-left: 6px; }
.student h2 { font-size: clamp(28px, 3.2vw, 38px); }
.student p { color: var(--muted); margin-top: 12px; }
.student .cta-row { margin-top: 24px; }
@media (max-width: 760px) { .student { grid-template-columns: 1fr; gap: 16px; } }

/* integrations */
.cads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cad { background: var(--chip); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.cad .ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(25, 24, 29, .06); }
.cad .ic svg { width: 20px; height: 20px; }
.cad h3 { font-size: 17px; }
.cad p { color: var(--muted); font-size: 14px; flex: 1; }
.cad .tag { align-self: flex-start; background: #fff; }
.cad .tag.live { background: #e5f4ed; }
@media (max-width: 900px) { .cads { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cads { grid-template-columns: 1fr; } }

/* seminars, guides */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.event { display: flex; flex-direction: column; text-align: left; }
.event .thumb { aspect-ratio: 16 / 10; border-radius: 18px; margin-bottom: 18px; background: var(--well); display: grid; place-items: center; color: var(--faint); font-size: 13px; }
.event .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.event h3 { font-size: 19px; }
.event p { color: var(--muted); margin-top: 8px; margin-bottom: 18px; flex: 1; font-size: 15px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input[type=email] { flex: 1; min-width: 170px; }
.hp { position: absolute; left: -9999px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; text-align: left; }
.price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; overflow: hidden; }
.price.hl::before { content: ""; position: absolute; left: -20%; right: -20%; top: 30%; height: 44%; background: radial-gradient(ellipse at 30% 50%, rgba(255, 140, 80, .34), transparent 60%), radial-gradient(ellipse at 75% 50%, rgba(110, 140, 255, .34), transparent 60%); filter: blur(16px); pointer-events: none; }
.price > * { position: relative; }
.price h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price .badge { position: static; display: inline-block; margin-bottom: 10px; background: var(--chip); color: var(--text); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.price .amount { font-family: var(--display); font-weight: 600; font-size: 36px; letter-spacing: -.03em; margin: 6px 0 0; line-height: 1.2; }
.price .amount span { font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price .for { color: var(--muted); font-size: 14px; margin: 2px 0 16px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; align-content: start; color: #46454c; font-size: 14px; order: 2; }
.price ul li { padding-left: 22px; position: relative; }
.price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--faint); }
.price form, .price > .btn, .price > .small { order: 1; }
.price form { margin: 0; }
.price .btn-ghost, .price .btn-outline { background: var(--chip); border-color: transparent; box-shadow: none; }
.price.hl .btn-primary, .price.hl .btn-ghost { background: var(--btn); color: #fff; }
.price .inline-form input, .price .inline-form .btn { width: 100%; }
@media (max-width: 1000px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }
.uni { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: left; background: var(--chip); border-radius: 20px; padding: 22px 24px; }
.uni h3 { font-size: 18px; }
.uni p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* faq */
.faq { background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 76px 22px 26px; position: relative; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23c2410c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding: 0 76px 24px 26px; }

/* closing call to action */
.final { text-align: center; padding: 72px 24px 24px; }
.final h2 { font-size: clamp(34px, 4.6vw, 52px); max-width: 760px; margin: 0 auto; }
.final p { color: var(--muted); font-size: 17px; margin: 16px 0 28px; }
.final .cta-row { justify-content: center; }

/* inner pages */
.pagehead { padding: 56px 0 36px; }
.pagehead h1 { font-size: clamp(40px, 5.4vw, 62px); max-width: 820px; }
.pagehead p { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 20px; }
.pagehead .cta-row { margin-top: 30px; }
.notice { margin: 0 0 32px; padding: 12px 16px; background: var(--chip); border-radius: var(--r-sm); color: var(--muted); font-size: 14.5px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; text-align: left; font-size: 16px; }
.ticks li { padding-left: 30px; position: relative; color: #46454c; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--good); }
.card { background: #fff; border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow); }
.card h2 { font-size: 22px; margin-bottom: 8px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); }
.lesson { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); text-align: left; }
.lesson-head { padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lesson-head span { flex: none; font-size: 12px; font-weight: 500; background: var(--btn); color: #fff; padding: 2px 10px; border-radius: 999px; }
.lesson-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 22px; }
.lesson-step + .lesson-step { border-top: 1px solid var(--line); }
.lesson-step .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.lesson-step .tool { font-size: 12.5px; color: var(--blue); }
.lesson-step b { display: block; font-weight: 600; margin: 2px 0 4px; }
.lesson-step span.why { color: var(--muted); font-size: 15px; }
kbd { font-family: var(--mono); font-size: 12px; background: var(--chip); border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 5px; color: var(--text); }

/* forms and account pages */
.page { padding: 40px 0 24px; min-height: 55vh; }
label { display: block; font-size: 14px; font-weight: 500; margin: 18px 0 6px; }
input[type=email], input[type=password], input[type=text] { width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 14px; color: var(--text); font: inherit; }
input:focus { outline: 0; border-color: var(--text); }
input::placeholder { color: var(--faint); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--text); }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.alert { padding: 12px 16px; border-radius: var(--r-sm); margin: 0 0 18px; font-size: 15px; border: 1px solid; }
.alert.ok { background: #e9f6ef; border-color: #c3e6d4; color: #0e5c3f; }
.alert.err { background: #fbeceb; border-color: #f0c9c5; color: #8e2a22; }
.alert.info { background: #edf0fc; border-color: #ccd4f5; color: #2a3a9a; }
.alert form { display: inline; margin: 0; }
.alert .linkbtn { color: inherit; text-decoration: underline; padding: 0; font-weight: 500; }
.flashbar { max-width: 1040px; margin: 12px auto 0; padding: 0 24px; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.stack { display: grid; gap: 18px; align-content: start; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.row { display: flex; gap: 10px; align-items: center; }
.code-input { font-family: var(--mono) !important; font-size: 22px !important; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.devices { list-style: none; padding: 0; margin: 10px 0 0; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.devices form { margin: 0; }
.howto { margin: 8px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 10px; }
.howto b, .howto i { color: var(--text); }
.stat { font-family: var(--display); font-weight: 600; font-size: 60px; line-height: 1.05; letter-spacing: -.04em; }
.stat-label { font-size: 14px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.quote { font-family: var(--mono); font-size: 14px; background: var(--chip); border-radius: var(--r-sm); padding: 12px 14px; margin-top: 10px; }

.legal { max-width: 760px; }
.legal h1 { font-size: 50px; margin-bottom: 20px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal p, .legal li { color: #46454c; }
.legal p { margin: 0 0 14px; }
.legal .draft { background: var(--chip); border-radius: var(--r-sm); padding: 12px 16px; color: var(--muted); }

/* footer */
footer { color: #c9c8cf; padding: 72px 0 36px; font-size: 14.5px; }
footer .wrap { max-width: 1320px; padding: 0 56px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, auto); gap: 64px; }
.foot-grid .brand { color: #fff; font-size: 30px; }
.foot-about p { color: #8d8c94; margin: 14px 0 20px; max-width: 32ch; }
.foot-about .inline-form input { background: #18181c; border-color: #2c2c32; color: #fff; }
.foot-about .btn-ghost { background: #26262c; border-color: transparent; color: #fff; box-shadow: none; }
.foot-grid h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #75747c; margin: 6px 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: #d7d6dc; }
.foot-grid ul a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #6c6b72; font-size: 12.5px; }
.foot-bottom p { max-width: 70ch; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .foot-about { grid-column: span 2; } footer .wrap { padding: 0 24px; } }

@media (max-width: 700px) { .sheet-page { border-radius: 0 0 28px 28px; padding-bottom: 56px; } .pagehead { padding: 28px 0 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
