/* ==========================================================================
   Web Elements - the public site

   The colours are the logo's: teal for "Web", slate for "Elements", amber for
   "Quoting". They are the same tokens the application uses (--we-* in its
   site.css), here under shorter names, with a few shades added for dark
   sections. Sections alternate light and dark; the cutting plan and the unit
   are the two things that move.
   ========================================================================== */

:root {
    --teal: #094D63;
    --teal-hover: #0C6683;
    --teal-dark: #073746;
    --teal-deep: #04222C;
    --teal-ink: #031A22;
    --aqua: #58C6D2;
    --slate: #2B333C;
    --slate-2: #47525D;
    --muted: #5E6E7A;
    --amber: #D08B20;
    --amber-bright: #F2B84B;
    --amber-ink: #8F5800;
    --amber-soft: #FBEBCB;
    --bg-1: #F1F7F9;
    --bg-2: #DFEDF1;
    --border: #CADCE2;
    --paper: #FFFFFF;

    --radius: 22px;
    --shadow-1: 0 1px 2px rgba(7, 55, 70, .06), 0 8px 24px rgba(7, 55, 70, .07);
    --shadow-2: 0 2px 4px rgba(7, 55, 70, .06), 0 24px 60px rgba(7, 55, 70, .14);

    --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--slate);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--teal-dark);
}

h1, h2, h3, h4, summary { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
[id] { scroll-margin-top: 84px; }

:focus-visible {
    outline: 3px solid var(--amber-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: .7rem 1rem;
    border-radius: 10px;
    background: #fff;
    color: var(--teal-dark);
    font-weight: 600;
    transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.ico {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.ico--fill { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   Sections and type
   -------------------------------------------------------------------------- */

.section { position: relative; padding: clamp(72px, 10vw, 132px) 0; }
.section--tint { background: linear-gradient(180deg, var(--bg-1), #fff 130%); }

.section--dark {
    color: #fff;
    background:
        radial-gradient(900px 500px at 100% 0%, rgba(88, 198, 210, .12), transparent 60%),
        linear-gradient(170deg, var(--teal-deep), var(--teal-dark) 140%);
    overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }

h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 600; }

.lead {
    margin-top: 20px;
    max-width: 62ch;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    color: var(--slate-2);
}
.section__head--center .lead { margin-inline: auto; }
.lead--light { color: rgba(255, 255, 255, .76); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font: 600 .78rem/1.3 var(--font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--amber-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); flex: none; }
.section__head--center .eyebrow::before { display: none; }
.eyebrow--light { color: var(--amber-bright); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .8rem 1.4rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: 600 .95rem/1 var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: translate .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { translate: 0 -2px; }
.btn--sm { padding: .62rem 1.05rem; font-size: .88rem; }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--amber {
    background: linear-gradient(180deg, #F0B24A, #D88F22);
    color: #221400;
    box-shadow: 0 6px 20px rgba(208, 139, 32, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--amber:hover { box-shadow: 0 12px 30px rgba(208, 139, 32, .5), inset 0 1px 0 rgba(255, 255, 255, .4); }

.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-hover); }

.btn--ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

/* --------------------------------------------------------------------------
   WhatsApp: a button on every page and one in the buttons of a section
   -------------------------------------------------------------------------- */

.btn--wa {
    background: #25D366;
    color: #05301a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .3), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--wa:hover { background: #2FE073; box-shadow: 0 12px 30px rgba(37, 211, 102, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(160deg, #3BE07D, #20BD5A);
    color: #fff;
    box-shadow: 0 10px 28px rgba(7, 55, 70, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: scale .25s var(--ease), box-shadow .25s;
}
.wa__btn .ico { width: 32px; height: 32px; stroke-width: 1.9; }
.wa__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25D366; animation: wa-ping 3.2s ease-out infinite; }
@keyframes wa-ping { 0% { scale: 1; opacity: .5; } 70%, 100% { scale: 1.7; opacity: 0; } }
.wa:hover .wa__btn { scale: 1.07; box-shadow: 0 14px 34px rgba(7, 55, 70, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }

.wa__label {
    padding: .65rem 1rem;
    border-radius: 999px;
    background: var(--teal-deep);
    color: #fff;
    font: 600 .86rem/1 var(--font-body);
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(7, 55, 70, .3);
    opacity: 0;
    translate: 10px 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), translate .3s var(--ease);
}
.wa:hover .wa__label, .wa:focus-visible .wa__label, .wa.is-hinted .wa__label { opacity: 1; translate: 0 0; }

/* --------------------------------------------------------------------------
   Logo (a vector redraw of the mark, so it can sit on dark and light)
   -------------------------------------------------------------------------- */

.logo {
    --lm-top: #3CA7BB;
    --lm-left: #FFFFFF;
    --lm-right: rgba(255, 255, 255, .08);
    --lm-stroke: rgba(255, 255, 255, .75);
    --lm-linel: var(--teal-deep);
    --lm-dash: var(--amber-bright);
    --lm-word: #FFFFFF;
    --lm-word2: rgba(255, 255, 255, .86);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo__mark { width: 40px; height: 40px; flex: none; }
.m-top { fill: var(--lm-top); }
.m-left { fill: var(--lm-left); }
.m-right { fill: var(--lm-right); stroke: var(--lm-stroke); stroke-width: 1.5; stroke-linejoin: round; }
.m-line { stroke: var(--lm-linel); stroke-width: 1.7; fill: none; stroke-linecap: round; }
.m-dash { stroke: var(--lm-dash); stroke-dasharray: 3 2.4; }
.logo__word { font: 500 1.5rem/1 var(--font-display); letter-spacing: -.03em; color: var(--lm-word2); }
.logo__word b { font-weight: 700; color: var(--lm-word); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    color: #fff;
    transition: background .3s, box-shadow .3s;
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 76px; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
    padding: .5rem .85rem;
    border-radius: 999px;
    font-size: .93rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, .82);
    transition: background .2s, color .2s;
}
.nav__links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__links-cta { display: none; }

.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__signin { font-size: .93rem; font-weight: 600; text-decoration: none; color: rgba(255, 255, 255, .9); }
.nav__signin:hover { color: var(--amber-bright); }

.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav--open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav--open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.nav--solid {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(1.4) blur(16px);
    box-shadow: 0 1px 0 rgba(7, 55, 70, .08);
    color: var(--slate);
}
.nav--solid .logo {
    --lm-top: var(--teal);
    --lm-left: var(--slate);
    --lm-right: #fff;
    --lm-stroke: var(--slate);
    --lm-linel: #fff;
    --lm-dash: var(--amber);
    --lm-word: var(--teal);
    --lm-word2: var(--slate);
}
.nav--solid .nav__links a { color: var(--slate-2); }
.nav--solid .nav__links a:hover { background: var(--bg-2); color: var(--teal); }
.nav--solid .nav__signin { color: var(--teal); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 132px 0 0;
    color: #fff;
    background:
        radial-gradient(1100px 600px at 88% 8%, rgba(88, 198, 210, .24), transparent 60%),
        radial-gradient(900px 520px at 0% 100%, rgba(208, 139, 32, .16), transparent 60%),
        linear-gradient(160deg, #04222C 0%, #073746 55%, #094D63 135%);
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 62% 38%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 75% at 62% 38%, #000 25%, transparent 78%);
}

.hero__glow {
    position: absolute;
    z-index: -1;
    left: -10%;
    top: 30%;
    width: 50%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(208, 139, 32, .1), transparent);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-bottom: clamp(48px, 6vw, 80px);
}

.hero__title {
    margin: 6px 0 26px;
    font-size: clamp(3.1rem, 7.4vw, 6rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.04em;
    color: #fff;
}

.hero__cut { position: relative; display: inline-block; color: var(--amber-bright); }
.hero__cut svg { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .2em; overflow: visible; }
.hero__cut path {
    fill: none;
    stroke: var(--amber);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: draw 1.1s .9s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__lead { max-width: 34em; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__actions--center { justify-content: center; }
.hero__fine { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .55); }

.hero__stage { position: relative; padding-bottom: 64px; }

.hero__photo {
    position: relative;
    width: 86%;
    margin: 0 0 0 auto;
    aspect-ratio: 4 / 4.7;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 60%; transform: scale(1.04); }
.hero__photo-tint { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(9, 77, 99, .3), rgba(4, 34, 44, .6)); }

.glass {
    background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.glass-light {
    background: rgba(255, 255, 255, .96);
    color: var(--slate);
    border-radius: 16px;
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .5);
}

.plan--hero {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    max-width: 300px;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .25s var(--ease);
}

.label-card {
    position: absolute;
    right: -1%;
    top: 7%;
    width: min(236px, 54%);
    padding: 14px 16px;
    rotate: 3deg;
    animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.label-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.label-card__top b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1.05rem var(--font-display); }
.label-card__top span { font: 600 1rem var(--font-display); color: var(--teal-dark); }
.label-card dl { display: grid; gap: 5px; margin: 0; font-size: .72rem; }
.label-card dl div { display: flex; justify-content: space-between; gap: 10px; }
.label-card dt { align-self: center; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label-card dd { margin: 0; font: 500 .7rem var(--font-mono); text-align: right; }

.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 30px 24px 36px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat strong { display: flex; align-items: baseline; gap: .4rem; font: 700 clamp(2rem, 3.4vw, 3rem)/1 var(--font-display); letter-spacing: -.03em; color: #fff; }
.stat small { font-size: .38em; font-weight: 600; letter-spacing: .02em; color: var(--amber-bright); }
.stat > span { display: block; max-width: 22ch; margin-top: 10px; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }

/* --------------------------------------------------------------------------
   The chain
   -------------------------------------------------------------------------- */

.flow { padding: clamp(64px, 8vw, 104px) 0; background: #fff; }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.flow__steps::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 34px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
.flow__step { position: relative; padding: 0 4px; text-align: center; }
.flow__n { position: absolute; top: -6px; left: 50%; margin-left: 16px; z-index: 2; font: 500 .7rem var(--font-mono); color: var(--amber-ink); }
.flow__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    background: #fff;
    color: var(--teal);
    box-shadow: 0 0 0 8px #fff, var(--shadow-1);
    transition: background .3s, color .3s, translate .3s var(--ease);
}
.flow__icon .ico { width: 28px; height: 28px; }
.flow__step:hover .flow__icon { background: var(--teal); color: #fff; translate: 0 -4px; }
.flow__step h3 { margin-bottom: 6px; font-size: 1.08rem; font-weight: 600; }
.flow__step p { font-size: .84rem; line-height: 1.45; color: var(--muted); }
.flow__step--soon .flow__icon { border-style: dashed; border-color: #A9BEC7; color: var(--muted); }
.flow__step--soon h3 { color: var(--muted); }

/* --------------------------------------------------------------------------
   Shared: lists with icons, cards, pills
   -------------------------------------------------------------------------- */

.ticks { display: grid; gap: 22px; margin: 36px 0 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; font-size: .98rem; }
.ticks .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--bg-2); color: var(--teal); }
.ticks b { font-weight: 600; color: var(--teal-dark); }
.ticks--light li { color: rgba(255, 255, 255, .72); }
.ticks--light .ico { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--amber-bright); }
.ticks--light b { color: #fff; }

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

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-1);
    transition: translate .35s var(--ease), box-shadow .35s;
}
.card:hover { translate: 0 -4px; box-shadow: var(--shadow-2); }
.card__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--teal), var(--teal-hover));
    color: #fff;
    box-shadow: 0 8px 18px rgba(9, 77, 99, .28);
}
.card__icon .ico { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; font-weight: 600; }
.card p { font-size: .97rem; color: var(--slate-2); }
.card q { quotes: "\201C" "\201D"; font-style: italic; color: var(--teal-dark); }
.card--flat { box-shadow: none; }
.card--flat:hover { translate: 0 0; box-shadow: none; }
.card--rule::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--amber); }
.card--soon { border-style: dashed; border-color: #A9BEC7; background: transparent; box-shadow: none; }
.card--soon:hover { box-shadow: none; }
.card--soon .card__icon { background: var(--bg-2); color: var(--teal); box-shadow: none; }
.card--soon .pill { position: absolute; top: 24px; right: 24px; }

.pill { display: inline-block; padding: .35rem .65rem; border-radius: 999px; font: 600 .68rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.pill--draft { background: var(--bg-2); color: var(--teal); }
.pill--soon { background: var(--amber-soft); color: var(--amber-ink); }

.note-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: var(--amber-soft); color: #5a3a00; font-size: .92rem; }
.note-line .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--amber-ink); }
.note-line a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Cabinet creation: the unit demo
   -------------------------------------------------------------------------- */

.build__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.demo { padding: 22px; border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: var(--shadow-2); }
.demo__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.demo__code { padding: .4rem .8rem; border-radius: 8px; background: var(--teal-dark); color: var(--amber-bright); font-size: .95rem; }

.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.seg button { padding: .6rem 1rem; border: 0; border-radius: 999px; background: transparent; font: 600 .85rem/1 var(--font-body); color: var(--teal); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg button em { font-style: normal; font-weight: 500; color: var(--amber-ink); margin-left: 6px; }
.seg button.is-on { background: #fff; color: var(--teal-dark); box-shadow: 0 1px 3px rgba(7, 55, 70, .22); }
.seg--lg { margin-top: 28px; }
.seg--lg button { padding: .75rem 1.3rem; font-size: .92rem; }

.demo__svg { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, #F8FCFD, #EAF3F6); }

.demo__range { display: grid; grid-template-columns: auto minmax(0, 1fr) 5.4rem; gap: 16px; align-items: center; margin: 14px 4px 6px; font-size: .9rem; font-weight: 600; color: var(--teal-dark); }
.demo__range output { text-align: right; color: var(--teal); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) var(--p, 50%), var(--bg-2) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--amber); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--bg-2); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--teal); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--amber); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }

.demo__table-wrap { margin-top: 10px; overflow-x: auto; }
.boards { width: 100%; border-collapse: collapse; font-size: .85rem; }
.boards th { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; font: 600 .68rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.boards td { padding: 8px 10px; border-bottom: 1px solid var(--bg-2); }
.boards th.r, .boards td.r { text-align: right; }
.boards td:nth-child(2) { font: 500 .74rem var(--font-mono); color: var(--slate-2); }
.boards td.r { font: 500 .85rem var(--font-mono); color: var(--teal-dark); white-space: nowrap; }
.boards .qty { margin-left: 6px; font-weight: 600; color: var(--amber-ink); }
.boards tr { transition: background .15s; }
.boards tbody tr:hover, .boards tbody tr.is-hot { background: var(--amber-soft); }
.demo__fit { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-1); font-size: .82rem; color: var(--slate-2); }
.demo__fit b { color: var(--teal-dark); }
.demo__note { margin-top: 10px; font-size: .76rem; line-height: 1.5; color: var(--muted); }

/* the drawing */
.ud-face { stroke: var(--teal); stroke-width: 1.2; stroke-linejoin: round; transition: fill .15s; }
.ud-front { fill: rgba(9, 77, 99, .14); }
.ud-top { fill: rgba(9, 77, 99, .26); }
.ud-side { fill: rgba(9, 77, 99, .38); }
.ud-back .ud-face { fill: rgba(9, 77, 99, .08); stroke: rgba(9, 77, 99, .45); }
.ud-fr .ud-face { stroke: #9A6208; }
.ud-fr .ud-front { fill: rgba(208, 139, 32, .24); }
.ud-fr .ud-top { fill: rgba(208, 139, 32, .4); }
.ud-fr .ud-side { fill: rgba(208, 139, 32, .55); }
.ud-part.is-hot .ud-face { stroke: var(--amber); stroke-width: 2.4; }
.ud-part.is-hot .ud-front, .ud-part.is-hot .ud-top, .ud-part.is-hot .ud-side { fill: rgba(242, 184, 75, .55); }
.ud-handle { fill: var(--teal-dark); }
.ud-dim { stroke: var(--amber-ink); stroke-width: 1.2; fill: none; }
.ud-dimtxt { font: 500 13px var(--font-mono); fill: var(--amber-ink); text-anchor: middle; }
.ud-grid { stroke: rgba(9, 77, 99, .07); stroke-width: 1; }

/* --------------------------------------------------------------------------
   The cutting optimiser and its plan
   -------------------------------------------------------------------------- */

.cut__glow { position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(208, 139, 32, .16), transparent); pointer-events: none; }
.cut__grid { position: relative; display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 88px); align-items: start; }

.plan { padding: 16px 16px 14px; color: #fff; }
.plan--main { position: sticky; top: 92px; }
.plan__head { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px 10px; font: 500 .7rem/1.2 var(--font-mono); color: rgba(255, 255, 255, .7); }
.plan__head { flex-wrap: wrap; row-gap: 4px; }
.plan__head span { white-space: nowrap; }
.plan--hero .plan__head { font-size: .64rem; }
.plan__stage svg { width: 100%; height: auto; border-radius: 10px; background: rgba(2, 24, 32, .55); }
.plan--main .plan__stage svg { width: auto; max-width: 100%; height: min(60vh, 600px); margin-inline: auto; }
.plan__ticker { display: flex; align-items: center; gap: 10px; min-height: 30px; margin-top: 12px; font-size: .86rem; color: #fff; }
.plan__n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--amber); color: #1f1300; font: 700 .76rem/1 var(--font-body); }
.plan--hero .plan__ticker { font-size: .76rem; margin-top: 8px; }
.plan--hero .plan__stage svg { overflow: visible; }

.plan__controls { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.icon-btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s, scale .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .18); scale: 1.06; }
.icon-btn .ico { width: 18px; height: 18px; }
.plan__scrub { flex: 1; min-width: 0; }
.plan__scrub::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--amber) var(--p, 0%), rgba(255, 255, 255, .16) var(--p, 0%)); }
.plan__scrub::-moz-range-track { background: rgba(255, 255, 255, .16); }
.plan__scrub::-moz-range-progress { background: var(--amber); }
.plan__waste { flex: none; font-size: .72rem; color: var(--amber-bright); }

.plan__legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); list-style: none; font-size: .76rem; }
.plan__legend li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; color: rgba(255, 255, 255, .85); }
.plan__legend b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--aqua); color: var(--teal-deep); font: 700 .72rem var(--font-body); }
.plan__legend small { display: block; font: 500 .68rem var(--font-mono); color: rgba(255, 255, 255, .55); }

/* the drawing's own marks */
.cp-sheet { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .38); stroke-width: 5; }
.cp-grain { stroke: rgba(255, 255, 255, .055); stroke-width: 2; }
.cp-part rect { fill: rgba(88, 198, 210, .05); stroke: rgba(88, 198, 210, .35); stroke-width: 3; stroke-dasharray: 14 10; transition: fill .5s, stroke .5s; }
.cp-part.is-free rect { fill: rgba(88, 198, 210, .27); stroke: var(--aqua); stroke-width: 4; stroke-dasharray: none; }
.cp-letter { font-family: var(--font-display); font-weight: 700; fill: #fff; opacity: 0; transition: opacity .5s; text-anchor: middle; dominant-baseline: central; }
.cp-dims { font-family: var(--font-mono); font-weight: 500; fill: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .5s; text-anchor: middle; dominant-baseline: central; }
.cp-part.is-free .cp-letter { opacity: .55; }
.cp-part.is-free .cp-dims { opacity: 1; }
.cp-hline { stroke: rgba(255, 255, 255, .2); }
.cp-offcut { stroke: rgba(255, 255, 255, .2); stroke-width: 2; opacity: 0; transition: opacity .6s; }
.cp-offcut.is-on { opacity: 1; }
.cp-offcut-txt { font: 500 46px var(--font-mono); fill: rgba(255, 255, 255, .5); text-anchor: middle; dominant-baseline: central; opacity: 0; transition: opacity .6s; }
.cp-offcut-txt.is-on { opacity: 1; }
.cp-cut { stroke: var(--amber-bright); stroke-width: 8; stroke-dasharray: 40 20; stroke-linecap: butt; }
.cp-cut--major { stroke-width: 12; stroke-dasharray: 64 26; }
.cp-mark { opacity: 0; transition: opacity .3s; }
.cp-mark.is-on { opacity: 1; }
.cp-mark circle { fill: var(--amber); }
.cp-mark text { fill: #1f1300; font-family: var(--font-body); font-weight: 700; text-anchor: middle; dominant-baseline: central; }

/* printed in black and white */
.plan--mono { padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .5); color: #111; }
.plan--mono svg { width: 100%; height: auto; border-radius: 6px; background: #fff; }
.plan--mono .cp-sheet { fill: #fff; stroke: #111; stroke-width: 7; }
.plan--mono .cp-grain { stroke: rgba(0, 0, 0, .06); }
.plan--mono .cp-part rect, .plan--mono .cp-part.is-free rect { fill: #fff; stroke: #111; stroke-width: 5; stroke-dasharray: none; }
.plan--mono .cp-letter { fill: #111; opacity: .6; }
.plan--mono .cp-dims { fill: #111; }
.plan--mono .cp-hline { stroke: rgba(0, 0, 0, .35); }
.plan--mono .cp-offcut { stroke: #111; stroke-width: 3; }
.plan--mono .cp-offcut-txt { fill: #111; }
.plan--mono .cp-cut { stroke: #111; }
.plan--mono .cp-mark circle { fill: #111; }
.plan--mono .cp-mark text { fill: #fff; }
.plan__cap { margin-top: 10px; font: 500 .7rem var(--font-mono); color: #555; text-align: center; }

.bench { margin: 44px 0 0; padding: 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: rgba(255, 255, 255, .05); }
.bench figcaption { margin-bottom: 18px; font: 600 .76rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.bench__row { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr) 3.2rem; gap: 14px; align-items: center; margin: 12px 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.bench__bar { height: 12px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.bench__bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width 1.5s var(--ease); }
.bench.is-in .bench__bar i { width: var(--w); }
.bench__row--now .bench__bar i { background: linear-gradient(90deg, var(--aqua), #A6E6EC); }
.bench__row--now { color: #fff; font-weight: 600; }
.bench b { text-align: right; font-size: .95rem; color: #fff; }
.bench__note { margin-top: 18px; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .55); }

/* --------------------------------------------------------------------------
   Quoting and the Winner import
   -------------------------------------------------------------------------- */

.import { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: stretch; }
.import__file { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 22px; border-radius: 24px; background: var(--teal-deep); color: #fff; box-shadow: var(--shadow-2); }
.import__tab { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: rgba(255, 255, 255, .06); font-size: .78rem; color: rgba(255, 255, 255, .7); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.import__tab .mono { margin-left: 8px; }
.import__scroll { overflow-x: auto; padding: 14px 18px 6px; }
.csv { width: 100%; border-collapse: collapse; font-size: .72rem; white-space: nowrap; }
.csv th { padding: 6px 14px 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); text-align: left; font-weight: 500; color: var(--amber-bright); }
.csv td { padding: 6px 14px 6px 0; color: rgba(255, 255, 255, .5); }
.csv .is-unit td { color: #fff; }
.csv .is-unit td:nth-child(3) { color: var(--aqua); }
.csv .is-line td { color: rgba(255, 255, 255, .85); }
.csv .is-line td:nth-child(3) { color: var(--amber-bright); }
.import__hint { padding: 12px 18px 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.needs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 18px 0; padding: 0; list-style: none; }
.needs li { padding: .3rem .55rem; border: 1px solid rgba(88, 198, 210, .28); border-radius: 6px; background: rgba(88, 198, 210, .1); font: 500 .68rem var(--font-mono); color: var(--aqua); }

.review { margin: 22px 18px 0; padding: 16px 16px 6px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .05); }
.review h4 { margin-bottom: 12px; font: 600 .7rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.review ul { display: grid; gap: 10px; margin: 0 0 10px; padding: 0; list-style: none; font-size: .84rem; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.review li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.review .ico { width: 18px; height: 18px; margin-top: 1px; color: #6FD6A0; }
.review .is-note .ico { color: var(--amber-bright); }

.import__arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 6px; font: 600 .64rem/1.3 var(--font-body); letter-spacing: .08em; text-align: center; text-transform: uppercase; color: var(--amber-ink); }
.import__arrow .ico { width: 34px; height: 34px; color: var(--amber); }

.paper { padding: 26px 28px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); font-size: .88rem; }
.paper__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--teal); }
.paper__head b { margin-right: 12px; font: 600 1.2rem var(--font-display); color: var(--teal-dark); }
.paper__head .mono { font-size: .8rem; color: var(--muted); }
.paper__group h4 { margin: 16px 0 6px; padding: 6px 10px; border-radius: 8px; background: var(--bg-1); font: 600 .74rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.qline { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) 1.4rem 6.6rem; gap: 10px; align-items: baseline; padding: 7px 4px; border-bottom: 1px dashed var(--border); }
.qline .mono { font-size: .74rem; color: var(--teal); }
.qline .n { text-align: right; color: var(--muted); }
.qline .m, .qtotal .m, .paper__sum .m { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qline--sub { padding-top: 0; border-bottom: 0; font-size: .76rem; color: var(--muted); }
.qtotal { display: flex; justify-content: space-between; padding: 8px 4px; font-weight: 600; color: var(--teal-dark); }
.paper__sum { margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--slate); }
.paper__sum div { display: flex; justify-content: space-between; padding: 3px 4px; color: var(--slate-2); }
.paper__sum .grand { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); font: 700 1.15rem var(--font-display); color: var(--teal-dark); }
.paper__fine { margin-top: 12px; font-size: .72rem; color: var(--muted); }

.quote__cards { margin-top: 56px; }

/* --------------------------------------------------------------------------
   Production
   -------------------------------------------------------------------------- */

.production__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: stretch; }

.path { display: flex; margin: 0 0 22px; padding: 0; list-style: none; }
.path li { position: relative; flex: 1; padding-top: 26px; text-align: center; font: 600 .76rem var(--font-body); color: var(--muted); }
.path li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 3px; background: var(--bg-2); }
.path li::after { content: ""; position: absolute; top: 0; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border: 3px solid var(--border); border-radius: 50%; background: #fff; }
.path .is-done { color: var(--teal); }
.path .is-done::before { background: var(--teal); }
.path .is-done::after { border-color: var(--teal); background: var(--teal); }
.path .is-now { color: var(--amber-ink); }
.path .is-now::before { background: linear-gradient(90deg, var(--teal), var(--bg-2)); }
.path .is-now::after { border-color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 5px rgba(208, 139, 32, .2); }
.path .is-soon { opacity: .55; }

.gate-groups { display: grid; gap: 12px; }
.gate-group { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-1); }
.gate-group h4 { margin-bottom: 10px; font: 500 .8rem var(--font-body); letter-spacing: 0; color: var(--muted); }
.step-btn { display: inline-block; margin-right: 8px; padding: .3rem .7rem; border-radius: 99px; background: var(--teal); color: #fff; font: 600 .76rem var(--font-body); }
.gate-group ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: .86rem; line-height: 1.45; }
.gate-group li { display: grid; grid-template-columns: 3.7rem minmax(0, 1fr); gap: 10px; align-items: start; }
.chip { display: block; padding: .32rem .3rem; border-radius: 6px; text-align: center; font: 600 .62rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.chip--block { background: #FBE4E0; color: #9A2B1B; }
.chip--warn { background: var(--amber-soft); color: var(--amber-ink); }
.chip--fact { background: var(--bg-2); color: var(--teal); }
.gates__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .84rem; color: var(--slate-2); }
.gates__note .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--teal); }

.board { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 24px; background: linear-gradient(170deg, var(--teal-deep), var(--teal-dark)); color: #fff; box-shadow: var(--shadow-2); }
.board__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: 1; }
.bcol h4 { display: flex; justify-content: space-between; margin-bottom: 10px; font: 600 .66rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.bcol h4 i { font-style: normal; color: var(--amber-bright); }
.bcard { margin-bottom: 8px; padding: 10px 10px 10px 12px; border-left: 4px solid; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: .76rem; line-height: 1.3; }
.bcard b { display: block; margin-bottom: 3px; font-weight: 600; color: #fff; }
.bcard span { font-size: .7rem; color: rgba(255, 255, 255, .62); }
.bcard--g { border-color: #4FC38A; }
.bcard--a { border-color: var(--amber-bright); }
.bcard--r { border-color: #F0675A; }
.board__key { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .74rem; color: rgba(255, 255, 255, .65); }
.board__key em { margin-left: auto; font-style: normal; opacity: .6; }
.k { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; }
.k--g { background: #4FC38A; }
.k--a { background: var(--amber-bright); }
.k--r { background: #F0675A; }

.production__cards { margin-top: 24px; }

/* --------------------------------------------------------------------------
   Stock
   -------------------------------------------------------------------------- */

.stock__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ledger { padding: 26px; border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: var(--shadow-2); }
.ledger__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.ledger__head b { font: 600 1.2rem var(--font-display); color: var(--teal-dark); }
.ledger__head span { font-size: .8rem; color: var(--muted); }
.ledger__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-1); }
.tile span { display: block; min-height: 2.6em; font-size: .74rem; line-height: 1.3; color: var(--muted); }
.tile strong { display: block; margin-top: 8px; font: 700 2.3rem/1 var(--font-display); letter-spacing: -.03em; color: var(--teal-dark); }
.tile--hold { border-color: #EFD39A; background: var(--amber-soft); }
.tile--hold strong { color: var(--amber-ink); }
.tile--ok { border-color: #BFE5CF; background: #E4F5EC; }
.tile--ok strong { color: #1C7A4A; }
.tile--short { border-color: #F2BDB6; background: #FBE4E0; }
.tile--short strong { color: #9A2B1B; }
.ledger__flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; font-size: .76rem; font-weight: 600; color: var(--teal); }
.ledger__flow span { padding: .4rem .7rem; border-radius: 99px; background: var(--bg-2); }
.ledger__flow .ico { width: 16px; height: 16px; color: var(--amber); }
.ledger__fine { margin-top: 14px; font-size: .76rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Labels and printouts
   -------------------------------------------------------------------------- */

.labels__glow { position: absolute; left: -15%; bottom: -25%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(88, 198, 210, .14), transparent); pointer-events: none; }
.labels__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.labels__stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.lbl-sheet { position: relative; grid-column: 1 / -1; padding: 0 0 56px; }
.lbl-sheet__ghosts i { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 70 / 37; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: 12px; }
.lbl-sheet__ghosts i:nth-child(1) { translate: 14px 14px; }
.lbl-sheet__ghosts i:nth-child(2) { translate: 28px 28px; opacity: .7; }
.lbl-sheet__ghosts i:nth-child(3) { translate: 42px 42px; opacity: .5; }
.lbl-sheet__ghosts i:nth-child(4) { translate: 56px 56px; opacity: .3; }
.lbl-sheet__ghosts i:nth-child(5) { display: none; }
.lbl-sheet__cap { position: absolute; left: 0; bottom: 0; font-size: .72rem; color: rgba(255, 255, 255, .55); }

.lbl { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; aspect-ratio: 70 / 37; padding: 18px 22px; border-radius: 12px; background: #fff; color: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.lbl__comp { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 5.4rem; padding-right: 18px; border-right: 2px solid #111; text-align: center; }
.lbl__comp span { font: 500 .62rem var(--font-mono); letter-spacing: .1em; color: #555; }
.lbl__comp b { font: 700 4.2rem/1 var(--font-display); letter-spacing: -.04em; }
.lbl__comp em { font: 600 .9rem var(--font-body); font-style: normal; }
.lbl__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; gap: 7px 14px; margin: 0; }
.lbl__grid div { min-width: 0; }
.lbl__grid .wide { grid-column: 1 / -1; }
.lbl__grid dt { font: 500 .56rem var(--font-mono); letter-spacing: .1em; color: #666; }
.lbl__grid dd { margin: 0; font: 600 .78rem/1.25 var(--font-body); overflow-wrap: anywhere; }

.ulbl { display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 12px; aspect-ratio: 101 / 46; padding: 14px 16px; border-radius: 12px; background: #fff; color: #111; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); }
.ulbl__txt { display: flex; flex-direction: column; justify-content: center; min-width: 0; font-size: .74rem; line-height: 1.3; }
.ulbl__txt b { font: 700 1rem var(--font-display); }
.ulbl__txt .mono { font-size: .9rem; color: var(--teal); }
.ulbl__hinge { margin-top: 4px; font-weight: 600; }
.ulbl__txt small { margin-top: 6px; font-size: .56rem; color: #666; }
.ulbl__qr { align-self: center; aspect-ratio: 1; }
.ulbl__qr svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   Plans
   -------------------------------------------------------------------------- */

.plans__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 8px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: var(--shadow-1); }
.plan-card h3 { font-size: 1.5rem; font-weight: 600; }
.plan-card__tag { min-height: 3em; margin: 8px 0 20px; font-size: .9rem; color: var(--slate-2); }
.plan-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan-card__price strong { font: 700 2.7rem/1 var(--font-display); letter-spacing: -.035em; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.plan-card__price span { font-size: .8rem; color: var(--muted); }
.plan-card__sub { min-height: 1.5em; margin: 8px 0 22px; font-size: .8rem; color: var(--muted); }
.plan-card__inc { margin-top: 26px; font: 600 .7rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.plan-card ul { display: grid; gap: 11px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .88rem; line-height: 1.45; }
.plan-card li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.plan-card li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--teal); }
.plan-card__badge { position: absolute; top: -13px; left: 26px; padding: .42rem .85rem; border-radius: 99px; background: linear-gradient(180deg, #F0B24A, #D88F22); color: #221400; font: 700 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(208, 139, 32, .4); }

.plan-card--featured { translate: 0 -10px; border-color: transparent; background: linear-gradient(180deg, var(--teal-dark), var(--teal-deep)); color: #fff; box-shadow: 0 30px 70px -20px rgba(4, 34, 44, .55); }
.plan-card--featured h3, .plan-card--featured .plan-card__price strong { color: #fff; }
.plan-card--featured .plan-card__tag, .plan-card--featured li { color: rgba(255, 255, 255, .8); }
.plan-card--featured .plan-card__price span, .plan-card--featured .plan-card__sub { color: rgba(255, 255, 255, .6); }
.plan-card--featured .plan-card__inc { color: var(--amber-bright); }
.plan-card--featured li .ico { color: var(--amber-bright); }

.plans__fine { margin-top: 36px; text-align: center; font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   What is next, and the questions
   -------------------------------------------------------------------------- */

.faq__list { max-width: 860px; margin: clamp(72px, 9vw, 120px) auto 0; }
.faq__list .section__head { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }
summary { position: relative; padding: 22px 48px 22px 0; list-style: none; font: 600 1.12rem/1.3 var(--font-display); letter-spacing: -.01em; color: var(--teal-dark); cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--teal); transition: transform .3s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
summary:hover { color: var(--teal); }
details p { max-width: 68ch; padding: 0 0 24px; color: var(--slate-2); }

/* --------------------------------------------------------------------------
   Closing call to action and footer
   -------------------------------------------------------------------------- */

.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(80px, 11vw, 140px) 0;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(900px 420px at 50% 125%, rgba(208, 139, 32, .3), transparent 60%),
        linear-gradient(160deg, var(--teal-deep), var(--teal) 150%);
}
.cta__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 75%); }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -.035em; color: #fff; }
.cta p { max-width: 36em; margin: 20px auto 0; font-size: 1.15rem; color: rgba(255, 255, 255, .78); }

.lost { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; padding: 140px 0 100px; text-align: center; color: #fff; background: radial-gradient(900px 500px at 70% 0%, rgba(88, 198, 210, .22), transparent 60%), linear-gradient(160deg, #04222C, #073746 60%, #094D63 140%); }
.lost__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 75%); }
.lost h1 { max-width: 16em; margin: 6px auto 20px; font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -.035em; color: #fff; }
.lost p:not(.eyebrow) { max-width: 34em; margin-inline: auto; font-size: 1.1rem; color: rgba(255, 255, 255, .75); }
.lost .eyebrow::before { display: none; }

.footer { padding: 72px 0 28px; background: var(--teal-ink); color: rgba(255, 255, 255, .7); font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__brand p { max-width: 30ch; margin-top: 18px; }
.footer h3 { margin-bottom: 14px; font: 600 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__col a { display: block; padding: 5px 0; text-decoration: none; color: rgba(255, 255, 255, .7); transition: color .2s; }
.footer__col a:hover { color: var(--amber-bright); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; padding-right: 84px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* --------------------------------------------------------------------------
   Reveal on scroll (only where scripts run, so nothing is ever hidden without them)
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Smaller screens
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hero__stage { width: 100%; max-width: 640px; margin-inline: auto; }
    .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .build__grid, .cut__grid, .stock__grid, .labels__grid, .production__grid { grid-template-columns: minmax(0, 1fr); }
    .plan--main { position: static; max-width: 560px; margin-inline: auto; width: 100%; }
    .plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plan-card--featured { translate: 0 0; }
    .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
    .flow__steps::before { display: none; }
    .import { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .import__arrow { flex-direction: row; padding: 4px; }
    .import__arrow .ico { rotate: 90deg; }
    .labels__stage { max-width: 640px; }
}

@media (max-width: 980px) {
    .nav__cta { display: none; }
    .nav__burger { display: block; }
    .nav__links {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        gap: 2px;
        margin: 0;
        padding: 16px 24px 28px;
        background: var(--teal-deep);
        box-shadow: 0 30px 50px rgba(0, 0, 0, .4);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        clip-path: inset(0 0 100% 0);
        visibility: hidden;
        transition: clip-path .4s var(--ease), visibility 0s .4s;
    }
    .nav--open .nav__links { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease); }
    .nav__links a { padding: .9rem .6rem; border-radius: 10px; font-size: 1.05rem; color: rgba(255, 255, 255, .9); }
    .nav--solid .nav__links a { color: rgba(255, 255, 255, .9); }
    .nav--solid .nav__links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
    .nav__links-cta { display: flex; gap: 12px; margin-top: 14px; }
    .nav__links-cta .btn { flex: 1; }
    .nav--open { background: var(--teal-deep); color: #fff; }
    .nav--open .logo { --lm-top: #3CA7BB; --lm-left: #FFFFFF; --lm-right: rgba(255, 255, 255, .08); --lm-stroke: rgba(255, 255, 255, .75); --lm-linel: var(--teal-deep); --lm-dash: var(--amber-bright); --lm-word: #fff; --lm-word2: rgba(255, 255, 255, .86); }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .container { width: min(1200px, 100% - 36px); }
    .cards--3, .plans__grid { grid-template-columns: minmax(0, 1fr); }
    .flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { padding-top: 108px; }
    .hero__stage { padding-bottom: 0; }
    .hero__photo { width: 100%; aspect-ratio: 4 / 3.4; }
    .plan--hero { position: relative; width: 78%; max-width: none; margin: -56px 0 0; }
    .label-card { top: 4%; right: 2%; }
    .stat { padding-right: 12px; }
    .stat + .stat { padding-left: 16px; }
    .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
    .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ledger__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .labels__stage { grid-template-columns: minmax(0, 1fr); }
    .lbl { padding: 12px 14px; gap: 12px; }
    .lbl__comp { min-width: 4rem; padding-right: 12px; }
    .lbl__comp b { font-size: 3rem; }
    .lbl__grid dd { font-size: .66rem; }
    .qline { grid-template-columns: 3.6rem minmax(0, 1fr) 1.2rem 5.6rem; gap: 6px; font-size: .78rem; }
    .paper { padding: 20px 16px; }
    .board__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bench__row { grid-template-columns: minmax(0, 1fr) 3rem; }
    .bench__row span { grid-column: 1 / -1; }
    .plan__legend { grid-template-columns: minmax(0, 1fr); }
    .demo { padding: 16px; }
    .demo__range { grid-template-columns: minmax(0, 1fr) 5rem; }
    .demo__range label { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .wa { right: 14px; bottom: 14px; }
    .wa__btn { width: 56px; height: 56px; }
    .wa__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wa__btn::before { animation: none; opacity: 0; }
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero__cut path { stroke-dashoffset: 0; }
}
