/* Round three: the two working sites, /make and /enterprise.
   Its own look, on purpose (Bera, 2026-11-18): the dark blueprint style of the earlier pages suits investors;
   these two are used by people who need a part or run a plant, so they are light, plain and roomy.
   Brand kept: navy and orange, Montserrat and Open Sans. This file does not build on site.css.
   The one loud thing on each page is the part itself, turning in the 3D view. Everything else stays quiet. */
@import url("fonts.css");

:root {
  --navy: #010A2D;          /* header and footer: the brand's own dark */
  --ink: #0B1B3F;           /* text */
  --muted: #56637B;         /* second-level text */
  --faint: #7C889D;
  --paper: #FFFFFF;
  --mist: #F2F5FA;          /* quiet panels, the stage behind a part */
  --mist2: #E4EAF3;
  --line: #DAE1EB;
  --line-strong: #B5C1D3;
  --orange: #F45902;        /* the one action color */
  --orange-dark: #D94E00;
  --on-orange: #200D02;
  --orange-soft: #FFF1E7;
  --teal: #007C8A;          /* done, links inside text */
  --teal-soft: #E2F3F5;
  --ok: #17794A;
  --bad: #B3261E;
  --ff: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fd: 'Montserrat', 'Open Sans', system-ui, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --wrap: 72rem;
  --measure: 38rem;
  --lift: 0 1px 2px rgba(11, 27, 63, 0.05), 0 14px 34px rgba(11, 27, 63, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.r3 { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--ff); -webkit-font-smoothing: antialiased; }
/* The element defaults carry no weight (:where), so any class below can set its own margins and colors. */
:where(.r3) :where(img, video) { display: block; max-width: 100%; height: auto; }
:where(.r3) :where(a) { color: var(--ink); text-underline-offset: 3px; }
:where(.r3) :where(a):hover { color: var(--orange-dark); }
.r3 :focus-visible { outline: 3px solid rgba(244, 89, 2, 0.45); outline-offset: 2px; border-radius: 4px; }
:where(.r3) :where(h1, h2, h3) { font-family: var(--fd); font-weight: 700; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
:where(.r3) :where(p) { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

/* header and footer carry the brand's navy; the page between them is light */
.top { background: var(--navy); position: sticky; top: 0; z-index: 20; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.top__logo img { height: 28px; width: auto; }
.r3 .top .top__cta { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.r3 .top .top__cta:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.foot { background: var(--navy); color: #AEB8CB; padding: 2.25rem 0 2.75rem; font-size: 14.5px; }
.foot__inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot p + p { margin-top: 0.3rem; }
.r3 .foot a, .r3 .foot a:hover { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0 1.5rem; border-radius: 12px;
  border: 1.5px solid transparent; font: 600 16.5px/1 var(--ff); text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.r3 .btn--primary { background: var(--orange); color: var(--on-orange); }
.r3 .btn--primary:hover { background: var(--orange-dark); color: #fff; }
.r3 .btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.r3 .btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 1rem; font-size: 15px; border-radius: 10px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--mist { background: var(--mist); }
.section--flush { padding-bottom: 0; }
.section h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.15; margin-bottom: 1rem; max-width: 26ch; }
.section__lead { color: var(--muted); max-width: var(--measure); margin-bottom: 2rem; font-size: 18px; }

/* fields */
.field { display: grid; gap: 0.3rem; }
.field label, .field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.r3 input[type="text"], .r3 input[type="email"], .r3 input[type="tel"], .r3 input[type="number"], .r3 select, .r3 textarea {
  width: 100%; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 10px;
  font: 400 16.5px/1.45 var(--ff); padding: 0.65rem 0.8rem; }
.r3 input::placeholder, .r3 textarea::placeholder { color: var(--faint); }
.r3 input:focus, .r3 select:focus, .r3 textarea:focus { outline: 3px solid rgba(244, 89, 2, 0.28); outline-offset: 0; border-color: var(--orange); }
.r3 select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 54%, calc(100% - 12px) 54%; background-size: 6px 6px; background-repeat: no-repeat; }
.r3 input[type="file"] { font: 400 15px var(--ff); color: var(--muted); max-width: 100%; }
.r3 input[type="file"]::file-selector-button { font: 600 15px var(--ff); margin-right: 0.8rem; padding: 0.55rem 0.9rem; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); cursor: pointer; }
.tb__status { margin: 0; font-size: 15.5px; font-weight: 600; }
.tb__status:empty { display: none; }
.tb__status[data-state="ok"] { color: var(--ok); }
.tb__status[data-state="error"] { color: var(--bad); }
.tb__note { color: var(--muted); font-size: 14.5px; }
.inline-error, .ask__error { margin: 0; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--orange-soft); border: 1px solid #F9C9A8; color: #7A2B00; font-size: 15.5px; }

/* hero */
.hero { background: var(--mist); padding: clamp(2rem, 4.5vw, 3.75rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.15rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 19ch; }
.hero__lead { margin-top: 1rem; color: var(--muted); font-size: 19px; max-width: 34rem; }

/* ---------------------------------------------------------------------------------------------------
   /make
   --------------------------------------------------------------------------------------------------- */
.make__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: start;
  grid-template-areas: "text demo" "tool demo"; }
.make__text { grid-area: text; }
.make__grid > .tool { grid-area: tool; }
.demo { grid-area: demo; align-self: center; }
.make__grid[data-state="work"], .make__grid[data-state="bench"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "tool"; }
.make__grid[data-state="work"] .demo, .make__grid[data-state="bench"] .demo { display: none; }
/* once the part is there, the part is the page: the headline steps back */
.make__grid[data-state="bench"] .make__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero:has(.make__grid[data-state="bench"]) { padding-top: 1.25rem; }
.make__grid[data-state="work"] .hero__lead { display: none; }
.make__grid[data-state="work"] h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); max-width: none; }
.hero:has(.make__grid[data-state="work"]) { padding-top: 2rem; }

.tool { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--lift); overflow: clip; }

/* the box where it starts */
.ask { padding: clamp(1.1rem, 2.4vw, 1.6rem); display: grid; gap: 0.9rem; }
.ask__label { font: 700 1.3rem/1.2 var(--fd); letter-spacing: -0.01em; }
.r3 .ask textarea { min-height: 7rem; resize: vertical; font-size: 18px; border-radius: 12px; padding: 0.85rem 0.95rem; }
.ask__row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.ask__row .btn--primary { margin-left: auto; min-width: 11.5rem; }
.ask__cam { display: none; }
.ask__row input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ask__photos { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.thumb { position: relative; width: 84px; height: 84px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--mist); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 27, 63, 0.82); color: #fff; font: 600 15px/1 var(--ff); cursor: pointer; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; color: var(--muted); font-size: 14.5px; }
.ticks li { padding-left: 1.45rem; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 0.85rem; height: 0.45rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.ask__examples { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; color: var(--muted); font-size: 14.5px; padding-top: 0.2rem; }
.chip, .chipbtn { border: 0; background: var(--mist); color: var(--ink); border-radius: 999px; padding: 0.42rem 0.9rem; font: 600 14px/1.3 var(--ff); cursor: pointer; text-align: left; }
.chip:hover, .chipbtn:hover { background: var(--mist2); }

/* a part turning next to the box: one sentence in, this part out */
.stagebg { background: radial-gradient(110% 90% at 50% 30%, #FFFFFF 0%, var(--mist2) 100%); }
.demo__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.demo__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.demo__say { margin-top: 0.9rem; font-size: 17px; line-height: 1.5; color: var(--ink); min-height: 3.2em; }
.demo__say q { quotes: '\201C' '\201D'; }
.demo__meta { margin-top: 0.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.demo__dots { display: flex; gap: 0.45rem; }
.demo__dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: var(--line-strong); cursor: pointer; }
.demo__dots button[aria-current="true"] { background: var(--orange); }
.linkbtn { border: 0; background: none; padding: 0; font: 600 14.5px var(--ff); color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* waiting */
.work { padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.bubble { margin: 0; padding: 0.8rem 1rem; border-radius: 16px 16px 16px 4px; background: var(--mist); color: var(--ink); font-size: 16px; overflow-wrap: anywhere; max-width: 34rem; }
.work .bubble { margin-bottom: 1.25rem; }
.work__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.work__steps li { display: flex; gap: 0.75rem; align-items: center; color: var(--faint); font-size: 16.5px; }
.work__steps li::before { content: ''; flex: 0 0 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); }
.work__steps li.is-done { color: var(--muted); }
.work__steps li.is-done::before { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.work__steps li.is-now { color: var(--ink); font-weight: 600; }
.work__steps li.is-now::before { border-color: var(--orange); border-top-color: transparent; animation: turn 0.9s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.work__time { margin-top: 1rem; color: var(--muted); font-size: 14.5px; }
.work__blank { aspect-ratio: 4 / 3; border-radius: 16px; border: 2px dashed var(--line-strong); display: grid; place-items: center; color: var(--faint); font-size: 15px; background: var(--mist); }
/* the designer's draft: the name and the sizes it has chosen so far, written where the part will appear */
.work__blank.is-draft { display: block; place-items: normal; aspect-ratio: auto; min-height: 16rem; padding: 1.4rem 1.5rem; border-style: solid; border-width: 1px; background: #fff; color: var(--ink); }
.draft__name { font-family: var(--fd); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.draft__sizes { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 0 1.5rem; }
.draft__sizes li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.42rem 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.draft__sizes li span { color: var(--muted); }
.draft__sizes li b { font-weight: 600; white-space: nowrap; }
.draft__note { margin-top: 0.9rem; font-size: 14.5px; color: var(--muted); }

/* the bench: the part, and a conversation about it */
.bench { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.7fr); align-items: start; }
.bench__view { position: sticky; top: 60px; display: flex; flex-direction: column; height: min(calc(100vh - 60px), 44rem); min-height: 25rem; }
.bench__side { border-left: 1px solid var(--line); }
.view__stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.view__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.view__stage canvas:active { cursor: grabbing; }
.bench__view.is-busy canvas { opacity: 0.4; transition: opacity 0.2s; }
.bench__view.is-busy .dims { opacity: 0.3; pointer-events: none; }
.view__tag { position: absolute; left: 1.1rem; top: 0.95rem; right: 8.5rem; pointer-events: none; }   /* room for the reset button */
.view__name { font: 700 1.2rem/1.2 var(--fd); }
.view__size { margin-top: 0.15rem; font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.view__foot { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0.75rem; display: flex; justify-content: space-between; gap: 1rem; pointer-events: none; font-size: 13.5px; color: var(--muted); }
.view__reset { position: absolute; right: 0.9rem; top: 0.9rem; }
.view__busy { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0.55rem 1rem; background: var(--ink); color: #fff; border-radius: 999px; font-size: 15px; font-weight: 600; z-index: 3; }
.view__nogl { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--muted); }
/* the part is on screen while it is still being compared with the request: no sizes, price or download yet */
.view__check { position: absolute; left: 50%; bottom: 2.6rem; transform: translateX(-50%); display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem;
  background: var(--ink); color: #fff; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; z-index: 3; max-width: calc(100% - 2rem); }
.view__check::before { content: ''; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: turn 0.8s linear infinite; }
.panel--wait { display: none; }
.bench.is-preview .panel--wait { display: block; }
.bench.is-preview .bench__side .panel:not(.panel--wait), .bench.is-preview .view__bar, .bench.is-preview .view__foot { display: none; }
.view__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); background: var(--paper); }
.view__price { display: grid; gap: 0.1rem; min-width: 0; }
.view__amount { font: 700 1.4rem/1.15 var(--fd); letter-spacing: -0.01em; }
.view__amount small { font: 400 14.5px/1 var(--ff); color: var(--muted); margin-left: 0.35rem; letter-spacing: 0; }
.view__terms { font-size: 14px; color: var(--muted); }

/* sizes live on the part: a tag where each size is, tap it to change it */
.dims { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.dims__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dims__lines path { fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-linecap: round; }
.dims__lines path.is-on { stroke: var(--orange); stroke-width: 2.4; }
.dim { position: absolute; left: 0; top: 0; pointer-events: auto; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.55rem;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, 0.95); color: var(--ink);
  font: 700 13.5px/1.2 var(--ff); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; box-shadow: 0 2px 6px rgba(11, 27, 63, 0.12);
  will-change: transform; }
.dim--pt { padding-left: 0.5rem; }
.dim--pt::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.dim:hover, .dim.is-hot, .dim[aria-expanded="true"] { border-color: var(--orange); background: #fff; z-index: 1; }
.dim[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(244, 89, 2, 0.25); }
.dim small { font: 400 12.5px/1.2 var(--ff); color: var(--muted); }
/* a size with its own line shows the number, as a drawing does; its name appears when you point at it */
.dim:not(.dim--pt) small { display: none; }
.dim:not(.dim--pt):hover small, .dim:not(.dim--pt).is-hot small, .dim:not(.dim--pt)[aria-expanded="true"] small { display: inline; }

/* the little editor that opens at a tag or a size row */
/* it opens in the corner of the view, always the same place, so the part stays in sight while it changes */
.editor { position: absolute; left: 1rem; bottom: 1rem; z-index: 5; width: min(19rem, calc(100% - 2rem)); padding: 0.9rem 1rem 1rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(11, 27, 63, 0.22); }
.view__stage.is-editing .view__foot span:first-child { visibility: hidden; }
.editor__label { font: 700 1rem/1.3 var(--fd); margin-bottom: 0.6rem; padding-right: 1.8rem; }
.editor__close { position: absolute; right: 0.5rem; top: 0.45rem; width: 32px; height: 32px; border: 0; background: none; font: 400 22px/1 var(--ff); color: var(--muted); cursor: pointer; border-radius: 8px; }
.editor__close:hover { background: var(--mist); color: var(--ink); }
.editor__row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 0.5rem; align-items: center; }
.editor__row button { height: 46px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper); font: 600 22px/1 var(--ff); color: var(--ink); cursor: pointer; }
.editor__row button:hover { border-color: var(--ink); }
.editor__val { position: relative; }
.r3 .editor__val input { height: 46px; text-align: center; font: 700 1.25rem/1 var(--fd); padding: 0 2.4rem 0 0.6rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.editor__val input::-webkit-outer-spin-button, .editor__val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.editor__val span { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
.editor input[type="range"] { width: 100%; accent-color: var(--orange); margin: 0.75rem 0 0.1rem; height: 26px; }
.editor__range { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.editor__error { margin-top: 0.6rem; }

.panel { padding: 1.1rem 1.2rem 1.25rem; border-bottom: 1px solid var(--line); }
.panel:last-child { border-bottom: 0; }
.r3 .panel h2 { font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.005em; margin-bottom: 0.75rem; }
.panel__note { color: var(--muted); font-size: 14.5px; margin-top: 0.5rem; }
.check-note, .photo-note { margin: 0 0 0.9rem; padding: 0.7rem 0.85rem; border-radius: 10px; font-size: 14.5px; line-height: 1.5; }
.check-note { background: var(--orange-soft); border: 1px solid #F9C9A8; color: #6B2600; }
.check-note strong { display: block; }
.photo-note { background: var(--teal-soft); color: #064F58; }

/* talking to the designer */
.thread { list-style: none; margin: 0 0 0.9rem; padding: 0; display: grid; gap: 0.5rem; max-height: 15rem; overflow-y: auto; }
.thread li { font-size: 15px; line-height: 1.45; padding: 0.55rem 0.8rem; max-width: 92%; overflow-wrap: anywhere; }
.thread .is-you { justify-self: end; background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.thread .is-us { justify-self: start; background: var(--mist); color: var(--ink); border-radius: 14px 14px 14px 4px; }
.thread .is-us.is-wait { color: var(--muted); }
.words { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
.is-locked .words, .is-locked .words__try, .is-locked .words__error { display: none; }
.words .btn { min-height: 46px; padding: 0 1.1rem; }
.words__try { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.6rem; }
.words__try span { font-size: 14px; color: var(--muted); }
.words__try:empty { display: none; }
.words__error, .sizes__error, .get__error { margin-top: 0.7rem; }

/* every size, as a plain list: the same editor opens from here */
.sizes { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sizes button { display: inline-flex; gap: 0.45rem; align-items: baseline; border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 0.4rem 0.7rem; font: 400 14.5px/1.3 var(--ff); color: var(--muted); cursor: pointer; text-align: left; }
.sizes button b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sizes button:hover, .sizes button[aria-expanded="true"] { border-color: var(--orange); }

.get { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.get .btn { min-height: 46px; flex: 1 1 8rem; }

.order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 0.6rem; }
.price { margin-top: 0.9rem; padding: 0.9rem 1rem; border-radius: 12px; background: var(--mist); }
.price__main { font: 700 1.8rem/1.1 var(--fd); letter-spacing: -0.015em; }
.price__main small { font: 400 15px/1 var(--ff); color: var(--muted); margin-left: 0.35rem; letter-spacing: 0; }
.price__sub { margin-top: 0.3rem; color: var(--muted); font-size: 15px; }
.price__wait { display: flex; gap: 0.6rem; align-items: center; color: var(--muted); font-size: 15px; }
.price__wait::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--line-strong); border-top-color: var(--orange); animation: turn 0.8s linear infinite; }
.price details { margin-top: 0.6rem; font-size: 14.5px; color: var(--muted); }
.price summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.lines { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 14.5px; }
.lines td { padding: 0.32rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.lines td:last-child { text-align: right; white-space: nowrap; padding-left: 0.75rem; font-variant-numeric: tabular-nums; }
.lines tr:last-child td { border-bottom: 0; font-weight: 700; }
.order__go { margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.order__go .btn { width: 100%; }
.done { padding: 0.95rem 1.05rem; border-radius: 12px; background: var(--teal-soft); color: #064F58; }
.done strong { display: block; margin-bottom: 0.2rem; }

/* dialogs */
.sheet { border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); padding: 0; width: min(100% - 1.5rem, 35rem); box-shadow: 0 24px 60px rgba(11, 27, 63, 0.3); }
.sheet::backdrop { background: rgba(1, 10, 45, 0.55); }
.sheet form { padding: 1.4rem; display: grid; gap: 0.85rem; }
.r3 .sheet h2 { font-size: 1.4rem; line-height: 1.2; }
.sheet p { color: var(--muted); font-size: 15.5px; }
.sheet__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.7rem; }
.sheet__grid .field { grid-column: span 6; }
.sheet__grid .field--half { grid-column: span 3; }
.sheet__grid .field--third { grid-column: span 2; }
.sheet__foot { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem 1rem; flex-wrap: wrap; margin-top: 0.25rem; }
.r3 .sheet .sheet__recap { padding: 0.7rem 0.85rem; border-radius: 10px; background: var(--mist); font-size: 15px; color: var(--ink); }

/* how it works: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1.05rem/1 var(--fd); margin-bottom: 0.9rem; }
.steps li strong { display: block; color: var(--ink); font: 700 1.15rem/1.3 var(--fd); margin-bottom: 0.3rem; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.r3 .cols h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.cols ul { margin: 0; padding: 0; list-style: none; color: var(--ink); display: grid; gap: 0.45rem; }
.cols li { padding-left: 1.6rem; position: relative; }
.cols__yes li::before { content: ''; position: absolute; left: 0.1rem; top: 0.42em; width: 0.85rem; height: 0.45rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.cols__no li { color: var(--muted); }
.cols__no li::before { content: ''; position: absolute; left: 0.15rem; top: 0.78em; width: 0.8rem; height: 2.5px; background: var(--line-strong); }

.faq { max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.05rem 0; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { margin: 0 0 1.15rem; color: var(--muted); max-width: var(--measure); }

.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 4vw, 4rem); align-items: center; }
.signup .section__lead { margin-bottom: 0; }
.signup__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem; }
.signup__form .tb__status { grid-column: 1 / -1; }

/* ---------------------------------------------------------------------------------------------------
   /enterprise
   --------------------------------------------------------------------------------------------------- */
.ent3 .hero h1 { max-width: 16ch; }
.ent3 .hero__lead { max-width: 40rem; }
.ent__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: center; }
/* the hero's proof: one real run, the part turning above the engine's result for it */
.proof { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--lift); overflow: clip; }
.proof__stage { position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.proof__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.proof__body { padding: 1rem 1.2rem 1.15rem; }
.proof__title { font: 700 1.05rem/1.3 var(--fd); margin-bottom: 0.65rem; }
.proof .kv { margin-bottom: 0.75rem; }
.proof__foot { font-size: 14.5px; color: var(--muted); }
.r3 .proof__foot a { color: var(--teal); font-weight: 600; }
.hero__points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.55rem; color: var(--ink); max-width: 40rem; }
.hero__points li { padding-left: 1.75rem; position: relative; }
.hero__points li::before { content: ''; position: absolute; left: 0.1rem; top: 0.42em; width: 0.95rem; height: 0.5rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero__alt { font-weight: 600; }
.hero__trust { margin-top: 1.4rem; color: var(--muted); font-size: 14.5px; }
/* a jump from the page's own menu lands below the two sticky bars (header 60 px, menu 48 px) */
.ent3 section[id] { scroll-margin-top: 60px; }
.ent3 #walk, .ent3 #act, .ent3 #part-card, .ent3 #price, .ent3 #calc { scroll-margin-top: 124px; }
.subnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 60px; z-index: 15; }
.subnav__inner { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; height: 48px; align-items: center; font-size: 15px; white-space: nowrap; }
.subnav__inner::-webkit-scrollbar { display: none; }
.r3 .subnav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.r3 .subnav a:hover { color: var(--ink); }

.walk { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--lift); overflow: clip; }
.walk__parts { display: flex; gap: 0.4rem; padding: 0.6rem; background: var(--mist); border-bottom: 1px solid var(--line); overflow-x: auto; }
.walk__parts button { flex: 1 0 auto; padding: 0.6rem 1rem; background: transparent; border: 0; border-radius: 10px; color: var(--muted); font: 600 15.5px/1.3 var(--ff); cursor: pointer; text-align: left; }
.walk__parts button small { display: block; font: 400 13.5px/1.3 var(--ff); color: var(--faint); margin-top: 0.1rem; font-variant-numeric: tabular-nums; }
.walk__parts button[aria-selected="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 1px 3px rgba(11, 27, 63, 0.12); }
.walk__body { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); }
.walk__view { position: relative; min-height: 28rem; border-right: 1px solid var(--line); }
/* the part keeps its own size and stays in sight next to a long plan (the cycle time step is two screens long) */
.walk__stage { position: sticky; top: 108px; height: 28rem; }
.walk__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.walk__stage .view__reset { position: absolute; right: 0.9rem; top: 0.9rem; }
.walk__steps { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; padding: 0 0.4rem; }
.walk__steps::-webkit-scrollbar { display: none; }
.walk__steps button { flex: 1 0 auto; padding: 0.85rem 0.35rem 0.75rem; background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--muted); font: 600 14.5px/1.2 var(--ff); cursor: pointer; white-space: nowrap; }
.walk__steps button b { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--mist2); color: var(--muted); font: 700 12px/1 var(--ff); margin-right: 0.3rem; }
.walk__steps button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.walk__steps button[aria-selected="true"] b { background: var(--orange); color: var(--on-orange); }
.walk__pane { padding: 1.15rem 1.3rem 1.3rem; min-height: 24rem; }
.r3 .walk__pane h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 0.6rem; }
.walk__pane p { margin: 0 0 0.75rem; color: var(--muted); font-size: 15.5px; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 1rem; margin: 0 0 0.9rem; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); padding: 0.35rem 0.6rem 0.35rem 0; border-bottom: 1.5px solid var(--line-strong); font-size: 13.5px; }
.tbl td { padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; padding-right: 0; font-variant-numeric: tabular-nums; }
.tbl tr.is-pick td { background: var(--orange-soft); }
.tbl tr.is-pick td:first-child { box-shadow: inset 3px 0 0 var(--orange); padding-left: 0.6rem; }
.tbl tr.is-pick td:last-child { padding-right: 0.5rem; }
.tbl tr.is-out td { color: var(--faint); }
.tbl tfoot td { border-bottom: 0; font-weight: 700; }
.setups { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0 0 0.8rem; }
.setups button { border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--muted); border-radius: 999px; padding: 0.32rem 0.8rem; font: 600 13.5px/1.2 var(--ff); cursor: pointer; }
.setups button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.nc { margin: 0; padding: 0.9rem 1rem; background: var(--navy); border-radius: 12px; font: 12.5px/1.55 var(--fm); color: #C9D3E6; max-height: 19rem; overflow: auto; white-space: pre; tab-size: 2; }
.nc b { color: #FF9A5C; font-weight: 500; }
.nc i { color: #8493B0; font-style: normal; }
.cal { display: grid; gap: 0.4rem; margin: 0.4rem 0 0.9rem; }
.cal__row { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 0.6rem; align-items: center; font-size: 14px; }
.cal__days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.cal__day { height: 30px; border-radius: 6px; background: var(--mist); font: 600 12px/30px var(--ff); color: var(--muted); text-align: center; overflow: hidden; white-space: nowrap; position: relative; }
.cal__day.is-booked { background: var(--mist2); color: var(--muted); }
.cal__day.is-job { background: var(--orange); color: var(--on-orange); }
.cal__day.is-first { overflow: visible; text-align: left; padding-left: 0.5rem; z-index: 1; border-radius: 6px 0 0 6px; }
.cal__day.is-booked + .cal__day.is-booked:not(.is-first), .cal__day.is-job + .cal__day.is-job:not(.is-first) { margin-left: -3px; border-radius: 0 6px 6px 0; }
.cal__head .cal__day { background: transparent; height: 20px; line-height: 20px; font-weight: 400; color: var(--faint); }
.walk__src { padding: 0.7rem 1.3rem; border-top: 1px solid var(--line); background: var(--mist); color: var(--muted); font-size: 13.5px; }

.formcard { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; max-width: 54rem; box-shadow: var(--lift); }
.formcard__head { padding: 1.3rem 1.4rem 0; }
.r3 .formcard__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.15; max-width: none; margin-bottom: 0.4rem; }
.formcard__head p { color: var(--muted); font-size: 16px; }
.formcard form { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: 0.9rem; }
.formcard .sheet__foot { justify-content: space-between; }
.formcard .sheet__foot .btn { margin-left: auto; }

.flowg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 0 3.5rem; align-items: center; }
.flowg__col { display: grid; gap: 0.7rem; }
.flowg__cap { margin: 0 0 0.1rem; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.node { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 0.8rem 1rem; }
.node b { display: block; font: 700 1.05rem/1.25 var(--fd); margin-bottom: 0.15rem; }
.node span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }
.node--kc { background: var(--navy); border-color: var(--navy); color: #fff; padding: 1.2rem 1.3rem; }
.node--kc b { color: #fff; font-size: 1.2rem; }
.node--kc ol { margin: 0.5rem 0 0; padding-left: 1.25rem; color: #D5DCEA; font-size: 15.5px; }
.node--kc li { margin-bottom: 0.25rem; }
.flowg__mid { position: relative; }
.flowg__mid::before, .flowg__mid::after { content: ''; position: absolute; top: 50%; width: 2.2rem; height: 2.5px; background: var(--line-strong); }
.flowg__mid::before { left: -2.85rem; }
.flowg__mid::after { right: -2.85rem; background: var(--teal); }
.flowg__mid .node::before, .flowg__mid .node::after { content: ''; position: absolute; top: 50%; width: 10px; height: 10px; border-top: 2.5px solid var(--line-strong); border-right: 2.5px solid var(--line-strong); transform: translateY(-4px) rotate(45deg); }
.flowg__mid .node::before { left: -1.25rem; }
.flowg__mid .node::after { right: -2.85rem; border-color: var(--teal); }
.rw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2.25rem; }
.r3 .rw h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.rw ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.rw li strong { font-weight: 600; color: var(--ink); }
.rw li span { color: var(--muted); font-size: 14.5px; }
.tag { display: inline-block; font: 600 12px/1 var(--ff); color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: 0.22rem 0.55rem; margin-left: 0.45rem; white-space: nowrap; vertical-align: 1px; }
.tag--pilot { color: #8A3200; background: var(--orange-soft); }
.rw__foot { margin-top: 1.75rem; color: var(--muted); max-width: 46rem; }

.facts2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.r3 .facts2 h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.facts2--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.75rem; }
.facts2--4 p { font-size: 15.5px; }
.facts2 p { color: var(--muted); font-size: 16px; }
.pricebox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; border-radius: 18px; background: var(--navy); padding: clamp(1.4rem, 3vw, 2.25rem); }
.r3 .pricebox__big { font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--fd); letter-spacing: -0.015em; color: #fff; }
.r3 .pricebox__sub { margin-top: 0.6rem; color: #C3CCDD; max-width: 40rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.facts p { color: var(--muted); font-size: 16px; }
.facts strong { display: block; color: var(--ink); font: 700 1.05rem/1.3 var(--fd); margin-bottom: 0.3rem; }

/* the walkthrough's cycle time step: one part's cycle split by clamping, then the operations that hold the minutes */
.cyc__bar { display: flex; gap: 2px; height: 16px; border-radius: 5px; overflow: hidden; margin: 0.15rem 0 0.5rem; }
.cyc__bar i { flex: 1 1 0; min-width: 5px; }
.cyc__key { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cyc__key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.4rem; }
.cyc__bar .s1, .cyc__key .s1 { background: #0B1B3F; }
.cyc__bar .s2, .cyc__key .s2 { background: #007C8A; }
.cyc__bar .s3, .cyc__key .s3 { background: #6C7FA3; }
.cyc__bar .s4, .cyc__key .s4 { background: #7CC0C8; }
.cyc__bar .s5, .cyc__key .s5 { background: #A9B7CE; }
.cyc__bar .s6, .cyc__key .s6 { background: #C9D9DC; }
.walk__pane .cyc__lead { color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 0.55rem; }
.optime { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--line-strong); }
.optime li { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; grid-template-areas: "what cut min" "bar bar bar"; gap: 0.1rem 0.9rem;
  padding: 0.5rem 0 0.55rem; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: start; }
.optime__what { grid-area: what; }
.optime__what b { display: block; font-weight: 600; }
.optime__what span, .optime__cut { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.optime__cut { grid-area: cut; padding-top: 0.12rem; font-variant-numeric: tabular-nums; }
.optime__min { grid-area: min; text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.optime__bar { grid-area: bar; height: 5px; border-radius: 3px; background: var(--mist); margin-top: 0.3rem; }
.optime__bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.optime__bar i.is-rest { background: var(--line-strong); }

/* what a minute is worth: the visitor's own numbers on the left, the arithmetic on the right */
.calc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--lift); overflow: clip; }
.calc__in { padding: 1.5rem 1.6rem; display: grid; gap: 0.95rem; align-content: center; }
.r3 .calc__in input { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__out { padding: 1.6rem 1.8rem 1.5rem; background: var(--navy); display: grid; align-content: center; gap: 0.3rem; }
.r3 .calc__cap { color: #C3CCDD; font-size: 16px; margin-bottom: 0.2rem; }
.r3 .calc__big { font: 700 clamp(1.45rem, 2.9vw, 2.1rem)/1.2 var(--fd); letter-spacing: -0.015em; color: #fff; font-variant-numeric: tabular-nums; }
.r3 .calc__note { margin-top: 0.75rem; color: #D5DCEA; font-size: 15.5px; max-width: 34rem; }
.r3 .calc__sum { margin-top: 0.15rem; color: #93A1BC; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.r3 .finds__title { font-size: 1.3rem; margin: 2.75rem 0 0.5rem; }
.finds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; border-top: 1px solid var(--line-strong); }
.finds > div { padding: 1.15rem 0 1.25rem; border-bottom: 1px solid var(--line-strong); }
.r3 .finds h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 0.35rem; }
.finds p { color: var(--muted); font-size: 16px; max-width: 34rem; }
.r3 .finds a { color: var(--teal); font-weight: 600; white-space: nowrap; }

/* a form next to what it is for */
.duo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo .section__lead { margin-bottom: 1.5rem; }
.duo__cap { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 0.6rem; }
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.gets li { padding-left: 1.75rem; position: relative; }
.gets li::before { content: ''; position: absolute; left: 0.1rem; top: 0.42em; width: 0.95rem; height: 0.5rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* the pilot: its steps, the price, the request */
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; font-size: 16px; }
#pilot .pricebox { margin: 3rem 0 1.5rem; }
.formcard--wide { max-width: none; display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); }
.formcard--wide .formcard__head { padding: 1.5rem 0.5rem 1.4rem 1.6rem; }

@media (max-width: 1150px) {
  .facts2--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
}
@media (max-width: 900px) {
  .make__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "tool" "demo"; }
  .demo { max-width: 30rem; }
  .bench { grid-template-columns: minmax(0, 1fr); }
  .bench__view { position: static; height: auto; min-height: 0; }
  .view__stage { flex: 0 0 auto; height: min(54vh, 25rem); }
  .bench__side { border-left: 0; border-top: 1px solid var(--line); }
  .view__bar .btn { flex: 1 1 100%; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .work__blank { display: none; }
  .work__blank.is-draft { display: block; min-height: 0; margin-top: 1.2rem; }
  .walk__body { grid-template-columns: minmax(0, 1fr); }
  .walk__view { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .walk__stage { position: relative; top: auto; height: min(50vh, 22rem); }
  .cols, .rw, .signup, .ent__grid { grid-template-columns: minmax(0, 1fr); }
  .proof { max-width: 32rem; }
  .steps, .facts, .facts2 { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .calc, .finds, .duo, .formcard--wide { grid-template-columns: minmax(0, 1fr); }
  .formcard--wide .formcard__head { padding: 1.3rem 1.4rem 0; }
  .calc__in { padding: 1.3rem 1.3rem 1.4rem; }
  .calc__out { padding: 1.4rem 1.3rem; }
  .pricebox { grid-template-columns: minmax(0, 1fr); }
  .flowg { grid-template-columns: minmax(0, 1fr); gap: 2.8rem 0; }
  .flowg__mid::before, .flowg__mid::after { left: 50%; right: auto; width: 2.5px; height: 1.7rem; top: auto; }
  .flowg__mid::before { top: -2.25rem; }
  .flowg__mid::after { bottom: -2.25rem; }
  .flowg__mid .node::before, .flowg__mid .node::after { left: 50%; right: auto; top: auto; transform: translateX(-4px) rotate(135deg); }
  .flowg__mid .node::before { top: -1.35rem; }
  .flowg__mid .node::after { bottom: -2.3rem; }
}
@media (max-width: 640px) {
  body.r3 { font-size: 16.5px; }
  /* on a phone the camera is the main way in; once there is text or a photo, "Design my part" takes over */
  .r3 .ask .ask__cam { display: inline-flex; order: -1; flex: 1 1 100%; background: var(--orange); color: var(--on-orange); border-color: transparent; }
  .r3 .ask .ask__pick { flex: 1 1 100%; }
  .r3 .ask .ask__row .btn--primary { margin-left: 0; flex: 1 1 100%; background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
  .r3 .ask.has-text .ask__row .btn--primary { background: var(--orange); color: var(--on-orange); border-color: transparent; }
  .r3 .ask.has-text .ask__cam { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
  .hero__lead { font-size: 17px; }
  .view__grid { display: none; }
  .sheet__grid .field--half, .sheet__grid .field--third { grid-column: span 6; }
  .signup__form { grid-template-columns: minmax(0, 1fr); }
  .cal__row { grid-template-columns: 5.6rem minmax(0, 1fr); font-size: 13px; }
  .optime li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what min" "cut cut" "bar bar"; }
  .editor { position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; z-index: 30; }
  .dim small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work__steps li.is-now::before, .price__wait::before, .view__check::before { animation: none; }
}

/* ---------- /agents: the page for people who design with their own AI agent ---------- */
.agentline { margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); max-width: 46rem; }
.agentline a { color: var(--teal); font-weight: 600; white-space: nowrap; }
.agents__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.agents3 .hero h1 { max-width: 16ch; }
.connect { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--lift); padding: 1.5rem 1.5rem 0.5rem; }
.connect h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.connect__way { padding: 0 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.connect__way:last-child { border-bottom: 0; margin-bottom: 0; }
.connect__way h3 { font: 700 1.02rem/1.3 var(--fd); margin-bottom: 0.2rem; }
.connect__way p { color: var(--muted); font-size: 15.5px; margin-bottom: 0.6rem; }
.cmd { display: flex; gap: 0.6rem; align-items: stretch; }
.cmd pre { flex: 1; min-width: 0; margin: 0; background: var(--navy); color: #E8EEF9; border-radius: 9px; padding: 0.7rem 0.9rem; overflow-x: auto; }
.cmd code { font: 500 13.5px/1.55 var(--fm); white-space: pre-wrap; overflow-wrap: anywhere; }
.cmd .btn { flex: none; align-self: center; min-width: 4.6rem; }
.cmd .btn.is-done { border-color: var(--ok); color: var(--ok); }
.agents3 .facts2 h3 { font: 700 1.1rem/1.3 var(--fd); margin-bottom: 0.4rem; }
.try { max-width: 46rem; }
.back { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 2.5rem; }
.back img { width: 100%; height: auto; background: var(--mist); border-radius: 14px; }
.back h3 { font: 700 1.2rem/1.3 var(--fd); margin-bottom: 0.5rem; }
.back p { color: var(--muted); max-width: var(--measure); }
.back__facts { margin: 1.1rem 0; border-top: 1px solid var(--line); }
.back__facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.back__facts dt { color: var(--muted); font-size: 15px; }
.back__facts dd { margin: 0; font-weight: 600; }
.back .muted { font-size: 15.5px; }
.agents__docs { margin: 2rem 0 0; font-size: 16px; }
.agents__docs a, .agents3 .faq a { color: var(--teal); }
.agents__end { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.agents__end .section__lead { margin-bottom: 0; }
@media (max-width: 860px) {
  .agents__grid, .back { grid-template-columns: minmax(0, 1fr); }
  .cmd { flex-direction: column; }
  .cmd .btn { align-self: flex-start; }
}
