:root { color-scheme: light dark; --ground: #f3f6fd; --card: #fff; --ink: #10163a; --muted: #565d83; --line: #d5dcf0; --blue: #2450f5; --on-blue: #fff; --green: #0b7a57; --amber: #b85a08; --coral: #c43555;
  --display: "SF Pro Rounded", ui-rounded, -apple-system, system-ui, "Segoe UI", sans-serif; --text: -apple-system, system-ui, "Segoe UI", sans-serif; --mono: ui-monospace, "SF Mono", Menlo, monospace; }
@media (prefers-color-scheme: dark) { :root { --ground: #0c1030; --card: #161c48; --ink: #eef1ff; --muted: #a6aed6; --line: #2c3468; --blue: #8fa6ff; --on-blue: #0c1030; --green: #4fd0a2; --amber: #f7b05b; --coral: #ff8b9c; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.55 var(--text); overflow-x: clip; }
main > section > * { max-width: min(1120px, 100%); margin-inline: auto; }
.bar, .site-footer { max-width: 1168px; margin-inline: auto; }
.bar, main > section, .site-footer { padding-inline: 24px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 14px; z-index: 2; }
.fine { color: var(--muted); font-size: 16px; }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 16px; }
nav a { color: var(--ink); text-decoration: none; padding-block: 6px; }
nav a:hover { color: var(--blue); }

.button { display: inline-block; font: 650 18px/1 var(--text); color: var(--on-blue); background: var(--blue); border: 0; border-radius: 12px; padding: 17px 26px; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(1.08); }
.button.quiet { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button.off { background: var(--line); color: var(--muted); cursor: default; }

main > section { padding-block: clamp(64px, 9vw, 120px); }
main > .hero { padding-block: clamp(32px, 5vw, 64px) 0; }
.hero-text { display: grid; grid-template-columns: 8fr 5fr; gap: 24px 48px; align-items: end; }
.lead { font-size: 20px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.hero-text h1 { grid-row: span 2; }
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 64px; padding: 34px 0 8px 34px; }
.shelf img { border-radius: 18px; width: 100%; box-shadow: 0 14px 34px rgb(16 22 58 / 0.16); }
.measured { position: relative; margin: 0; }
.measured figcaption span { position: absolute; font: 500 13px/1 var(--mono); color: var(--blue); display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.measured figcaption span::before, .measured figcaption span::after { content: ""; flex: 1; height: 1.5px; background: currentColor; }
.across { left: 0; right: 0; top: -27px; border-inline: 1.5px solid; height: 14px; }
.down { writing-mode: vertical-rl; transform: rotate(180deg); top: 0; bottom: 0; left: -27px; border-inline: 1.5px solid; width: 14px; }
.measured figcaption .down::before, .measured figcaption .down::after { width: 1.5px; height: auto; }
.shelf-note { color: var(--muted); font-size: 15px; padding: 14px 0 0 34px; }

.studio-head, .sizes-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 56px; align-items: end; margin-bottom: 44px; }
.studio-head p, .sizes-head p, .assistants p { color: var(--muted); }
.window { border-radius: 2.45% / 3.8%; box-shadow: 0 0 0 1px rgb(16 22 58 / 0.08), 0 30px 70px rgb(16 22 58 / 0.22); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 56px auto 0; }
.facts div { border-top: 4px solid var(--tone); padding-top: 18px; }
.facts .blue { --tone: var(--blue); } .facts .green { --tone: var(--green); } .facts .amber { --tone: var(--amber); } .facts .coral { --tone: var(--coral); }
.facts dt { font: 700 20px/1.2 var(--display); margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--muted); font-size: 17px; }

.sizes { background: var(--card); }
.size-lists { display: grid; grid-template-columns: 1.25fr 1fr 0.9fr; gap: 48px; }
.size-lists dl { margin: 18px 0 0; }
.size-lists dt { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 600; font-size: 17px; }
.size-lists dd { margin: 4px 0 14px; font: 15px/1.7 var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 18px; font-variant-numeric: tabular-nums; }
.size-lists dd span { white-space: nowrap; }

main > .assistants { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1168px; margin-inline: auto; align-items: start; }
main > .assistants > * { margin-inline: 0; min-width: 0; }
.assistants h2 { margin-bottom: 20px; }
blockquote { font: 600 24px/1.4 var(--display); margin: 32px 0; padding: 0 0 0 22px; border-left: 4px solid var(--green); text-wrap: pretty; }
.terminal { background: var(--card); border-radius: 22px; padding: 28px; display: grid; gap: 14px; justify-items: start; }
.terminal p { font-size: 16px; }
textarea { width: 100%; font: 15px/1.5 var(--mono); padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--ground); color: var(--ink); resize: none; field-sizing: content; word-break: break-word; }
.terminal button { font: 600 16px/1 var(--text); padding: 12px 18px; border-radius: 10px; border: 0; background: var(--blue); color: var(--on-blue); cursor: pointer; }
.terminal img { border-radius: 12px; margin-top: 14px; }

.price { background: var(--card); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px !important; }
.plan { border: 1.5px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.plan.pro { border-color: var(--blue); border-width: 2.5px; }
.amount { font: 800 52px/1.1 var(--display); margin: 14px 0 6px; }
.amount small { font: 400 16px/1.3 var(--text); color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 14px 0 28px; padding: 0 0 0 20px; }
.plan li { padding: 4px 0; }
.plan .button { margin-top: auto; }

.questions h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font: 650 20px/1.3 var(--display); padding: 20px 0; cursor: pointer; }
details p { color: var(--muted); padding: 0 0 22px; max-width: 68ch; }

.site-footer { border-top: 1px solid var(--line); padding-block: 36px 56px; color: var(--muted); font-size: 15px; }
.site-footer p + p { margin-top: 14px; max-width: 90ch; }
.site-footer a { margin-right: 22px; }

@media (max-width: 900px) {
  .hero-text, .studio-head, .sizes-head, main > .assistants { grid-template-columns: 1fr; }
  .hero-text h1 { grid-row: auto; }
  .facts, .size-lists { grid-template-columns: 1fr 1fr; }
  .size-lists > :first-child { grid-column: 1 / -1; }
  .shelf { grid-template-columns: repeat(4, min(58vw, 260px)); overflow-x: auto; margin-inline: -24px !important; padding: 34px 24px 40px 58px; max-width: none !important; scroll-snap-type: x proximity; }
  .shelf > * { scroll-snap-align: center; }
  .shelf-note { padding-left: 0; padding-top: 0; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .bar, main > section, .site-footer { padding-inline: 16px; }
  nav { gap: 18px; }
  .facts, .size-lists, .plans { grid-template-columns: 1fr; }
  .shelf { margin-inline: -16px !important; }
  .actions .button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .shelf > * { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
  .shelf > :nth-child(2) { animation-delay: 0.08s; } .shelf > :nth-child(3) { animation-delay: 0.16s; } .shelf > :nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
