/* ════════════════════════════════════════════
   TIMEZONE COORDINATOR — DESIGN SYSTEM
════════════════════════════════════════════ */

/* ── TOKENS ─── */
:root {
    /* Brand */
    --brand-from: #5B4FE9;
    --brand-to: #E84393;
    --brand-grad: linear-gradient(135deg, #5B4FE9 0%, #E84393 100%);

    /* Surface (light) */
    --c-bg: #F8F8FC;
    --c-surface: #FFFFFF;
    --c-surface-2: #F2F2F8;
    --c-surface-3: #E9E9F2;

    /* Text (light) */
    --c-text-1: #0D0D1A;
    --c-text-2: #3D3D5C;
    --c-text-3: #7878A0;

    /* Border */
    --c-border: #E4E4EE;
    --c-border-2: #D2D2E4;

    /* Semantic */
    --c-success: #059669;
    --c-success-bg: #ECFDF5;
    --c-warning: #D97706;
    --c-warning-bg: #FFFBEB;
    --c-danger: #DC2626;
    --c-danger-bg: #FEF2F2;
    --c-info: #2563EB;
    --c-info-bg: #EFF6FF;

    /* Accent */
    --c-accent: #5B4FE9;

    /* Japanese ink tones */
    --c-ink-1: #1A1A2E;
    --c-ink-2: #2D2D4A;
    --c-ink-3: #8888AA;
    --c-washi: rgba(248, 246, 240, 0.6);

    /* Shadow */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .11);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .14);
    --shadow-brand: 0 4px 20px rgba(91, 79, 233, .32);

    /* Radius */
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-2xl: 28px;
    --r-full: 9999px;

    /* Spacing */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;

    /* Type */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    /* Easing */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 120ms;
    --t-base: 220ms;
    --t-slow: 380ms;

    /* Nav */
    --nav-h: 60px;
}

/* ── DARK MODE TOKENS ─── */
[data-theme="dark"] {
    --c-bg: #0B0B16;
    --c-surface: #12121E;
    --c-surface-2: #1A1A2E;
    --c-surface-3: #222238;

    --c-text-1: #F0F0FA;
    --c-text-2: #AEAECE;
    --c-text-3: #646488;

    --c-border: #222240;
    --c-border-2: #2E2E50;

    --c-success-bg: #042714;
    --c-warning-bg: #1C1608;
    --c-danger-bg: #1E0808;
    --c-info-bg: #071228;

    --c-accent: #7B72FF;
    --brand-from: #7B72FF;
    --brand-to: #FF6BB5;
    --brand-grad: linear-gradient(135deg, #7B72FF 0%, #FF6BB5 100%);

    --c-ink-1: #E8E8FF;
    --c-ink-2: #C0C0E8;
    --c-ink-3: #606088;
    --c-washi: rgba(18, 18, 30, 0.8);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .45);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .55);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .65);
    --shadow-brand: 0 4px 24px rgba(123, 114, 255, .4);
}

/* ── RESET ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text-1);
    background: var(--c-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition:
        background var(--t-slow) var(--ease),
        color var(--t-slow) var(--ease);

    /* Subtle washi paper grain in light mode */
    background-image:
        radial-gradient(circle at 20% 10%,
            rgba(91, 79, 233, .03) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%,
            rgba(232, 67, 147, .02) 0%, transparent 50%);
}

[data-theme="dark"] body {
    background-image:
        radial-gradient(circle at 20% 10%,
            rgba(123, 114, 255, .04) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%,
            rgba(255, 107, 181, .03) 0%, transparent 50%);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--c-accent);
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
}

code {
    font-family: var(--mono);
    font-size: 0.88em;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xs);
    padding: 1px 6px;
    color: var(--c-accent);
}

/* ── LAYOUT ─── */
.container {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
}

/* ── GRADIENT TEXT ──── */
.gradient-text {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAVBAR ──── */
.navbar {
    height: var(--nav-h);
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(248, 248, 252, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--c-border);
    transition:
        background var(--t-slow) var(--ease),
        border-color var(--t-slow) var(--ease);
}

[data-theme="dark"] .navbar {
    background: rgba(11, 11, 22, 0.92);
}

.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

/* ── BRAND ── */
.brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    width: 34px;
    height: 34px;
    background: var(--brand-grad);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-brand);
    transition: transform var(--t-base) var(--ease-bounce),
        box-shadow var(--t-base) var(--ease);
}

.brand-logo:hover {
    transform: rotate(-5deg) scale(1.08);
}

.brand-logo svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.brand-name {
    font-size: 15px;
    color: var(--c-text-1);
    letter-spacing: -0.02em;
}

.brand-name strong {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAV LINKS ─── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-2);
    border-radius: var(--r-sm);
    transition: all var(--t-fast) var(--ease);
    text-decoration: none;
}

.nav-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--c-text-1);
    background: var(--c-surface-2);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-link--active {
    color: var(--c-accent);
    background: var(--c-info-bg);
}

.nav-link--active:hover {
    color: var(--c-accent);
    background: var(--c-info-bg);
    transform: none;
}

/* ── THEME TOGGLE ──── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.theme-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    color: var(--c-text-2);
    position: relative;
    overflow: hidden;
    transition: all var(--t-fast) var(--ease);
}

.theme-btn:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: var(--c-info-bg);
    transform: rotate(15deg);
}

.theme-btn svg {
    width: 16px;
    height: 16px;
    position: absolute;
    transition: all var(--t-base) var(--ease-bounce);
}

[data-theme="light"] .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

[data-theme="light"] .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
}

[data-theme="dark"] .icon-sun {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
}

[data-theme="dark"] .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.icon-sun {
    opacity: 1;
    transform: scale(1);
}

.icon-moon {
    opacity: 0;
    transform: scale(0.4);
}

/* ── HERO ── */
.hero {
    padding: var(--sp-16) 0 var(--sp-12);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--c-border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.45;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 85% 80% at 50% 50%,
            black 0%, transparent 100%);
}

/* Soft glow */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 20% 35%,
            rgba(91, 79, 233, .07) 0%, transparent 65%),
        radial-gradient(ellipse 55% 50% at 80% 65%,
            rgba(232, 67, 147, .05) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

/* ── HERO BADGE ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 5px 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-2);
    margin-bottom: var(--sp-6);
    box-shadow: var(--shadow-xs);
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--c-success);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--c-text-1);
    margin-bottom: var(--sp-5);
}

.hero-desc {
    font-size: 17px;
    color: var(--c-text-2);
    line-height: 1.75;
    margin-bottom: var(--sp-8);
    max-width: 500px;
    margin-inline: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--sp-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-12);
}

/* ── HERO STATS ──────────────────────────── */
.hero-stats {
    display: inline-flex;
    align-items: center;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-5) var(--sp-8);
    box-shadow: var(--shadow-sm);
}

.hero-stat {
    text-align: center;
    padding: 0 var(--sp-8);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--c-border);
    flex-shrink: 0;
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--mono);
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    transition: transform var(--t-base) var(--ease-bounce);
}

.hero-stat-num.bump {
    transform: scale(1.25);
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
}

/* ── INK DIVIDER ─────────────────────────── */
.ink-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: var(--sp-6);
}

.ink-divider svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ── MA (NEGATIVE SPACE) SECTION ─────────── */
.main {
    padding-block: var(--sp-12);
    min-height: 60vh;
}

.app-section {
    margin-bottom: var(--sp-8);
}

/* Section breathe space  */
.app-section+.app-section {
    padding-top: var(--sp-4);
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text-1);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--c-text-3);
    line-height: 1.5;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    border-radius: var(--r-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    transition:
        transform var(--t-fast) var(--ease-bounce),
        box-shadow var(--t-fast) var(--ease),
        background var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease),
        color var(--t-fast) var(--ease),
        opacity var(--t-fast) var(--ease);
    user-select: none;
    position: relative;
    overflow: hidden;
}

/* Ripple base */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--t-fast);
    border-radius: inherit;
}

.btn:active:not(:disabled)::after {
    background: rgba(255, 255, 255, 0.15);
}

.btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn span,
.btn strong {
    position: relative;
    z-index: 1;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:focus-visible {
    outline: 2.5px solid var(--c-accent);
    outline-offset: 3px;
}

.btn:active:not(:disabled) {
    transform: scale(0.96);
}

/* Primary */
.btn--primary {
    background: var(--brand-grad);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}

.btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(91, 79, 233, .48);
    opacity: 1;
}

/* Secondary */
.btn--secondary {
    background: var(--c-surface);
    color: var(--c-text-1);
    border-color: var(--c-border);
    box-shadow: var(--shadow-xs);
}

.btn--secondary:hover:not(:disabled) {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: var(--c-info-bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    opacity: 1;
}

/* Ghost */
.btn--ghost {
    background: transparent;
    color: var(--c-text-2);
    border-color: var(--c-border);
}

.btn--ghost:hover:not(:disabled) {
    background: var(--c-surface-2);
    color: var(--c-text-1);
    transform: translateY(-1px);
    opacity: 1;
}

/* Danger ghost */
.btn--danger-ghost {
    background: transparent;
    color: var(--c-danger);
    border-color: rgba(220, 38, 38, .2);
}

.btn--danger-ghost:hover:not(:disabled) {
    background: var(--c-danger-bg);
    border-color: var(--c-danger);
    transform: translateY(-1px);
    opacity: 1;
}

/* White (for dark CTA) */
.btn--white {
    background: #fff;
    color: var(--brand-from);
    border-color: transparent;
    box-shadow: var(--shadow-md);
    font-weight: 700;
}

.btn--white:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}

/* Sizes */
.btn--lg {
    padding: 12px 26px;
    font-size: 15px;
    border-radius: var(--r-lg);
}

.btn--sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: var(--r-sm);
}

.btn--icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--r-md);
}

/* ── CARDS ───────────────────────────────── */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        background var(--t-slow) var(--ease),
        border-color var(--t-slow) var(--ease),
        box-shadow var(--t-base) var(--ease);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--c-border);
}

.card-title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text-1);
    letter-spacing: -0.01em;
}

.card-title svg {
    width: 16px;
    height: 16px;
    stroke: var(--c-accent);
}

.card-subtitle {
    font-size: 12px;
    color: var(--c-text-3);
    margin-top: 4px;
    line-height: 1.5;
}

.card-body {
    padding: var(--sp-5) var(--sp-6);
}

/* ── FOOTER ──────────────────────────────── */
.footer {
    border-top: 1px solid var(--c-border);
    padding: var(--sp-6) 0;
    background: var(--c-surface);
    position: relative;
}

/* Ink brush top edge */
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--brand-grad);
    opacity: 0.3;
    border-radius: var(--r-full);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: var(--c-text-3);
}

.footer-links {
    display: flex;
    gap: var(--sp-5);
}

.footer-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--t-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--c-accent);
    opacity: 1;
}

/* ── ABOUT PAGE STYLES ───────────────────── */

/* About Hero */
.about-hero {
    padding: var(--sp-16) 0 var(--sp-10);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--c-border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 85% 80% at 50% 50%,
            black 0%, transparent 100%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 5px 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-2);
    margin-bottom: var(--sp-6);
    box-shadow: var(--shadow-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-hero-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--c-accent);
}

.about-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--c-text-1);
    margin-bottom: var(--sp-5);
}

.about-hero-desc {
    font-size: 17px;
    color: var(--c-text-2);
    line-height: 1.75;
    margin-bottom: var(--sp-8);
    max-width: 500px;
    margin-inline: auto;
}

.about-hero-desc em {
    color: var(--c-accent);
    font-style: normal;
    font-weight: 600;
}

/* About Sections */
.about-section {
    padding: var(--sp-16) 0;
    position: relative;
}

.about-section--tinted {
    background: var(--c-surface-2);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.about-section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--sp-2);
}

.about-section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-text-1);
    margin-bottom: var(--sp-4);
    line-height: 1.2;
}

.about-section-desc {
    font-size: 15px;
    color: var(--c-text-2);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: var(--sp-8);
}

/* Steps grid */
.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: var(--sp-10);
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    position: relative;
    transition:
        transform var(--t-base) var(--ease-bounce),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(91, 79, 233, .3);
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--sp-3);
    padding-top: var(--sp-10);
    flex-shrink: 0;
}

.step-connector svg {
    width: 40px;
    height: 24px;
}

.step-num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--c-accent);
    background: var(--c-info-bg);
    border: 1px solid rgba(37, 99, 235, .15);
    border-radius: var(--r-full);
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: var(--sp-4);
    letter-spacing: 0.04em;
}

.step-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg,
            rgba(91, 79, 233, .1) 0%,
            rgba(232, 67, 147, .1) 100%);
    border: 1px solid rgba(91, 79, 233, .15);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}

.step-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--c-accent);
}

.step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text-1);
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-2);
}

.step-desc {
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.7;
}

/* Pain scale grid */
.pain-scale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
}

.pain-scale-item {
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    border: 1px solid;
    transition: transform var(--t-base) var(--ease-bounce);
}

.pain-scale-item:hover {
    transform: translateY(-3px);
}

.pain-scale--perfect {
    background: var(--c-success-bg);
    border-color: rgba(5, 150, 105, .2);
}

.pain-scale--low {
    background: #F0FDF4;
    border-color: rgba(22, 101, 52, .15);
}

.pain-scale--mid {
    background: var(--c-warning-bg);
    border-color: rgba(217, 119, 6, .2);
}

.pain-scale--high {
    background: var(--c-danger-bg);
    border-color: rgba(220, 38, 38, .2);
}

[data-theme="dark"] .pain-scale--low {
    background: rgba(5, 150, 105, .08);
    border-color: rgba(5, 150, 105, .15);
}

.psi-score {
    font-family: var(--mono);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: var(--sp-1);
}

.pain-scale--perfect .psi-score {
    color: var(--c-success);
}

.pain-scale--low .psi-score {
    color: #16A34A;
}

.pain-scale--mid .psi-score {
    color: var(--c-warning);
}

.pain-scale--high .psi-score {
    color: var(--c-danger);
}

.psi-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
}

.pain-scale--perfect .psi-label {
    color: var(--c-success);
}

.pain-scale--low .psi-label {
    color: #16A34A;
}

.pain-scale--mid .psi-label {
    color: var(--c-warning);
}

.pain-scale--high .psi-label {
    color: var(--c-danger);
}

.psi-hours {
    font-size: 11px;
    font-family: var(--mono);
    color: var(--c-text-3);
    margin-bottom: var(--sp-2);
}

.psi-desc {
    font-size: 12px;
    color: var(--c-text-2);
    line-height: 1.5;
}

/* Pain timeline bar */
.pain-timeline {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-5) var(--sp-6);
    box-shadow: var(--shadow-xs);
}

.pt-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--sp-2);
}

.pt-label-row span {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--c-text-3);
}

.pt-bar-row {
    display: flex;
    height: 28px;
    border-radius: var(--r-md);
    overflow: hidden;
    gap: 1px;
    margin-bottom: var(--sp-4);
    border: 1px solid var(--c-border);
}

.pt-seg {
    height: 100%;
    transition: opacity var(--t-fast);
    cursor: default;
    border-radius: 0;
}

.pt-seg:hover {
    opacity: 0.75;
}

.pt-seg--perfect {
    background: #059669;
}

.pt-seg--low {
    background: #34D399;
}

.pt-seg--mid {
    background: #F59E0B;
}

.pt-seg--high {
    background: #EF4444;
}

.pt-seg--blocked {
    background: #DC2626;
}

.pt-legend {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.pt-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--c-text-2);
    font-weight: 500;
}

.pt-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.pt-dot--perfect {
    background: #059669;
}

.pt-dot--low {
    background: #34D399;
}

.pt-dot--mid {
    background: #F59E0B;
}

.pt-dot--blocked {
    background: #DC2626;
}

/* Two column layout */
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
}

.about-col-desc {
    font-size: 15px;
    color: var(--c-text-2);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}

.about-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.afl-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: 14px;
    color: var(--c-text-1);
    font-weight: 500;
}

.afl-icon {
    width: 24px;
    height: 24px;
    background: var(--c-success-bg);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.afl-icon svg {
    width: 13px;
    height: 13px;
    stroke: var(--c-success);
}

/* Fairness visual mockup */
.about-col-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fairness-visual {
    width: 100%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-2xl);
    padding: var(--sp-5);
    box-shadow: var(--shadow-md);
}

.fv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-5);
}

.fv-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-1);
}

.fv-bars {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.fv-bar-row {
    display: grid;
    grid-template-columns: 70px 1fr 36px;
    align-items: center;
    gap: var(--sp-2);
}

.fv-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-2);
    white-space: nowrap;
}

.fv-track {
    height: 6px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    overflow: hidden;
}

.fv-fill {
    height: 100%;
    border-radius: var(--r-full);
    transition: width 1.2s var(--ease-out);
}

.fv-fill--low {
    background: linear-gradient(90deg, #059669, #34D399);
}

.fv-fill--mid {
    background: linear-gradient(90deg, #D97706, #F59E0B);
}

.fv-val {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--c-text-2);
    text-align: right;
}

.fv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-4);
    border-top: 1px solid var(--c-border);
    flex-wrap: wrap;
    gap: var(--sp-2);
}

/* Privacy block */
.privacy-block {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.privacy-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-grad);
    border-radius: var(--r-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
    box-shadow: var(--shadow-brand);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.privacy-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
}

.privacy-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-text-1);
    margin-bottom: var(--sp-4);
}

.privacy-desc {
    font-size: 15px;
    color: var(--c-text-2);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}

.privacy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    justify-content: center;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.faq-item {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: border-color var(--t-base) var(--ease);
}

.faq-item[open] {
    border-color: rgba(91, 79, 233, .35);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-1);
    cursor: pointer;
    list-style: none;
    transition: background var(--t-fast);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q:hover {
    background: var(--c-surface-2);
}

.faq-chevron {
    width: 16px;
    height: 16px;
    stroke: var(--c-text-3);
    flex-shrink: 0;
    transition: transform var(--t-base) var(--ease);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    stroke: var(--c-accent);
}

.faq-a {
    padding: var(--sp-4) var(--sp-5);
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.75;
    border-top: 1px solid var(--c-border);
    background: var(--c-surface-2);
}

/* About CTA */
.about-cta {
    padding: var(--sp-16) 0;
    background: var(--brand-grad);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.about-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
    margin-inline: auto;
}

.about-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.04em;
    margin-bottom: var(--sp-4);
}

.about-cta-desc {
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: var(--sp-8);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        display: none;
    }

    .about-two-col {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 54px;
    }

    .hero {
        padding: var(--sp-12) 0 var(--sp-10);
    }

    .hero-stats {
        flex-direction: column;
        width: 100%;
    }

    .hero-stat-divider {
        width: 60%;
        height: 1px;
    }

    .hero-stat {
        padding: var(--sp-4) 0;
    }

    .container {
        padding-inline: var(--sp-4);
    }

    .about-hero {
        padding: var(--sp-12) 0 var(--sp-8);
    }

    .about-section {
        padding: var(--sp-10) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .btn--lg {
        padding: 10px 18px;
        font-size: 14px;
    }

    .about-hero-title {
        font-size: 1.7rem;
    }
}