/* Nicabytes — one stylesheet, no framework.
   Palette: a dark page (#0a1013) with near-black surfaces, light text, and a
   teal accent that carries the buttons. --ink is the deep brand colour of the
   hero, the CTA band and the footer; --heading is the light colour text uses.
   Type: system UI for reading, monospace for labels and prices. */

:root {
    /* Dark palette. --ink stays the deep brand colour because the hero, the CTA
       band and the footer are painted with it; --heading is the light colour
       text uses, so the two never get confused again. */
    --ink: #0c1a22;
    --ink-2: #142c36;
    --ink-3: #1d3b46;
    --paper: #0a1013;
    --surface: #131c21;
    --line: #243239;
    --line-dark: #2b4650;
    --text: #d7e2e5;
    --muted: #93a6ad;
    --muted-light: #8698a0;
    --accent: #14b394;
    --accent-deep: #0e8a73;
    --accent-bright: #2ad3b0;
    --accent-wash: #0f2b26;
    --amber: #d8a34e;
    --heading: #eef4f5;
    --link: #4fdcbe;
    --on-accent: #04211b;
    --radius: 14px;
    --radius-sm: 9px;
    --max: 1140px;
    --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 650;
    line-height: 1.16;
    letter-spacing: -0.018em;
    color: var(--heading);
    margin: 0 0 0.6em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.16rem; letter-spacing: -0.008em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--heading); }

ul, ol { margin: 0 0 1em; padding-left: 1.1em; }
li { margin-bottom: 0.45em; }

small { font-size: 0.82rem; }

.eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--link);
    margin: 0 0 0.9em;
    font-weight: 600;
}

.muted { color: var(--muted); font-size: 0.92rem; }

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--on-accent);
    padding: 0.7em 1.2em;
    z-index: 100;
}
.skip:focus { left: 0; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.72em 1.25em;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.1;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--on-accent); }

.btn-outline { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-outline:hover { border-color: var(--link); color: var(--heading); }

.btn-ghost { background: transparent; color: var(--heading); border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); color: var(--heading); }

.btn-lg { padding: 0.95em 1.6em; font-size: 1rem; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 16, 19, 0.94);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.85rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    text-decoration: none;
    color: var(--heading);
    flex: 0 0 auto;
}
.brand-mark { color: var(--accent); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.16rem; letter-spacing: -0.02em; }
.brand-text small {
    font-family: var(--mono);
    font-size: 0.64rem;
    margin-top: 0.18em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-main { margin-left: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links > li { margin: 0; }
.nav-links a, .nav-menu > summary {
    display: block;
    padding: 0.5em 0.72em;
    border-radius: 8px;
    color: var(--heading);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 550;
}
.nav-links a:hover, .nav-menu > summary:hover { background: rgba(255, 255, 255, 0.07); }
.nav-links a.active, .nav-menu > summary.active { color: var(--link); }

.nav-menu { position: relative; }
.nav-menu > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35em;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after {
    content: "";
    width: 0.4em;
    height: 0.4em;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.55;
}
.nav-menu-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -18px rgba(12, 26, 34, 0.35);
    padding: 0.5rem;
}
.nav-menu-panel a {
    display: block;
    padding: 0.7em 0.8em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--heading);
}
.nav-menu-panel a:hover { background: var(--accent-wash); }
.nav-menu-panel strong { display: block; font-size: 0.95rem; }
.nav-menu-panel span { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.45; margin-top: 0.15em; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

/* The language switch sits with the call to action: a quiet outlined chip, so it
   never competes with the primary button. */
.lang-switch {
    display: inline-block;
    padding: 0.5em 0.8em;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--heading);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.lang-switch:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.32); }
.nav-cta { padding: 0.62em 1.15em; font-size: 0.9rem; }

/* CSS-only mobile menu: a <details> that only matters under 900px. */
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu > summary {
    list-style: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary span { display: block; width: 18px; height: 2px; background: var(--heading); border-radius: 2px; }
.mobile-menu-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.35rem 1.2rem;
    display: flex;
    flex-direction: column;
}
.mobile-menu-panel a {
    padding: 0.85em 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--heading);
    font-weight: 550;
}
.mobile-menu-panel a:last-child { border-bottom: 0; }
.mobile-menu-panel .mobile-cta { color: var(--link); }

.flash-bar {
    padding: 0.7em 1.35rem;
    text-align: center;
    font-size: 0.92rem;
    background: var(--accent-wash);
    color: var(--link);
    border-top: 1px solid var(--line);
}

/* ---------- Demo banner ---------- */

.demo-bar {
    background: #101f28;
    color: #e8d7bd;
    border-bottom: 2px solid var(--amber);
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
    display: flex;
    gap: 0.7em;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}
.demo-bar strong { font-family: var(--mono); letter-spacing: 0.14em; font-size: 0.7rem; color: #f0c894; }

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

.hero {
    background:
        radial-gradient(1100px 460px at 82% -12%, rgba(42, 211, 176, 0.17), transparent 62%),
        linear-gradient(180deg, #0c1a22 0%, #102530 100%);
    color: #eef4f3;
    padding: clamp(3.2rem, 7vw, 5.6rem) 1.35rem clamp(3.4rem, 7vw, 5.8rem);
    position: relative;
    overflow: hidden;
}
.hero::after {
    /* a faint byte grid, drawn in CSS, so no image is needed */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.7;
    mask-image: radial-gradient(120% 90% at 78% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4.2rem);
    align-items: start;
}
.hero .eyebrow { color: var(--accent-bright); }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero h1 em {
    font-style: normal;
    color: #7ff0d6;
}
.hero-lede {
    color: #c6d6d8;
    font-size: clamp(1.02rem, 1.6vw, 1.14rem);
    max-width: 40ch;
    margin-bottom: 1.8em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.6rem; }
.hero .btn-ghost { color: #e6efee; border-color: rgba(230, 239, 238, 0.32); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.hero-promise {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    font-size: 0.94rem;
    color: #bccfd2;
    max-width: 46ch;
    margin: 0;
}
.hero-promise .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-bright);
    margin-top: 0.55em;
    flex: 0 0 auto;
    box-shadow: 0 0 0 4px rgba(42, 211, 176, 0.16);
}

.rate-card {
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    padding: 1.7rem 1.6rem 1.4rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 28px 60px -34px rgba(0, 0, 0, 0.7);
}
.rate-card-title {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-bottom: 1.1em;
}
.rate-row {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
    row-gap: 0.1em;
    padding: 1.15em 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    text-decoration: none;
    color: #eef4f3;
}
.rate-row:first-of-type { border-top: 0; }
.rate-row:hover .rate-name { color: var(--accent-bright); }
.rate-name { font-weight: 600; font-size: 0.98rem; }
.rate-price {
    font-family: var(--mono);
    font-size: 1.24rem;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.rate-unit { grid-column: 1 / -1; font-size: 0.8rem; color: #9db2b5; }
.rate-card-foot {
    margin-top: 1.2em;
    padding-top: 1.1em;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 0.82rem;
    line-height: 1.6;
    color: #a3b9bc;
}

/* ---------- Segment band ---------- */

.segment-band { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.6rem) 1.35rem; }
.segment-inner { max-width: var(--max); margin: 0 auto; }
.segment-inner h2 { max-width: 24ch; margin-bottom: 1.6em; }
.segment-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.segment-cols h3 { font-size: 1rem; margin-bottom: 0.4em; }
.segment-cols p { font-size: 0.94rem; color: var(--muted); }
.segment-us {
    background: var(--accent-wash);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.15rem;
}
.segment-us h3 { color: var(--link); }
.segment-us p { color: var(--text); }

/* ---------- Generic section heads ---------- */

.section-head { max-width: var(--max); margin: 0 auto 2.2rem; }
.section-head h2 { margin-bottom: 0.45em; }
.section-head > p:last-child { color: var(--muted); max-width: 62ch; font-size: 1rem; }

/* ---------- Offers ---------- */

.offers { padding: clamp(3rem, 6vw, 4.8rem) 1.35rem; }
.offer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}
.offer-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.offer-card:first-child { border-color: rgba(13, 125, 104, 0.42); box-shadow: 0 16px 36px -26px rgba(13, 125, 104, 0.5); }
.offer-card:first-child::before {
    content: "most small businesses";
    position: absolute;
    top: -0.7em;
    left: 1.3rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3em 0.7em;
    border-radius: 999px;
}
.offer-head h3 { font-size: 1.15rem; margin-bottom: 0.32em; }
.offer-tagline { font-size: 0.9rem; color: var(--muted); margin-bottom: 1em; min-height: 3.2em; }
.offer-price { display: flex; align-items: baseline; gap: 0.45em; flex-wrap: wrap; margin-bottom: 1em; }
.price-amount {
    font-family: var(--mono);
    font-size: 1.85rem;
    font-weight: 650;
    color: var(--heading);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.price-unit { font-size: 0.8rem; color: var(--muted); }
.offer-blurb { font-size: 0.92rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1.1em 0 1.3em; }
.check-list li {
    position: relative;
    padding-left: 1.55em;
    font-size: 0.9rem;
    margin-bottom: 0.6em;
    line-height: 1.5;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0.1em;
    top: 0.42em;
    width: 0.62em;
    height: 0.36em;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.offer-link { margin-top: auto; padding-top: 0.6em; border-top: 1px solid var(--line); }
.offer-link a { font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.offer-link a:hover { text-decoration: underline; }

/* ---------- Trades ---------- */

.trades { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.8rem) 1.35rem; }
.trade-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.trade-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    background: var(--paper);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.trade-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.trade-card h3 { font-size: 1.05rem; margin-bottom: 0.45em; }
.trade-card p { font-size: 0.9rem; color: var(--muted); }
.trade-link { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--link); }

/* ---------- Process ---------- */

.process { padding: clamp(3rem, 6vw, 4.8rem) 1.35rem; }
.process-list {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    counter-reset: step;
}
.process-list li { margin: 0; padding-top: 1.1rem; border-top: 2px solid var(--line); }
.step-number {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--link);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5em;
}
.process-list h3 { font-size: 1rem; margin-bottom: 0.35em; }
.process-list p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Promise band ---------- */

.promise-band {
    background: linear-gradient(135deg, #0c1a22, #123a3a 70%, #0f4a41);
    color: #eaf4f2;
    padding: clamp(3rem, 6vw, 4.4rem) 1.35rem;
}
.promise-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.promise-band .eyebrow { color: var(--accent-bright); }
.promise-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3; margin-bottom: 0.5em; }
.promise-band p:last-child { color: #a8c0c0; font-size: 0.95rem; }

/* ---------- Not-do ---------- */

.notdo { padding: clamp(3rem, 6vw, 4.8rem) 1.35rem; background: var(--surface); border-top: 1px solid var(--line); }
.notdo-list {
    max-width: var(--max);
    margin: 0 auto;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 2rem;
}
.notdo-list li {
    position: relative;
    padding-left: 1.9em;
    font-size: 0.95rem;
    color: var(--text);
    margin: 0;
}
.notdo-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: -0.05em;
    color: var(--amber);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

/* ---------- FAQ ---------- */

.faq-section { padding: clamp(3rem, 6vw, 4.8rem) 1.35rem; }
.faq-section .section-head { margin-bottom: 1.4rem; }
.faq-block { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    padding: 1.05em 2.2em 1.05em 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--heading);
    list-style: none;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0.2em;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 1.2rem;
    color: var(--link);
    font-weight: 400;
}
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 3em 1.35em 0; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.6rem) 1.35rem; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.45rem, 2.8vw, 2rem); }
.cta-band p { color: #a9bfc2; margin-bottom: 1.6em; }

/* ---------- Page head (interior pages) ---------- */

.page-head {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: clamp(2.6rem, 5.5vw, 4.2rem) 1.35rem clamp(2.2rem, 4.5vw, 3.2rem);
}
.page-head-inner { max-width: var(--max); margin: 0 auto; }
.page-head h1 { max-width: 26ch; }
.page-lede { color: var(--muted); font-size: 1.02rem; max-width: 68ch; }

.jump-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.jump-nav a {
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    padding: 0.5em 0.9em;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    color: var(--heading);
}
.jump-nav a:hover { border-color: var(--accent); color: var(--link); }

/* ---------- Full offers ---------- */

.offers-full { max-width: var(--max); margin: 0 auto; padding: 0 1.35rem; }
.offer-full {
    padding: clamp(2.4rem, 5vw, 3.6rem) 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr);
    gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: start;
    scroll-margin-top: 90px;
}
.offer-full:last-of-type { border-bottom: 0; }
.offer-full-head { position: sticky; top: 100px; }
.offer-full-head h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 0.8em; }
.offer-full-body > p { color: var(--muted); font-size: 0.97rem; }
.offer-full-body h3 { margin: 1.6em 0 0.6em; font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); color: var(--heading); }
.offer-full-body > h3:first-of-type { margin-top: 1.2em; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.not-included { background: #211a10; border: 1px solid #4a3a22; border-radius: var(--radius-sm); padding: 1.25rem 1.4rem; }
.not-included h3 { margin-top: 0 !important; color: #8a5a17 !important; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { position: relative; padding-left: 1.05em; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.55em; }
.plain-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.faq-list { margin: 0.4rem 0 0; }
.faq-item { border-top: 1px solid var(--line); padding: 0.9em 0; }
.faq-item dt { font-weight: 600; font-size: 0.94rem; margin-bottom: 0.3em; }
.faq-item dd { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */

.pricing { max-width: var(--max); margin: 0 auto; padding: clamp(2.4rem, 5vw, 3.6rem) 1.35rem; }
.pricing-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 150px minmax(0, 1.7fr);
    gap: 1.6rem;
    padding: 1.15rem 1.4rem;
    border-top: 1px solid var(--line);
    align-items: baseline;
    font-size: 0.94rem;
}
.price-row:first-child { border-top: 0; }
.price-head {
    background: var(--ink);
    color: #cfdedd;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 0.85rem 1.4rem;
}
.price-row span[role="cell"]:nth-child(3) { color: var(--muted); font-size: 0.9rem; }
.price-row small { color: var(--muted); }
.price-cell {
    font-family: var(--mono);
    font-size: 1.28rem;
    font-weight: 650;
    color: var(--heading);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.price-cell span { font-size: 0.78rem; color: var(--muted); font-weight: 400; }

.pricing-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.note-card h3 { font-size: 0.95rem; margin-bottom: 0.8em; }
.note-card .plain-list li { color: var(--text); font-size: 0.89rem; }
.pricing-caveat { margin-top: 1.6rem; color: var(--muted); font-size: 0.86rem; max-width: 70ch; }

/* ---------- Trade page ---------- */

.trade-body {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.6rem) 1.35rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.6rem, 4vw, 3.2rem);
}
.trade-col h2 { font-size: 1.25rem; margin-bottom: 1em; }
.pain-list { list-style: none; padding: 0; margin: 0; }
.pain-list li {
    position: relative;
    padding: 0.9em 0 0.9em 2em;
    border-top: 1px solid var(--line);
    font-size: 0.94rem;
    color: var(--text);
    margin: 0;
}
.pain-list li::before {
    content: "!";
    position: absolute;
    left: 0.15em;
    top: 0.9em;
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background: #2a2114;
    color: var(--amber);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trade-col .check-list li { font-size: 0.94rem; }

.trade-stack { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2.6rem, 5vw, 4rem) 1.35rem; }
.stack-list { max-width: var(--max); margin: 0 auto; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.stack-list li {
    margin: 0;
    font-family: var(--mono);
    font-size: 0.8rem;
    padding: 0.55em 0.95em;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink-2);
}

/* ---------- About ---------- */

.about-body {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.6rem) 1.35rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
    gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: start;
}
.about-main h2 { font-size: 1.2rem; margin-top: 1.6em; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { color: var(--muted); }
.about-side { display: flex; flex-direction: column; gap: 0.9rem; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.side-card h3 { font-size: 0.92rem; margin-bottom: 0.45em; }
.side-card p { font-size: 0.9rem; margin-bottom: 0.5em; color: var(--text); }
.side-card p:last-child { margin-bottom: 0; }

/* ---------- Glossary ---------- */

.glossary { max-width: var(--max); margin: 0 auto; padding: clamp(2.4rem, 5vw, 3.6rem) 1.35rem; }
.glossary-list { margin: 0; }
.gloss-item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1.6rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.gloss-item:first-child { border-top: 0; padding-top: 0; }
.gloss-item dt {
    font-family: var(--mono);
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--link);
    letter-spacing: 0.02em;
}
.gloss-item dd { margin: 0; }
.gloss-meaning { font-size: 0.97rem; color: var(--text); margin-bottom: 0.4em; }
.gloss-why { font-size: 0.89rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-body {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.6rem) 1.35rem;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
    gap: clamp(1.6rem, 4vw, 3.2rem);
    align-items: start;
}
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.contact-side { display: flex; flex-direction: column; gap: 0.9rem; }

.form-errors { border: 1px solid #6b3f31; background: #2a1915; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.form-errors p { margin-bottom: 0.4em; font-size: 0.92rem; }
.form-errors ul { margin: 0; padding-left: 1.1em; font-size: 0.9rem; color: #f0b27a; }

.contact-form .field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.35em; color: var(--heading); }
.field .req { color: var(--amber); }
.field input, .field select, .field textarea {
    width: 100%;
    font: inherit;
    font-size: 0.95rem;
    padding: 0.7em 0.85em;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}
.field-hint { font-size: 0.78rem; color: var(--muted); margin: 0.4em 0 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 0.5rem; }
.form-fine { font-size: 0.76rem; color: var(--muted); margin: 0; max-width: 34ch; }

.contact-sent { max-width: 620px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); }
.contact-sent h2 { margin-bottom: 0.5em; }
.contact-sent p { color: var(--muted); }
.contact-sent .btn { margin-top: 0.6rem; }

/* ---------- Error ---------- */

.error-page { max-width: 640px; margin: 0 auto; padding: clamp(3.4rem, 8vw, 6rem) 1.35rem; }
.error-page p { color: var(--muted); margin-bottom: 1.8em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #b8c9cb; border-top: 1px solid var(--line); padding: clamp(2.8rem, 5vw, 3.8rem) 1.35rem 1.6rem; }
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 0.95fr 1.15fr;
    gap: 2rem;
}
.footer-wordmark { font-size: 1.35rem; font-weight: 650; color: #fff; letter-spacing: -0.02em; margin-bottom: 0.3em; }
.footer-tagline { font-size: 0.9rem; color: #93aaad; max-width: 26ch; }
.footer-note { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: #8fa5a8; text-transform: uppercase; }
.footer-col h2 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9cb2b5; margin-bottom: 0.9em; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5em; }
.footer-col a { color: #cfdedd; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-email { display: block; font-size: 1rem; margin-bottom: 0.5em; color: #fff !important; }
.footer-promise { font-size: 0.84rem; color: #9db3b6; margin-bottom: 1.3em; }
.footer-cta { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.footer-cta:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.footer-legal {
    max-width: var(--max);
    margin: 2.4rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line-dark);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #93aaad;
}
.footer-legal p { margin: 0; }
.footer-links a { color: #9db2b5; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    /* Phone header: brand, the language chip and the hamburger, in that order.
       Before this the three of them did not fit and the page scrolled sideways. */
    .nav-container { gap: 0.5rem; padding: 0.7rem 1rem; }
    .nav-actions { margin-left: auto; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 1.05rem; }
    .brand { min-width: 0; }
    .mobile-menu-panel { left: auto; right: 0; width: min(260px, calc(100vw - 2rem)); }
}

@media (max-width: 1000px) {
    .hero-inner { grid-template-columns: 1fr; }
    .rate-card { max-width: 460px; }
    .nav-links { display: none; }
    .mobile-menu { display: block; }
    /* One switch, in the menu. It used to sit in the header as well, which put
       the same link twice on a phone once the menu carried its own copy. */
    .nav-actions .nav-cta, .nav-actions .lang-switch { display: none; }
    .nav-actions { gap: 0.4rem; }
    .nav-container { position: relative; }
    .offer-grid, .trade-grid { grid-template-columns: 1fr 1fr; }
    .process-list { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .offer-full { grid-template-columns: 1fr; }
    .offer-full-head { position: static; }
    .about-body, .contact-body { grid-template-columns: 1fr; }
    .about-side, .contact-side { order: 2; }
    .price-row { grid-template-columns: 1fr 110px; }
    .price-row span[role="cell"]:nth-child(3) { grid-column: 1 / -1; }
    .gloss-item { grid-template-columns: 150px 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .offer-grid, .trade-grid, .process-list, .segment-cols, .notdo-list,
    .pricing-notes, .trade-body, .split, .field-row, .footer-inner { grid-template-columns: 1fr; }
    .offer-card:first-child { margin-top: 0.8rem; }
    .page-head h1, .hero h1 { max-width: none; }
    .gloss-item { grid-template-columns: 1fr; gap: 0.3rem; }
    .price-row { grid-template-columns: 1fr auto; gap: 0.6rem 1rem; padding: 1rem 1.1rem; }
    .price-head { display: none; }
    .footer-legal { flex-direction: column; }
    .mobile-menu-panel { padding-left: 1.35rem; padding-right: 1.35rem; }
    .cta-band, .promise-band { text-align: left; }
    .promise-inner, .cta-inner { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
