/* Groship redesign layer (13 Oct 2026, rev. 07:35Z), loaded after style.css.
   Direction: Cerebrium (Awwwards Site of the Day, 10 Sept 2026). Dark first band with the
   product on stage, wide display type, light reading sections, transparent price calculator.
   Only overrides and additions: style.css stays as it is. */

@font-face {
    font-family: 'Archivo';
    src: url('fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

:root {
    --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --night: #0b1b24;
    --night-2: #12262f;
    --night-line: #24404b;
    --night-fg: #eef4f4;
    --night-muted: #93a8b0;
    --teal-bright: #3fc1b5;
    --amber-ink: #1b1400;
    --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Type ---------- */
h1, h2 {
    font-family: var(--display);
    font-stretch: 118%;
    font-weight: 750;
    letter-spacing: -.01em;
    text-wrap: balance;
}
h1 { font-stretch: 125%; font-weight: 800; line-height: 1.04; }
.step h3, .plan h3, .compare h3, .version h3, .price-card h3, .contact-card h3, .integ-card h3 {
    font-family: var(--display);
    font-stretch: 108%;
    font-weight: 700;
    letter-spacing: 0;
}
.price .amount { font-family: var(--display); font-stretch: 112%; font-weight: 800; }
.brand { font-family: var(--display); font-stretch: 125%; font-weight: 700; letter-spacing: .08em; }

/* ---------- Header: dark, sits on the dark hero ---------- */
.site-header {
    background: rgba(11, 27, 36, .9);
    border-bottom-color: var(--night-line);
}
.site-header .brand { color: var(--night-fg); }
.site-header .brand svg { color: var(--teal-bright); }
.site-header .nav a { color: var(--night-muted); }
.site-header .nav a:hover, .site-header .nav a[aria-current] { color: var(--night-fg); }
.site-header .langs summary { color: var(--night-muted); border-color: var(--night-line); }
/* The language menu is a white panel: keep its links dark, including hover and the current language
   (the light ".nav a:hover / [aria-current]" rule above made them white on pale teal). */
.site-header .nav .langs ul a,
.site-header .nav .langs ul a:hover,
.site-header .nav .langs ul a[aria-current] { color: var(--ink); }
.site-header .nav .langs ul a[aria-current] { font-weight: 600; }
.site-header .nav .btn, .hero .btn:not(.ghost), .demo-band .btn {
    background: var(--amber); color: var(--amber-ink) !important;
}
.site-header .nav .btn:hover, .hero .btn:not(.ghost):hover, .demo-band .btn:hover { background: #ffbe1f; }

/* ---------- Hero: the dark band ---------- */
.hero {
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(63, 193, 181, .18), transparent 60%),
        repeating-linear-gradient(90deg, transparent 0 79px, rgba(147, 168, 176, .06) 79px 80px),
        var(--night);
    color: var(--night-fg);
    padding: 80px 0 72px;
}
.hero .eyebrow { color: var(--teal-bright); }
.hero h1 { color: var(--night-fg); }
.hero h1 em { color: var(--teal-bright); }
.hero .lead, .hero .answer { color: var(--night-muted); }
.hero .answer { color: #c9d6da; }
.hero .updated, .hero .breadcrumb, .hero .breadcrumb a { color: var(--night-muted); }
.hero .btn.ghost { color: var(--night-fg) !important; box-shadow: inset 0 0 0 1.5px var(--night-line); }
.hero .btn.ghost:hover { background: rgba(147, 168, 176, .1); }
.hero-note {
    font-family: var(--mono); font-size: 13px; color: var(--night-muted);
    letter-spacing: .01em; margin-top: 22px;
}
.hero .shot { border-color: var(--night-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

/* Sendcloud pages: the hero is one column (style.css's two-column hero grid split it) */
.alt-hero .wrap { display: block; }
.alt-hero h1 { max-width: 15em; font-size: clamp(32px, 4.4vw, 52px); }
.alt-hero .answer { max-width: 40em; }

/* ---------- Packing station (hero visual) ---------- */
.gs-station {
    position: relative; display: grid; gap: 12px;
    background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px;
    padding: 18px; font-size: 14px; color: var(--night-fg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    margin-bottom: 28px;
}
.gs-st-head {
    display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between;
    font: 500 12.5px/1.3 var(--mono); color: var(--night-muted);
}
.gs-st-head b { color: var(--night-fg); font-weight: 500; }
.gs-chip { border: 1px solid var(--night-line); border-radius: 999px; padding: 4px 10px; color: var(--night-fg); }
.gs-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.gs-items li {
    display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 10px; background: rgba(147, 168, 176, .07);
    transition: background .3s;
}
.gs-n { display: block; font-weight: 500; }
.gs-ean { display: block; font: 500 11px/1.3 var(--mono); color: var(--night-muted); }
.gs-q { font: 500 12.5px/1 var(--mono); color: var(--night-muted); font-variant-numeric: tabular-nums; }
.gs-tick {
    width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--night-line);
    display: grid; place-items: center; transition: background .25s, border-color .25s;
}
.gs-tick svg { opacity: 0; transition: opacity .2s; }
.gs-items li.ok { background: rgba(63, 193, 181, .13); }
.gs-items li.ok .gs-tick { background: var(--teal-bright); border-color: var(--teal-bright); }
.gs-items li.ok .gs-tick svg { opacity: 1; }
.gs-items li.now { box-shadow: inset 0 0 0 1.5px var(--amber); }
.gs-weigh {
    display: flex; justify-content: flex-start; align-items: baseline; gap: 18px;
    border-top: 1px dashed var(--night-line); padding-top: 12px;
}
.gs-weigh span { font: 500 12px/1 var(--mono); color: var(--night-muted); letter-spacing: .08em; text-transform: uppercase; }
.gs-weigh b { font: 500 28px/1 var(--mono); font-variant-numeric: tabular-nums; }
.gs-create { background: var(--teal-bright); color: #032321; border-radius: 10px; padding: 12px 16px; text-align: left; font-weight: 600; }
.gs-label {
    position: absolute; right: -16px; bottom: -34px; width: 176px;
    background: #fffdf7; color: #111; border-radius: 4px; padding: 10px 10px 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform: rotate(3deg);
    font: 500 9px/1.35 var(--mono); display: grid; gap: 5px;
    transition: transform .6s var(--ease-out), opacity .4s;
}
.gs-lt { display: flex; justify-content: space-between; font-size: 9.5px; border-bottom: 1px solid #111; padding-bottom: 4px; }
.gs-bars {
    height: 34px;
    background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px, #111 7px 10px, transparent 10px 11px, #111 11px 12px, transparent 12px 15px);
}
.gs-trk { text-align: center; letter-spacing: .12em; }
.gs-station.reset .gs-label { transform: translateY(40px) rotate(3deg); opacity: 0; }

/* ---------- Placeholders: hide until real screenshots exist ---------- */
.step:has(.shot.missing) { grid-template-columns: 1fr; }
.step .shot.missing { display: none; }
.gallery figure:has(.shot.missing) { display: none; }
.gallery:not(:has(figure .shot:not(.missing))) { display: none; }

/* ---------- How it works as tabs (built by redesign.js) ---------- */
.gs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.gs-tab {
    font: 500 13px/1 var(--mono); color: var(--muted); background: #fff;
    border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; cursor: pointer;
}
.gs-tab:hover { color: var(--ink); border-color: var(--teal); }
.gs-tab[aria-selected="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.gs-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.steps.gs-tabbed { gap: 0; }
.steps.gs-tabbed .step[hidden] { display: none; }
.steps.gs-tabbed .step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
    animation: gs-in .35s var(--ease-out);
}
.steps.gs-tabbed .step-num { display: none; }
.steps.gs-tabbed .step:has(.shot.missing) .step-text {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px 40px; align-items: start;
}
.steps.gs-tabbed .step:has(.shot.missing) .step-text > ul {
    grid-column: 2; grid-row: 1 / span 3;
    background: var(--teal-soft); border-radius: 12px; padding: 18px 20px;
}
@keyframes gs-in { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Plans ---------- */
.plan.featured { border-color: var(--night); box-shadow: 0 0 0 1px var(--night), var(--shadow); }

/* ---------- Savings calculator (built by redesign.js from the comparison table) ---------- */
.gs-calc {
    background: var(--night); color: var(--night-fg); border-radius: var(--radius);
    padding: 26px; margin: 0 0 26px; display: grid; gap: 16px;
}
.gs-calc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.gs-calc-top label { font-weight: 600; color: var(--night-muted); font-size: 15px; }
.gs-calc-vol { font: 800 32px/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.gs-calc input[type=range] { width: 100%; accent-color: var(--teal-bright); margin: 0; }
.gs-stops { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); color: var(--night-muted); }
.gs-rows { display: grid; gap: 10px; }
.gs-row { display: grid; grid-template-columns: minmax(110px, 180px) 1fr 84px; gap: 12px; align-items: center; }
.gs-row > span { font-size: 14px; color: var(--night-muted); }
.gs-track { height: 30px; border-radius: 7px; background: rgba(147, 168, 176, .1); overflow: hidden; }
.gs-fill { height: 100%; border-radius: 7px; transition: width .45s var(--ease-out); }
.gs-fill.s { background: #6b7f87; }
.gs-fill.g { background: var(--teal-bright); }
.gs-row output { font: 500 15px/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.gs-save { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 16px; border-radius: 10px; background: rgba(242, 169, 0, .12); }
.gs-save b { font: 800 26px/1 var(--display); font-stretch: 112%; color: var(--amber); font-variant-numeric: tabular-nums; }
.gs-save span { color: var(--night-muted); font-size: 14px; }
.gs-plan { font: 500 12px/1.4 var(--mono); color: var(--night-muted); }

/* ---------- Closing band and footer ---------- */
.demo-band {
    background:
        radial-gradient(700px 300px at 10% 120%, rgba(63, 193, 181, .2), transparent 60%),
        var(--night);
}
.demo-band .eyebrow { color: var(--teal-bright); }
.demo-band p { color: var(--night-muted); }
.site-footer { background: #07141b; border-top: 1px solid var(--night-line); }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
    .gs-label { right: -4px; width: 138px; bottom: -40px; }
    .steps.gs-tabbed .step:has(.shot.missing) .step-text { grid-template-columns: 1fr; }
    .steps.gs-tabbed .step:has(.shot.missing) .step-text > ul { grid-column: auto; grid-row: auto; margin-top: 8px; }
}
@media (max-width: 600px) {
    .hero { padding: 48px 0 56px; }
    .site-header .nav .btn { white-space: nowrap; padding: 8px 12px; font-size: 14px; }
    .gs-station { margin-bottom: 60px; }
    .gs-label { width: 124px; bottom: -58px; right: -6px; }
    .gs-row { grid-template-columns: 84px 1fr 64px; }
    .steps.gs-tabbed .step { padding: 22px; }
    .gs-calc { padding: 20px; }
    /* Phone widths, measured with the real fonts on all 6 languages: the expanded display cut
       pushed long German/Dutch words ("voorbeeldbestellingen") and the PT header button past 360 px. */
    .site-header .wrap { gap: 12px; }
    .site-header .brand { font-stretch: 100%; letter-spacing: .04em; }
    .site-header .nav .btn { font-size: 13.5px; padding: 8px 10px; }
    h1 { font-stretch: 112%; }
    h2 { font-stretch: 100%; }
    .step h3 { font-size: 22px; }
    .step h3, .plan h3, .compare h3, .version h3, .price-card h3, .contact-card h3, .integ-card h3 { font-stretch: 100%; }
    h1, h2, h3 { overflow-wrap: break-word; }
}
@media (max-width: 380px) {
    /* Icon only: the link keeps its aria-label. */
    .site-header .brand { font-size: 0; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .gs-label, .gs-fill, .gs-items li, .gs-tick, .gs-tick svg { transition: none; }
    .steps.gs-tabbed .step { animation: none; }
}

/* ---------- Fixes after the live render check (13 Oct 2026, 07:15Z) ---------- */
/* One-column card grids must not grow past the screen: "1fr" keeps a min-content width, and the
   German setup lines ("Versanddienstleister") pushed the plan cards to 428 px on a 390 px phone. */
@media (max-width: 960px) {
    .plans, .versions, .integrations, .pricing { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .switch-steps { grid-template-columns: minmax(0, 1fr); }
    .plan .setup-lines li { flex-wrap: wrap; }
    .setup-lines span { min-width: 0; overflow-wrap: anywhere; }
    .setup-lines strong { text-align: left; }
    .plan li, .version li, .switch-steps p, .switch-steps h3 { overflow-wrap: anywhere; }
}

/* Phones: stack the scale reading under its label, so a long label ("WEEGSCHAAL") does not push the
   weight under the printed label card (Dutch home page, 390 px). */
@media (max-width: 600px) {
    .gs-weigh { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Below 960 px style.css hides the header nav links (".nav a:not(.btn):not(.lang)"), which also
   emptied the language menu: keep its links visible. */
@media (max-width: 960px) {
    .site-header .nav .langs ul a { display: block; }
}
