:root{
  --bg: oklch(99% 0.003 95);
  --paper: oklch(100% 0 0);
  --ink: oklch(22% 0.012 250);
  --ink-2: oklch(38% 0.01 250);
  --muted: oklch(55% 0.008 250);
  --hair: oklch(92% 0.004 250);
  --hair-2: oklch(96% 0.004 250);
  --accent: oklch(68% 0.12 55);
  --accent-soft: oklch(94% 0.035 70);
  --col: 680px;
  --card: 920px;
  --shadow-card: 0 1px 0 oklch(92% 0.004 250 / .6), 0 30px 60px -30px oklch(20% 0.02 250 / .18), 0 8px 24px -12px oklch(20% 0.02 250 / .08);
  --shadow-float: 0 20px 40px -20px oklch(20% 0.02 250 / .18), 0 4px 12px -4px oklch(20% 0.02 250 / .10);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior: smooth; }
}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}
.serif{ font-family: "Instrument Serif", ui-serif, Georgia, serif; font-weight: 400; letter-spacing:-0.01em; }
.mono{ font-family: "JetBrains Mono", ui-monospace, monospace; }
.eyebrow{
  font-family:"JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
a{color:inherit}

/* ——— top nav ——— */
.nav{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled{ border-bottom-color: var(--hair); }
.nav-inner{
  max-width: 1100px; margin: 0 auto;
  padding: 14px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:"Instrument Serif", serif; font-size: 22px;
}
.brand .dot{
  width:8px;height:8px;border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 18%, transparent);
}
.brand em{ font-style: italic; color: var(--ink-2); }
.nav ul{ list-style:none; display:flex; gap: 28px; padding:0; margin:0; font-size:14px; color:var(--ink-2); }
.nav ul a{ text-decoration:none; }
.nav ul a:hover{ color: var(--ink); }
.nav .cta{
  font-size:13px; padding:9px 14px; border-radius:999px;
  border:1px solid var(--hair); background: var(--paper);
  text-decoration:none; color:var(--ink);
  transition: transform .15s ease, border-color .2s ease;
}
.nav .cta:hover{ border-color: oklch(80% 0.01 250); }

@media (max-width: 720px){
  .nav ul{ display:none; }
}

/* ——— page column ——— */
main{ padding: 0 24px; }
.col{ max-width: var(--col); margin: 0 auto; }
.card-col{ max-width: var(--card); margin: 0 auto; }

/* ——— hero ——— */
.hero{
  padding: 96px 0 24px;
  text-align: center;
  max-width: var(--card);
}
.hero .tag{
  display:inline-flex; align-items:center; gap:8px;
  font-family:"JetBrains Mono", monospace; font-size:11px;
  letter-spacing:0.14em; text-transform:uppercase; color: var(--muted);
  padding: 6px 12px; border:1px solid var(--hair); border-radius:999px;
  background: var(--paper);
}
.hero .tag::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background: oklch(70% 0.15 145);
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(70% 0.15 145) 20%, transparent);
}
.hero h1{
  font-family:"Instrument Serif", serif;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
  font-weight: 400;
}
.hero h1 em{ font-style: italic; color: var(--ink-2); }
.hero p.lede{
  font-size: 19px;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto;
  text-wrap: pretty;
}
.hero .meta{
  margin-top: 26px;
  display:flex; justify-content:center; gap: 26px; flex-wrap:wrap;
  color: var(--muted); font-size: 13px;
}
.hero .meta span{ display:inline-flex; align-items:center; gap:8px; }
.hero .meta i{
  width:4px; height:4px; border-radius:50%; background: var(--muted); display:inline-block;
}

/* ——— product section ——— */
.product{
  padding: 60px 0 40px;
  position: relative;
}
.stage{
  position: relative;
  max-width: var(--card);
  margin: 0 auto;
}
.device-card{
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 80px 48px 56px;
  overflow: hidden;
}
@media (max-width: 780px){
  .device-card{ padding: 72px 22px 40px; }
}
.device-card .corner{
  position: absolute; top: 20px; left: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.device-card .index{
  position: absolute; top: 20px; right: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--muted);
}

/* floating info card in the top-right */
.info-card{
  position: absolute;
  top: 28px; right: 28px;
  width: 278px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  padding: 18px 18px 16px;
  z-index: 3;
}
.info-card .eyebrow{ margin-bottom: 8px; display:block; }
.info-card h4{
  font-family:"Instrument Serif", serif; font-weight:400;
  font-size: 22px; margin: 0 0 8px; line-height:1.15;
}
.info-card p{ margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.info-card ul{
  margin: 10px 0 0; padding: 0; list-style: none;
  display:flex; flex-direction:column; gap: 8px;
  font-size: 12.5px; color: var(--ink-2);
}
.info-card li{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  line-height: 1.35;
}
.info-card li span{ white-space: normal; }
.info-card li span:first-child{ overflow: visible; text-overflow: clip; }
.info-card li span:last-child{ font-family:"JetBrains Mono", monospace; color: var(--ink); flex: 0 0 auto; }
.info-card .divider{ height:1px; background:var(--hair); margin:12px 0 10px; }

/* ——— exploded device (shadow-box composition) ——— */
.exploded{
  position: relative;
  margin: 0;
  padding: 8px 0 4px;
  width: 100%;
}
.exploded svg{ width: 100%; height: auto; display:block; overflow: visible; }
.exploded .pt-fill{
  fill: oklch(97% 0.004 250);
  stroke: oklch(78% 0.008 250);
  stroke-width: 1; vector-effect: non-scaling-stroke;
}
.exploded .pt-fill-d{
  fill: oklch(92% 0.006 250);
  stroke: oklch(72% 0.008 250);
  stroke-width: 1; vector-effect: non-scaling-stroke;
}
.exploded .pt-hair{
  fill: none;
  stroke: oklch(80% 0.006 250);
  stroke-width: 1; vector-effect: non-scaling-stroke;
}
.exploded .pt-leader{
  fill: none;
  stroke: oklch(55% 0.008 250);
  stroke-width: 1; vector-effect: non-scaling-stroke;
}
.exploded .pt-dot{ fill: oklch(30% 0.01 250); }
.exploded .pt-label{
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  fill: oklch(40% 0.01 250);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.exploded .pt-num{
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  fill: oklch(55% 0.008 250);
  letter-spacing: 0.04em;
}
/* diagonal stripe pattern for photo placeholders */
.exploded .pt-stripes{ fill: url(#ptStripes); }

.product-footer{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap: 24px;
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--hair-2);
}
.product-footer .price{
  font-family:"Instrument Serif", serif;
  font-size: 40px; line-height: 1;
  color: var(--ink);
}
.product-footer .price small{
  font-family:"Inter Tight", sans-serif;
  font-size: 12px; color: var(--muted); margin-left: 8px; letter-spacing: .06em;
}
.product-footer .notes{
  font-size: 13px; color: var(--muted); max-width: 320px; text-align: right;
}

@media (max-width: 780px){
  .device-card{ padding: 72px 22px 40px; }
  .info-card{ position: static; width: auto; margin: 0 0 28px; }
}

/* ——— interlude ——— */
.interlude{
  padding: 64px 0 64px;
  text-align: center;
}
.interlude .arrow{
  display:block; margin: 0 auto 28px;
  width: 1px; height: 56px;
  background: linear-gradient(180deg, transparent, var(--hair));
  position: relative;
}
.interlude .arrow::after{
  content:""; position:absolute; left:-3px; bottom:0;
  width:7px; height:7px; border-right:1px solid var(--muted); border-bottom:1px solid var(--muted);
  transform: rotate(45deg);
}
.interlude p{
  font-family:"Instrument Serif", serif;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  color: var(--ink-2);
  max-width: 560px; margin: 0 auto;
  text-wrap: pretty;
}
.interlude p em{ font-style: italic; color: var(--ink); }

/* ——— form ——— */
.form-section{ padding: 40px 0 120px; }
.form-card{
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 40px 40px 36px;
  max-width: 640px;
  margin: 0 auto;
}
.form-card h2{
  font-family:"Instrument Serif", serif; font-weight: 400;
  font-size: 40px; margin: 0 0 8px; letter-spacing: -0.01em;
}
.form-card .sub{ color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.field{ margin-bottom: 18px; }
.field label{
  display:block; font-size: 12px; letter-spacing:.08em; text-transform:uppercase;
  color: var(--muted); margin-bottom: 8px;
  font-family:"JetBrains Mono", monospace;
}
.select-wrap{ position: relative; }
.select-wrap::after{
  content:""; position:absolute; right: 16px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
select, input[type=text], textarea{
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
select:hover, input:hover, textarea:hover{ border-color: oklch(85% 0.008 250); }
select:focus, input:focus, textarea:focus{
  outline: none; background: var(--paper);
  border-color: var(--ink-2);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--ink-2) 8%, transparent);
}
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width:560px){ .row{ grid-template-columns: 1fr; } }

.quote{
  margin-top: 26px;
  border-top: 1px dashed var(--hair);
  padding-top: 22px;
  display:flex; align-items:flex-end; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.quote .price{
  font-family:"Instrument Serif", serif;
  font-size: 56px; line-height: 1; letter-spacing: -0.01em;
}
.quote .price small{
  font-family:"Inter Tight", sans-serif;
  font-size: 13px; color: var(--muted); margin-left: 10px; letter-spacing: .04em;
}
.quote .breakdown{
  font-size: 12.5px; color: var(--muted);
  font-family:"JetBrains Mono", monospace;
  line-height: 1.8;
  text-align: left;
}
.quote .breakdown b{ color: var(--ink-2); font-weight: 500; }

.submit{
  margin-top: 22px;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 16px 18px;
  border-radius: 14px;
  font: inherit; font-weight: 500; letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s ease, background .2s;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.submit:hover{ background: oklch(28% 0.012 250); }
.submit:active{ transform: translateY(1px); }
.submit .arr{
  width: 16px; height: 16px; position: relative;
}
.submit .arr::after{
  content:""; position:absolute; inset: 0;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: rotate(45deg) scale(.7); transform-origin: center;
}
.disclaimer{ text-align:center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ——— footer ——— */
footer{
  border-top: 1px solid var(--hair);
  padding: 40px 24px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer .brand{ justify-content:center; margin-bottom: 8px; font-size: 18px; }

/* reveal/scroll-in */
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in{ opacity:1; transform: none; }
