/* =========================================================
   Hookd — Landing page styles
   ========================================================= */

:root {
    --ink: #191B1A;
    --ink-2: #272B29;
    --ink-3: #2C302E;
    --white: #FFFFFF;
    --slate: #354A50;
    --muted: #4F5B55;
    --on-dark: #C5CCC8;

    --sky: #D9EDFA;
    --sky-strong: #A8DDF7;
    --sky-soft: #DCEFFC;
    --mist: #F4F8FB;
    --line: #E3E8EC;
    --grey-bubble: #F2F3F1;

    --green: #1F7A4A;
    --sage: #E5EDDC;
    --orange: #F29A45;
    --rust: #B8500F;
    --cocoa: #24160E;
    --cream: #F6EFE3;
    --paper: #FAF4EC;

    --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

    --container: 1232px;
    --gutter: 24px;
    --shadow-phone: 0 30px 60px -20px rgba(25, 27, 26, .22), 0 10px 24px -12px rgba(25, 27, 26, .12);
    --shadow-card: 0 24px 48px -20px rgba(53, 74, 80, .28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
hr { border: 0; margin: 0; }

.i { width: 1em; height: 1em; flex-shrink: 0; }
/* Text for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.center { text-align: center; }

/* ---------- Type ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: .95;
    font-optical-sizing: auto;
}
.h2 {
    font-size: 66px;
    line-height: 1;
}
.eyebrow {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slate);
}
.eyebrow-sky { color: var(--sky-strong); }
.hl {
    position: relative;
    z-index: 0;
    white-space: nowrap;
}
.hl::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: .41em;
    background: var(--sky-strong);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    white-space: nowrap;
    border: 1.5px solid transparent;
}
.btn .i { width: 20px; height: 20px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-header { height: 48px; padding: 0 22px; font-size: 17px; margin-top: 2px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 19px; }
.btn-md { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 16px; }
.btn-block { width: 100%; }
.text-link {
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    position: relative;
    top: 1px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header { position: relative; z-index: 20; background: var(--white); }
.header-inner {
    display: flex;
    align-items: center;
    height: 90px;
    gap: 32px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-left: 8px;
    font-weight: 800;
    font-size: 27.8px;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}
.logo-mark { width: 14px; height: 18px; margin-top: 2px; }
.site-header .logo { margin-top: 2px; }
.logo-word { font-family: var(--font-body); }
.main-nav { margin-left: clamp(24px, 12vw, 175px); margin-right: auto; padding-top: 4px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-size: 16px; font-weight: 500; color: var(--ink); }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--mist);
    position: relative;
}
.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 34px 0 48px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 620px;
    align-items: center;
    gap: 24px;
    min-height: 680px;
}
.hero-copy { align-self: start; padding-top: 103px; }
.hero-title {
    font-size: 81px;
    line-height: .885;
    margin: 23px 0 23px;
    max-width: 540px;
}
.hero-lead {
    font-size: 23px;
    line-height: 32.33px;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 22px;
    margin-top: 21px;
}
.hero-note { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; height: 580px; }
.hero-blob {
    position: absolute;
    left: 64px;
    top: 10px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #F2F7FB 0%, #E9F1F7 70%, #E3EDF3 100%);
}
.phone {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-phone);
    overflow: hidden;
}

/* Chat phone */
.phone-chat {
    left: 21px;
    top: 85px;
    width: 280px;
    height: 435px;
    transform: rotate(-4deg);
    display: flex;
    flex-direction: column;
}
.chat-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 12px 22px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.avatar-shop { background: #F4E7D8; color: var(--ink); margin-bottom: 4px; }
.avatar-shop .i { width: 20px; height: 20px; }
.chat-head strong { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.chat-head small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px 9px 8px 13px;
}
.bubble {
    max-width: 88%;
    padding: 8px 13px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.32;
}
.chat-body .bubble { max-width: 96%; font-size: 14px; padding: 9.5px 13.5px; }
.chat-body .bubble-out { max-width: 235px; }
.bubble-out { align-self: flex-end; background: var(--ink); color: var(--white); border-radius: 16px 16px 6px 16px; }
.bubble-in { align-self: flex-start; background: var(--grey-bubble); color: var(--ink); }
.link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    padding: 11.5px 12px;
    line-height: 1.35;
    background: var(--mist);
    border: 1px solid #CFE3F2;
    border-radius: 16px;
}
.link-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--sky);
    flex-shrink: 0;
}
.link-icon .i { width: 17px; height: 17px; }
.link-card strong, .link-card small, .link-card b { display: block; }
.link-card strong { font-size: 13px; font-weight: 600; line-height: 1.45; }
.link-card small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.link-card b { font-size: 12px; font-weight: 600; line-height: 1.4; }
.chat-compose {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 16px;
}
.compose-plus {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grey-bubble);
    color: var(--muted);
    flex-shrink: 0;
}
.compose-plus .i { width: 16px; height: 16px; }
.compose-input {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #D5DAD8;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
}

/* Pass phone */
.phone-pass {
    left: 320px;
    top: 9px;
    width: 290px;
    height: 526px;
    transform: rotate(4deg);
    overflow: visible;
    z-index: 2;
}
.sparkle {
    position: absolute;
    left: 529px;
    top: -16px;
    width: 52px;
    height: 34px;
    z-index: 1;
}
.pass-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 41px;
    background: var(--mist);
    border-bottom: 1px solid var(--line);
    border-radius: 28px 28px 0 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.pass-top .i { width: 14px; height: 14px; color: var(--ink); }
.pass-body { padding: 18px 18px 12px; }
.pass-shop {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.pass-title {
    margin: 12px 0 12px;
    font-size: 45px;
    line-height: .92;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}
.pass-items { display: grid; gap: 12px; }
.pass-items li { display: flex; align-items: center; gap: 12px; }
.pass-items img {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    object-fit: cover;
}
.pass-items strong { display: block; font-size: 17.5px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.pass-items small { display: block; font-size: 13px; line-height: 1.3; margin-top: 5px; color: var(--muted); }
.pass-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    padding: 12.5px 14px 12.5px;
    background: var(--sage);
    border-radius: 16px;
}
.pass-code strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.pass-code small { display: block; font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 0; }
.pass-code .punch { gap: 3.5px; }
.pass-btn { height: 51px; margin-top: 12px; font-size: 17px; }
.pass-btn .i { width: 18px; height: 18px; }
.pass-foot { margin-top: 11px; text-align: center; font-size: 12px; color: var(--muted); }

/* Punch dots */
.punch { display: inline-flex; align-items: center; gap: 5px; }
.dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-f { background: var(--ink); }
.dot-e { border: 1.5px dashed var(--ink); }
.punch-sky .dot { width: 22px; height: 22px; }
.punch-sky .dot-f { background: var(--sky-strong); }
.punch-sky .dot-e { border: 2px dashed var(--sky-strong); }
.punch-sky { gap: 6px; }

/* =========================================================
   Live demo
   ========================================================= */
.demo { padding-bottom: 88px; }
.demo-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 48px;
    padding: 64px 64px 64px;
    background: var(--sky);
    border-radius: 40px;
}
.eyebrow-live { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.demo-copy .h2 { margin: 18px 0 17.3px; font-size: 69px; line-height: .94; max-width: 680px; }
.demo-lead { font-size: 19px; line-height: 28.5px; max-width: 550px; }
.demo-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 18px;
    max-width: 720px;
}
.demo-steps li {
    padding: 13px 16px 10px;
    min-height: 99px;
    background: var(--white);
    border-radius: 16px;
}
.demo-steps strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20.3px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 3px;
}
.demo-steps span { display: block; font-size: 15px; line-height: 22px; color: var(--muted); }
.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 30px 19px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    text-align: center;
}
.qr-card img { width: 220px; height: 220px; image-rendering: pixelated; }
.qr-card strong {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}
.qr-card small { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* =========================================================
   How it works
   ========================================================= */
.how {
    padding: 71px 0 80px;
    background: var(--mist);
    overflow: hidden;
}
.section-lead {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 16px;
}
.section-head.center .section-lead { font-size: 19px; line-height: 29px; max-width: 560px; margin: 7px auto 0; }
.how .section-head .h2 { font-size: 65.7px; }
.steps-row {
    display: grid;
    grid-template-columns: 440px 268px 250px 238px;
    justify-content: center;
    gap: 29px;
    margin: 45px auto 0;
    max-width: 1340px;
    padding: 0 var(--gutter);
    /* Set by script.js below 1440px so the row keeps the reference side spacing */
    zoom: var(--steps-zoom, 1);
}
.step { display: flex; flex-direction: column; }
.step-art {
    height: 384px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step figcaption {
    margin-top: 12px;
    text-align: center;
}
.step figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 24.5px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 1px;
}
.step figcaption span { display: block; font-size: 16px; line-height: 1.5; max-width: 300px; margin: 0 auto; }

/* -- Counter sign -- */
.step-scan .step-art { gap: 4px; justify-content: space-between; }
.sign {
    width: 281px;
    height: 360px;
    margin: 6px 0 0 1px;
    padding: 17px 22px 4px 17px;
    background: var(--cream);
    border-radius: 6px;
    transform: rotate(-2.6deg);
    box-shadow: 0 24px 40px -18px rgba(36, 22, 14, .25), 0 2px 6px rgba(36, 22, 14, .06);
    color: var(--cocoa);
    display: flex;
    flex-direction: column;
    font-size: 8px;
    line-height: 1.35;
}
.sign-top { display: flex; align-items: center; justify-content: space-between; height: 14px; }
.sign-brand { display: inline-flex; align-items: center; gap: 5.5px; font-size: 8px; font-weight: 700; }
.sign-logo {
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--cocoa);
}
.sign-logo .i { width: 9px; height: 9px; }
.sign-tag { font-size: 5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-right: 3px; }
.sign-title {
    margin-top: 12px;
    font-size: 58px;
    line-height: .86;
    letter-spacing: -0.055em;
}
.sign-title span { color: var(--rust); }
.sign-sub { margin-top: 5px; font-size: 10.2px; font-weight: 500; }
.sign-mid {
    display: grid;
    grid-template-columns: 1fr 153.5px;
    align-items: end;
    gap: 0;
    margin-top: 7px;
}
.sign-mid > .sign-col { margin-bottom: 5px; max-width: 74px; }
.sign-mid-2 > .sign-col { max-width: 67px; }
.sign-label {
    font-size: 4.3px;
    line-height: 6px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 3px;
}
.sign-small { font-size: 6.5px; line-height: 9px; }
.sign-scan {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 87px;
    padding: 0 9px 0 10px;
    background: var(--orange);
    border-radius: 13px;
}
.sign-scan .display { font-size: 15.5px; line-height: .95; letter-spacing: -0.03em; }
.sign-qr {
    display: block;
    width: 67px;
    height: 67px;
    padding: 6px;
    background: var(--white);
    border-radius: 8px;
    flex-shrink: 0;
}
.sign-qr img, .rc-qr img { width: 100%; height: 100%; }
.sign-mid-2 { grid-template-columns: 151.5px 1fr; align-items: center; gap: 12.5px; margin-top: 4px; }
.sign-msg {
    height: 44px;
    padding: 6px 5px 5px 9px;
    background: var(--cocoa);
    border-radius: 7px;
    color: var(--white);
}
.sign-msg .sign-label { color: var(--orange); }
.sign-msg .display { font-size: 10.5px; line-height: 12px; letter-spacing: -0.02em; font-weight: 700; }
.sign-perk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    padding-top: 4px;
    border-top: 1px solid var(--cocoa);
}
.sign-perk p { font-size: 6.75px; font-weight: 700; text-align: right; max-width: 160px; line-height: 10px; }
.punch-sign .dot { width: 11px; height: 11px; }
.punch-sign { gap: 4px; }
.punch-sign .dot-f { background: var(--cocoa); }
.punch-sign .dot-e { border-color: var(--cocoa); border-width: 1px; }
.dot-s {
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--cocoa);
}
.dot-s .i { width: 70%; height: 70%; }
.sign-fine {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    margin-top: 5px;
    font-size: 4.5px;
    line-height: 6.5px;
    color: #5A4A40;
}
.sign-fine-r { text-align: right; }

/* -- Receipt -- */
.receipt {
    width: 150px;
    height: 360px;
    margin: 2px 2px 0 0;
    padding: 12px 11px 10px;
    background: var(--white);
    transform: rotate(4deg);
    box-shadow: 0 20px 36px -18px rgba(25, 27, 26, .25), 0 1px 4px rgba(25, 27, 26, .06);
    font-family: var(--font-mono);
    font-size: 5.2px;
    font-weight: 500;
    line-height: 8.8px;
    color: #111;
    display: flex;
    flex-direction: column;
}
.rc-shop { text-align: center; font-size: 6.2px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rc-center { text-align: center; }
.rc-bold { font-weight: 700; }
.rc-row { display: flex; justify-content: space-between; gap: 6px; }
.rc-dash { border-top: 1px dashed #9AA19E; margin: 4px 0; }
.rc-solid { border-top: 1.5px solid var(--ink); margin: 4px 0 6px; }
.rc-title { text-align: center; font-size: 30.8px; line-height: .78; letter-spacing: -0.06em; margin: 4px 0 9px; }
.rc-tight { line-height: 7.6px; }
.rc-qr {
    display: block;
    width: 89px;
    height: 89px;
    margin: 5px auto 6px;
    padding: 6px;
    border: 1.2px solid var(--ink);
    border-radius: 8px;
}
.punch-receipt { justify-content: center; margin: 3px auto 2px; display: flex; gap: 3px; }
.punch-receipt .dot { width: 9px; height: 9px; }
.punch-receipt .dot-e { border-width: 1px; }
.punch-receipt .dot-s { background: var(--white); border: 1px solid var(--ink); color: var(--ink); }
.rc-fine { font-size: 5px; line-height: 7px; margin-top: 5px; }

/* -- Mini chat -- */
.mini-chat {
    width: 268px;
    height: 372px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 20px 40px -24px rgba(25, 27, 26, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mini-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
}
.mini-chat-head strong { font-size: 17px; font-weight: 600; margin-top: 3px; }
.avatar-hookd { width: 32px; height: 32px; background: var(--ink); }
.avatar-hookd img { width: 9px; height: 12px; }
.mini-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 12px 11px;
}
.mini-chat .bubble { font-size: 14px; line-height: 18.9px; padding: 9px 12px; border-radius: 18px; max-width: 92%; }
.bubble-sky { background: var(--sky); }
.bubble-right { align-self: flex-end; }
.bubble-blue { align-self: flex-start; background: var(--sky-strong); color: var(--ink); font-weight: 500; }
.mini-chat .bubble-in { max-width: 92%; padding: 10px 12px; }
.mini-chat .bubble-blue { max-width: 95%; padding: 8.5px 12px; font-weight: 600; }

/* Message tails: the bottom corner on the sender's side stays tight, like iMessage */
.mini-chat .bubble { border-bottom-left-radius: 6px; }
.mini-chat .bubble-right { border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }

/* -- Board -- */
.board {
    width: 250px;
    padding: 17px 16px 16px;
    background: var(--ink);
    border-radius: 18px;
    box-shadow: 0 20px 40px -20px rgba(25, 27, 26, .35);
}
.board-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sky-strong);
    margin-bottom: 11px;
}
.board-card { padding: 14px 14px 12px; background: var(--white); border-radius: 14px; }
.board-line { display: flex; align-items: baseline; justify-content: space-between; }
.board-line strong { font-size: 33px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.board-line span { font-size: 13.4px; color: var(--muted); }
.board-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-top: 12px;
    background: var(--sky-strong);
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
}
.board-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 9px 14px;
    background: var(--ink-3);
    border-radius: 12px;
    color: var(--white);
}
.board-next strong { font-size: 25px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; }
.board-next span { font-size: 13px; color: var(--on-dark); }

/* -- Ticket / pass -- */
.ticket {
    position: relative;
    width: 229px;
    height: 288px;
    padding: 17px 13px 15px;
    background: var(--orange);
    border-radius: 18px;
    transform: rotate(3deg);
    box-shadow: 0 24px 40px -20px rgba(36, 22, 14, .35);
    color: var(--cocoa);
    display: flex;
    flex-direction: column;
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; }
.ticket-pill {
    padding: 3px 8px;
    background: var(--cocoa);
    color: var(--white);
    border-radius: 999px;
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ticket-brand { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 700; }
.ticket-brand .i { width: 10px; height: 10px; }
.ticket-label {
    margin-top: 9px;
    font-size: 6.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ticket-main { position: relative; height: 138px; }
.ticket-shelf {
    position: absolute;
    left: 1px;
    top: -12px;
    font-size: 162px;
    line-height: 1;
    letter-spacing: -0.04em;
}
.ticket-code { position: absolute; right: 0; bottom: 8px; text-align: right; }
.ticket-code small { display: block; font-size: 6px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ticket-code b { display: block; font-size: 32px; line-height: 1; letter-spacing: -0.05em; }
.ticket-cut {
    position: relative;
    margin: 10px -13px 12px;
    border-top: 1px dashed var(--cocoa);
}
.ticket-cut::before,
.ticket-cut::after {
    content: "";
    position: absolute;
    top: -8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--mist);
}
.ticket-cut::before { left: -7px; }
.ticket-cut::after { right: -7px; }
.ticket-punch { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.punch-ticket { gap: 4px; }
.punch-ticket .dot { width: 19px; height: 19px; }
.punch-ticket .dot-f { background: var(--cocoa); }
.punch-ticket .dot-r { background: var(--cocoa); box-shadow: 0 0 0 1.5px var(--white); }
.punch-ticket .dot-e { border: 1px dashed var(--cocoa); }
.punch-ticket .dot-s { background: transparent; border: 1px solid var(--cocoa); }
.punch-ticket .dot-s .i { width: 12px; height: 12px; }
.ticket-punch b { display: block; text-align: right; font-size: 10px; font-weight: 700; }
.ticket-punch small { display: block; text-align: right; font-size: 5.5px; }
.ticket-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 6px;
    font-weight: 500;
}
.ticket-hookd { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.ticket-hookd img { width: 5px; height: 7px; }

/* -- Chips -- */
.chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
}
.chips-label { font-size: 15.2px; color: var(--muted); margin-right: 2px; }
.chip {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border: 1.3px solid var(--ink);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
}

/* =========================================================
   The thread (dark)
   ========================================================= */
.thread {
    padding: 88px 0 88px;
    background: var(--ink);
    color: var(--white);
}
.thread .section-head .h2 { margin-top: 14px; max-width: 680px; font-size: 81px; line-height: .93; }
.thread .section-lead { color: var(--on-dark); max-width: 720px; margin-top: 15px; }
.thread-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}
.thread-card {
    display: flex;
    flex-direction: column;
    min-height: 301px;
    padding: 22px 22px 23px;
    background: var(--ink-2);
    border-radius: 24px;
}
.thread-card h3 {
    font-family: var(--font-display);
    font-size: 26.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}
.thread-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.thread-title-row h3 { max-width: 140px; }
.badge {
    margin-top: 12px;
    padding: 3px 10px;
    border: 1.3px solid var(--sky-strong);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sky-strong);
}
.thread-demo {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
}
.thread-demo .bubble { font-size: 15px; line-height: 1.38; padding: 8px 12px; border-radius: 18px 18px 18px 6px; color: var(--ink); max-width: 100%; }
.thread-demo .bubble-right { border-radius: 18px 18px 6px 18px; }
.bubble-white { align-self: flex-start; background: var(--white); max-width: 92%; }
.thread-demo .bubble-white b { font-weight: 600; color: var(--slate); }
.thread-demo .bubble-blue { align-self: flex-end; font-weight: 400; }
.cart-card {
    align-self: flex-start;
    width: 220px;
    padding: 12px 12px 10px;
    background: var(--white);
    border-radius: 14px;
    color: var(--ink);
}
.cart-card strong { display: block; font-size: 15px; font-weight: 600; }
.cart-card small { display: block; font-size: 13px; color: var(--muted); }
.cart-card b { display: block; font-size: 13px; font-weight: 600; color: var(--slate); }
.thread-demo .punch { margin-top: 4px; }
.thread-text {
    margin-top: auto;
    padding-top: 13px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--on-dark);
}
.thread-later { margin-top: 44px; font-size: 16px; color: var(--on-dark); }

/* =========================================================
   Shop page & reviews
   ========================================================= */
.reviews { padding: 96px 0 98px; }
.reviews-grid {
    display: grid;
    grid-template-columns: 594px minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}
.reviews-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-left: 46px;
}
.shop-phone {
    flex-shrink: 0;
    width: 244px;
    height: 540px;
    overflow: hidden;
    padding: 18px 13px 0;
    background: var(--paper);
    border: 1px solid #EDE3D6;
    border-radius: 22px;
    box-shadow: var(--shadow-phone);
    text-align: center;
    color: #2A1A12;
}
.shop-logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 4px;
    border: 1.3px solid #2A1A12;
    border-radius: 50%;
}
.shop-logo .i { width: 24px; height: 24px; }
.shop-name { font-family: var(--font-serif); font-size: 17.5px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.shop-tagline { font-size: 10.5px; color: #6B5A4E; margin-top: 1px; }
.shop-open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 3px 9px;
    background: #E3EFE1;
    border-radius: 999px;
    font-size: 8.5px;
    font-weight: 500;
    color: #1F3A28;
}
.shop-open i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.shop-photo {
    width: 100%;
    height: 116px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 12px;
}
.shop-title {
    margin-top: 14px;
    font-family: var(--font-serif);
    font-size: 22.7px;
    font-weight: 600;
    line-height: 24.5px;
    letter-spacing: -0.02em;
}
.shop-text { margin: 8px 2px 0; font-size: 9.8px; line-height: 15px; color: #5A4A40; }
.shop-actions { display: grid; gap: 7px; margin-top: 12px; }
.shop-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 6px 12px;
    background: #FFFBF5;
    border: 1px solid #3A2A20;
    border-radius: 10px;
    text-align: left;
}
.shop-btn > span { flex: 1; }
.shop-btn b { display: block; font-size: 10.75px; font-weight: 600; line-height: 1.2; }
.shop-btn small { display: block; font-size: 7.4px; color: #6B5A4E; margin-top: 1px; white-space: nowrap; }
.shop-btn .i { width: 15px; height: 15px; }
.shop-btn > .i:last-child { width: 12px; height: 12px; margin-right: -2px; }
.shop-btn-primary { background: var(--rust); border-color: var(--rust); color: var(--white); }
.shop-btn-primary small { color: rgba(255, 255, 255, .85); }

.google-card {
    flex-shrink: 0;
    width: 280px;
    margin-top: 72px;
    padding: 18.5px 18px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 48px -24px rgba(25, 27, 26, .22);
}
.google-card .eyebrow { font-size: 11.7px; }
.google-review { margin-top: 10px; font-size: 15px; line-height: 1.42; }
.google-draft {
    margin-top: 12px;
    padding: 11px 12px 9px;
    background: var(--mist);
    border-radius: 12px;
}
.google-draft strong { display: block; font-size: 13.5px; font-weight: 600; }
.google-draft p { margin-top: 2px; font-size: 15px; line-height: 1.42; }
.google-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

.reviews-copy { max-width: 490px; }
.reviews-copy .h2 { margin: 20.5px 0 18.5px; font-size: 61.4px; line-height: .97; max-width: 490px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5; }
.check-list .i { width: 20px; height: 20px; margin-top: 2px; color: var(--slate); }
.check-list-lg { gap: 14px; }
.check-list-lg li { font-size: 18px; gap: 11px; }
.check-list-lg .i { width: 24px; height: 24px; margin: 2px 0 0 -2px; }

/* =========================================================
   Price
   ========================================================= */
.price { padding: 89px 0 89px; background: var(--mist); }
.price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    align-items: center;
    gap: 60px;
    max-width: calc(996px + var(--gutter) * 2);
}
.price-figure { display: flex; align-items: flex-end; gap: 15px; margin-top: 6px; }
.price-amount {
    font-size: 236px;
    font-variation-settings: 'opsz' 50;
    line-height: .78;
    letter-spacing: -0.075em;
    margin-left: -2px;
    position: relative;
    top: 5px;
}
.price-unit { font-size: 22px; font-weight: 600; line-height: 26px; padding-bottom: 1.4px; position: relative; top: 0; }
.price-note { margin-top: 28px; font-size: 16px; color: var(--muted); }
.price-card {
    padding: 25px 30px 29px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
}
.price-card h3 {
    font-family: var(--font-display);
    font-size: 28.35px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 16px;
}
.price-card .check-list { gap: 9.5px; margin-bottom: 18px; }
.price-card .check-list li { font-size: 17px; line-height: 26px; gap: 9px; }
.price-card .btn { font-size: 18px; }
.price-card .check-list .i { width: 22px; height: 22px; margin: 2px 0 0 -1px; }
.price-note { white-space: nowrap; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 95px 0 97px; }
.faq .h2 { margin-bottom: 38px; font-size: 65.4px; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 31px 48px;
}
.faq-item { padding-top: 16px; border-top: 2px solid var(--ink); }
.faq-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: 0;
    margin-bottom: 7px;
}
.faq-item p { font-size: 17px; line-height: 1.5; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta { padding: 101px 0 104px; background: var(--sky); }
.final-cta .btn { padding: 0 33px; }
.final-title { font-size: clamp(44px, 9.1vw, 129.8px); line-height: .9; letter-spacing: -0.045em; }
.final-cta p { margin: 23px 0 26px; font-size: 23.3px; }

/* Footer: shared by every page — see assets/css/site-footer.css */

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .steps-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 900px;
        row-gap: 56px;
        zoom: 1;
    }
    /* Sign + receipt need the full row; in a half column they overlap the caption */
    .step-scan { grid-column: 1 / -1; }
    .step-scan .step-art { justify-content: center; gap: 24px; }
    .step-pass { grid-column: 1 / -1; }   /* odd one out: centre it on its own row */
}

@media (max-width: 1200px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) 560px; }
    .hero-visual { transform: scale(.9); transform-origin: right center; }
    .hero-title { font-size: 72px; }
    .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .reviews-visual { justify-content: center; padding-left: 0; }
    .reviews-copy { max-width: 640px; margin: 0 auto; }
    .thread-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
    .btn-header { display: none; }
    .nav-toggle { display: block; margin-left: auto; }

    /* Mobile menu: always in the page and revealed by growing its grid row
       from 0fr to 1fr, so it slides open and closed instead of popping in */
    .main-nav {
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        display: grid;
        grid-template-rows: 0fr;
        margin: 0;
        padding: 0;
        background: var(--white);
        border-bottom: 1px solid transparent;
        box-shadow: 0 24px 32px -24px rgba(25, 27, 26, 0);
        visibility: hidden;
        transition: grid-template-rows .34s cubic-bezier(.22, .8, .24, 1),
                    border-color .34s ease, box-shadow .34s ease, visibility 0s linear .34s;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        min-height: 0;
        overflow: hidden;
        padding: 0 var(--gutter);
        opacity: 0;
        transform: translateY(-8px);
        transition: transform .34s cubic-bezier(.22, .8, .24, 1), opacity .16s ease;
    }
    .main-nav li:first-child { margin-top: 12px; }
    .main-nav li:last-child { margin-bottom: 24px; }
    .main-nav a { display: block; padding: 12px 0; font-size: 18px; }
    .site-header.nav-open .main-nav {
        grid-template-rows: 1fr;
        visibility: visible;
        border-bottom-color: var(--line);
        box-shadow: 0 24px 32px -24px rgba(25, 27, 26, .18);
        transition: grid-template-rows .34s cubic-bezier(.22, .8, .24, 1),
                    border-color .34s ease, box-shadow .34s ease, visibility 0s;
    }
    .site-header.nav-open .main-nav ul { opacity: 1; transform: none; transition: transform .34s cubic-bezier(.22, .8, .24, 1), opacity .26s ease .06s; }

    /* Hamburger turns into a cross while the menu is open */
    .nav-toggle span { transition: transform .3s cubic-bezier(.22, .8, .24, 1); }
    .site-header.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
    .site-header.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

    .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; }
    .hero-copy { padding-top: 0; }
    .hero-visual { transform: none; width: 620px; margin: 0 auto; }
    .demo-box { grid-template-columns: minmax(0, 1fr); padding: 48px; }
    /* Compact QR card: code on the left, text on the right */
    .qr-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-content: center;
        column-gap: 20px;
        max-width: 440px;
        padding: 18px 22px 18px 18px;
        border-radius: 22px;
        text-align: left;
    }
    .qr-card img { grid-row: 1 / span 2; width: 120px; height: 120px; }
    .qr-card strong { align-self: end; margin-top: 0; font-size: 19px; }
    .qr-card small { align-self: start; margin-top: 4px; }
    .price-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 640px; }
    .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    :root { --gutter: 16px; }
    body { font-size: 16px; }
    .h2, .demo-copy .h2, .reviews-copy .h2 { font-size: 42px; }
    .header-inner { height: 72px; }
    .main-nav { top: 72px; }

    .hero { padding-bottom: 56px; }
    .hero-grid { padding-top: 24px; }
    .hero-title { font-size: 54px; }
    .hero-lead { font-size: 18px; }
    .btn-lg { height: 56px; padding: 0 24px; font-size: 17px; }
    .hero-visual { zoom: .56; margin-top: 8px; }

    .demo { padding-bottom: 56px; }
    .demo-box { padding: 32px 20px; border-radius: 28px; gap: 32px; }
    .demo-lead { font-size: 17px; }
    .demo-steps { grid-template-columns: 1fr; }
    .demo-steps li { min-height: 0; }
    .btn-md { height: auto; min-height: 52px; padding: 12px 22px; white-space: normal; text-align: center; font-size: 16px; }
    .qr-card { width: 100%; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding: 14px 16px 14px 14px; }
    .qr-card img { width: 96px; height: 96px; }
    .qr-card strong { font-size: 17px; }
    .qr-card small { font-size: 13px; }

    /* Even line breaks on narrow screens */
    .hero-title, .h2, .final-title, .demo-copy .h2 { text-wrap: balance; }

    .how { padding: 64px 0 56px; }
    .section-lead,
    .section-head.center .section-lead { font-size: 17px; }
    .thread .section-head .h2 { font-size: 46px; }
    .faq .h2 { font-size: 42px; }
    .steps-row { grid-template-columns: 1fr; max-width: 420px; margin-top: 40px; row-gap: 44px; }
    .step-scan { grid-column: auto; }
    .step-art { height: auto; }
    .step-scan .step-art { zoom: .78; gap: 4px; justify-content: space-between; }
    .step-text .step-art, .step-ready .step-art, .step-pass .step-art { padding: 6px 0; }
    .step figcaption { margin-top: 16px; }

    .thread { padding: 64px 0 56px; }
    .thread-grid { grid-template-columns: 1fr; }
    .thread-card { min-height: 0; }

    .reviews { padding: 64px 0; }
    .reviews-visual { flex-direction: column; align-items: center; }
    .google-card { margin-top: 0; width: 100%; max-width: 320px; }
    .check-list-lg li { font-size: 16px; }

    .price { padding: 64px 0; }
    .price-amount { font-size: 180px; }
    .price-note { white-space: normal; }
    .price-unit { font-size: 18px; }
    .price-card { padding: 24px 20px; }
    .price-card h3 { font-size: 24px; }

    .faq { padding: 64px 0; }
    .faq-grid { grid-template-columns: 1fr; }

    .final-cta { padding: 72px 0; }
    .final-cta p { font-size: 18px; }

}

@media (max-width: 374px) {
    .hero-visual { zoom: .5; }
    .step-scan .step-art { zoom: .7; }
}

/* People who turn off motion in their phone settings get an instant menu */
@media (prefers-reduced-motion: reduce) {
    .main-nav, .main-nav ul, .nav-toggle span { transition: none !important; }
}

/* Very small phones (320px) */
@media (max-width: 349px) {
    .hero-visual { zoom: .45; }
    .step-scan .step-art { zoom: .63; }
    .btn-lg { padding: 0 18px; font-size: 16px; }
    .hero-title { font-size: 48px; }
    .price-amount { font-size: 150px; }
}
