/* ==========================================================================
   HeyTag - marketing homepage
   Redesign brief: flame-orange accent on alternating black / off-white
   sections, oversized uppercase display type, pill CTAs carrying a circular
   arrow badge, and blocky rounded tiles.

   The QR finder pattern stays the brand device (.qr-mark) - it is the one
   mark that ties the identity to the actual product.

   Sections set their own --surface / --muted / --line, so every component
   below adapts to a dark or a light band without a variant class.
   ========================================================================== */

:root {
    /* Brand */
    --flame: #FF4A17;
    --flame-deep: #E23C0B;
    --flame-soft: #FFE7DF;

    /* Ground */
    --black: #0A0A0B;
    --black-2: #151518;
    --black-3: #1D1D21;
    --cream: #F4F2EF;
    --white: #FFFFFF;

    /* Ink on top of a saturated fill */
    --on-flame: #FFFFFF;
    --on-cream: #0A0A0B;

    /* Greys, named once. The .sec-* blocks below re-point --muted / --line /
       --surface at these depending on whether the band is dark or light. */
    --grey-dark-muted: #9B9BA1;
    --grey-dark-line: #26262B;
    --grey-dark-fill: #202027;
    --grey-dark-edge: #2E2E34;
    --grey-dark-link: #D6D6DA;
    --grey-dark-legal: #7A7A80;
    --grey-light-muted: #6C6C72;
    --grey-light-line: #E1DDD7;
    --grey-light-fill: #EAE7E2;
    --flame-deepest: #B72E06;

    --radius: 16px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --maxw: 1180px;
    --gutter: clamp(18px, 5vw, 46px);
    --section-y: clamp(66px, 9vw, 118px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Band scopes: components read --surface / --muted / --line from here. */
.sec-dark {
    --surface: var(--black-2);
    --surface-2: var(--black-3);
    --muted: var(--grey-dark-muted);
    --line: var(--grey-dark-line);
    background: var(--black);
    color: var(--white);
}

.sec-light {
    --surface: var(--white);
    --surface-2: var(--grey-light-fill);
    --muted: var(--grey-light-muted);
    --line: var(--grey-light-line);
    background: var(--cream);
    color: var(--black);
}

.sec-flame {
    --surface: rgba(255, 255, 255, .14);
    --surface-2: rgba(255, 255, 255, .1);
    --muted: rgba(255, 255, 255, .78);
    --line: rgba(255, 255, 255, .26);
    background: var(--flame);
    color: var(--white);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Oversized poster type. Archivo Black only ships one weight - the scale and
   the tracking do the work instead. */
.display, h1, h2, h3 {
    font-family: "Archivo Black", "Arial Black", Inter, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: .94;
    letter-spacing: -.02em;
    margin: 0;
}

h1 { font-size: clamp(2.5rem, 8.4vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.02rem, 2.1vw, 1.22rem); letter-spacing: -.01em; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--flame);
    outline-offset: 3px;
    border-radius: 8px;
}

.sec-flame a:focus-visible, .sec-flame button:focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

section { padding: var(--section-y) 0; }
section[id] { scroll-margin-top: 84px; }

.plain { list-style: none; margin: 0; padding: 0; }

/* --- Brand device: the QR finder pattern -------------------------------- */
.qr-mark {
    display: inline-block;   /* width/height do not apply to inline elements */
    width: 13px;
    height: 13px;
    flex: none;
    border: 2px solid currentColor;
    border-radius: 3px;
    position: relative;
}

.qr-mark::after {
    content: "";
    position: absolute;
    inset: 2.5px;
    background: currentColor;
    border-radius: 1px;
}

.qr-mark.lg { width: 19px; height: 19px; border-width: 3px; border-radius: 5px; }
.qr-mark.lg::after { inset: 3.5px; }

/* --- Sparkle ------------------------------------------------------------ */
.sparkle { width: 34px; height: 34px; fill: var(--flame); flex: none; }
.sparkle.white { fill: var(--white); }

/* --- Labels and lede ---------------------------------------------------- */
.label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: Inter, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

.label .qr-mark { color: var(--flame); }
.sec-flame .label .qr-mark { color: var(--white); }

.lede { color: var(--muted); font-size: clamp(.98rem, 1.9vw, 1.1rem); max-width: 54ch; }

/* Reference layout: heading hard left, supporting paragraph hard right. */
.head-split { display: grid; gap: 22px; margin-bottom: clamp(34px, 5vw, 54px); }
.head-split .lede { align-self: end; }

@media (min-width: 900px) {
    .head-split { grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 8px 7px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .18s var(--ease), color .18s var(--ease),
                border-color .18s var(--ease), transform .18s var(--ease);
}

/* The circular arrow badge riding on the end of every pill. */
.btn .nub {
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    transition: transform .22s var(--ease);
}

.btn .nub svg { width: 13px; height: 13px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .nub { transform: rotate(45deg); }

.btn-flame { background: var(--flame); color: var(--on-flame); }
.btn-flame:hover { background: var(--flame-deep); }

.btn-light { background: var(--white); color: var(--black); }
.btn-light .nub { background: var(--flame); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark .nub { background: var(--flame); }

.btn-outline { background: transparent; border-color: var(--line); color: inherit; }
.btn-outline .nub { background: var(--flame); }
.btn-outline:hover { border-color: currentColor; }

.btn-block { width: 100%; justify-content: space-between; }

/* --- Header ------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(10, 10, 11, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease);
}

.site-header.scrolled { border-bottom-color: var(--grey-dark-line); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }

.logo {
    display: inline-flex;
    align-items: center;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 1.14rem;
    letter-spacing: -.02em;
    text-transform: lowercase;
    color: var(--flame);
}

.logo .qr-mark { margin-right: 9px; }
.logo b { font-weight: 400; color: var(--white); }

.nav { display: none; margin-left: auto; gap: clamp(16px, 2.5vw, 34px); font-size: .88rem; color: var(--grey-dark-muted); }
.nav a:hover { color: var(--white); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-cta .login { display: none; font-size: .88rem; color: var(--grey-dark-muted); }
.header-cta .login:hover { color: var(--white); }
.header-cta .btn { padding: 5px 6px 5px 18px; font-size: .74rem; }
.header-cta .btn .nub { width: 28px; height: 28px; }

@media (min-width: 940px) {
    .nav { display: flex; }
    .header-cta { margin-left: clamp(16px, 2.5vw, 34px); }
    .header-cta .login { display: inline; }
}

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(34px, 5vw, 58px); padding-bottom: clamp(48px, 6vw, 78px); }

.hero::before {                       /* faint QR module grid */
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 130%;
    background-image:
        linear-gradient(var(--grey-dark-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grey-dark-line) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: .55;
    mask-image: radial-gradient(115% 65% at 22% 8%, #000 0, transparent 70%);
    -webkit-mask-image: radial-gradient(115% 65% at 22% 8%, #000 0, transparent 70%);
    pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-top { display: grid; gap: 30px; }

@media (min-width: 1000px) {
    .hero-top { grid-template-columns: minmax(0, 1.45fr) minmax(240px, .85fr); gap: 54px; align-items: start; }
    .rail { margin-top: 62px; }   /* clears the sparkle cluster above it */
}

.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--flame); }

.hero-sub { color: var(--muted); margin-top: 22px; max-width: 46ch; font-size: clamp(.96rem, 1.8vw, 1.06rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-spark { position: absolute; top: 8px; right: 0; display: flex; gap: 6px; align-items: flex-start; }
.hero-spark .sparkle:nth-child(2) { width: 20px; height: 20px; margin-top: 16px; }

/* Numbered process rail, top right of the hero. */
.rail { display: grid; gap: 0; }

.rail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: .92rem;
    font-weight: 500;
}

.rail-item:first-child { border-top: 1px solid var(--line); }
.rail-item .n { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--flame); flex: none; }
.rail-item .arrow { margin-left: auto; flex: none; width: 15px; height: 15px; fill: var(--muted); }

/* --- Floating tag graphic ---------------------------------------------- */
.tag-stage {
    position: relative;
    margin: clamp(20px, 3vw, 34px) auto 0;
    width: min(560px, 100%);
    height: clamp(228px, 36vw, 292px);
}

.tag-card {
    position: absolute;
    width: clamp(196px, 38vw, 268px);
    aspect-ratio: 1.58;
    border-radius: 18px;
    padding: 15px 17px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
}

.tag-card .tc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

.tag-card .tc-name {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 1.02rem;
    text-transform: lowercase;
    letter-spacing: -.02em;
}

.tag-card .tc-kind {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .18em;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid currentColor;
    opacity: .8;
}

.tag-card .tc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tag-card .tc-code { font-size: .66rem; font-weight: 600; letter-spacing: .16em; opacity: .82; }

.qr-svg { width: clamp(52px, 11vw, 68px); height: auto; shape-rendering: crispEdges; }

/* NFC broadcast arcs */
.nfc { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .85; }

.tag-card.front {
    left: 4%;
    bottom: 0;
    background: var(--flame);
    color: var(--white);
    transform: rotate(-9deg);
    z-index: 2;
}

.tag-card.front .qr-svg { fill: var(--white); }

.tag-card.back {
    right: 4%;
    top: 0;
    background: var(--black-2);
    color: var(--white);
    border: 1px solid var(--line);
    transform: rotate(7deg);
    z-index: 1;
}

.tag-card.back .qr-svg { fill: var(--flame); }

/* Trust chips under the hero graphic. */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(22px, 3vw, 32px); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .82rem;
    color: var(--muted);
}

.chip .qr-mark { color: var(--flame); width: 11px; height: 11px; border-width: 2px; }
.chip .qr-mark::after { inset: 2px; }

/* --- Tile grid (problem scenes, stats) --------------------------------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }

.tile {
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    min-height: 236px;
    border: 1px solid transparent;
}

.tile .tile-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-bottom: auto;
    background: rgba(0, 0, 0, .14);
}

.tile h3 { margin: 22px 0 10px; }
.tile p { font-size: .93rem; }

.tile.flame { background: var(--flame); color: var(--white); }
.tile.flame p { color: rgba(255, 255, 255, .84); }
.tile.flame .tile-icon { background: rgba(255, 255, 255, .2); }

.tile.dark { background: var(--black); color: var(--white); }
.tile.dark p { color: var(--grey-dark-muted); }
.tile.dark .tile-icon { background: rgba(255, 255, 255, .1); }

.tile.plainw { background: var(--surface); color: inherit; border-color: var(--line); }
.tile.plainw p { color: var(--muted); }
.tile.plainw .tile-icon { background: var(--surface-2); }

.stat {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    line-height: .9;
    letter-spacing: -.03em;
}

.stat sup { font-size: .38em; vertical-align: super; margin-left: 2px; }

/* --- Products ---------------------------------------------------------- */
.products { display: grid; gap: 18px; }

@media (min-width: 880px) { .products { grid-template-columns: 1fr 1fr; } }

.product {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: clamp(26px, 3.4vw, 38px);
    display: flex;
    flex-direction: column;
    transition: transform .24s var(--ease);
}

.product:hover { transform: translateY(-5px); }
.product.flame { background: var(--flame); color: var(--white); }
.product.dark { background: var(--black); color: var(--white); }

.product .kind {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 18px;
}

.product.flame .kind { color: rgba(255, 255, 255, .9); }
.product.dark .kind { color: var(--flame); }
.product .what { margin-top: 14px; font-size: .95rem; }
.product.flame .what { color: rgba(255, 255, 255, .84); }
.product.dark .what { color: var(--grey-dark-muted); }

.product ul { margin: 24px 0 28px; display: grid; gap: 13px; }
.product li { display: flex; align-items: flex-start; gap: 12px; font-size: .93rem; }
.product li .qr-mark { margin-top: 5px; }
.product.flame li .qr-mark { color: var(--white); }
.product.dark li .qr-mark { color: var(--flame); }
.product .btn { margin-top: auto; align-self: flex-start; }

.product .ghost-qr {
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 190px;
    opacity: .1;
    pointer-events: none;
}

.product.flame .ghost-qr { fill: var(--white); }
.product.dark .ghost-qr { fill: var(--flame); opacity: .16; }

/* --- Steps ------------------------------------------------------------- */
.steps { display: grid; gap: 0; }

.step {
    display: grid;
    gap: 8px 26px;
    padding: clamp(24px, 3vw, 34px) 0;
    border-top: 1px solid var(--line);
    align-items: start;
}

.step:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 820px) {
    .step { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.1fr) 44px; align-items: center; }
}

.step .n {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    letter-spacing: -.03em;
    color: var(--flame);
}

.step p { color: var(--muted); font-size: .95rem; }

.step .go {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: none;
    place-items: center;
    justify-self: end;
}

.step .go svg { width: 13px; height: 13px; fill: var(--flame); }

@media (min-width: 820px) { .step .go { display: grid; } }

/* --- Features: numbered accordion + floating preview ------------------- */
.feat-layout { position: relative; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }

.acc summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 2px;
    cursor: pointer;
    list-style: none;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(.98rem, 2vw, 1.16rem);
    text-transform: uppercase;
    letter-spacing: -.01em;
    transition: color .18s var(--ease);
}

.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--flame); }
.acc summary .n { font-family: Inter, sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); flex: none; }

.acc summary .pm {
    margin-left: auto;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    position: relative;
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

/* The +/- is drawn, so there is no glyph to swap. */
.acc summary .pm::before,
.acc summary .pm::after {
    content: "";
    position: absolute;
    background: currentColor;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.acc summary .pm::before { width: 12px; height: 2px; }
.acc summary .pm::after { width: 2px; height: 12px; }
.acc details[open] summary .pm { background: var(--flame); border-color: var(--flame); color: var(--white); }
.acc details[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
.acc details[open] summary { color: var(--flame); }
.acc .answer { color: var(--muted); font-size: .95rem; padding: 0 52px 24px 44px; max-width: 60ch; }

/* The live page preview floats over the accordion on wide screens, the way the
   reference floats its invoice card. Below that it simply stacks. */
.preview { margin-top: 34px; display: grid; justify-items: center; gap: 16px; }

@media (min-width: 1040px) {
    .feat-layout { padding-right: 356px; min-height: 502px; }
    .preview { position: absolute; right: 0; top: 0; margin: 0; width: 320px; }
}

.toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 999px; }

.toggle button {
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.toggle button[aria-selected="true"] { background: var(--flame); color: var(--white); }

.phone {
    position: relative;
    width: min(272px, 78vw);
    padding: 11px;
    background: var(--black);
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.phone-screen {
    position: relative;
    background: var(--black-2);
    border-radius: 27px;
    padding: 26px 18px 18px;
    overflow: hidden;
    min-height: 356px;
    color: var(--white);
}

.phone-screen::before {                       /* notch */
    content: "";
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 58px; height: 5px;
    background: var(--grey-dark-edge);
    border-radius: 99px;
}

.phone-screen::after {                        /* scan sweep */
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(255, 74, 23, .18), transparent);
    animation: sweep 4.8s var(--ease) infinite;
    pointer-events: none;
}

@keyframes sweep {
    0%, 72%  { transform: translateY(-110%); opacity: 0; }
    76%      { opacity: 1; }
    100%     { transform: translateY(255%); opacity: 0; }
}

.screen { display: none; text-align: center; }
.screen[data-active] { display: block; animation: screen-in .32s var(--ease); }

@keyframes screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.screen .url {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 12px;
    background: var(--grey-dark-fill);
    border-radius: 999px;
    color: var(--grey-dark-muted);
    font-size: .66rem;
}

.avatar {
    width: 54px; height: 54px;
    margin: 0 auto 12px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--flame);
    color: var(--white);
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 1.08rem;
}

.screen[data-screen="card"] .avatar { background: var(--grey-dark-edge); color: var(--flame); }
.screen .who { font-family: "Archivo Black", "Arial Black", sans-serif; font-size: 1.02rem; text-transform: none; }
.screen .role { color: var(--grey-dark-muted); font-size: .78rem; margin-top: 3px; }
.screen .note { color: var(--grey-dark-muted); font-size: .8rem; margin: 13px 0 16px; line-height: 1.5; }

.mini {
    display: block;
    padding: 11px;
    margin-top: 8px;
    border-radius: 11px;
    font-size: .82rem;
    font-weight: 600;
    background: var(--grey-dark-fill);
    color: var(--white);
}

.mini.solid { background: var(--flame); color: var(--white); }
.preview-cap { color: var(--muted); font-size: .8rem; text-align: center; max-width: 30ch; }

/* --- Bento: works on every phone -------------------------------------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }

@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } }

.cell {
    border-radius: var(--radius-lg);
    padding: clamp(22px, 2.8vw, 30px);
    min-height: 186px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.cell.flame { background: var(--flame); color: var(--white); }
.cell.light { background: var(--cream); color: var(--black); align-items: flex-start; text-align: left; justify-content: flex-end; }
.cell.light p { color: var(--grey-light-muted); }
.cell.card { background: var(--surface); border: 1px solid var(--line); align-items: flex-start; text-align: left; justify-content: flex-end; }
.cell.dark { background: var(--black-2); border: 1px solid var(--line); align-items: flex-start; text-align: left; justify-content: flex-end; }
.cell .cell-name { font-family: "Archivo Black", "Arial Black", sans-serif; font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
.cell .cell-sub { font-size: .82rem; opacity: .82; }
.cell p { font-size: .92rem; color: var(--muted); }
.cell.flame p { color: rgba(255, 255, 255, .84); }
.cell .glyph { width: 46px; height: 46px; fill: currentColor; }
.cell.span2 { grid-column: span 1; }

@media (min-width: 700px) { .cell.span2 { grid-column: span 2; } }

/* --- Pricing ---------------------------------------------------------- */
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); align-items: start; }

.tier {
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--line);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tier.featured { background: var(--flame); color: var(--white); border-color: var(--flame); }
.tier .tier-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier .tier-name { font-family: "Archivo Black", "Arial Black", sans-serif; font-size: 1rem; text-transform: uppercase; }

.tier .badge {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--white);
    color: var(--flame);
    white-space: nowrap;
}

.tier .price { margin-top: 18px; font-family: "Archivo Black", "Arial Black", sans-serif; font-size: clamp(2.1rem, 5vw, 2.7rem); letter-spacing: -.03em; line-height: 1; }
.tier .price .cur { font-size: .42em; letter-spacing: 0; margin-right: 6px; opacity: .7; }
.tier .per { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.tier.featured .per { color: rgba(255, 255, 255, .82); }
.tier ul { margin: 24px 0 28px; display: grid; gap: 12px; }
.tier li { display: flex; align-items: flex-start; gap: 12px; font-size: .91rem; }
.tier li .qr-mark { margin-top: 5px; color: var(--flame); }
.tier.featured li .qr-mark { color: var(--white); }
.tier .btn { margin-top: auto; }

.price-note { margin-top: 26px; display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: .88rem; }
.price-note .qr-mark { margin-top: 5px; color: var(--flame); }

/* --- Testimonial ------------------------------------------------------ */
.quote-block { position: relative; }

.quote-mark {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(3.4rem, 9vw, 6rem);
    line-height: .6;
    color: var(--flame);
    display: block;
}

.quote-block blockquote {
    margin: 18px 0 0;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(1.24rem, 3.4vw, 2.1rem);
    text-transform: none;
    line-height: 1.24;
    letter-spacing: -.02em;
    max-width: 34ch;
}

.quote-who { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.quote-who .pic { width: 44px; height: 44px; border-radius: 50%; background: var(--flame); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.quote-who .nm { font-weight: 600; font-size: .93rem; }
.quote-who .rl { color: var(--muted); font-size: .82rem; }

/* Marked so a design placeholder can never quietly ship as a real review. */
.placeholder-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding: 8px 14px;
    border: 1px dashed var(--flame);
    border-radius: 999px;
    color: var(--flame);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --- Giant extruded wordmark ------------------------------------------ */
.wordmark-band { background: var(--black); padding: clamp(40px, 6vw, 70px) 0 0; overflow: hidden; }

.wordmark {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: clamp(4.4rem, 22vw, 15rem);
    line-height: 1;
    margin: 0 0 -.16em;          /* crops the descenders only - a deliberate bleed */
    letter-spacing: -.045em;
    text-transform: lowercase;
    text-align: center;
    color: var(--flame);
    /* Stacked shadows fake the extrusion in the reference - no image needed.
       Offsets are in em so the depth scales with the type. */
    text-shadow:
        0.008em 0.008em 0 var(--flame-deep),
        0.016em 0.016em 0 var(--flame-deep),
        0.024em 0.024em 0 var(--flame-deep),
        0.032em 0.032em 0 var(--flame-deep),
        0.04em 0.04em 0 var(--flame-deep),
        0.048em 0.048em 0 var(--flame-deep),
        0.056em 0.056em 0 var(--flame-deep),
        0.064em 0.064em 0 var(--flame-deep),
        0.072em 0.072em 0 var(--flame-deep),
        0.08em 0.08em 0 var(--flame-deep),
        0.088em 0.088em 0 var(--flame-deepest),
        0.096em 0.096em 0 var(--flame-deepest),
        0.104em 0.104em 0 var(--flame-deepest),
        0.112em 0.112em 0 var(--flame-deepest),
        .13em .13em .18em rgba(0, 0, 0, .55);
    user-select: none;
}

/* A fixed em crop reads harsher on small type, so show more of the letterform. */
@media (max-width: 700px) {
    .wordmark { margin-bottom: -.05em; }
}

/* --- Final CTA -------------------------------------------------------- */
.final { position: relative; overflow: hidden; }
.final h2 { max-width: 18ch; }
.final .lede { margin-top: 20px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.final-spark { position: absolute; top: clamp(20px, 4vw, 48px); right: var(--gutter); display: flex; gap: 8px; }

/* --- Footer ----------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(40px, 5vw, 60px) 0 34px; border-top: 1px solid var(--grey-dark-line); }
.footer-grid { display: grid; gap: 32px; }

@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; } }

.footer-grid .tagline { color: var(--grey-dark-muted); font-size: .88rem; margin-top: 12px; max-width: 34ch; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-dark-muted); margin: 0 0 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: .92rem; color: var(--grey-dark-link); }
.footer-col a:hover { color: var(--flame); }
.footer-legal { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--grey-dark-line); color: var(--grey-dark-legal); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }

/* --- Scroll reveal ---------------------------------------------------- */
/* Armed by JS only, so nothing is hidden when JS is off. */
.reveal-on .reveal { opacity: 0; transform: translateY(20px); }
.reveal-on .reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* --- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .phone-screen::after { display: none; }
    .btn:hover, .product:hover { transform: none; }
    .btn:hover .nub { transform: none; }
    .reveal-on .reveal { opacity: 1; transform: none; }
}
