@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --surface: #F6F5F2;
  --surface-strong: #EFEDE8;
  --ink: #141416;
  --text: #3C3C43;
  --muted: #66666E;
  --line: #E7E5E0;
  --accent: #FF8A00;
  --accent-strong: #DF6400;
  --accent-ink: #994700;
  --accent-soft: #FFF2E0;
  --on-accent: #141416;
  --band: #141416;
  --band-text: #C7C7CC;
  --band-line: #2E2E33;
  --device: #0B0B0C;
  --shadow: 0 30px 80px rgba(20, 20, 22, 0.18), 0 8px 24px rgba(20, 20, 22, 0.10);
  --display: "Inter Tight", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E10;
    --surface: #17171A;
    --surface-strong: #1F1F23;
    --ink: #F5F5F7;
    --text: #D1D1D6;
    --muted: #9C9CA3;
    --line: #2A2A2F;
    --accent: #FF9F1A;
    --accent-strong: #FF9F1A;
    --accent-ink: #FFB347;
    --accent-soft: #2A1C08;
    --band: #17171A;
    --band-line: #2E2E33;
    --device: #000000;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.shell { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.topbar .shell { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; min-height: 40px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 18px; border-radius: 999px; }
.pill:hover { color: var(--bg); opacity: 0.88; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer .shell { padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* Legal and support pages */
.page { max-width: 760px; margin: 0 auto; padding: 80px 24px 112px; font-size: 16px; line-height: 1.7; color: var(--text); }
.page h1 { margin: 12px 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.page h2 { margin: 44px 0 10px; font-size: 22px; font-weight: 600; color: var(--ink); }
.page h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.page p { margin: 0 0 14px; }
.page ul { margin: 0 0 14px; padding-left: 20px; }
.page li { margin-bottom: 8px; }
.page strong { color: var(--ink); }
.page .lead { margin-bottom: 8px; }
.updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 28px !important; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; margin: 28px 0 8px; color: var(--ink); }
.contact { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.contact span { display: block; font-size: 14px; color: var(--muted); }
.contact .address { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.button-accent { display: inline-flex; align-items: center; min-height: 48px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 16px; padding: 0 22px; border-radius: 999px; }
.button-accent:hover { color: var(--on-accent); opacity: 0.9; }
.note { margin-top: 24px !important; font-size: 15px; color: var(--muted); }
.topic { border-top: 1px solid var(--line); padding: 20px 0; }
.topic:last-child { border-bottom: 1px solid var(--line); }
.topic p { margin: 0; }

.actions { display: flex; align-items: center; gap: 18px; }
.lang { padding-block: 10px; font-size: 15px; color: var(--text); text-underline-offset: 4px; }
.lang:hover, .doc-link:hover { color: var(--accent-ink); }
.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.5; }
.intro { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 88% 18%, var(--accent-soft), transparent 62%), var(--surface); }
.intro-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(36px, 5vw, 78px); align-items: center; padding-block: clamp(42px, 6vw, 86px); }
.intro-copy { min-width: 0; }
.intro h1, main section h2 { font-family: var(--display); letter-spacing: -.042em; line-height: 1.02; text-wrap: balance; }
.intro h1 { margin: 17px 0 22px; font-size: clamp(48px, 5.8vw, 78px); }
.intro h1 em { font-style: normal; color: var(--accent-ink); }
.intro-copy .lead { color: var(--text); max-width: 47ch; }
.intro-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 27px 0 14px; }
.primary { display: inline-flex; padding: 13px 22px; background: var(--ink); color: var(--bg); font-weight: 650; border-radius: 9px; text-decoration: none; }
.primary:hover { background: var(--accent-ink); color: var(--bg); }
.doc-link { color: var(--ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fine { font-size: 14px; color: var(--muted); max-width: 49ch; }
.device { margin: 0; min-width: 0; display: flex; justify-content: center; }
.device img { width: 100%; max-width: 400px; height: auto; border-radius: 34px; background: #25231e; box-shadow: 0 24px 60px #0000003d; }
.screens { padding-block: clamp(48px, 6.5vw, 90px) clamp(36px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.screens-head p:not(.eyebrow) { color: var(--text); max-width: 60ch; margin: 15px 0 0; line-height: 1.65; }
.shot-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px max(24px, calc((100vw - 1132px) / 2)) 18px; scrollbar-width: thin; }
.shot-row img { flex: none; height: clamp(400px, 44vw, 540px); width: auto; border-radius: 24px; background: #25231e; scroll-snap-align: center; }
.drawing { margin: 26px 0 22px; width: 92%; background: #fff; color: #464646; border: 1px solid #d6d2c9; box-shadow: 0 9px 24px #17151212; transform: rotate(-1.5deg); padding: 12px 14px 0; }
.drawing span { display: block; border-bottom: 1px solid #dedbd5; font-size: 12px; padding-bottom: 7px; font-family: var(--mono); }
.drawing img { width: 100%; height: auto; }
.pack-example div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
main section h2 { font-size: clamp(34px, 3.8vw, 52px); }
.walkthrough, .packing-grid, .price-card, .tools { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 105px); align-items: center; }
.walkthrough, .packing-grid, .tools { padding-block: clamp(48px, 6.5vw, 90px); }
.walkthrough p:not(.eyebrow), .packing p:not(.eyebrow), .price-card p:not(.eyebrow) { color: var(--text); max-width: 51ch; margin: 15px 0; line-height: 1.65; }
.eyebrow + h2 { margin-top: 12px; }
.work-table { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
caption { font-weight: 650; text-align: left; font-size: 18px; padding-bottom: 12px; }
th, td { text-align: right; padding: 10px 0 10px 8px; border-top: 1px solid var(--line); }
th:first-child { text-align: left; padding-left: 0; }
tbody th { font-weight: 450; }
thead { font-size: 13px; color: var(--muted); }
td { white-space: nowrap; }
tfoot th, tfoot td { font-weight: 700; }
.packing { background: var(--band); color: #f5f5f7; }
.packing .eyebrow { color: #ffb347; }
.packing p:not(.eyebrow) { color: var(--band-text); }
.pack-example { border-block: 1px solid #555; padding: 17px 0; }
.pack-example strong { display: block; font-size: 20px; margin-bottom: 15px; }
.pack-example div { padding: 6px 0; color: #ccc; }
.pack-example b { color: #ffb347; }
.tools ul { list-style: none; padding: 0; margin: 0; }
.tools li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-card { padding: clamp(22px, 4.5vw, 60px); border-radius: 18px; background: var(--accent-soft); gap: 42px; }
.price-card dl { margin: 0; }
.price-card dt { font-weight: 700; }
.price-card dd { margin: 4px 0 15px; color: var(--text); }
.price-card dd:last-child { margin-bottom: 0; }
.faq { max-width: 820px; margin: auto; padding: clamp(48px, 6vw, 88px) 24px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 600; }
.faq details p { padding: 0 0 18px; color: var(--text); }
.faq .doc-link { display: inline-block; margin-top: 16px; }
@media (max-width: 840px) {
  .nav { display: none; }
  .intro-grid { grid-template-columns: 1fr 0.83fr; gap: 22px; }
  .tools, .price-card { gap: 28px; }
}
@media (max-width: 660px) {
  .topbar .shell { height: 58px; gap: 8px; }
  .shell { padding-inline: 18px; }
  .brand, .actions { gap: 8px; }
  .brand img { width: 27px; height: 27px; }
  .pill { padding-inline: 13px; font-size: 14px; }
  .lang { font-size: 14px; }
  .intro-grid, .walkthrough, .packing-grid, .price-card, .tools { grid-template-columns: minmax(0, 1fr); }
  .intro-grid { padding-block: 28px 32px; gap: 23px; }
  .intro h1 { font-size: clamp(38px, 9.5vw, 55px); margin: 10px 0 12px; }
  .intro .eyebrow { font-size: 12px; }
  .intro-links { margin: 16px 0 9px; gap: 10px 14px; }
  .intro-links a { font-size: 15px; }
  .fine { line-height: 1.4; }
  .device img { max-width: 300px; border-radius: 26px; }
  .shot-row { padding-inline: 18px; gap: 12px; }
  .shot-row img { height: 420px; border-radius: 20px; }
  .drawing { width: 100%; padding: 8px 8px 0; }
  .drawing span { font-size: 10px; padding-bottom: 4px; }
  .work-table { padding: 14px; font-size: 15px; }
  .walkthrough, .packing-grid, .tools { gap: 22px; }
  .page { padding-top: 40px; }
}
@media (max-width: 370px) {
  .topbar .shell { padding-inline: 10px; }
  .brand span { font-size: 17px; }
  .actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
