/* ============================================================
   style.css — YNIM (ynim.co.kr) "You Need, I Make."
   브랜드: 네이비 + 앰버(금색) — 전문 제작자의 신뢰와 따뜻함
   반응형: 375px ~ 1440px
   ============================================================ */

/* ── 1. CSS 변수 ─────────────────────────────────────────── */
:root {
    /* Brand Colors */
    --navy-900: #0B1426;
    --navy-800: #0F1F3D;
    --navy-700: #162B52;
    --navy-600: #1E3A6E;
    --navy-400: #4A6FA5;
    --navy-200: #A8C0E0;
    --navy-100: #E8EEF7;

    --amber-500: #F59E0B;
    --amber-400: #FBBF24;
    --amber-300: #FCD34D;
    --amber-100: #FEF3C7;

    --color-primary:      var(--navy-800);
    --color-accent:       var(--amber-500);
    --color-accent-light: var(--amber-100);
    --color-success:      #10B981;
    --color-success-light:#ECFDF5;
    --color-error:        #EF4444;
    --color-error-light:  #FEF2F2;

    --color-text:         #0F172A;
    --color-text-muted:   #64748B;
    --color-text-light:   #94A3B8;
    --color-bg:           #FFFFFF;
    --color-bg-alt:       #F8FAFC;
    --color-border:       #E2E8F0;
    --color-border-focus: var(--amber-400);

    --font: 'Pretendard', -apple-system, BlinkMacSystemFont,
            'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;

    --radius:     0.5rem;
    --radius-lg:  1rem;
    --radius-xl:  1.5rem;
    --shadow-sm:  0 1px 3px rgba(11,20,38,.07);
    --shadow-md:  0 4px 16px rgba(11,20,38,.10);
    --shadow-lg:  0 12px 40px rgba(11,20,38,.14);
    --shadow-amber: 0 4px 20px rgba(245,158,11,.30);
    --transition: 0.2s ease;
    --max-width:  1140px;
}

/* ── 2. Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }

/* ── 3. 레이아웃 유틸리티 ────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }

.section__header { margin-bottom: 2.5rem; }
.section__title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}
.section__subtitle { font-size: 1rem; color: var(--color-text-muted); }
.section__title::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    margin-top: 0.75rem;
}

@media (min-width: 768px) { .section__title { font-size: 2.25rem; } }

/* ── 4. 버튼 ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.7rem 1.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.btn:focus-visible {
    outline: 3px solid var(--color-border-focus);
    outline-offset: 2px;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Amber CTA — 핵심 행동 유도 */
.btn--amber {
    background: var(--color-accent);
    color: var(--navy-900);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-amber);
}
.btn--amber:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(245,158,11,.40);
    text-decoration: none;
}

/* Hero 투명 윤곽선 버튼 */
.btn--hero-outline {
    background: transparent;
    color: rgba(255,255,255,0.90);
    border-color: rgba(255,255,255,0.35);
}
.btn--hero-outline:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.60);
    text-decoration: none;
}

/* 일반 윤곽선 */
.btn--outline {
    background: transparent;
    color: var(--navy-700);
    border-color: var(--color-border);
}
.btn--outline:hover { background: var(--color-bg-alt); text-decoration: none; }

/* Ghost (보조) */
.btn--ghost {
    background: var(--navy-100);
    color: var(--navy-700);
    border-color: var(--navy-100);
    font-weight: 600;
}
.btn--ghost:hover { background: var(--navy-200); text-decoration: none; }

/* 성공 (복사) */
.btn--success {
    background: var(--color-success);
    color: #fff;
    border-color: var(--color-success);
}
.btn--success:hover { filter: brightness(0.92); text-decoration: none; }

.btn--full { width: 100%; }

/* ── 4.5 로고 이미지 ─────────────────────────────────────── */
.logo__img {
    height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(245,158,11,.45));
}

.hero__logo-mark {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.3));
}

/* ── 5. Header ───────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

/* YNIM 로고 */
.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    gap: 0;
}
.logo__mark {
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--navy-800);
    letter-spacing: -0.03em;
}
.logo__tagline {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header__nav { display: flex; align-items: center; gap: 0.375rem; }
.nav__item {
    padding: 0.4rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.nav__item:hover { color: var(--color-text); background: var(--color-bg-alt); text-decoration: none; }
.nav__item--cta {
    background: var(--color-accent);
    color: var(--navy-900);
    border-radius: var(--radius);
    padding: 0.4rem 1rem;
}
.nav__item--cta:hover { background: var(--amber-400); text-decoration: none; }

/* ── 드롭다운 ─────────────────────────────────────────────── */
.nav__dropdown { position: relative; }
.nav__arrow { font-size: 0.7rem; margin-left: 0.2rem; transition: transform var(--transition); }
.nav__dropdown-toggle[aria-expanded="true"] .nav__arrow { transform: rotate(180deg); }

.nav__dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.375rem;
    min-width: 170px;
    box-shadow: var(--shadow-lg);
    z-index: 300;
    list-style: none;
}
.nav__dropdown-toggle[aria-expanded="true"] + .nav__dropdown-menu { display: block; }
.nav__dropdown-item {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.nav__dropdown-item:hover { background: var(--color-bg-alt); color: var(--color-text); text-decoration: none; }
.nav__dropdown-item--cta { color: var(--navy-700); font-weight: 700; }
.nav__dropdown-divider { border-top: 1px solid var(--color-border); margin: 0.25rem 0.5rem; }

/* ── 모바일 햄버거 ─────────────────────────────────────────── */
.nav__mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.25rem;
}
@media (max-width: 768px) {
    .header__nav { display: none; }
    .nav__mobile-toggle { display: block; }
}

.mobile-menu {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 0;
}
.mobile-menu__item {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
}
.mobile-menu__item:hover { color: var(--color-text); background: var(--color-bg-alt); }
.mobile-menu__item--sub { padding-left: 2.25rem; font-size: 0.875rem; }
.mobile-menu__group-title {
    display: block;
    padding: 0.5rem 1.5rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
}

/* ── 6. Hero ─────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, #1A3A5C 100%);
    color: #fff;
    padding: 6rem 0 5rem;
    text-align: center;
}

/* 배경 장식 대형 글자 */
.hero__bg-letters {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    pointer-events: none;
    user-select: none;
    opacity: 0.045;
}
.hero__bg-letters span {
    font-size: clamp(8rem, 18vw, 20rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
    line-height: 1;
}

/* 배경 원 장식 */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

/* 뱃지 */
.hero__badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(245,158,11,.18);
    border: 1px solid rgba(245,158,11,.40);
    color: var(--amber-300);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* 히어로 제목 */
.hero__title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero__title em {
    font-style: normal;
    color: var(--amber-400);
    position: relative;
}

.hero__subtitle {
    font-size: 1.0625rem;
    opacity: 0.80;
    margin-bottom: 2.25rem;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* 신뢰 배지 */
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.10);
}
.trust__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,.65);
    font-weight: 500;
}
.trust__icon { font-size: 1rem; }

@media (min-width: 768px) {
    .hero { padding: 8rem 0 7rem; }
    .hero__subtitle { font-size: 1.125rem; }
}

/* ── 7. Products ─────────────────────────────────────────── */
.products { background: var(--color-bg-alt); }

.products__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products__grid { grid-template-columns: repeat(3, 1fr); } }

/* Product Card */
.product-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-700), var(--amber-500));
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--navy-200);
}
.product-card:hover::before { opacity: 1; }

.product-card__icon { font-size: 2.5rem; line-height: 1; }

.product-card__name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.015em;
}

.product-card__meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    gap: 1rem;
}

.product-card__description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex: 1;
}

.product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.product-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--navy-100);
    color: var(--navy-700);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.125rem;
}

/* EXE 제품 카드 강조 */
.product-card--exe::before {
    background: linear-gradient(90deg, #059669, #F59E0B);
    opacity: 1;
}
.product-card--exe {
    border-color: rgba(5, 150, 105, .25);
}
.product-card__badge--exe {
    background: #D1FAE5;
    color: #065F46;
}

/* Android 앱 카드 */
.product-card--android {
    border-color: rgba(100, 116, 139, .3);
    opacity: .82;
}
.product-card--android::before {
    background: linear-gradient(90deg, #6366F1, #A78BFA);
    opacity: 1;
}
.product-card--android:hover {
    opacity: 1;
}
.product-card__badge--android {
    background: #EDE9FE;
    color: #5B21B6;
}
.product-card__wip {
    background: #FEF3C7;
    color: #92400E;
    font-size: .75rem;
    font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 999px;
}

/* Skeleton */
.skeleton-card {
    background: var(--color-border);
    border-radius: var(--radius-lg);
    height: 300px;
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }

/* ── 8. Auth ─────────────────────────────────────────────── */
.auth { background: var(--color-bg); }

.auth__card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}

.auth__form { display: flex; flex-direction: column; gap: 1.375rem; }

.auth__input-group { display: flex; flex-direction: column; gap: 0.45rem; }

.auth__label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}

.auth__input {
    width: 100%;
    padding: 0.8125rem 1.125rem;
    font-size: 1.125rem;
    font-family: 'Courier New', 'Consolas', monospace;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-text);
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    text-transform: uppercase;
}
.auth__input:focus {
    outline: none;
    background: var(--color-bg);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(245,158,11,.15);
}
.auth__input.is-error { border-color: var(--color-error); }
.auth__input.is-error:focus { box-shadow: 0 0 0 4px rgba(239,68,68,.12); }

.auth__hint { font-size: 0.8rem; color: var(--color-text-light); }

/* Loading */
.auth__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    color: var(--color-text-muted);
}
.spinner {
    width: 22px; height: 22px;
    border: 2.5px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.auth__result {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    padding: 1.375rem;
}
.auth__result--success {
    background: var(--color-success-light);
    border: 1.5px solid #6EE7B7;
}
.auth__result--error {
    background: var(--color-error-light);
    border: 1.5px solid #FCA5A5;
}

.result__status { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.625rem; }
.result__status--success { color: #059669; }
.result__status--error   { color: var(--color-error); }

.result__message { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 1rem; }

.auth__code-box {
    background: var(--color-bg);
    border: 2px solid #6EE7B7;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.auth__code {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.18em;
    color: var(--color-text);
}

.copy-feedback { font-size: 0.8125rem; color: var(--color-success); font-weight: 600; min-height: 1.2em; }

/* Auth Guide */
.auth__guide {
    max-width: 560px;
    margin: 2rem auto 0;
    background: var(--navy-100);
    border: 1px solid var(--navy-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
}
.guide__title {
    font-size: 0.9375rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    color: var(--navy-800);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.guide__title::before { content: '🛠️'; }
.guide__steps { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.guide__steps li { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.55; }
.guide__steps strong { color: var(--color-text); }

/* ── 8.5 인증 플로우 ────────────────────────────────────── */
.auth-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    max-width: 860px;
    margin: 0 auto 0;
}
.auth-flow__step {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
}
.auth-flow__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.auth-flow__num {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    width: 24px; height: 24px;
    background: var(--navy-800); color: #fff;
    font-size: 0.75rem; font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.auth-flow__title { font-size: 0.9375rem; font-weight: 800; color: var(--color-text); margin-bottom: 0.5rem; }
.auth-flow__desc  { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.55; }
.auth-flow__arrow {
    font-size: 1.5rem; color: var(--amber-500);
    display: flex; align-items: center; padding: 0 0.5rem; margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .auth-flow {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .auth-flow__arrow { display: none; }
}

/* ── 9. Footer ───────────────────────────────────────────── */
.footer {
    background: var(--navy-900);
    padding: 2.5rem 0;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}
.footer__center {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer__center a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color var(--transition);
}
.footer__center a:hover { color: var(--amber-400); }
.footer__brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.875rem;
}

.footer__mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.footer__logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
}
.footer__tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--amber-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer__right { display: flex; flex-direction: column; gap: 0.25rem; }
.footer__copyright { font-size: 0.8125rem; color: rgba(255,255,255,.40); }
.footer__contact { font-size: 0.8125rem; color: rgba(255,255,255,.40); }
.footer__contact a { color: var(--amber-400); }
.footer__contact a:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    .footer__brand  { align-items: flex-start; }
    .footer__center { flex-direction: column; gap: 0.5rem; justify-content: flex-start; }
}

/* ── 10. 풀버전 다운로드 모달 ───────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 20, 38, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    padding: 1rem;
}

.modal-box {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modal-in 0.2s ease;
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy-800);
    padding: 1rem 1.375rem;
}

.modal-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.6);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color var(--transition);
}
.modal-close:hover { color: #fff; }

.modal-body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.modal-product-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-800);
    background: var(--navy-100);
    border-radius: var(--radius);
    padding: 0.5rem 0.875rem;
}

.modal-notice {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}
.modal-notice strong { color: var(--color-text); }
.modal-notice a { color: var(--color-accent); }

.modal-confirm-btns {
    display: flex;
    gap: 0.625rem;
}
.modal-confirm-btns .btn { flex: 1; }

.modal-auth-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.modal-auth-btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.875rem;
}

/* ── 11. Accessibility ───────────────────────────────────── */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
