/* Baremont — one motif: the summit cut. A 45° slope taken off the top-right corner,
   the shoulder of the mountain in the name. It cuts every photo, button and tile. */

:root {
  /* brand */
  --ground: #06110C;      /* forest green, near black */
  --charcoal: #171717;
  --field-1: #0C1D15;     /* one tone step up from the ground */
  --field-2: #13291E;
  --accent: #A31C1B;      /* crimson */
  --accent-deep: #861615;
  --accent-ink: #FFFFFF;
  --ink: #EEEFE8;
  --muted: #A9B3AA;
  --led: #4BD67F;

  /* type */
  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 1rem + 6.4vw, 7rem);

  /* frame */
  --m: clamp(16px, 3vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 14vw, 200px);

  /* motif */
  --cut: 14px;
  --summit: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--ink); color: var(--ground); padding: 8px 12px; }

/* ---------- type roles ---------- */
.display {
  font-size: var(--step-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
}
.head { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.lead-text { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; }
.body-text { font-size: var(--step-body); }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px 0 24px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
  clip-path: var(--summit);
  transition: background-color .18s, transform .18s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover { background: var(--accent-deep); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-small { min-height: 40px; padding: 0 18px; --cut: 10px; font-size: var(--step-small); }
.btn-full { width: 100%; justify-content: center; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: var(--accent);
  transition: text-underline-offset .2s;
}
.link:hover { text-underline-offset: 9px; }

/* ---------- bar ---------- */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--m);
}
.wordmark { font-size: 2rem; font-weight: 800; letter-spacing: -0.06em; text-decoration: none; line-height: 1; }
.wordmark img { display: block; height: 52px; width: auto; }
.bar-links { display: flex; gap: clamp(16px, 2.4vw, 36px); margin-left: auto; font-weight: 600; }
.bar-links a { text-decoration: none; opacity: 1; transition: color .15s; }
.bar-links a:hover { color: var(--led); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 120px var(--m) 64px; align-items: center;
  overflow: hidden;
}
.hero-copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
.hero-sub { margin-top: 36px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-facts { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: var(--step-small); }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 10px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.hero-peak {
  position: absolute; z-index: 1;
  left: 46%; right: 0; top: 0; bottom: 0;
}
.hero-peak canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.peak-fallback { position: absolute; inset: 10% -10% 0 0; width: 110%; height: 90%; }
.has-webgl .peak-fallback { display: none; }

/* ---------- showcase ---------- */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh;
  background: var(--charcoal);
}
.plate { padding: 40px; display: flex; align-items: center; }
.shutter { width: 100%; aspect-ratio: 1; overflow: hidden; --cut: 18%; clip-path: var(--summit); background: var(--field-1); }
.shutter img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.showcase-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: 64px var(--m) 40px 40px;
}
.tabs { display: flex; gap: 28px; }
.tabs button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-size: var(--step-body); font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .15s;
}
.tabs button::before { content: ""; width: 9px; height: 8px; background: transparent; clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: background-color .15s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::before { background: var(--accent); }
.tabs button:hover { color: var(--ink); }
.line h2 { max-width: 14ch; }
.line p { margin-top: 40px; max-width: 34ch; }
.spec { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.spec li { background: var(--field-2); padding: 8px 14px; font-weight: 600; font-size: var(--step-small); }
.line.swap > * { animation: swap .35s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 22px; font-weight: 600; text-decoration: none;
  transition: background-color .18s;
}
.cell svg { width: 20px; height: 20px; flex: none; }
.cell-ink { background: var(--accent); color: var(--accent-ink); --cut: 16px; clip-path: var(--summit); }
.cell-ink:hover { background: var(--accent-deep); }
.cell-tone { background: var(--field-2); }
.cell-tone:hover { background: #1b3727; }

/* ---------- pricing ---------- */
.pricing {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: var(--section) var(--m);
}
.pricing-names { grid-column: 1 / span 7; }
.pricing-h { color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.names { display: flex; flex-direction: column; align-items: flex-start; }
.name {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font-size: clamp(2rem, 0.8rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.12;
  color: var(--muted); display: inline-flex; align-items: center; gap: 0.25em;
  transition: color .15s;
}
.name::before {
  content: ""; width: 0.36em; height: 0.3em; background: var(--accent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0; transform: scale(.96); transition: transform .25s var(--ease-out), opacity .2s;
}
.name:hover, .name[aria-checked="true"] { color: var(--ink); }
.name[aria-checked="true"]::before { transform: none; opacity: 1; }
.name-drop { display: none; }

.stage { grid-column: 8 / span 5; align-self: start; position: sticky; top: 48px; }
.stage-inner { transition: opacity .2s; }
.stage-inner.fading { opacity: 0; }
.toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.seg { display: inline-flex; background: var(--field-1); padding: 4px; gap: 4px; }
.seg button {
  background: none; border: 0; padding: 8px 16px; cursor: pointer; font-weight: 600; font-size: var(--step-small);
  color: var(--muted); transition: background-color .15s, color .15s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--ink); color: var(--ground); }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--step-small); font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }

.price { margin-top: 40px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-fig { font-variant-numeric: tabular-nums; font-size: clamp(4rem, 1rem + 8vw, 9rem); }
.price-per { font-size: var(--step-body); color: var(--muted); font-weight: 600; }
.stage-desc { margin-top: 24px; max-width: 40ch; }
.stage-spec { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stage-spec li { background: var(--field-1); padding: 12px 16px; display: flex; flex-direction: column; }
.stage-spec li span { color: var(--muted); font-size: var(--step-small); }
.stage-spec li b { font-weight: 600; }
.stage .btn, .name-drop .btn { margin-top: 32px; }
.stage-note { margin-top: 16px; color: var(--muted); font-size: var(--step-small); }

/* placeholders the owner must fill before launch (search for class="fill") */
.fill { background: #3A2A10; color: #F2C46D; padding: 0 .3em; font-weight: 600; }

/* ---------- legal and company pages ---------- */
.doc-head { padding: 160px var(--m) 56px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.doc-head > * { grid-column: 1 / span 9; }
.doc-head .head { max-width: 16ch; }
.doc-head .lead-text { margin-top: 28px; max-width: 46ch; }
.updated { margin-top: 20px; color: var(--muted); font-size: var(--step-small); }
.doc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 0 var(--m) var(--section); align-items: start; }
.doc-nav { grid-column: 1 / span 3; position: sticky; top: 32px; display: flex; flex-direction: column; gap: 4px; }
.doc-nav p { color: var(--muted); font-weight: 600; font-size: var(--step-small); margin-bottom: 8px; }
.doc-nav a { text-decoration: none; padding: 10px 14px; background: var(--field-1); font-weight: 600; font-size: var(--step-small); transition: background-color .15s; }
.doc-nav a:hover { background: var(--field-2); }
.doc-nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); --cut: 12px; clip-path: var(--summit); }
.doc-body { grid-column: 4 / span 8; max-width: 70ch; }
.doc-body h2 { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-top: 56px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { margin-top: 16px; }
.doc-body ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.doc-body li { position: relative; padding-left: 22px; }
.doc-body li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.doc-body a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.doc-body strong { font-weight: 600; }
.facts { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.facts div { background: var(--field-1); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.facts dt { color: var(--muted); font-size: var(--step-small); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.doc-photo { margin-top: 40px; --cut: 40px; clip-path: var(--summit); overflow: hidden; aspect-ratio: 16 / 9; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo + figcaption { margin-top: 10px; color: var(--muted); font-size: var(--step-small); }

/* ---------- hardware tiles ---------- */
.hardware {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 0 var(--m) var(--section);
}
.hardware-head { grid-column: 1 / span 3; }
.hardware-head p { margin-top: 24px; max-width: 30ch; }
.tiles {
  grid-column: 4 / span 9;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 10px;
}
.tile-img { aspect-ratio: 4 / 5; overflow: hidden; --cut: 22px; clip-path: var(--summit); }
.tile-wide { grid-column: span 2; }
.tile-wide .tile-img { aspect-ratio: 8 / 5; }
.tile-wide figcaption { max-width: 50%; }
.t-a { background: var(--field-2); }
.t-b { background: var(--charcoal); }
.t-c { background: var(--accent); }
.tile-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tile:hover .tile-img > img { transform: scale(1.04); }
.tile figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.tile figcaption strong { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.02em; }
.tile figcaption span { color: var(--muted); font-size: var(--step-small); }

.ui-stage { display: grid; place-items: center; padding: 14px; }
.ui {
  width: 100%; background: #0B0F0D; color: #E7EAE5; font-size: 13px; line-height: 1.35;
  border-radius: 8px; border: 1px solid #253129; padding: 12px; /* taste-skill-ignore: data-ui */
}
.ui-title { font-weight: 600; margin-bottom: 10px; }
.ui-snap li { display: flex; justify-content: space-between; gap: 8px; padding: 8px; border-radius: 5px; }
.ui-snap li em { font-style: normal; color: #93A096; }
.ui-snap li.is-on { background: #16241B; }
.ui-foot { margin-top: 10px; color: #93A096; }
.ui-fw table { width: 100%; border-collapse: collapse; }
.ui-fw th { text-align: left; color: #93A096; font-weight: 600; padding: 6px 8px; border-bottom: 1px solid #253129; }
.ui-fw td { padding: 8px; border-bottom: 1px solid #1A231D; }
.ui-fw tr.is-on td { background: #16241B; }

/* ---------- deploy strip ---------- */
.deploy { display: grid; grid-template-columns: repeat(4, 1fr); }
.field {
  position: relative; min-height: 84svh; padding: 28px;
  display: flex; flex-direction: column;
}
.f1 { background: var(--charcoal); }
.f2 { background: var(--field-1); }
.f3 { background: var(--field-2); }
.f4 { background: var(--accent); }
.deploy-h { font-size: clamp(22px, 2vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; position: absolute; top: 28px; left: 28px; right: 28px; }
.card {
  position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%);
  width: min(260px, calc(100% - 40px));
  background: #0B0F0D; color: #E7EAE5; border: 1px solid #253129; border-radius: 10px; padding: 14px;
  font-size: 13px; transition: transform .15s var(--ease-out);
}
.field:hover .card { transform: translate(-50%, calc(-50% - 6px)); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: var(--step-small); margin-bottom: 10px; }
.st { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 99px; font-weight: 600; }
.st-wait { background: #232B26; color: #B8C2BA; }
.st-build { background: #3A2A10; color: #F2C46D; }
.st-live { background: #12321F; color: var(--led); }
.card-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid #1A231D; } /* taste-skill-ignore: data-ui card rows */
.card-row span { color: #93A096; }
.card-row b { font-weight: 600; }
.card-row.muted b { color: #8A968D; font-weight: 400; }
.prog { margin-top: 10px; height: 6px; background: #1A231D; border-radius: 99px; overflow: hidden; }
.prog span { display: block; height: 100%; background: #F2C46D; }
.card-ssh { display: block; margin-top: 10px; padding: 10px; background: #141B17; border-radius: 6px; font-family: ui-monospace, Consolas, monospace; /* taste-skill-ignore: literal shell command in <code> */ font-size: 12.5px; color: var(--led); }
.clause { margin-top: auto; font-size: clamp(22px, 2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; max-width: 13ch; }

/* ---------- images list ---------- */
.images { padding: var(--section) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.images-col { grid-column: 4 / span 6; container-type: inline-size; }
.giant { font-size: 30cqw; font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; margin-left: -0.04em; }
.images-sub { margin-top: 28px; max-width: 46ch; }
.bars { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.bars details { background: var(--field-1); }
.bars details[open] { background: var(--field-2); }
.bars summary {
  min-height: 56px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; cursor: pointer; list-style: none; transition: background-color .15s;
}
.bars summary::-webkit-details-marker { display: none; }
.bars summary:hover { background: var(--field-2); }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }
.bars ul { padding: 4px 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.bars li { display: flex; justify-content: space-between; gap: 16px; }
.bars li b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 0 var(--m) var(--section); align-items: start; }
.faq-h { grid-column: 1 / span 4; position: sticky; top: 96px; max-width: 9ch; }
.faq-list { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 8px; }
.faq-list details { background: var(--field-1); --cut: 16px; clip-path: var(--summit); transition: background-color .2s; }
.faq-list details[open] { background: var(--accent); color: var(--accent-ink); }
.faq-list summary {
  min-height: 72px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details:not([open]):hover { background: var(--field-2); }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease-out); }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0); }
.faq-list details p { padding: 0 24px 26px; max-width: 52ch; font-size: 1.0625rem; }

/* ---------- start / cta ---------- */
.start {
  min-height: 90svh; background: var(--accent); color: var(--accent-ink);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 120px var(--m) 64px; align-items: end; min-height: 0;
}
.start-copy { grid-column: 1 / span 6; padding-bottom: 8px; }
.start-h { font-size: clamp(56px, 7vw, 112px); line-height: 0.92; }
.start-copy p { margin-top: 28px; max-width: 34ch; }
.dialog {
  grid-column: 8 / span 5; justify-self: end; width: min(440px, 100%);
  background: #0B0F0D; color: #E7EAE5; border-radius: 12px; padding: 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); /* taste-skill-ignore: the open dialog floats */
}
.dialog-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; }
.dlg-label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 8px; color: #B8C2BA; }
.dlg-input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 8px;
  background: #141B17; border: 1px solid #2B3830; color: #fff; font-size: 1rem;
}
.dlg-input:focus { border-color: var(--led); outline: none; box-shadow: 0 0 0 3px rgba(75,214,127,.25); } /* taste-skill-ignore: data-ui field focus */
.dlg-hint { margin-top: 6px; font-size: 13px; color: #93A096; }
.seg-dlg { display: flex; width: 100%; border-radius: 8px; background: #141B17; }
.seg-dlg button { flex: 1; border-radius: 6px; padding: 10px 8px; }
.dialog .btn { margin-top: 24px; }

/* ---------- footer ---------- */
.foot { padding: 72px var(--m) 32px; background: var(--ground); }
.blocks { height: 34svh; min-height: 220px; display: flex; align-items: flex-end; gap: 4px; }
.blocks span {
  flex: 1; height: var(--h); background: var(--field-2); color: var(--ground);
  display: flex; align-items: flex-end; justify-content: center;
  font-size: clamp(3rem, 10vw, 11rem); font-weight: 800; line-height: .78; letter-spacing: -0.05em;
  padding-bottom: .04em; overflow: hidden;
  transform-origin: bottom;
}
.blocks span.peak-block { background: var(--accent); color: var(--ground); --cut: 28%; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.foot-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 32px; }
.foot-grid nav { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; font-size: var(--step-small); }
.foot-grid address { grid-column: 10 / span 3; font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: var(--step-small); }
.foot-grid p { color: var(--muted); font-weight: 600; }
.foot-grid address p + a { margin-bottom: 12px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--led); }
.credits { margin-top: 56px; font-size: 13px; color: var(--muted); max-width: 72ch; }
.foot-last { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--step-small); }

/* ---------- motion helpers (content never stays hidden without script) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .shutter { clip-path: inset(100% 0 0 0); }
.js .shutter img { transform: scale(1.12); }
.js .shutter.in { clip-path: var(--summit); transition: clip-path 1.1s var(--ease-out); }
.js .shutter.in img { transform: scale(1); transition: transform 1.4s var(--ease-out); }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .hero { display: block; padding: 18svh var(--m) 0; min-height: 100svh; }
  .hero-copy { max-width: 640px; }
  .hero-peak { left: 0; right: -10vw; top: 56svh; bottom: 0; }
  .hero-facts { display: none; }
  .hardware-head { grid-column: 1 / -1; margin-bottom: 40px; }
  .hardware-head h2 { max-width: 16ch; }
  .tiles { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .deploy { grid-template-columns: 1fr 1fr; }
  .field { min-height: 64svh; }
  .images-col { grid-column: 2 / span 10; }
  .foot-grid nav { grid-column: span 3; }
  .foot-grid address { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 6px 24px; }
  .doc-nav { grid-column: 1 / -1; position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 48px; }
  .doc-nav p { width: 100%; }
  .doc-body { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .bar { padding: 16px; }
  .bar-links { display: none; }
  .wordmark { font-size: 1.625rem; }
  .wordmark img { height: 40px; }

  .hero { display: block; padding: 15svh 16px 0; min-height: 100svh; }
  .hero-copy { max-width: none; }
  .display { font-size: 11.5vw; }
  .hero-sub { font-size: 1.0625rem; margin-top: 24px; }
  .hero-actions { margin-top: 24px; gap: 20px; }
  .hero-facts { display: none; }
  .hero-peak { left: -20vw; right: -20vw; top: 48svh; bottom: 0; }
  .hero { min-height: 100svh; }

  .showcase { grid-template-columns: 1fr; }
  .plate { padding: 16px; }
  .showcase-text { padding: 24px 16px 40px; gap: 28px; }
  .tabs button { font-size: 1.0625rem; }
  .head { font-size: 1.75rem; }
  .line p { margin-top: 20px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }

  .pricing { display: block; }
  .name { font-size: 8vw; }
  .stage { display: none; }
  .name-drop { display: block; width: 100%; padding: 8px 0 96px; }
  .name-drop:empty { display: none; }
  .name-drop .price-fig { font-size: 20vw; }
  .name-drop .btn { width: 100%; justify-content: center; }

  .hardware { display: block; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .tile-wide { grid-column: 1 / -1; order: -1; }
  .tile-wide figcaption { max-width: none; }
  .tile figcaption strong { font-size: 1.0625rem; }
  .tile figcaption span { font-size: .9375rem; }
  .ui { font-size: 11.5px; padding: 8px; }
  .ui-fw th, .ui-fw td { padding: 5px 4px; }
  .ui-snap li { padding: 5px 4px; }
  .ui-title { margin-bottom: 6px; }

  .deploy { grid-template-columns: 1fr; }
  .field { min-height: 0; padding: 40px 20px 48px; }
  .deploy-h { position: static; order: -2; font-size: 32px; margin-bottom: 20px; }
  .clause { order: -1; margin-top: 0; font-size: 24px; max-width: 18ch; }
  .card { position: static; transform: none; margin-top: 32px; width: 260px; }
  .field:hover .card { transform: none; }

  .images { display: block; }
  .bars summary { min-height: 54px; }

  .faq { display: block; padding-top: 64px; }
  .faq-h { position: static; max-width: none; margin-bottom: 24px; }
  .faq-list { gap: 6px; }
  .faq-list summary { font-size: 1.125rem; min-height: 64px; padding: 16px 20px; }
  .faq-list details p { padding: 0 20px 20px; font-size: 1rem; }

  .start { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 84svh; padding: 56px 16px 32px; }
  .start-copy { align-self: stretch; }
  .start-h { font-size: 13vw; }
  .dialog { width: 100%; }
  .dialog .btn { min-height: 52px; }

  .foot { padding-top: 56px; }

  .doc-head { display: block; padding: 120px 16px 40px; }
  .doc { display: block; }
  .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 48px; }
  .doc-nav p { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .blocks { height: 22svh; min-height: 140px; gap: 3px; }
  .blocks span { font-size: 13vw; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid nav { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .js .shutter, .js .shutter.in { clip-path: var(--summit); transition: none; }
  .js .shutter img, .js .shutter.in img { transform: none; transition: none; }
  .line.swap > * { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
