:root {
  --ink: #173247;
  --ink-deep: #0d2434;
  --paper: #f4f7f5;
  --paper-blue: #e4edf0;
  --line: #c7d3d6;
  --muted: #647783;
  --orange: #ff784f;
  --orange-deep: #e45a35;
  --mint: #bde2d0;
  --green: #23845f;
  --amber: #d98224;
  --red: #c8483f;
  --display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  --shadow: 0 24px 70px rgba(16, 48, 64, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
select,
textarea {
  font: inherit;
}

button,
a,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 120, 79, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1460px, calc(100% - 56px));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-mark {
  width: 28px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-mark i {
  display: block;
  height: 4px;
  border-radius: 1px;
  background: var(--orange);
}

.brand-mark i:nth-child(2) {
  width: 84%;
  margin-left: 8%;
}

.brand-mark i:nth-child(3) {
  width: 68%;
  margin-left: 16%;
}

.brand-mark i:nth-child(4) {
  width: 52%;
  margin-left: 24%;
}

.site-header nav {
  display: flex;
  gap: 34px;
}

.site-header nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--orange-deep);
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-cta:hover {
  background: var(--ink);
  color: white;
}

.hero {
  width: min(1460px, calc(100% - 56px));
  margin: 0 auto;
  padding: 74px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(58px, 7vw, 116px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.eyebrow.light {
  color: #b8c9d1;
}

.hero h1,
.section-heading h2,
.printability-copy h2,
.limitations h2,
.closing-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(67px, 7.4vw, 120px);
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--orange);
  font-style: normal;
}

.hero-intro {
  max-width: 540px;
  margin: 30px 0 36px;
  color: #405966;
  font-size: 18px;
  line-height: 1.55;
}

.prompt-card {
  position: relative;
  padding: 24px;
  border: 1px solid #b8c9cd;
  background: #fff;
  box-shadow: 10px 10px 0 var(--paper-blue);
}

.prompt-card > label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.prompt-field {
  position: relative;
}

.prompt-field textarea {
  width: 100%;
  min-height: 98px;
  resize: vertical;
  padding: 16px 16px 28px;
  border: 1px solid #aebec3;
  border-radius: 0;
  background: #f9fbfa;
  color: var(--ink);
  line-height: 1.45;
}

.prompt-field textarea:focus {
  background: white;
  border-color: var(--ink);
}

.character-count {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: #819199;
  font-family: var(--mono);
  font-size: 9px;
}

#prompt-help {
  margin: 9px 0 13px;
  color: var(--muted);
  font-size: 11px;
}

.field-error {
  margin: -5px 0 13px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.field-error[hidden] {
  display: none;
}

.prompt-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.prompt-examples button {
  padding: 7px 10px;
  border: 1px solid #cad5d8;
  background: transparent;
  color: #47606c;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
}

.prompt-examples button:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}

.generation-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(90px, 0.7fr);
  gap: 12px;
}

.generation-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.generation-controls label > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generation-controls select {
  height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid #bdcace;
  border-radius: 0;
  background-color: white;
  color: var(--ink);
  font-size: 12px;
}

.generate-button {
  grid-column: 1 / -1;
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  border: 0;
  background: var(--orange);
  color: #132b39;
  cursor: pointer;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.generate-button:hover {
  background: #ff8a67;
}

.generate-button:active {
  transform: translateY(1px);
}

.generate-button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.generate-button.is-building svg {
  animation: nudge 600ms ease infinite alternate;
}

.privacy-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.privacy-note svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.privacy-note a {
  color: inherit;
}

.preview-column {
  position: relative;
}

.preview-column::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 64%;
  height: 64%;
  right: -24px;
  top: -24px;
  background-image:
    linear-gradient(rgba(23, 50, 71, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 50, 71, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.preview-shell {
  overflow: hidden;
  border: 1px solid #9fb2b9;
  background: #dbe7e9;
  box-shadow: var(--shadow);
}

.preview-toolbar {
  height: 55px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #aebfc4;
  background: #eef3f2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(35, 132, 95, 0.13);
}

.view-actions button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #b5c4c8;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.view-actions button:hover {
  background: white;
}

.view-actions svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.canvas-wrap {
  position: relative;
  height: clamp(390px, 42vw, 560px);
  min-height: 390px;
  overflow: hidden;
  cursor: grab;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.86), rgba(232,240,240,0.52) 34%, transparent 62%),
    #ccdcdf;
}

.canvas-wrap:active {
  cursor: grabbing;
}

#model-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.layer-scan {
  position: absolute;
  pointer-events: none;
  left: 18%;
  right: 18%;
  top: 46%;
  height: 2px;
  opacity: 0.65;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 18px rgba(255, 120, 79, 0.55);
  animation: scan 5.8s ease-in-out infinite;
}

.axis-label {
  position: absolute;
  bottom: 22px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(23, 50, 71, 0.35);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
}

.axis-x { left: 20px; }
.axis-z { left: 47px; }

.drag-hint {
  position: absolute;
  right: 18px;
  bottom: 17px;
  margin: 0;
  color: #526b76;
  font-family: var(--mono);
  font-size: 9px;
}

.dimension-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #aebfc4;
  background: #eef3f2;
}

.dimension-strip div {
  min-width: 0;
  padding: 15px 13px;
  border-right: 1px solid #c3ced1;
}

.dimension-strip div:last-child {
  border-right: 0;
}

.dimension-strip span,
.section-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dimension-strip strong {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readiness-card {
  margin: 14px 0 0 50px;
  padding: 20px 22px 18px;
  border: 1px solid #acbdc2;
  background: white;
  box-shadow: 9px 9px 0 rgba(196, 212, 215, 0.72);
}

.readiness-score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 17px;
}

.score-ring {
  --score-color: var(--green);
  --score: 96;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--score-color) calc(var(--score) * 1%), #dce5e4 0);
}

.score-ring::before {
  content: "";
  position: absolute;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: white;
}

.score-ring span {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
}

.readiness-score h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  padding: 13px 0;
  border-top: 1px solid #d6dfe0;
  border-bottom: 1px solid #d6dfe0;
}

.check-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #526772;
  font-size: 10px;
}

.check-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(35, 132, 95, 0.12);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.check-item.warning .check-icon {
  background: rgba(217, 130, 36, 0.14);
  color: var(--amber);
}

.check-item.error .check-icon {
  background: rgba(200, 72, 63, 0.14);
  color: var(--red);
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 15px;
}

.download-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.download-button:hover {
  background: var(--orange-deep);
}

.download-button:disabled {
  background: #8a999f;
  cursor: not-allowed;
  opacity: 0.72;
}

.download-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.download-row > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.proof-strip {
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 max(28px, calc((100% - 1460px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e9f0ef;
}

.proof-strip p {
  margin: 0;
  padding: 0 28px;
  border-right: 1px solid #c2cfd0;
  color: #405b68;
  font-size: 12px;
  font-weight: 700;
}

.proof-strip p:first-child {
  padding-left: 0;
}

.proof-strip p:last-child {
  border-right: 0;
}

.proof-strip strong {
  margin-right: 15px;
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 9px;
}

.process-section,
.faq-section,
.limitations {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.process-section {
  padding: 130px 0 146px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  align-self: start;
  margin-top: 10px;
}

.section-heading h2,
.limitations h2 {
  font-size: clamp(48px, 5.4vw, 78px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-grid article {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.process-visual {
  height: 220px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background: var(--paper-blue);
}

.prompt-visual {
  padding: 48px;
  background-image:
    linear-gradient(rgba(23,50,71,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,50,71,.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.prompt-visual span {
  position: relative;
  z-index: 1;
  padding: 14px 18px;
  border: 1px solid #9eb1b7;
  background: white;
  font-family: var(--mono);
  font-size: 10px;
}

.prompt-visual i {
  position: absolute;
  left: calc(50% - 74px);
  top: calc(50% + 28px);
  width: 2px;
  height: 14px;
  background: var(--orange);
  animation: cursor 1s step-end infinite;
}

.inspect-visual {
  background: #cfdee1;
}

.mini-bed {
  width: 142px;
  height: 112px;
  transform: rotateX(58deg) rotateZ(-30deg);
  border: 2px solid var(--ink);
  background-image:
    linear-gradient(rgba(23,50,71,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,50,71,.18) 1px, transparent 1px);
  background-size: 14px 14px;
}

.mini-bed i {
  position: absolute;
  inset: 20% 31%;
  border: 2px solid var(--orange);
  border-radius: 48% 48% 9% 9%;
  box-shadow: 0 0 0 5px rgba(255,120,79,.12);
}

.inspect-visual > span {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 8px;
  border: 1px solid #7f979f;
  background: rgba(255,255,255,.7);
  font-family: var(--mono);
  font-size: 9px;
}

.slice-visual {
  background: var(--ink);
}

.slice-stack {
  width: 140px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.slice-stack i {
  height: 10px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}

.slice-stack i:nth-child(1) { width: 72%; margin-left: 14%; }
.slice-stack i:nth-child(2) { width: 82%; margin-left: 9%; }
.slice-stack i:nth-child(3) { width: 91%; margin-left: 4.5%; }
.slice-stack i:nth-child(4) { width: 96%; margin-left: 2%; }
.slice-stack i:nth-child(5) { width: 100%; }

.slice-visual svg {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 30px;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.step-number {
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-grid h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.process-grid p {
  margin: 0;
  color: #60747e;
  font-size: 13px;
  line-height: 1.65;
}

.printability-section {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr);
  gap: clamp(72px, 10vw, 160px);
  align-items: center;
  padding: 112px max(28px, calc((100% - 1260px) / 2));
  background: var(--ink);
  color: white;
}

.printability-copy h2 {
  max-width: 680px;
  font-size: clamp(55px, 6.3vw, 92px);
}

.printability-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 32px 0 40px;
  color: #b9cad1;
  font-size: 16px;
  line-height: 1.65;
}

.printability-copy ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #3a5466;
  list-style: none;
}

.printability-copy li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #3a5466;
}

.printability-copy li span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.printability-copy li strong {
  color: #e4ecee;
  font-size: 12px;
  font-weight: 500;
}

.material-ticket {
  position: relative;
  width: min(100%, 440px);
  justify-self: end;
  padding: 22px;
  transform: rotate(1.8deg);
  background: #eff2ea;
  color: var(--ink);
  box-shadow: 15px 18px 0 rgba(5, 25, 38, .32);
}

.material-ticket::before,
.material-ticket::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  height: 9px;
  background: radial-gradient(circle at 9px -2px, transparent 8px, #eff2ea 8.5px) 0 0 / 18px 10px repeat-x;
}

.material-ticket::before {
  top: -8px;
  transform: rotate(180deg);
}

.material-ticket::after {
  bottom: -8px;
}

.ticket-head,
.ticket-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ticket-head {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.ticket-model {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-bottom: 1px dashed #8fa0a5;
}

.ticket-model > div:last-child {
  text-align: center;
}

.ticket-model span,
.ticket-model strong {
  display: block;
}

.ticket-model span {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.ticket-model strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.layered-pot {
  width: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.layered-pot i {
  display: block;
  height: 9px;
  border: 3px solid var(--orange);
  border-radius: 50%;
}

.layered-pot i:nth-child(1) { width: 100%; }
.layered-pot i:nth-child(2) { width: 96%; }
.layered-pot i:nth-child(3) { width: 92%; }
.layered-pot i:nth-child(4) { width: 87%; }
.layered-pot i:nth-child(5) { width: 82%; }
.layered-pot i:nth-child(6) { width: 77%; }
.layered-pot i:nth-child(7) { width: 72%; }

.material-ticket dl {
  margin: 0;
  padding: 10px 0;
}

.material-ticket dl div {
  display: flex;
  justify-content: space-between;
  padding: 8px 2px;
  border-bottom: 1px dotted #a7b4b5;
}

.material-ticket dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.material-ticket dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.estimate-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.ticket-foot {
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.limitations {
  padding: 132px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.limitation-copy {
  padding-top: 42px;
  border-top: 2px solid var(--ink);
}

.limitation-copy p {
  margin: 0 0 24px;
  color: #526a75;
  font-size: 15px;
  line-height: 1.75;
}

.faq-section {
  padding: 40px 0 140px;
}

.faq-section .section-heading {
  padding-bottom: 50px;
  border-bottom: 2px solid var(--ink);
}

.faq-list {
  max-width: 920px;
  margin-left: auto;
}

.faq-list details {
  border-bottom: 1px solid #afbec2;
}

.faq-list summary {
  position: relative;
  padding: 25px 50px 25px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.015em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 2px;
  background: var(--orange);
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list p {
  max-width: 760px;
  margin: -4px 0 25px;
  color: #60747e;
  font-size: 14px;
  line-height: 1.7;
}

.closing-cta {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--orange);
  color: var(--ink);
}

.closing-cta .eyebrow.light {
  color: rgba(23,50,71,.68);
}

.closing-cta .eyebrow > span {
  background: var(--ink);
}

.closing-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(64px, 8vw, 116px);
}

.closing-cta > a {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 50px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.closing-cta > a:hover {
  background: var(--ink);
  color: white;
}

.cta-shape {
  position: absolute;
  right: -5%;
  top: 16%;
  width: 330px;
  transform: rotate(-18deg);
}

.cta-shape i {
  display: block;
  width: 100%;
  height: 25px;
  margin-top: 12px;
  border: 5px solid rgba(23,50,71,.16);
  border-radius: 50%;
}

.cta-shape i:nth-child(2) { width: 90%; margin-left: 5%; }
.cta-shape i:nth-child(3) { width: 80%; margin-left: 10%; }
.cta-shape i:nth-child(4) { width: 70%; margin-left: 15%; }
.cta-shape i:nth-child(5) { width: 60%; margin-left: 20%; }

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 30px max(28px, calc((100% - 1320px) / 2));
  background: var(--ink-deep);
  color: #afc0c7;
  font-size: 10px;
}

.footer-brand {
  color: white;
}

footer p:nth-child(2) {
  max-width: 400px;
  justify-self: center;
  text-align: center;
  line-height: 1.5;
}

footer p:last-child {
  justify-self: end;
  font-family: var(--mono);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: #d7e2e6;
}

.legal-page {
  width: min(820px, calc(100% - 40px));
  min-height: calc(100vh - 232px);
  margin: 0 auto;
  padding: 80px 0 110px;
}

.legal-page .eyebrow {
  margin-bottom: 18px;
}

.legal-page h1 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 78px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-family: var(--display);
  font-size: 26px;
  text-transform: uppercase;
}

.legal-page p,
.legal-page li {
  color: #526a75;
  font-size: 15px;
  line-height: 1.75;
}

.legal-page a {
  color: var(--orange-deep);
}

.legal-meta {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 48px));
  padding: 14px 18px;
  transform: translateY(30px);
  opacity: 0;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  font-size: 12px;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes scan {
  0%, 100% { transform: translateY(-140px); opacity: 0; }
  15%, 85% { opacity: .65; }
  50% { transform: translateY(145px); }
}

@keyframes cursor {
  0%, 47% { opacity: 1; }
  48%, 100% { opacity: 0; }
}

@keyframes nudge {
  to { transform: translateX(4px); }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .preview-column {
    max-width: 800px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 25px;
  }

  .printability-section {
    grid-template-columns: 1fr;
  }

  .material-ticket {
    justify-self: start;
    margin-left: 4%;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .process-section,
  .faq-section,
  .limitations {
    width: min(100% - 32px, 620px);
  }

  .site-header {
    height: 70px;
  }

  .header-cta {
    padding: 10px;
    font-size: 9px;
  }

  .hero {
    padding: 52px 0 68px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .prompt-card {
    padding: 18px;
    box-shadow: 6px 6px 0 var(--paper-blue);
  }

  .generation-controls {
    grid-template-columns: 1fr;
  }

  .generation-controls .generate-button {
    grid-column: 1;
  }

  .canvas-wrap {
    height: 390px;
    min-height: 0;
  }

  .dimension-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .dimension-strip div:nth-child(2) {
    border-right: 0;
  }

  .dimension-strip div:nth-child(-n+2) {
    border-bottom: 1px solid #c3ced1;
  }

  .readiness-card {
    margin-left: 0;
    padding: 18px;
  }

  .checks {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 16px;
  }

  .proof-strip p {
    padding: 10px;
  }

  .proof-strip p:nth-child(2) {
    border-right: 0;
  }

  .process-section {
    padding: 90px 0;
  }

  .section-heading h2,
  .limitations h2 {
    font-size: 49px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .process-visual {
    height: 250px;
  }

  .printability-section {
    min-height: auto;
    padding: 90px 24px;
  }

  .printability-copy h2 {
    font-size: 54px;
  }

  .printability-copy li {
    grid-template-columns: 100px 1fr;
  }

  .material-ticket {
    width: calc(100% - 12px);
    margin: 18px 0 0;
  }

  .limitations {
    padding: 90px 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .limitation-copy {
    padding-top: 25px;
  }

  .faq-section {
    padding-bottom: 90px;
  }

  .faq-list summary {
    font-size: 19px;
  }

  .closing-cta {
    min-height: 520px;
    padding: 40px 18px;
  }

  .closing-cta h2 {
    font-size: 62px;
  }

  .cta-shape {
    right: 0;
    width: 190px;
    transform: none;
    opacity: .55;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 24px;
    text-align: left;
  }

  footer p:nth-child(2),
  footer p:last-child {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .layer-scan,
  .prompt-visual i,
  .generate-button.is-building svg {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
