@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/SpaceGrotesk%5Bwght%5D.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/JetBrainsMono%5Bwght%5D.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --ink: #1b1b19;
  --muted: #4a4a46;
  --line: #d9dad4;
  --blue: #2448b8;
  --weak: #edf1fc;
  --heading: "Space Grotesk", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ol { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 600; }
h2 { font-size: clamp(2.15rem, 3.55vw, 3.5rem); line-height: 1.09; letter-spacing: -.055em; font-weight: 600; }
h3 { font-size: 1.4rem; line-height: 1.22; letter-spacing: -.043em; font-weight: 600; }
p { color: var(--muted); }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: #1d3c9e; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: min(100% - clamp(2.5rem, 9vw, 10rem), 80rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; background: white; padding: .5rem 1rem; }
.skip-link:focus { top: .25rem; }
.masthead { border-bottom: 1px solid var(--line); background: #fff; }
.masthead-inner { min-height: 4.9rem; display: flex; align-items: center; gap: 2.2rem; }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: .63rem; text-decoration: none; font: 650 1.27rem/1 var(--heading); letter-spacing: .08em; }
.brand:hover { color: var(--ink); }
.primary-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.1rem); margin-left: auto; }
.primary-nav a, .footer a:not(.brand) { text-decoration: none; color: var(--muted); font-size: .91rem; font-weight: 550; }
.primary-nav a:hover, .primary-nav a[aria-current], .footer a:not(.brand):hover { color: var(--blue); }
.app-picker { position: relative; z-index: 5; }
.app-picker summary { display: flex; align-items: center; gap: .67rem; background: white; border: 1px solid #c9cbc6; padding: .52rem .88rem; border-radius: .45rem; cursor: pointer; font-size: .89rem; font-weight: 600; list-style: none; }
.app-picker summary::-webkit-details-marker { display: none; }
.app-picker summary:hover, .app-picker[open] summary { background: var(--paper); }
.app-icon { width: 13px; height: 13px; display: inline-flex; }
.app-icon::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: currentColor; box-shadow: 8px 0, 0 8px, 8px 8px; }
.chevron { border: solid currentColor; border-width: 0 1.5px 1.5px 0; width: 6px; height: 6px; transform: translateY(-2px) rotate(45deg); }
.app-picker[open] .chevron { transform: translateY(2px) rotate(225deg); }
.app-list { position: absolute; right: 0; top: calc(100% + .55rem); min-width: 15rem; border: 1px solid var(--line); border-radius: .6rem; padding: .3rem; background: white; box-shadow: 0 8px 24px #242c4212; }
.app-list > * { display: block; padding: .55rem .8rem; }
.app-list > * + * { border-top: 1px solid var(--line); }
.app-list strong { font-size: .9rem; display: block; }
.app-list small { font-size: .8rem; color: var(--muted); }
.eyebrow, .data-label, .demo, .drawing-label { font: 500 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--blue); margin-bottom: 1.1rem; }
.rule { height: 2px; width: 1.5rem; background: var(--blue); }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.65; max-width: 55ch; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .83rem 1.23rem; background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: .44rem; text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.5; text-align: center; }
.button:hover { color: white; background: #1d3c9e; }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); }
.button.secondary:hover { border-color: var(--ink); }
.text-link { font-weight: 600; font-size: .94rem; text-decoration-color: #9ca9d4; }
.actions, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.05rem 1.3rem; margin-top: 1.75rem; }
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); align-items: center; gap: clamp(2rem, 4.5vw, 5rem); padding-block: clamp(3.85rem, 6.4vw, 6.5rem); }
.hero-copy h1 { margin-block: 1.2rem; font-size: clamp(3rem, 5vw, 4.55rem); }
.hero h1 span { display: block; color: var(--blue); }
.hero .lede { max-width: 40ch; }
.drawing-sheet, .sheet-frame, .review-sheet { overflow: hidden; background: white; border: 1px solid #c9ccc8; border-radius: .7rem; }
.drawing-sheet { box-shadow: 0 14px 32px -22px #243b5552; }
.sheet-toolbar, .review-sheet figcaption { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .82rem 1.05rem; }
.sheet-toolbar { border-bottom: 1px solid var(--line); }
.sheet-name { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; }
.sheet-icon { width: 13px; height: 15px; border: 1.5px solid var(--blue); border-radius: 2px; background: repeating-linear-gradient(0deg,#fff 0 2px,var(--blue) 2px 3px) center / 6px 6px no-repeat; }
.demo { font-size: .72rem; letter-spacing: .07em; color: #62655d; }
.hero-drawing, .sheet-frame img, .review-sheet img { width: 100%; }
.sheet-caption { display: grid; grid-template-columns: minmax(0,1fr) auto auto; border-top: 1px solid var(--line); }
.sheet-caption > div { min-width: 0; padding: .73rem 1.05rem; }
.sheet-caption > div + div { border-left: 1px solid var(--line); }
.drawing-label { display: block; font-size: .68rem; color: var(--muted); margin-bottom: .2rem; }
.sheet-caption strong { font: 600 1rem/1.3 var(--heading); }
.sheet-caption b { font: 500 .95rem/1.3 var(--mono); }
.section { padding-block: clamp(3.7rem, 5.4vw, 6.25rem); }
.section-heading { max-width: 55rem; margin-bottom: 2.15rem; }
.section-heading > p:not(.eyebrow) { margin-top: .8rem; }
.handoffs { background: white; }
.handoff-list { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.handoff-list li { padding: 1.7rem 2.1rem 0 0; }
.handoff-list li + li { border-left: 1px solid var(--line); padding-left: 2.1rem; }
.history-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #d0daf3; background: var(--weak); color: var(--blue); border-radius: .55rem; margin-bottom: 1.25rem; }
.history-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.data-label { color: var(--blue); font-size: .75rem; }
.data-label span { color: #868b97; }
.handoff-list h3, .info-card .data-label + h3 { margin-block: .48rem .65rem; }
.split-panel, .contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.split-panel h2 + p { margin-top: 1rem; }
.review-sheet figcaption { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.page-intro { border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 16ch; }
.page-intro .lede { margin-block: 1.25rem 1.7rem; }
.page-intro .split-panel h1 { font-size: clamp(2.85rem,4.7vw,4.6rem); }
.page-intro + .section { background: #fff; }
.sheet-frame figcaption { border-top: 1px solid var(--line); padding: 1rem 1.35rem; font-size: .94rem; }
.sheet-frame figcaption > * { display: block; }
.sheet-frame figcaption .data-label { margin-bottom: .45rem; }
.card-grid, .plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.plan-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.info-card, .plan-card { background: #fff; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1.2rem,2vw,2rem); }
.info-card p:not(.data-label), .plan-card p:not(.eyebrow) { margin-top: .6rem; }
.plan-card h2 { font-size: 1.55rem; }
.section-muted { background: var(--paper); }
.section-muted .split-panel > img { border: 1px solid var(--line); border-radius: .65rem; }
.contact-page { padding-block: clamp(4rem,8vw,9rem); }
.contact-page h1 { margin-bottom: 1.2rem; }
.contact-grid { align-items: start; }
.enquiry-panel { background: white; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1.4rem,3vw,2.75rem); }
.enquiry-panel label { font-weight: 600; display: block; margin-bottom: .5rem; }
.enquiry-panel select { font: inherit; padding: .75rem 2rem .75rem .85rem; color: var(--ink); background-color: white; border: 1px solid #9a9d97; border-radius: .4rem; width: 100%; }
.enquiry-guidance { margin: 1rem 0; }
.availability, .email-note { margin-top: 1rem; font-size: .91rem; }
.availability { color: var(--ink); border-left: 2px solid var(--blue); padding: .6rem .9rem; background: var(--weak); }
#email-enquiry { margin-top: 1rem; }
.footer { background: white; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 2rem; }
.footer .brand { font-size: 1rem; }
.footer p { font-size: .88rem; }
.footer a:last-child { margin-left: auto; }
@media (max-width: 60rem) {
  .hero-inner { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 1.8rem; }
  .hero-copy h1 { font-size: clamp(2.9rem,5.6vw,3.6rem); }
  .sheet-caption > div { padding: .6rem .75rem; }
  .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 46rem) {
  .masthead-inner { flex-wrap: wrap; gap: 0 1rem; padding-block: .8rem .55rem; }
  .masthead .brand img { width: 30px; }
  .masthead .brand { font-size: 1.05rem; }
  .app-picker { margin-left: auto; }
  .primary-nav { order: 1; width: 100%; margin-top: .65rem; gap: 1.5rem; }
  .primary-nav a { padding-block: .25rem; }
  .hero-inner, .split-panel, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-inner { padding-block: 3.1rem 2.65rem; }
  .hero-copy h1 { font-size: clamp(2.65rem,10.7vw,4.65rem); }
  .hero-actions { margin-top: 1.4rem; }
  .handoff-list, .card-grid { grid-template-columns: 1fr; }
  .handoff-list li, .handoff-list li + li { border: 0; border-bottom: 1px solid var(--line); padding: 1.35rem 0; }
  .history-icon { float: left; margin: 0 .9rem .5rem 0; }
  .handoff-list .data-label { padding-top: .1rem; }
  .handoff-list h3 { margin: .18rem 0 .8rem; }
  .vision-feature .review-sheet { order: 1; }
}
@media (max-width: 27rem) {
  .container { width: calc(100% - 2.2rem); }
  .primary-nav { gap: 1.15rem; }
  .primary-nav a { font-size: .85rem; }
  .plan-grid { grid-template-columns: 1fr; }
  .sheet-caption strong { font-size: .88rem; }
  .sheet-caption > div { padding: .5rem; }
  .footer-inner { gap: .85rem; }
  .footer-inner p { order: 1; width: 100%; }
}
