/* ============================================================
   REGRADE — Resale, built into the product page.
   Light · cool · confident commerce. Show the product.
   ============================================================ */

/* ---- Tokens ----------------------------------------------- */
:root {
    /* Surfaces (cool near-white, not cream) */
    --bg:            #F7FAF9;
    --bg-2:          #EEF3F2;
    --surface:       #FFFFFF;

    /* Ink (deep charcoal-green) */
    --ink:           #14201C;
    --ink-2:         #36433E;   /* strong body */
    --muted:         #5C6A65;   /* secondary text — AA on --bg */

    /* Lines */
    --line:          #E3EAE8;
    --line-2:        #D2DDDA;

    /* Brand accent (Regrade green — not Shopify teal) */
    --accent:        #167A4B;
    --accent-strong: #0E6038;   /* accent as text on light */
    --accent-tint:   #E7F2EC;
    --accent-tint-2: #D5E9DD;
    --accent-line:   #B7DBC6;

    /* Grade system */
    --grade-a:       #0E6038;
    --grade-a-bg:    #E7F2EC;
    --grade-a-line:  #BBDDC8;
    --grade-b:       #9A6310;
    --grade-b-bg:    #FBF1DC;
    --grade-b-line:  #ECD6A4;
    --grade-c:       #4F6473;
    --grade-c-bg:    #EBF0F3;
    --grade-c-line:  #D2DEE4;

    --font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body:    "Hanken Grotesk", system-ui, sans-serif;

    --maxw: 1180px;
    --radius: 14px;
    --radius-sm: 9px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --shadow-sm: 0 1px 2px rgba(20, 32, 28, 0.05),
                 0 4px 14px -6px rgba(20, 32, 28, 0.10);
    --shadow-lg: 0 2px 4px rgba(20, 32, 28, 0.04),
                 0 18px 44px -12px rgba(20, 32, 28, 0.22),
                 0 40px 80px -32px rgba(20, 32, 28, 0.20);

    /* z-index scale */
    --z-base: 1;
    --z-raised: 10;
    --z-nav: 100;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
::selection { background: var(--accent-tint-2); color: var(--ink); }

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
p { text-wrap: pretty; }

/* ---- Primitives ------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 48px);
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-strong);
}
.label::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 2px;
    background: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(14, 96, 56, 0.25), inset 0 1px 0 rgba(255,255,255,0.16);
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(14, 96, 56, 0.55); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.btn__arrow { transition: transform 0.22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
    color: var(--ink);
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent-line); transform: translateY(-1px); }

.btn--light {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.btn--light:hover { background: var(--accent-tint); color: var(--accent-strong); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.brand__mark {
    width: 26px; height: 26px;
    border-radius: 7px;
    background: var(--accent);
    color: #fff;
    display: grid; place-items: center;
    font-size: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
    margin-right: 8px;
}
.nav__links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: color 0.18s var(--ease);
}
.nav__links a:hover { color: var(--accent-strong); }
.nav__cta { padding: 10px 18px; font-size: 0.9rem; }
@media (max-width: 720px) {
    .nav__links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px); overflow: clip; }
.hero__grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.hero__copy { max-width: 560px; }
.hero__headline {
    font-size: clamp(2.6rem, 5.4vw, 4.5rem);
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-top: 22px;
}
.hero__headline em {
    font-style: normal;
    color: var(--accent-strong);
}
.hero__sub {
    font-size: clamp(1.08rem, 1.4vw, 1.22rem);
    line-height: 1.5;
    color: var(--muted);
    max-width: 45ch;
    margin-top: 22px;
}

/* trust row */
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
    list-style: none;
}
.hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-2);
}
.hero__trust svg { color: var(--accent); flex-shrink: 0; }

/* ---- Waitlist --------------------------------------------- */
.waitlist { margin-top: 30px; max-width: 480px; }
.waitlist__form {
    display: flex;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    padding: 6px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.waitlist__form:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-tint); }
.waitlist__form input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    font-size: 1rem;
    color: var(--ink);
    background: transparent;
    border: none;
}
.waitlist__form input::placeholder { color: var(--muted); }
.waitlist__form input:focus { outline: none; }
.waitlist__form .btn { padding-inline: 20px; }

.waitlist__note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 13px;
}
.waitlist__note svg { color: var(--accent); flex-shrink: 0; }
.validation {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #B4371F;
    margin-top: 11px;
}
.validation:empty { display: none; }

.success {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 30px;
    padding: 18px 20px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-sm);
    max-width: 480px;
}
.success__seal {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.success__text { font-size: 0.96rem; color: var(--ink-2); line-height: 1.45; }
.success__text b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); display: block; }

/* ============================================================
   PRODUCT-PAGE MOCKUP  (hero showpiece)
   ============================================================ */
.mock-wrap { position: relative; }
.mock {
    position: relative;
    z-index: var(--z-raised);
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
/* faint brand glow behind the panel */
.mock-wrap::before {
    content: "";
    position: absolute;
    inset: 8% -6% -10% 4%;
    background: radial-gradient(60% 60% at 70% 40%, var(--accent-tint) 0%, transparent 70%);
    filter: blur(8px);
    z-index: var(--z-base);
}

.mock__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.mock__dots { display: inline-flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D3DBD9; }
.mock__url {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 0.76rem;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
}
.mock__url svg { color: var(--accent); flex-shrink: 0; }
.mock__url b { color: var(--ink-2); font-weight: 600; }

.mock__body {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 20px;
    padding: 20px;
}
.mock__gallery {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-2);
    aspect-ratio: 4 / 5;
}
.mock__gallery img { width: 100%; height: 100%; object-fit: cover; }

.mock__info { display: flex; flex-direction: column; min-width: 0; }
.mock__crumb { font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }
.mock__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-top: 5px;
    line-height: 1.1;
}
.mock__stars { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 0.76rem; color: var(--muted); }
.mock__stars span { color: #E0A93B; letter-spacing: 1px; }
.mock__price { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-top: 12px; }
.mock__cart {
    margin-top: 12px;
    padding: 11px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 8px;
}

/* the Regrade-injected option */
.mock__regrade {
    position: relative;
    margin-top: 14px;
    padding: 13px 13px 11px;
    background: var(--accent-tint);
    border: 1.5px solid var(--accent-line);
    border-radius: 9px;
}
.mock__regrade-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.mock__inject {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-strong);
}
.mock__inject i {
    width: 14px; height: 14px; border-radius: 4px;
    background: var(--accent); color:#fff;
    display: grid; place-items: center;
    font-size: 0.6rem; font-style: normal;
}
.mock__one { font-size: 0.7rem; font-weight: 600; color: var(--accent-strong); }

.grade-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--accent-line);
    color: var(--accent-strong);
    margin-top: 10px;
}
.grade-chip b {
    display: grid; place-items: center;
    width: 19px; height: 19px;
    border-radius: 5px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.74rem;
}
.mock__regrade-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: start;
    margin-top: 11px;
}
.mock__regrade-thumb {
    border-radius: 7px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg-2);
    flex-shrink: 0;
}
.mock__regrade-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mock__regrade-detail {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}
.mock__regrade-detail .grade-chip { margin-top: 0; }

.mock__regrade-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0;
    flex-wrap: wrap;
}
.mock__regrade-price { font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.mock__regrade-price s { margin-right: 4px; }
.mock__regrade-price b { font-size: 1rem; font-weight: 700; color: var(--ink); }
.mock__regrade-cta {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 11px;
    font-size: 0.76rem; font-weight: 600;
    white-space: nowrap;
    color: #fff; background: var(--accent);
    border-radius: 6px;
}

/* floating annotation */
.mock__tag {
    position: absolute;
    z-index: calc(var(--z-raised) + 1);
    right: -18px;
    bottom: 158px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.mock__tag::after {
    content: "";
    position: absolute;
    left: 18px; bottom: -6px;
    width: 12px; height: 12px;
    background: var(--ink);
    transform: rotate(45deg);
    border-radius: 2px;
}
.mock__tag svg { color: #6FCF9B; }
@media (max-width: 520px) { .mock__tag { display: none; } }

/* ============================================================
   LOGO / SOCIAL-PROOF STRIP
   ============================================================ */
.proof {
    border-block: 1px solid var(--line);
    background: var(--surface);
}
.proof__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px clamp(20px, 4vw, 48px);
    padding-block: 22px;
    text-align: center;
}
.proof__lead { font-size: 0.86rem; font-weight: 500; color: var(--muted); flex-basis: 100%; text-align: center; }
.proof__group { display: inline-flex; align-items: center; gap: 12px; }
.proof__stat { font-size: 0.94rem; font-weight: 500; color: var(--ink-2); }
.proof__stat b { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.proof__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
@media (max-width: 640px) { .proof__dot { display: none; } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; }
.section__title {
    font-size: clamp(1.95rem, 3.6vw, 2.85rem);
    letter-spacing: -0.025em;
    margin-top: 14px;
}
.section__lead {
    font-size: clamp(1.05rem, 1.3vw, 1.18rem);
    color: var(--muted);
    margin-top: 16px;
    max-width: 54ch;
    line-height: 1.55;
}

/* ============================================================
   HOW IT WORKS — three movements
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(40px, 5vw, 64px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}
.step {
    position: relative;
    padding: clamp(26px, 3vw, 38px);
    border-right: 1px solid var(--line);
    transition: background-color 0.25s var(--ease);
}
.step:last-child { border-right: none; }
.step:hover { background: var(--bg); }
.step__n {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent-tint);
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
}
.step__icon { margin-top: 22px; color: var(--accent); }
.step__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-top: 14px;
}
.step__body { color: var(--muted); margin-top: 9px; font-size: 0.98rem; line-height: 1.55; }
.step__link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem; font-weight: 600; color: var(--accent-strong);
}
.step__link svg { transition: transform 0.2s var(--ease); }
.step:hover .step__link svg { transform: translateX(3px); }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; }
    .step { border-right: none; border-bottom: 1px solid var(--line); }
    .step:last-child { border-bottom: none; }
}

/* ============================================================
   STEP THUMBNAILS — coded mini-UI illustrations
   ============================================================ */
.step__thumb {
    margin-top: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(20,32,28,0.05), 0 4px 10px -4px rgba(20,32,28,0.08);
    font-size: 0.72rem;
    line-height: 1.3;
    color: var(--ink-2);
    user-select: none;
    height: 285px;
}

/* Shared */
.st-bar {
    padding: 8px 12px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.63rem;
    font-weight: 600;
    color: var(--muted);
}
.st-inner { padding: 11px 12px 12px; }
.st-field-label { font-size: 0.63rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.st-line { height: 7px; border-radius: 3px; background: var(--line); margin-bottom: 5px; }
.st-line--dark { background: var(--line-2); }
.st-line--xs { height: 5px; }

/* ---- Thumb 1: grading form ---- */
.st-product-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    margin-bottom: 12px;
    align-items: start;
}
.st-product-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 5px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    display: block;
}
.st-product-info { padding-top: 2px; }
.st-returned-tag {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 8px;
    background: var(--grade-b-bg);
    border: 1px solid var(--grade-b-line);
    color: var(--grade-b);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
}
.st-grade-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}
.st-grade-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 3px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--muted);
    background: var(--surface);
    text-align: center;
    gap: 2px;
}
.st-grade-btn span { font-weight: 400; font-size: 0.55rem; color: var(--muted); }
.st-grade-btn--sel { background: var(--grade-b-bg); border-color: var(--grade-b-line); color: var(--grade-b); }
.st-grade-btn--sel span { color: var(--grade-b); opacity: 0.75; }
.st-input {
    padding: 6px 9px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.st-cta {
    padding: 7px;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ---- Thumb 2: product page ---- */
.st-chrome {
    padding: 6px 10px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 7px;
}
.st-chrome-dots { display: flex; gap: 4px; }
.st-chrome-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.st-urlbar {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 0.58rem;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.st-page-body { padding: 10px 12px 12px; }
.st-add-cart {
    margin-top: 7px;
    margin-bottom: 7px;
    padding: 7px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 5px;
    text-align: center;
    font-size: 0.63rem;
    font-weight: 600;
    color: var(--ink-2);
}
.st-rg-box {
    padding: 9px;
    background: var(--accent-tint);
    border: 1.5px solid var(--accent-line);
    border-radius: 7px;
}
.st-rg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}
.st-rg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-strong);
}
.st-rg-badge i {
    width: 11px; height: 11px;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 0.5rem;
    font-style: normal;
    display: grid;
    place-items: center;
    line-height: 1;
}
.st-rg-avail { font-size: 0.58rem; font-weight: 600; color: var(--accent-strong); }
.st-rg-unit { display: grid; grid-template-columns: 30px 1fr; gap: 7px; align-items: start; }
.st-rg-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
    background: var(--bg-2);
    display: block;
}
.st-grade-chip-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px 2px 4px;
    background: var(--surface);
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--accent-strong);
}
.st-grade-chip-sm b {
    display: grid; place-items: center;
    width: 13px; height: 13px;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 0.52rem;
    font-family: var(--font-display);
    font-weight: 700;
}
.st-price-row {
    margin-top: 5px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 0.63rem;
    color: var(--muted);
}
.st-price-row b { font-size: 0.76rem; font-weight: 700; color: var(--ink); }
.st-buy-btn {
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 700;
}

/* ---- Thumb 3: auto-retire ---- */
.st-sold-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--accent-strong);
}
.st-retire-card { padding: 10px 12px 12px; }
.st-sold-header {
    padding-bottom: 9px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 9px;
}
.st-sold-name { font-size: 0.7rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.st-sold-sub { font-size: 0.6rem; color: var(--muted); margin-top: 2px; }
.st-retire-rows { display: flex; flex-direction: column; gap: 5px; }
.st-retire-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    background: var(--bg);
    border-radius: 6px;
    border: 1px solid var(--line);
}
.st-retire-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    border-radius: 5px;
    display: grid; place-items: center;
    background: var(--accent-tint);
    color: var(--accent-strong);
}
.st-retire-text { font-size: 0.61rem; color: var(--ink-2); flex: 1; line-height: 1.3; }
.st-retire-text b { font-weight: 700; color: var(--ink); display: block; }
.st-retire-check {
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid; place-items: center;
    flex-shrink: 0;
}

/* ============================================================
   GRADE SYSTEM
   ============================================================ */
.grades { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.grades__copy { max-width: 460px; }
.grade-list { display: flex; flex-direction: column; gap: 14px; }
.grade {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(16px, 2.5vw, 26px);
    padding: clamp(18px, 2.4vw, 24px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.grade:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.grade__mark {
    width: 62px; height: 62px;
    display: grid; place-items: center;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1;
}
.grade--a .grade__mark { background: var(--grade-a-bg); color: var(--grade-a); border: 1px solid var(--grade-a-line); }
.grade--b .grade__mark { background: var(--grade-b-bg); color: var(--grade-b); border: 1px solid var(--grade-b-line); }
.grade--c .grade__mark { background: var(--grade-c-bg); color: var(--grade-c); border: 1px solid var(--grade-c-line); }
.grade__name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--ink); letter-spacing: -0.01em; }
.grade__desc { color: var(--muted); font-size: 0.94rem; margin-top: 3px; }
.grade__recover { text-align: right; }
.grade__pct { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.grade--a .grade__pct { color: var(--grade-a); }
.grade--b .grade__pct { color: var(--grade-b); }
.grade--c .grade__pct { color: var(--grade-c); }
.grade__pct-label { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
@media (max-width: 860px) { .grades { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
    .grade { grid-template-columns: auto 1fr; }
    .grade__recover { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
    .grade__pct-label { margin-top: 0; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta { padding-block: clamp(64px, 9vw, 120px); }
.cta__panel {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    border-radius: clamp(18px, 2.5vw, 28px);
    padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 72px);
    text-align: center;
}
.cta__panel::before {
    content: "";
    position: absolute;
    width: 540px; height: 540px;
    left: 50%; top: -64%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(22,122,75,0.55) 0%, transparent 62%);
    pointer-events: none;
}
.cta__inner { position: relative; max-width: 640px; margin-inline: auto; }
.cta__title {
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    letter-spacing: -0.025em;
    line-height: 1.05;
}
.cta__title em { font-style: normal; color: #6FCF9B; }
.cta__sub { color: #B7C5BF; font-size: clamp(1.02rem, 1.3vw, 1.16rem); margin-top: 16px; line-height: 1.5; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.cta__note { color: #93A29C; font-size: 0.84rem; margin-top: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
}
.footer__meta { font-size: 0.86rem; color: var(--muted); }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: 0.88rem; color: var(--ink-2); font-weight: 500; }
.footer__links a:hover { color: var(--accent-strong); }

/* ============================================================
   ENTRANCE — hero load choreography (above the fold only)
   ============================================================ */
/* Entrance enhances an already-visible default: a gentle rise, no opacity
   hiding. A renderer that freezes the animation (headless, crawler, paused
   tab) still shows everything in place — the section never ships blank. */
@keyframes rise-in {
    from { transform: translateY(20px); }
    to   { transform: translateY(0); }
}
[data-reveal] {
    animation: rise-in 0.62s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__copy { max-width: 600px; }
    .mock-wrap { max-width: 460px; margin-top: 8px; }
    .mock__tag { bottom: 88px; }
}
@media (max-width: 540px) {
    .waitlist__form { flex-direction: column; padding: 10px; }
    .waitlist__form .btn { width: 100%; padding-block: 13px; }
    .mock__body { grid-template-columns: 1fr; }
    .mock__gallery { aspect-ratio: 16 / 10; }
}
