/* ============================================================
   YUHU · MARKETING-SITE STYLESHEET (no-build, vanilla CSS)
   Generated from the Yuhu Design System (claude.ai/design).
   Layered on top of Bootstrap 5 (grid + utilities only).

   Sections:
     1. Design tokens — colors, type, spacing, radii, shadows, motion
     2. Base element styles
     3. Bootstrap 5 brand bridge (themes .btn/.card/.alert/.table/…)
     4. Yuhu components  (.yh-*)
     5. Marketing layout (.yk-*)
     6. Site chrome — nav, footer, lightbox
   ============================================================ */

/* ============================================================
   1. COLOR TOKENS
   ============================================================ */
:root {
    --paper: #FFF6EC;
    --paper-2: #FBE7D3;
    --paper-3: #F4D8BE;
    --white: #FFFFFF;

    --ink: #1B1410;
    --ink-2: #564A41;
    --ink-3: #8A7C71;

    --coral-100: #FFE4DA;
    --coral-200: #FFC4B2;
    --coral-400: #FF6B4A;
    --coral-500: #FF4F2D; /* PRIMARY */
    --coral-600: #E5380F;
    --coral-700: #BC2C09;

    --yellow-100: #FFF0C7;
    --yellow-300: #FFD56B;
    --yellow-500: #FFC033;
    --yellow-700: #E29A00;

    --blue-100: #DEE4FF;
    --blue-300: #8E9CFF;
    --blue-500: #2C49E6;
    --blue-700: #1B30B0;

    --mint-100: #CFF1E2;
    --mint-300: #6FD8AC;
    --mint-500: #14B87A;
    --mint-700: #0C8657;

    --bg: var(--paper);
    --bg-alt: var(--paper-2);
    --surface: var(--white);
    --surface-sunk: var(--paper-2);

    --text: var(--ink);
    --text-muted: var(--ink-2);
    --text-faint: var(--ink-3);
    --text-on-brand: #FFFFFF;
    --text-on-dark: #FFF6EC;

    --brand: var(--coral-500);
    --brand-hover: var(--coral-600);
    --brand-press: var(--coral-700);
    --brand-tint: var(--coral-100);

    --accent-yellow: var(--yellow-500);
    --accent-blue: var(--blue-500);
    --accent-mint: var(--mint-500);

    --line: rgba(27, 20, 16, 0.12);
    --line-strong: var(--ink);
    --ring: rgba(255, 79, 45, 0.40);

    --dark: #1B1410;
    --dark-2: #2A211B;

    --success: var(--mint-500);
    --warning: var(--yellow-700);
    --danger: var(--coral-600);

    /* ---- Typography ---- */
    --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
    --font-sans: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --w-regular: 400;
    --w-medium: 500;
    --w-semibold: 600;
    --w-bold: 700;
    --w-extra: 800;

    --fs-eyebrow: 0.8125rem;
    --fs-caption: 0.8125rem;
    --fs-small: 0.9375rem;
    --fs-body: 1.0625rem;
    --fs-lead: 1.25rem;
    --fs-h6: 1.125rem;
    --fs-h5: 1.375rem;
    --fs-h4: 1.75rem;
    --fs-h3: 2.25rem;
    --fs-h2: 3rem;
    --fs-h1: 4rem;
    --fs-display: 5.5rem;
    --fs-mega: 7.5rem;

    --lh-tight: 0.98;
    --lh-snug: 1.1;
    --lh-heading: 1.15;
    --lh-body: 1.6;
    --lh-relaxed: 1.75;

    --ls-mega: -0.04em;
    --ls-display: -0.03em;
    --ls-heading: -0.02em;
    --ls-tight: -0.01em;
    --ls-normal: 0;
    --ls-eyebrow: 0.14em;

    /* ---- Spacing / radii / shadows / motion ---- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --space-10: 8rem;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-tile: 28px;
    --r-pill: 999px;

    --bw: 2px;
    --bw-thick: 3px;

    --shadow-pop: 3px 3px 0 var(--ink);
    --shadow-pop-lg: 5px 5px 0 var(--ink);
    --shadow-pop-xl: 8px 8px 0 var(--ink);
    --shadow-pop-coral: 4px 4px 0 var(--coral-500);

    --shadow-soft: 0 4px 14px rgba(27, 20, 16, 0.08);
    --shadow-card: 0 1px 0 rgba(27, 20, 16, 0.04), 0 10px 28px rgba(27, 20, 16, 0.10);
    --shadow-float: 0 18px 50px rgba(27, 20, 16, 0.16);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 0.14s;
    --dur: 0.22s;
    --dur-slow: 0.4s;

    --container: 1200px;
    --container-narrow: 760px;
    --gutter: clamp(1.25rem, 5vw, 4rem);
}

/* ============================================================
   2. BASE ELEMENT STYLES
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--w-regular);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--w-bold);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    color: var(--text);
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-h1);
    letter-spacing: var(--ls-display);
    line-height: var(--lh-snug);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

h5 {
    font-size: var(--fs-h5);
}

h6 {
    font-size: var(--fs-h6);
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

p.lead {
    font-size: var(--fs-lead);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    font-weight: var(--w-regular);
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-hover);
}

small {
    font-size: var(--fs-small);
}

strong, b {
    font-weight: var(--w-bold);
}

code, kbd, samp {
    font-family: var(--font-mono);
}

:not(pre) > code {
    font-size: 0.88em;
    background: var(--ink);
    color: var(--yellow-300);
    padding: 0.12em 0.45em;
    border-radius: 5px;
}

.eyebrow, .yk-eyebrow {
    font-family: var(--font-mono);
    font-size: var(--fs-eyebrow);
    font-weight: var(--w-bold);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--coral-600);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

hr {
    border: none;
    border-top: var(--bw) solid var(--line);
    margin: var(--space-6) 0;
}

.yk-mark {
    color: var(--coral-500);
}

/* ============================================================
   3. BOOTSTRAP 5 BRAND BRIDGE
   Inner pages (pricing, support, checker) use BS5 markup —
   re-skin its components into the Yuhu brand.
   ============================================================ */
:root {
    --bs-body-bg: var(--paper);
    --bs-body-color: var(--ink);
    --bs-body-font-family: var(--font-sans);
    --bs-body-font-size: var(--fs-body);
    --bs-body-line-height: var(--lh-body);
    --bs-primary: #FF4F2D;
    --bs-primary-rgb: 255, 79, 45;
    --bs-link-color: var(--coral-600);
    --bs-link-color-rgb: 229, 56, 15;
    --bs-link-hover-color: var(--coral-700);
    --bs-border-color: var(--ink);
    --bs-emphasis-color: var(--ink);
}

.btn {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.01em;
    border-width: var(--bw);
    border-radius: var(--r-pill);
    transition: transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.btn-primary,
.btn-outline-primary,
.btn-dark,
.btn-light {
    border-color: var(--ink);
    box-shadow: var(--shadow-pop);
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-dark:hover,
.btn-light:hover {
    transform: translate(-1px, -1px);
    box-shadow: var(--shadow-pop-lg);
}

.btn-primary:active,
.btn-outline-primary:active,
.btn-dark:active,
.btn-light:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--ink);
}

.btn-primary {
    --bs-btn-bg: var(--coral-500);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--coral-600);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-active-bg: var(--coral-700);
    --bs-btn-active-border-color: var(--ink);
    --bs-btn-disabled-bg: var(--coral-500);
    --bs-btn-disabled-border-color: var(--ink);
    color: #fff;
}

.btn-outline-primary {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-bg: var(--white);
    --bs-btn-hover-color: var(--ink);
    --bs-btn-hover-bg: var(--paper-2);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-active-color: var(--ink);
    --bs-btn-active-bg: var(--paper-2);
    --bs-btn-active-border-color: var(--ink);
}

.btn-dark {
    --bs-btn-bg: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--dark-2);
    --bs-btn-hover-border-color: var(--ink);
}

.btn-link {
    color: var(--coral-600);
    font-weight: 700;
}

.card {
    --bs-card-bg: var(--white);
    --bs-card-border-color: var(--ink);
    --bs-card-border-width: var(--bw);
    --bs-card-border-radius: var(--r-lg);
    --bs-card-inner-border-radius: calc(var(--r-lg) - var(--bw));
    box-shadow: var(--shadow-pop-lg);
}

.card.bg-light {
    --bs-card-bg: var(--paper-2);
}

.card.bg-primary {
    --bs-card-bg: var(--coral-500);
}

.alert {
    --bs-alert-border-width: var(--bw);
    border-radius: var(--r-md);
    border-color: var(--ink);
    box-shadow: var(--shadow-pop);
}

.alert-danger {
    --bs-alert-color: var(--coral-700);
    --bs-alert-bg: var(--coral-100);
    --bs-alert-border-color: var(--ink);
}

.alert-warning {
    --bs-alert-color: var(--ink);
    --bs-alert-bg: var(--yellow-100);
    --bs-alert-border-color: var(--ink);
}

.alert-success {
    --bs-alert-color: var(--mint-700);
    --bs-alert-bg: var(--mint-100);
    --bs-alert-border-color: var(--ink);
}

.alert-info {
    --bs-alert-color: var(--blue-700);
    --bs-alert-bg: var(--blue-100);
    --bs-alert-border-color: var(--ink);
}

.alert-primary {
    --bs-alert-color: var(--coral-700);
    --bs-alert-bg: var(--coral-100);
    --bs-alert-border-color: var(--ink);
}

.alert-secondary {
    --bs-alert-color: var(--ink-2);
    --bs-alert-bg: var(--paper-3);
    --bs-alert-border-color: var(--ink);
}

.form-control, .form-select {
    font-family: var(--font-sans);
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-pop);
    color: var(--ink);
}

.form-control:focus, .form-select:focus {
    border-color: var(--coral-500);
    box-shadow: var(--shadow-pop-coral);
}

.form-control::placeholder {
    color: var(--ink-3);
}

.input-group-lg > .form-control {
    border-radius: var(--r-md);
}

.table {
    --bs-table-border-color: var(--ink);
    --bs-table-color: var(--ink);
}

.table-bordered {
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-md);
    overflow: hidden;
}

.table > :not(caption) > * > * {
    border-color: var(--line);
}

.table thead.thead-dark th, .table .table-dark, .table thead th {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.badge {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: var(--r-pill);
}

.badge.bg-primary, .badge.text-bg-primary {
    background: var(--coral-500) !important;
    color: #fff;
}

.img-thumbnail {
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-pop);
    background: var(--white);
}

.border {
    border-color: var(--ink) !important;
}

.rounded {
    border-radius: var(--r-md) !important;
}

.text-primary {
    color: var(--coral-600) !important;
}

.bg-primary {
    background-color: var(--coral-500) !important;
}

.text-muted {
    color: var(--ink-2) !important;
}

/* ============================================================
   4. YUHU COMPONENTS
   ============================================================ */

/* ---- Button (.yh-btn) ---- */
.yh-btn {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-pill);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
    box-shadow: var(--shadow-pop);
}

.yh-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: var(--shadow-pop-lg);
}

.yh-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--ink);
}

.yh-btn:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

.yh-btn[disabled], .yh-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: var(--shadow-pop);
    transform: none;
}

.yh-btn--sm {
    font-size: 0.875rem;
    padding: 0.45em 1.1em;
}

.yh-btn--md {
    font-size: 1rem;
    padding: 0.6em 1.5em;
}

.yh-btn--lg {
    font-size: 1.125rem;
    padding: 0.75em 1.9em;
}

.yh-btn--primary {
    background: var(--coral-500);
    color: #fff;
}

.yh-btn--primary:hover {
    background: var(--coral-600);
    color: #fff;
}

.yh-btn--secondary {
    background: var(--white);
    color: var(--ink);
}

.yh-btn--secondary:hover {
    background: var(--paper-2);
    color: var(--ink);
}

.yh-btn--dark {
    background: var(--ink);
    color: var(--paper);
}

.yh-btn--dark:hover {
    background: var(--dark-2);
    color: var(--paper);
}

.yh-btn--yellow {
    background: var(--yellow-500);
    color: var(--ink);
}

.yh-btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
    box-shadow: none;
}

.yh-btn--ghost:hover {
    background: var(--paper-2);
    box-shadow: none;
    transform: none;
    color: var(--ink);
}

.yh-btn .yh-ic {
    width: 1.1em;
    height: 1.1em;
}

/* ---- Input (.yh-input) ---- */
.yh-input {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-md);
    padding: 0.7em 1em;
    width: 100%;
    transition: box-shadow var(--dur-fast) var(--ease-out);
    box-shadow: var(--shadow-pop);
}

.yh-input::placeholder {
    color: var(--ink-3);
}

.yh-input:hover {
    box-shadow: var(--shadow-pop-lg);
}

.yh-input:focus {
    outline: none;
    box-shadow: var(--shadow-pop-coral);
    border-color: var(--coral-500);
}

/* ---- Card (.yh-card) ---- */
.yh-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-pop-lg);
}

.yh-card--soft {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.yh-card--flat {
    box-shadow: none;
}

.yh-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
}

/* ---- Badge (.yh-badge) ---- */
.yh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.32em 0.75em;
    border-radius: var(--r-pill);
    line-height: 1.1;
    border: 2px solid transparent;
}

.yh-badge--coral {
    background: var(--coral-100);
    color: var(--coral-700);
}

.yh-badge--yellow {
    background: var(--yellow-100);
    color: var(--yellow-700);
}

.yh-badge--blue {
    background: var(--blue-100);
    color: var(--blue-700);
}

.yh-badge--mint {
    background: var(--mint-100);
    color: var(--mint-700);
}

.yh-badge--ink {
    background: var(--ink);
    color: var(--paper);
}

/* ---- Logo lockup (.yh-logo) ---- */
.yh-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.yh-logo__mark {
    display: block;
    flex: none;
}

.yh-logo__word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}

.yh-logo__word .dot {
    color: var(--coral-500);
}

.yh-logo--on-dark .yh-logo__word {
    color: var(--paper);
}

/* ---- Feature card (.yh-feature-card) ---- */
.yh-feature-card {
    background: var(--surface);
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-pop);
    padding: var(--space-5);
}

.yh-feature-card__chip {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    border: var(--bw) solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.yh-feature-card__chip svg {
    width: 24px;
    height: 24px;
}

.yh-feature-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.yh-feature-card p {
    margin: 0;
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.55;
}

.yh-feature-card--coral .yh-feature-card__chip {
    background: var(--coral-100);
    color: var(--coral-600);
}

.yh-feature-card--blue .yh-feature-card__chip {
    background: var(--blue-100);
    color: var(--blue-700);
}

.yh-feature-card--yellow .yh-feature-card__chip {
    background: var(--yellow-100);
    color: var(--yellow-700);
}

.yh-feature-card--mint .yh-feature-card__chip {
    background: var(--mint-100);
    color: var(--mint-700);
}

/* ---- Pricing card (.yh-pricing-card) ---- */
.yh-pricing-card {
    background: var(--surface);
    color: var(--ink);
    border: var(--bw) solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-pop);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.yh-pricing-card--featured {
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow-pop-coral);
}

.yh-pricing-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yh-pricing-card__tier {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-600);
}

.yh-pricing-card--featured .yh-pricing-card__tier {
    color: var(--coral-400);
}

.yh-pricing-card__pop {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--coral-500);
    color: #fff;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    letter-spacing: 0.06em;
}

.yh-pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.yh-pricing-card__price b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: -0.03em;
}

.yh-pricing-card__price span {
    color: var(--ink-2);
    font-weight: 600;
}

.yh-pricing-card--featured .yh-pricing-card__price span {
    color: var(--ink-3);
}

.yh-pricing-card__blurb {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.95rem;
}

.yh-pricing-card--featured .yh-pricing-card__blurb {
    color: rgba(255, 246, 236, .7);
}

.yh-pricing-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.yh-pricing-card li {
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    align-items: flex-start;
}

.yh-pricing-card li svg {
    flex: none;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    color: var(--coral-500);
}

.yh-pricing-card .yh-btn {
    width: 100%;
}

/* ---- Share-image preview (.yh-share-preview) ---- */
.yh-share-preview {
    width: 100%;
    aspect-ratio: 1200 / 630;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    display: flex;
    box-shadow: var(--shadow-pop-lg);
}

.yh-share-preview--bare {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.yh-share-preview--glow {
    box-shadow: var(--shadow-pop-lg), 0 12px 60px rgba(255, 79, 45, .45), 0 0 26px rgba(255, 79, 45, .45);
}

.yh-share-preview__collage {
    display: grid;
    gap: 4px;
    padding: 4px;
    flex: 1.15;
}

.yh-share-preview__collage > div {
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.yh-share-preview--3 .yh-share-preview__collage {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.yh-share-preview--3 .yh-share-preview__collage > div:first-child {
    grid-row: span 2;
}

.yh-share-preview--4 .yh-share-preview__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.yh-share-preview--2 .yh-share-preview__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.yh-share-preview__rail {
    flex: 1;
    padding: 7% 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4%;
    border-left: 2px solid var(--ink);
    background: var(--white);
}

.yh-share-preview__store {
    font-family: var(--font-mono);
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-500);
}

.yh-share-preview__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.7em;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.yh-share-preview__price {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1em;
    color: var(--coral-500);
}

.yh-share-preview__badge {
    position: absolute;
    top: 8%;
    left: 6%;
    background: var(--coral-500);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85em;
    letter-spacing: -0.02em;
    padding: 0.25em 0.7em;
    border-radius: var(--r-pill);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-pop);
    transform: rotate(-4deg);
}

.yh-share-preview__spark {
    position: absolute;
    top: 7%;
    right: 4%;
    color: var(--coral-500);
    width: 22px;
    height: 22px;
}

/* ============================================================
   5. MARKETING LAYOUT (.yk-*)  — from the design kit
   ============================================================ */
.yk-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- HERO ---------- */
.yk-hero {
    padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
    position: relative;
}

.yk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 85% 18%, var(--yellow-100), transparent 70%),
    radial-gradient(50% 45% at 8% 70%, var(--blue-100), transparent 70%);
    z-index: 0;
}

.yk-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.yk-hero__copy h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 18px 0 22px;
}

.yk-hero__copy .lead {
    max-width: 540px;
}

.yk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 22px;
}

.yk-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-2);
}

.yk-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.yk-hero__art {
    position: relative;
}

.yk-hero__art::before {
    content: "";
    position: absolute;
    inset: -6% -4% -10% -4%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(45% 55% at 60% 45%, rgba(255, 79, 45, 0.5), transparent 70%), radial-gradient(40% 45% at 30% 70%, rgba(255, 192, 51, 0.45), transparent 70%);
    filter: blur(28px);
    animation: ykglow 6s var(--ease-out) infinite;
}

@keyframes ykglow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .yk-hero__art::before, .yk-float {
        animation: none;
    }
}

.yk-post {
    position: relative;
    z-index: 1;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-pop-xl);
    padding: 18px;
    transform: rotate(-1.4deg);
}

.yk-post__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yk-post__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: linear-gradient(135deg, var(--coral-400), var(--yellow-500));
    flex: none;
}

.yk-post__head strong {
    display: block;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.98rem;
}

.yk-post__head span {
    font-size: 0.8rem;
    color: var(--ink-3);
}

.yk-post__text {
    font-size: 0.96rem;
    color: var(--ink);
    margin: 14px 0;
}

.yk-post__embed {
    border: 2px solid var(--ink);
    border-radius: var(--r-md);
    overflow: hidden;
}

.yk-post__url {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-2);
    padding: 9px 12px;
    background: var(--paper-2);
    border-top: 2px solid var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.yk-post__actions {
    display: flex;
    justify-content: space-around;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.yk-post__actions span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-2);
}

.yk-float {
    position: absolute;
    z-index: 2;
}

.yk-float--1 {
    top: -22px;
    right: 24px;
    animation: ykfloat 4s var(--ease-out) infinite;
}

.yk-float--2 {
    bottom: 38px;
    left: -16px;
    animation: ykfloat 5s var(--ease-out) infinite 0.6s;
}

@keyframes ykfloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-9px) rotate(8deg);
    }
}

.yk-badge-float {
    position: absolute;
    z-index: 2;
    bottom: -16px;
    right: -8px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-pop);
    transform: rotate(3deg);
}

/* ---------- CHANNELS ---------- */
.yk-channels {
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    background: var(--ink);
    padding: 26px 0;
}

.yk-channels__label {
    text-align: center;
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
    opacity: 0.7;
}

.yk-channels__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.yk-channel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--r-pill);
    padding: 8px 16px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-pop);
}

.yk-channel img {
    display: block;
}

/* ---------- SECTION SHELL ---------- */
.yk-section {
    padding: clamp(56px, 8vw, 112px) 0;
}

.yk-section--alt {
    background: var(--paper-2);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.yk-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
}

.yk-section__head h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.03em;
    margin: 14px 0 0;
}

/* ---------- PROBLEM / SOLUTION ---------- */
.yk-ps {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.yk-ps__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: var(--r-pill);
    border: 2px solid var(--ink);
    margin-bottom: 18px;
}

.yk-ps__tag--bad {
    background: var(--paper-3);
    color: var(--ink-2);
}

.yk-ps__tag--good {
    background: var(--coral-100);
    color: var(--coral-700);
}

.yk-ps__col h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.025em;
    margin: 0 0 12px;
}

.yk-ps__col p {
    margin: 0;
    color: var(--ink-2);
    line-height: 1.6;
}

.yk-ps__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--white);
    box-shadow: var(--shadow-pop);
    flex: none;
}

/* ---------- CHECKER BAND ---------- */
.yk-checker {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    background: var(--blue-100);
    border: 2px solid var(--ink);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-pop-xl);
    padding: clamp(28px, 4vw, 52px);
}

.yk-checker__body h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    letter-spacing: -0.03em;
    margin: 14px 0 10px;
}

.yk-checker__body p {
    color: var(--ink-2);
    margin: 0 0 22px;
    font-size: 1.05rem;
}

.yk-checker__form {
    display: flex;
    gap: 12px;
}

.yk-checker__form .yh-input {
    flex: 1;
}

.yk-checker__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yk-checker__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--r-pill);
    padding: 7px 14px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-pop);
}

.yk-checker__chip--more {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

/* ---------- FEATURES ---------- */
.yk-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ---------- COMPARE ---------- */
.yk-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}

.yk-compare__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yk-compare__tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    border: 2px solid var(--ink);
}

.yk-compare__tag--bad {
    background: var(--paper-3);
    color: var(--ink-2);
}

.yk-compare__tag--good {
    background: var(--mint-300);
    color: var(--mint-700);
}

.yk-compare__note {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.55;
}

.yk-broken {
    background: var(--white);
    border: 2px dashed var(--ink-3);
    border-radius: var(--r-md);
    overflow: hidden;
    opacity: 0.92;
}

.yk-broken__img {
    aspect-ratio: 1200/630;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 12px, var(--paper-3) 12px, var(--paper-3) 24px);
    border-bottom: 2px dashed var(--ink-3);
    color: var(--ink-3);
}

.yk-broken__meta {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.yk-broken__line {
    height: 10px;
    border-radius: 5px;
    background: var(--paper-3);
}

.yk-broken__line--url {
    background: var(--blue-100);
}

/* ---------- PRICING ---------- */
.yk-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.yk-pricing > * {
    min-width: 0;
}

.yk-pricing__note {
    text-align: center;
    margin: 32px 0 0;
    font-size: 0.98rem;
    color: var(--ink-2);
}

.yk-pricing__note a {
    font-weight: 700;
}

/* ---------- CTA ---------- */
.yk-cta {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(56px, 8vw, 104px) 0;
    position: relative;
    overflow: hidden;
}

.yk-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(40% 60% at 80% 30%, rgba(255, 79, 45, 0.22), transparent 70%);
}

.yk-cta__inner {
    position: relative;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.yk-cta__spark {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--yellow-500);
}

.yk-cta h2 {
    color: var(--paper);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}

.yk-cta p {
    color: rgba(255, 246, 236, 0.78);
    font-size: 1.1rem;
    margin: 0 0 30px;
}

/* ============================================================
   6. SITE CHROME — nav, footer, lightbox
   ============================================================ */
/* ---------- NAV ---------- */
.yk-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 246, 236, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--ink);
}

.yk-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.yk-nav__brand {
    display: flex;
    align-items: center;
}

.yk-nav__links {
    display: flex;
    gap: 30px;
}

.yk-nav__links a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
}

.yk-nav__links a:hover {
    color: var(--coral-600);
}

.yk-nav__cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yk-nav__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 6px;
}

.yk-nav__mobile {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 20px var(--gutter) 28px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
}

.yk-nav__mobile.open {
    display: flex;
}

.yk-nav__mobile a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ink);
}

/* ---------- FOOTER ---------- */
.yk-footer {
    background: var(--dark-2);
    color: var(--paper);
    padding: clamp(48px, 6vw, 80px) 0 32px;
}

.yk-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 246, 236, 0.14);
}

.yk-footer__brand p {
    color: rgba(255, 246, 236, 0.66);
    font-size: 0.95rem;
    max-width: 320px;
    margin: 16px 0 18px;
}

.yk-footer__channels {
    display: flex;
    gap: 14px;
}

.yk-footer__channels img {
    display: block;
}

.yk-footer__col h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 246, 236, 0.5);
    margin: 0 0 16px;
}

.yk-footer__col a {
    display: block;
    color: var(--paper);
    font-size: 0.95rem;
    margin-bottom: 11px;
    opacity: 0.84;
}

.yk-footer__col a:hover {
    opacity: 1;
    color: var(--coral-400);
}

.yk-footer__base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    font-size: 0.85rem;
    color: rgba(255, 246, 236, 0.6);
}

.yk-footer__made {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- generic inner-page wrapper ---------- */
.yk-page {
    padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
}

.yk-prose {
    max-width: var(--container-narrow);
}

.yk-prose h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.yk-prose img {
    max-width: 100%;
    height: auto;
}

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #ccc;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .yk-nav__links, .yk-nav__cta {
        display: none;
    }

    .yk-nav__burger {
        display: inline-flex;
    }

    .yk-hero__grid {
        grid-template-columns: 1fr;
    }

    .yk-hero__art {
        max-width: 460px;
        margin: 8px auto 0;
    }

    .yk-features {
        grid-template-columns: 1fr;
    }

    .yk-ps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .yk-ps__divider {
        transform: rotate(90deg);
    }

    .yk-checker {
        grid-template-columns: 1fr;
    }

    .yk-pricing {
        grid-template-columns: 1fr 1fr;
    }

    .yk-compare {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .yk-pricing {
        grid-template-columns: 1fr;
    }

    .yk-checker__form {
        flex-direction: column;
    }

    .yk-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .yk-footer__base {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
