:root {
  --ink-0: oklch(0.145 0.012 250);
  --ink-1: oklch(0.185 0.014 250);
  --ink-2: oklch(0.235 0.016 250);
  --paper: oklch(0.96 0.008 220);
  --muted: oklch(0.72 0.018 240);
  --faint: oklch(0.57 0.018 240);
  --cyan: oklch(0.86 0.13 210);
  --coral: oklch(0.75 0.15 35);
  --line: oklch(0.34 0.02 245 / .72);
  --bg: var(--ink-0);
  --surface: var(--ink-1);
  --surface-raised: var(--ink-2);
  --text: var(--paper);
  --text-secondary: var(--muted);
  --accent: var(--cyan);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 13px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100dvh; color: var(--text); background: var(--bg); font: 16px/1.55 "Manrope", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ambient { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 90% 0%, oklch(0.45 0.09 210 / .12), transparent 30rem); }
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; min-height: 76px; margin: auto; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; background: none; font-family: "Unbounded", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid oklch(0.86 0.13 210 / .45); border-radius: 11px; color: var(--accent); background: oklch(0.86 0.13 210 / .08); }
.brand-dot { color: var(--accent); }
.online { display: flex; align-items: center; gap: 7px; color: var(--text-secondary); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.app-shell { position: relative; z-index: 1; max-width: 1180px; min-height: calc(100dvh - 76px); margin: auto; padding: 22px 18px 124px; }
.bottom-nav { position: fixed; z-index: 20; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 430px; min-height: 68px; margin: auto; padding: 7px; border: 1px solid var(--line); border-radius: 22px; background: oklch(0.19 0.014 250 / .94); box-shadow: 0 18px 50px oklch(0.05 0.01 250 / .6); backdrop-filter: blur(20px); }
.nav-button { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 7px; border-radius: 16px; color: var(--text-secondary); background: transparent; font-size: 12px; font-weight: 700; transition: color .2s, background .2s, transform .2s; }
.nav-button svg { width: 19px; }
.nav-button.active { color: var(--ink-0); background: var(--accent); }
.nav-button:active { transform: scale(.96); }
.hero { position: relative; display: grid; min-height: 400px; overflow: hidden; grid-template-columns: 1.35fr .85fr; align-items: center; gap: 24px; padding: 42px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(125deg, oklch(0.23 0.03 230), oklch(0.17 0.02 250)); }
.hero::after { position: absolute; right: -70px; bottom: -140px; width: 330px; height: 330px; border: 1px solid oklch(0.86 0.13 210 / .25); border-radius: 50%; content: ""; box-shadow: 0 0 0 45px oklch(0.86 0.13 210 / .035), 0 0 0 90px oklch(0.86 0.13 210 / .025); }
.eyebrow { margin-bottom: 13px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 650px; font-family: "Unbounded", sans-serif; font-size: clamp(32px, 5vw, 62px); line-height: 1.06; letter-spacing: -.055em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 520px; margin: 20px 0 26px; color: var(--text-secondary); font-size: 16px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: var(--text-secondary); font-size: 12px; }
.hero-stats b { display: block; color: var(--text); font-size: 20px; }
.hero-art { position: relative; z-index: 1; display: grid; gap: 12px; transform: rotate(-4deg); }
.art-tile { display: flex; min-height: 84px; align-items: center; gap: 14px; padding: 18px; border: 1px solid oklch(0.9 0.03 220 / .18); border-radius: 20px; background: oklch(0.25 0.035 220 / .76); box-shadow: 0 20px 45px oklch(0.08 0.02 250 / .28); backdrop-filter: blur(8px); }
.art-tile:nth-child(2) { transform: translateX(-28px); background: oklch(0.28 0.055 35 / .7); }
.art-tile:nth-child(3) { transform: translateX(14px); }
.art-symbol { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 14px; color: var(--ink-0); background: var(--accent); font-family: "Unbounded", sans-serif; font-size: 17px; }
.art-tile:nth-child(2) .art-symbol { background: var(--coral); }
.art-tile b { display: block; font-size: 14px; }
.art-tile small { color: var(--text-secondary); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 16px; }
.section-head h2, .page-title { font-family: "Unbounded", sans-serif; font-size: clamp(22px, 4vw, 32px); line-height: 1.2; letter-spacing: -.045em; }
.section-head p { color: var(--text-secondary); font-size: 13px; }
.search-box { position: relative; margin-top: 24px; }
.search-box svg { position: absolute; top: 18px; left: 18px; width: 20px; color: var(--text-secondary); }
.search-box input { width: 100%; min-height: 56px; padding: 14px 18px 14px 50px; border: 1px solid var(--line); border-radius: 17px; outline: 0; color: var(--text); background: var(--surface); }
.search-box input:focus { border-color: var(--accent); }
.search-box input::placeholder { color: var(--faint); }
.chips { display: flex; gap: 8px; margin: 14px 0 4px; padding: 0 0 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { min-height: 44px; flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--text-secondary); background: transparent; font-size: 13px; font-weight: 700; transition: .2s; }
.chip.active { border-color: var(--accent); color: var(--ink-0); background: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { --card-accent: var(--accent); position: relative; min-height: 250px; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: left; background: var(--surface); transition: transform .22s, border-color .22s; }
.product-card::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 100% 0%, var(--card-glow, oklch(0.65 0.12 210 / .28)), transparent 68%); }
.product-card::after { position: absolute; top: -45px; right: -35px; width: 155px; height: 155px; border: 1px solid var(--card-accent); border-radius: 42px; content: ""; opacity: .15; transform: rotate(32deg); }
.product-card:hover { border-color: var(--card-accent); transform: translateY(-3px); }
.product-card:active { transform: scale(.985); }
.product-top, .product-bottom { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.product-logo { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid oklch(0.95 0.02 220 / .18); border-radius: 15px; color: var(--card-accent); background: oklch(0.14 0.015 250 / .6); font-family: "Unbounded", sans-serif; font-size: 18px; }
.product-badge { padding: 5px 8px; border-radius: 8px; color: var(--card-accent); background: oklch(0.14 0.015 250 / .55); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.product-content { position: relative; z-index: 1; margin-top: 26px; }
.product-content h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.product-content p { min-height: 44px; margin-top: 7px; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.product-bottom { align-items: end; margin-top: 20px; }
.product-price small { display: block; color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.product-price b { color: var(--card-accent); font-size: 20px; }
.product-plans { color: var(--text-secondary); font-size: 11px; }
.empty-state { padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); text-align: center; color: var(--text-secondary); }
.empty-state svg { width: 40px; margin: 0 auto 14px; color: var(--accent); }
.empty-state h2 { margin-bottom: 8px; color: var(--text); }
.back-button { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 0; color: var(--text-secondary); background: none; font-weight: 700; }
.back-button svg { width: 19px; }
.product-hero { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.product-hero img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.product-hero-copy { padding: 24px; }
.product-hero-copy p { margin-top: 10px; color: var(--text-secondary); }
.plan-list { display: grid; gap: 12px; }
.plan-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); text-align: left; background: var(--surface); transition: .2s; }
.plan-card:hover, .plan-card.selected { border-color: var(--accent); background: oklch(0.86 0.13 210 / .055); }
.plan-card h3 { font-size: 17px; }
.plan-card p { margin-top: 6px; color: var(--text-secondary); font-size: 12px; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.mini-tag { padding: 4px 8px; border-radius: 7px; color: var(--text-secondary); background: var(--surface-raised); font-size: 10px; }
.mini-tag.hot { color: var(--accent); }
.plan-price { white-space: nowrap; font-size: 21px; font-weight: 800; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.guide-item { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.guide-item b { display: block; margin-bottom: 6px; font-size: 12px; }
.guide-item p { color: var(--text-secondary); font-size: 12px; }
.notice { display: flex; gap: 12px; margin-top: 14px; padding: 15px; border: 1px solid oklch(0.86 0.13 210 / .25); border-radius: var(--radius-sm); color: var(--text-secondary); background: oklch(0.86 0.13 210 / .045); font-size: 12px; }
.notice svg { width: 20px; flex: 0 0 20px; color: var(--accent); }
.checkout-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 18px; }
.checkout-main, .checkout-side, .payment-card, .status-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.checkout-side { position: sticky; top: 18px; }
.checkout-main h2, .checkout-side h2, .payment-card h2 { margin-bottom: 16px; font-size: 18px; }
.order-line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-line span { color: var(--text-secondary); font-size: 13px; }
.order-line b { text-align: right; font-size: 13px; }
.order-line.total { border: 0; font-size: 20px; }
.fulfillment-options { display: grid; gap: 10px; }
.fulfillment-card { display: flex; min-height: 88px; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; background: var(--ink-0); }
.fulfillment-card.selected { border-color: var(--accent); }
.fulfillment-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; color: var(--accent); background: oklch(0.86 0.13 210 / .08); }
.fulfillment-icon svg { width: 21px; }
.fulfillment-card b { display: block; font-size: 14px; }
.fulfillment-card p { margin-top: 3px; color: var(--text-secondary); font-size: 11px; }
.primary-button, .secondary-button { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; padding: 14px 18px; border-radius: 15px; font-weight: 800; transition: transform .2s, opacity .2s; }
.primary-button { color: var(--ink-0); background: var(--accent); }
.secondary-button { border: 1px solid var(--line); color: var(--text); background: var(--surface-raised); }
.primary-button:active, .secondary-button:active { transform: scale(.98); }
.primary-button svg, .secondary-button svg { width: 19px; }
.button-note { margin-top: 10px; color: var(--faint); font-size: 11px; text-align: center; }
.payment-card { max-width: 680px; margin: auto; text-align: center; }
.payment-kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.payment-card h1 { margin: 10px 0; font-family: "Unbounded", sans-serif; font-size: 26px; letter-spacing: -.04em; }
.payment-subtitle { color: var(--text-secondary); }
.qr-frame { width: min(100%, 310px); margin: 24px auto 16px; padding: 14px; border-radius: 24px; background: oklch(0.97 0.005 220); }
.qr-frame img { width: 100%; border-radius: 12px; }
.payment-amount { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.payment-order { margin-top: 4px; color: var(--text-secondary); font-size: 13px; }
.payment-part { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.payment-part:first-of-type { border-top: 0; }
.payment-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.payment-actions .primary-button, .payment-actions .secondary-button { margin-top: 0; }
.timeline { display: grid; gap: 0; max-width: 680px; margin: 16px auto 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.timeline-step { position: relative; display: flex; gap: 13px; min-height: 60px; color: var(--faint); font-size: 13px; }
.timeline-step::before { position: absolute; top: 22px; left: 9px; width: 1px; height: 38px; background: var(--line); content: ""; }
.timeline-step:last-child::before { display: none; }
.step-dot { position: relative; z-index: 1; width: 19px; height: 19px; flex: 0 0 19px; border: 2px solid var(--faint); border-radius: 50%; background: var(--surface); }
.timeline-step.done, .timeline-step.current { color: var(--text); }
.timeline-step.done .step-dot { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.timeline-step.current .step-dot { border-color: var(--accent); box-shadow: 0 0 0 4px oklch(0.86 0.13 210 / .1); }
.timeline-step b { display: block; }
.timeline-step small { color: var(--text-secondary); }
.orders-list { display: grid; gap: 12px; margin-top: 22px; }
.order-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); text-align: left; background: var(--surface); }
.order-card:hover { border-color: var(--accent); }
.order-card h3 { font-size: 15px; }
.order-card p { margin-top: 5px; color: var(--text-secondary); font-size: 12px; }
.order-card-price { text-align: right; }
.order-card-price b { display: block; font-size: 18px; }
.status-pill { display: inline-flex; margin-top: 10px; padding: 5px 9px; border-radius: 8px; color: var(--accent); background: oklch(0.86 0.13 210 / .07); font-size: 10px; font-weight: 800; }
.faq-list { display: grid; gap: 10px; margin-top: 22px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq-list summary { min-height: 58px; padding: 17px; cursor: pointer; font-weight: 700; }
.faq-list details p { padding: 0 17px 17px; color: var(--text-secondary); font-size: 13px; }
.support-card { margin-top: 16px; padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(125deg, oklch(0.27 0.05 210), oklch(0.2 0.025 250)); }
.support-card h2 { font-family: "Unbounded", sans-serif; font-size: 20px; }
.support-card p { margin-top: 8px; color: var(--text-secondary); }
.toast { position: fixed; z-index: 40; top: 16px; left: 50%; max-width: calc(100% - 32px); padding: 13px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--surface-raised); box-shadow: 0 12px 40px oklch(0.05 0.01 250 / .5); opacity: 0; pointer-events: none; transform: translate(-50%, -12px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading-screen, .error-screen { display: grid; min-height: 55dvh; place-items: center; align-content: center; gap: 16px; color: var(--text-secondary); text-align: center; }
.loader { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.error-screen svg { width: 42px; color: var(--coral); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 28px 24px; }
  .hero-art { display: none; }
  .hero h1 { font-size: 34px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { min-height: 238px; padding: 16px; border-radius: 21px; }
  .product-content h3 { font-size: 16px; }
  .product-content p { min-height: 58px; font-size: 12px; }
  .product-plans { display: none; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
}
@media (max-width: 390px) {
  .app-shell { padding-right: 14px; padding-left: 14px; }
  .topbar { padding-right: 14px; padding-left: 14px; }
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 29px; }
  .product-card { min-height: 246px; padding: 14px; }
  .product-logo { width: 42px; height: 42px; }
  .product-badge { font-size: 8px; }
  .product-price b { font-size: 17px; }
  .guide-grid { grid-template-columns: 1fr; }
  .checkout-main, .checkout-side, .payment-card, .status-card { padding: 19px; }
  .payment-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
