:root {
    --ink: #111;
    --paper: #f7f6f1;
    --white: #fff;
    --muted: #686761;
    --line: #d9d7cf;
    --yellow: #ffef5a;
    --red: #e5362c;
    --blue: #b9dfff;
    --green: #cce8ce;
    --max: 1180px;
    --radius: 4px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.48;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, h4 { margin-top: 0; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

::selection { background: var(--yellow); color: var(--ink); }

.wrap {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
}

.narrow-wrap { max-width: 790px; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    transform: translateY(-150%);
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    font-weight: 850;
    text-decoration: none;
}

.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 246, 241, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand, .footer-brand {
    color: var(--ink);
    font-weight: 950;
    font-size: 1.55rem;
    letter-spacing: -.06em;
    text-decoration: none;
    line-height: 1;
}

.brand .dot { color: var(--red); }

.navlinks {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: .92rem;
    font-weight: 825;
}

.navlinks a { text-decoration: none; }
.navlinks a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 3px; }

.nav-cta {
    background: var(--ink);
    color: var(--white);
    padding: 11px 16px;
    border-radius: var(--radius);
}

.basket-link { display: inline-flex; align-items: center; gap: 7px; }

.basket-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--yellow);
    font-size: .72rem;
    line-height: 1;
}

.basket-count[hidden] { display: none; }

.section, .page-hero, .hero {
    border-bottom: 1px solid var(--line);
}

.section { padding: 82px 0; }

.hero { padding: 72px 0 62px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero-kicker, .kicker {
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hero-kicker { margin-bottom: 18px; }
.kicker { color: var(--muted); margin-bottom: 14px; }

h1 {
    font-size: clamp(3.4rem, 7.2vw, 7.4rem);
    line-height: .88;
    letter-spacing: -.075em;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: .93;
    letter-spacing: -.065em;
    max-width: 890px;
    margin-bottom: 22px;
}

h3 { line-height: 1.1; letter-spacing: -.025em; }
h1:focus { outline: none; }

.price-line {
    display: inline-block;
    border-bottom: 8px solid var(--yellow);
    line-height: .8;
}

.hero-copy {
    max-width: 650px;
    font-size: clamp(1.12rem, 2vw, 1.4rem);
    margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { color: var(--muted); font-size: .86rem; margin-bottom: 0; }

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-weight: 950;
    line-height: 1.1;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }
.btn-secondary:hover:not(:disabled) { background: var(--white); }
.btn-danger { color: #a72018; border-color: #a72018; }
.btn-small { min-height: 40px; padding: 0 13px; font-size: .85rem; }
.btn:disabled { opacity: .58; cursor: wait; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-weight: 900;
    text-underline-offset: 4px;
}

.lead { max-width: 730px; font-size: 1.14rem; color: #34332f; margin-bottom: 40px; }

.hero-stage {
    min-height: 500px;
    position: relative;
    display: grid;
    place-items: center;
}

.card-artwork {
    --front-size: 52px;
    --inside-size: 20px;
    width: 100%;
    aspect-ratio: 148 / 210;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #cbc7ba;
    background: var(--white);
    color: var(--ink);
    container-type: inline-size;
}

.card-artwork-border {
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(17, 17, 17, .1);
    pointer-events: none;
    z-index: 2;
}

.front-copy {
    position: relative;
    z-index: 1;
    max-width: 88%;
    padding: 20px;
    text-align: center;
    white-space: pre-line;
    overflow-wrap: anywhere;
    font-size: var(--front-size);
    font-weight: 950;
    line-height: .94;
    letter-spacing: -.055em;
}

.font-serif .front-copy, .font-serif .inside-copy {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.035em;
}

.font-rounded .front-copy, .font-rounded .inside-copy {
    font-family: "Trebuchet MS", ui-rounded, sans-serif;
    letter-spacing: -.04em;
}

.theme-paper::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 16%;
    right: 16%;
    top: 47%;
    height: 13%;
    background: var(--yellow);
    transform: rotate(-1deg);
}

.theme-warm { background: #f0e8dd; }
.theme-yellow { background: var(--yellow); }
.theme-ink { background: var(--ink); color: var(--white); }
.theme-ink .card-artwork-border { border-color: rgba(255, 255, 255, .18); }
.theme-blue { background: var(--blue); }
.theme-red { background: var(--red); color: var(--white); }
.theme-red .card-artwork-border { border-color: rgba(255, 255, 255, .28); }

.show-inside { background: #fffef9; color: var(--ink); }
.show-inside::after { display: none; }

.inside-copy {
    position: relative;
    z-index: 1;
    width: 70%;
    margin-left: 10%;
    white-space: pre-line;
    overflow-wrap: anywhere;
    font-size: var(--inside-size);
    line-height: 1.42;
}

.card-fold {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(transparent, #dedbd1 12%, #dedbd1 88%, transparent);
}

.hero-card {
    width: min(78%, 340px);
    box-shadow: 18px 22px 0 rgba(17, 17, 17, .09);
    transform: rotate(3deg);
}

.hero-card .front-copy { font-size: clamp(2.7rem, 13cqw, 4.15rem); }

.price-badge {
    position: absolute;
    top: 28px;
    right: 2px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    display: grid;
    place-items: center;
    text-align: center;
    transform: rotate(10deg);
    font-size: 1.45rem;
    line-height: .9;
    font-weight: 950;
    z-index: 3;
}

.price-badge small {
    display: block;
    margin-top: 4px;
    font-size: .52rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.usp-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { padding: 20px; border-right: 1px solid var(--line); }
.usp:last-child { border-right: 0; }
.usp b { display: block; margin-bottom: 4px; }
.usp span { color: var(--muted); font-size: .87rem; }

.section-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: end;
    margin-bottom: 40px;
}

.section-heading-row .lead { margin-bottom: 0; }

.design-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.product {
    min-width: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform .14s ease, box-shadow .14s ease;
}

.product:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, .075); }
.product .card-artwork { border-color: #ddd8ca; }
.product .front-copy { font-size: clamp(1.55rem, 11cqw, 2.65rem); }

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    padding: 13px 2px 2px;
    font-size: .88rem;
    font-weight: 850;
}

.product-meta > span:first-child { min-width: 0; }
.product-meta strong, .product-meta small { display: block; }
.product-meta small { margin-top: 2px; color: var(--muted); font-size: .74rem; font-weight: 650; }
.product-meta > span:last-child { white-space: nowrap; }

.comparison-intro, .tradeoff-head, .quality-grid, .about-grid, .two-col-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.comparison-intro, .tradeoff-head { align-items: end; margin-bottom: 38px; }
.comparison-intro .lead { margin-bottom: 0; }

.plain-comparison { background: var(--white); }
.comparison-box { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 18px; }

.comparison-side {
    border: 2px solid var(--ink);
    padding: 30px;
    background: var(--white);
}

.comparison-side.ours { background: var(--yellow); }
.comparison-label { margin-bottom: 24px; color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.comparison-price { margin-bottom: 24px; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 950; letter-spacing: -.07em; line-height: .9; }
.comparison-vs { display: grid; place-items: center; color: var(--muted); font-size: .75rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }

.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { padding: 9px 0; border-bottom: 1px solid rgba(17, 17, 17, .15); }
.tick-list li:last-child { border-bottom: 0; }

.tradeoffs { background: var(--ink); color: var(--white); }
.tradeoffs .kicker { color: #aaa; }
.tradeoff-head p { margin-bottom: 4px; color: #cfcfcf; font-size: 1.08rem; }
.tradeoff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.tradeoff-card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid #3d3d3d;
    background: #171717;
}

.tradeoff-card small { display: block; margin-bottom: 30px; color: var(--yellow); font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.tradeoff-card h3 { margin-bottom: 9px; font-size: 1.35rem; }
.tradeoff-card p { color: #c3c3c3; margin-bottom: 0; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.step {
    min-height: 190px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
}

.step-num { margin-bottom: 34px; color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.step h3 { margin-bottom: 8px; font-size: 1.4rem; }
.step p { margin-bottom: 0; color: #4e4d49; }

.about { background: var(--ink); color: var(--white); }
.about .kicker { color: #aaa; }
.about p { max-width: 670px; color: #d1d1d1; font-size: 1.08rem; }
.simple-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #3a3a3a; }
.simple-list li { padding: 16px 0; border-bottom: 1px solid #3a3a3a; font-weight: 850; }
.simple-list li::before { content: "—"; margin-right: 14px; color: var(--yellow); }

.quality-grid { align-items: center; }
.quality-card { padding: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 10px 10px 0 #ded9ca; }
.quality-row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quality-row:last-child { border-bottom: 0; }
.quality-row span:first-child { font-weight: 850; }
.quality-row span:last-child { color: var(--muted); text-align: right; }

.faq { max-width: 840px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font-size: 1.1rem; font-weight: 900; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 740px; padding: 0 4px 20px; color: #444; }

.cta { padding: 92px 0; background: var(--yellow); text-align: center; }
.cta h2 { margin-inline: auto; }
.cta p { margin-bottom: 28px; font-size: 1.14rem; }

.site-footer { padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 30px; }
.footer-brand { display: inline-block; margin-bottom: 8px; }
.footer-copy { max-width: 340px; color: var(--muted); font-size: .88rem; }
.footer-col b { display: block; margin-bottom: 11px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; margin: 7px 0; color: #444; font-size: .9rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: #777; font-size: .78rem; }

.page-hero { padding: 76px 0 64px; }
.page-hero.compact h1 { max-width: 960px; font-size: clamp(3.25rem, 7vw, 6.5rem); }
.page-hero .lead { margin-bottom: 0; }
.catalogue-section { padding-top: 34px; }
.catalogue-note { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.catalogue-note span { color: var(--muted); }
.catalogue-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mini-cta { background: var(--yellow); }
.two-col-copy { align-items: start; }
.two-col-copy .lead { margin-bottom: 20px; }

.info-hero { background: var(--white); }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 46px; margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.045em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 720px; }
.contact-email { font-size: clamp(1.6rem, 5vw, 3.2rem); font-weight: 950; letter-spacing: -.045em; }
.fine-print { margin-top: 38px; padding: 18px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: .88rem; }
.info-back { margin-top: 54px; }

/* Personaliser */
.editor-page { border-bottom: 1px solid var(--line); }
.editor-topbar { padding: 24px 0; border-bottom: 1px solid var(--line); }
.editor-topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.editor-topbar p { margin: 0; color: var(--muted); }
.editor-topbar strong { color: var(--ink); }

.editor-grid {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(390px, 530px);
    min-height: 720px;
}

.preview-pane { padding: 44px max(24px, 5vw); background: #eeece4; border-right: 1px solid var(--line); }
.preview-sticky { position: sticky; top: 102px; max-width: 470px; margin-inline: auto; }
.preview-tabs { display: flex; justify-content: center; gap: 7px; margin-bottom: 22px; }
.tab-button { min-height: 39px; padding: 0 16px; border: 1px solid var(--ink); background: transparent; font-weight: 850; }
.tab-button.active { background: var(--ink); color: var(--white); }
.editor-preview-card { width: min(100%, 390px); margin-inline: auto; box-shadow: 16px 18px 0 rgba(17, 17, 17, .12); }
.preview-hint { max-width: 420px; margin: 32px auto 0; color: var(--muted); font-size: .84rem; text-align: center; }

.editor-panel { padding: 42px clamp(22px, 4vw, 54px) 48px; background: var(--paper); }
.editor-panel h1 { margin-bottom: 10px; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.editor-panel > p { color: var(--muted); }
.editor-fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.control-section { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.control-heading { display: flex; gap: 12px; align-items: baseline; margin-bottom: 22px; }
.control-heading span { color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .08em; }
.control-heading h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: .88rem; font-weight: 850; }
.field-help, .character-count { color: var(--muted); font-size: .76rem; font-weight: 600; }
.input, .field input:not([type="range"]):not([type="radio"]), .field textarea, .field select {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid #aaa79d;
    border-radius: 2px;
    background: var(--white);
    color: var(--ink);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; }
.field input[type="range"] { width: 100%; accent-color: var(--ink); }
.range-row { display: grid; grid-template-columns: 1fr 50px; gap: 12px; align-items: center; }
.range-value { padding: 7px; background: var(--white); border: 1px solid var(--line); font-size: .83rem; font-weight: 850; text-align: center; }

.delivery-included { padding: 14px; border: 2px solid var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--yellow); }
.delivery-included strong, .delivery-included span { display: block; }
.delivery-included span { margin-top: 5px; color: var(--muted); font-size: .8rem; }

.validation-message, .validation-summary-errors { color: #a72018; font-size: .83rem; font-weight: 750; }
.validation-summary-errors { margin-bottom: 20px; padding: 14px 14px 8px; border: 1px solid #a72018; background: #fff4f2; }
.validation-summary-errors ul { margin: 6px 0; padding-left: 20px; }
.valid.modified:not([type=checkbox]) { outline: 2px solid #49804d; }
.invalid { outline: 2px solid #a72018; }

.editor-actions { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.editor-actions .btn { width: 100%; }
.save-note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.status-message { margin-top: 14px; padding: 12px; border: 1px solid #8ca78d; background: #edf8ee; font-weight: 750; }

/* Basket and checkout */
.basket-section { min-height: 560px; }
.basket-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 38px; align-items: start; }
.basket-list { display: grid; gap: 16px; }
.basket-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 18px; background: var(--white); border: 1px solid var(--line); }
.basket-thumb .front-copy { font-size: clamp(1rem, 11cqw, 1.45rem); padding: 10px; }
.basket-item-header { display: flex; justify-content: space-between; gap: 16px; }
.basket-item h2 { margin-bottom: 5px; font-size: 1.45rem; letter-spacing: -.035em; }
.basket-item-price { font-weight: 950; white-space: nowrap; }
.basket-item-meta { margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.delivery-summary { margin: 0 0 18px; padding: 12px; background: var(--paper); border-left: 4px solid var(--yellow); font-size: .88rem; }
.delivery-summary strong, .delivery-summary span { display: block; }
.basket-item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.link-button { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.link-button.danger { color: #a72018; }

.summary-card { position: sticky; top: 96px; padding: 24px; background: var(--white); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.summary-card h2 { font-size: 1.7rem; letter-spacing: -.04em; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-total { margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 1.25rem; font-weight: 950; }
.summary-card .btn { width: 100%; margin-top: 20px; }
.summary-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.secure-note { display: flex; align-items: start; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .78rem; }
.secure-note svg { flex: 0 0 auto; }

.empty-state { max-width: 720px; padding: 48px; border: 2px solid var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--yellow); }
.empty-state h2 { font-size: 2.6rem; }
.empty-state p { margin-bottom: 26px; color: var(--muted); font-size: 1.05rem; }
.loading-state { min-height: 260px; display: grid; place-items: center; color: var(--muted); font-weight: 800; }

.checkout-shell { max-width: 920px; }
.demo-banner { margin-bottom: 24px; padding: 14px 18px; border: 2px solid var(--ink); background: var(--yellow); font-weight: 850; }
.checkout-review { display: grid; gap: 14px; }
.checkout-card { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 15px; border: 1px solid var(--line); background: var(--white); }
.checkout-card .card-artwork .front-copy { font-size: clamp(.75rem, 10cqw, 1rem); padding: 5px; }
.checkout-card h2 { margin-bottom: 3px; font-size: 1.25rem; }
.checkout-card p { margin-bottom: 0; color: var(--muted); font-size: .84rem; }
.checkout-total { display: flex; justify-content: space-between; margin-top: 18px; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-size: 1.35rem; font-weight: 950; }
.checkout-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.payment-explainer { margin-top: 26px; padding: 20px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; }

.success-mark { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 28px; border: 3px solid var(--ink); border-radius: 50%; background: var(--green); font-size: 2rem; font-weight: 950; }
.order-reference { display: inline-block; margin: 10px 0 26px; padding: 9px 12px; background: var(--white); border: 1px solid var(--line); font-family: ui-monospace, monospace; }

.not-found { min-height: 64vh; display: grid; align-items: center; }
.not-found .error-code { color: var(--red); font-size: .78rem; font-weight: 950; letter-spacing: .12em; }

@media (max-width: 1000px) {
    .editor-grid { grid-template-columns: minmax(300px, .9fr) minmax(370px, 1.1fr); }
    .preview-pane { padding-inline: 24px; }
    .basket-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
}

@media (max-width: 900px) {
    .nav-optional { display: none; }
    .hero-grid, .about-grid, .quality-grid, .comparison-intro, .tradeoff-head, .two-col-copy { grid-template-columns: 1fr; }
    .hero-grid { gap: 24px; }
    .hero-stage { min-height: 430px; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .usp:nth-child(2) { border-right: 0; }
    .usp:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .design-grid, .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid, .tradeoff-grid { grid-template-columns: 1fr; }
    .comparison-box { grid-template-columns: 1fr; }
    .comparison-vs { min-height: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-heading-row { display: block; }
    .section-heading-row .text-link { margin-top: 22px; }
    .editor-grid { grid-template-columns: 1fr; }
    .preview-pane { border-right: 0; border-bottom: 1px solid var(--line); }
    .preview-sticky { position: static; }
    .editor-preview-card { max-height: 510px; width: min(78vw, 340px); }
    .basket-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; }
}

@media (max-width: 600px) {
    .wrap { width: min(calc(100% - 22px), var(--max)); }
    .nav { min-height: 62px; gap: 12px; }
    .brand { font-size: 1.3rem; }
    .navlinks { gap: 12px; }
    .nav-cta { display: none; }
    .basket-link { padding: 8px 0; }
    .hero { padding: 40px 0 48px; }
    h1 { font-size: clamp(3.05rem, 16vw, 5rem); }
    .page-hero.compact h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero-copy { font-size: 1.04rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stage { min-height: 370px; }
    .hero-card { width: 75%; }
    .price-badge { width: 86px; height: 86px; font-size: 1.15rem; }
    .usp { padding: 16px 12px; }
    .usp b { font-size: .88rem; }
    .usp span { font-size: .76rem; }
    .section { padding: 60px 0; }
    .design-grid, .catalogue-grid { gap: 10px; }
    .product { padding: 8px; }
    .product-meta { font-size: .75rem; }
    .product-meta small { font-size: .68rem; }
    .comparison-side { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .legal { flex-direction: column; }
    .catalogue-note { display: block; }
    .catalogue-note span { display: block; margin-top: 5px; font-size: .84rem; }
    .editor-topbar .wrap { align-items: flex-start; }
    .editor-topbar p { font-size: .8rem; text-align: right; }
    .preview-pane { padding: 28px 16px 34px; }
    .editor-preview-card { width: min(80vw, 310px); }
    .editor-panel { padding: 34px 16px 40px; }
    .field-row { grid-template-columns: 1fr; }
    .basket-item { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; }
    .basket-item-header { display: block; }
    .basket-item-price { display: block; margin: 5px 0; }
    .empty-state { padding: 28px 22px; }
    .checkout-card { grid-template-columns: 64px minmax(0, 1fr); }
    .checkout-card > :last-child { grid-column: 2; }
    .checkout-actions { flex-direction: column-reverse; }
    .checkout-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
