/* The shop, in the company page's look (cloud/site): the sea at depth, in
   Havbrest's palette (branding/brand.json), one typeface. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --abyss: #0a151c;
  --deep: #0f1f29;
  --panel: #12242f;
  --line: #1c2e39;
  --edge: #2d414e;
  --muted: #8b9fac;
  --soft: #bccbd6;
  --text: #ebf2f7;
  --blue: #5b9ecf;
  --teal: #55b7a7;
  --warn: #e0a458;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
html, body { margin: 0; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--abyss);
  background-image: radial-gradient(120% 60rem at 70% -10rem, #15334a 0%, var(--deep) 45%, var(--abyss) 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 5vw, 3rem); }
main { flex: 1; }

header { position: sticky; top: 0; z-index: 5; background: color-mix(in oklab, var(--abyss) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 2rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2rem; width: auto; display: block; }
.brand span { color: var(--muted); font-weight: 500; padding-left: 0.75rem; border-left: 1px solid var(--edge); }
nav { display: flex; gap: 1.5rem; font-size: 0.9375rem; color: var(--soft); }
nav a:hover { color: var(--text); }
.account { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.pill, button.ghost {
  font: 500 0.875rem var(--font);
  color: var(--soft);
  background: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.pill:hover, button.ghost:hover { color: var(--text); border-color: var(--teal); }
button.primary, a.primary {
  display: inline-block;
  font: 600 0.9375rem var(--font);
  color: #06131a;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
}
button.primary:hover, a.primary:hover { filter: brightness(1.08); }
@media print {
  header, footer, #products, #packages, .steps, .summary .actions, .hero { display: none !important; }
  body { background: #fff; color: #000; }
  .builder { display: block; }
  .summary { border: 0; background: none; position: static; color: #000; }
  .lines li, .checks li, .total strong, .lines li span:last-child { color: #000; }
}

.label { margin: 0; font-size: 0.75rem; font-weight: 500; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.hero { padding-block: clamp(3.5rem, 10vw, 7rem) clamp(2rem, 5vw, 3.5rem); }
.hero .label { margin-bottom: 1.75rem; }
h1 { margin: 0; max-width: 16ch; font-size: clamp(2.5rem, 6.5vw, 4.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 38rem; margin: 1.75rem 0 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--soft); }
.note { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.note a { color: var(--soft); border-bottom: 1px solid var(--teal); }
.note a:hover { color: var(--teal); }
.banner { margin-top: 2rem; display: inline-flex; gap: 0.6rem; align-items: baseline; padding: 0.55rem 0.9rem; border: 1px solid color-mix(in oklab, var(--warn) 50%, transparent); border-radius: 0.5rem; color: var(--soft); font-size: 0.875rem; }
.banner strong { color: var(--warn); font-weight: 600; }

section.block { padding-block: clamp(2rem, 5vw, 3.5rem); }
h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; letter-spacing: -0.02em; }
.sub { margin: 0 0 2rem; max-width: 44rem; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; background: color-mix(in oklab, var(--panel) 80%, transparent); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.card .picture { height: 13rem; display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 40%, #173243 0%, transparent 70%); }
.card .picture img { max-width: 78%; max-height: 10.5rem; object-fit: contain; filter: drop-shadow(0 1.2rem 1.5rem rgb(0 0 0 / 0.45)); }
.card .picture .glyph { width: 5rem; height: 5rem; color: var(--edge); }
.card .body { display: flex; flex-direction: column; flex: 1; gap: 0.6rem; padding: 1.25rem 1.4rem 1.4rem; }
.card .kind { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.card h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.card .line { margin: 0; color: var(--soft); font-weight: 500; }
.card .text { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1rem; margin: 0.4rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--line); }
.figures div { display: flex; flex-direction: column; }
.figures strong { font-size: 1.0625rem; font-weight: 600; }
.figures span { font-size: 0.8125rem; color: var(--muted); }
.price { margin-top: auto; padding-top: 0.9rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.price strong { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price small, .assumed { color: var(--muted); font-size: 0.8125rem; }
.assumed { color: var(--warn); }
.variants { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font-size: 0.8125rem; color: var(--soft); padding: 0.15rem 0.6rem; border: 1px solid var(--edge); border-radius: 999px; }

.package .body { gap: 0.9rem; }
.package ul { margin: 0; padding: 0; list-style: none; color: var(--soft); font-size: 0.9375rem; }
.package li { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px solid var(--line); }
.package li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 1fr); gap: 1.5rem; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 0.75rem; }
.step { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem 1.1rem; background: color-mix(in oklab, var(--panel) 80%, transparent); border: 1px solid var(--line); border-radius: 0.9rem; }
.step .thumb { height: 3.6rem; display: grid; place-items: center; }
.step .thumb img { max-height: 3.6rem; max-width: 4.5rem; object-fit: contain; }
.step .thumb .glyph { width: 2.2rem; height: 2.2rem; color: var(--edge); }
.step h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.step p { margin: 0.1rem 0 0; font-size: 0.875rem; color: var(--muted); }
.step .choose { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.875rem; color: var(--soft); }
.step select { font: inherit; color: var(--text); background: var(--abyss); border: 1px solid var(--edge); border-radius: 0.4rem; padding: 0.25rem 0.4rem; }
.step label.option { display: inline-flex; gap: 0.4rem; align-items: center; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--edge); border-radius: 999px; overflow: hidden; }
.stepper button { width: 2.2rem; height: 2.2rem; font: 500 1.1rem var(--font); color: var(--soft); background: none; border: 0; cursor: pointer; }
.stepper button:hover { color: var(--text); background: var(--line); }
.stepper output { min-width: 2.2rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

.summary { position: sticky; top: 5rem; padding: 1.4rem; background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
.summary h3 { margin: 0 0 0.9rem; font-size: 1.125rem; }
.meter { margin-bottom: 0.9rem; }
.meter .row { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--soft); }
.meter .row span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.meter .track { height: 0.4rem; margin-top: 0.3rem; background: var(--line); border-radius: 999px; overflow: hidden; }
.meter .fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 999px; transition: width 0.2s; }
.meter.over .fill { background: var(--warn); }
.meter.over .row span:last-child { color: var(--warn); }
.checks { margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.875rem; }
.checks li { padding: 0.25rem 0 0.25rem 1.4rem; position: relative; color: var(--soft); }
.checks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.7rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--teal); }
.checks li.warn::before { background: var(--warn); }
.lines { margin: 0; padding: 0.9rem 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; color: var(--soft); }
.lines li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 0.9rem 0 0.3rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.total strong { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary .fine { margin: 0 0 1rem; font-size: 0.8125rem; color: var(--muted); }
.summary .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

footer { border-top: 1px solid var(--line); margin-top: 3rem; }
.foot { display: flex; justify-content: space-between; padding-block: 1.5rem; font-size: 0.875rem; color: var(--muted); }

@media (max-width: 60rem) {
  nav { display: none; }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
  .step { grid-template-columns: 3.5rem 1fr; }
  .step .stepper { grid-column: 2; justify-self: start; }
}
