@font-face { font-family: 'Unbounded_700Bold'; src: url('fonts/Unbounded_700Bold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'InterTight_500Medium_Italic'; src: url('fonts/InterTight_500Medium_Italic.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'InterTight_400Regular'; src: url('fonts/InterTight_400Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'InterTight_500Medium'; src: url('fonts/InterTight_500Medium.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'InterTight_600SemiBold'; src: url('fonts/InterTight_600SemiBold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'InterTight_700Bold'; src: url('fonts/InterTight_700Bold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'JetBrainsMono_700Bold'; src: url('fonts/JetBrainsMono_700Bold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Ionicons'; src: url('fonts/Ionicons.ttf') format('truetype'); font-display: block; }

:root {
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --surface-alt: #EAEEF7;
  --ink: #0E1530;
  --ink-soft: #3C4566;
  --muted: #7D86A6;
  --line: #DCE2EF;
  --primary: #4B3BFF;
  --primary-deep: #3426D6;
  --primary-bright: #7A6CFF;
  --primary-soft: #ECEAFF;
  --on-primary: #FFFFFF;
  --accent: #B8EE1F;
  --accent-soft: #F1FCD2;
  --on-accent: #0E1530;
  --danger: #D93D42;
  --danger-soft: #FCE4E5;
  --success: #12935F;
  --success-soft: #DDF5EA;
  --dock: #0E1530;
  --on-dock: #EEF1FA;
  --hero-from: #0B1028;
  --hero-to: #2A1E8F;
  --shadow: #1A2350;
  --f-display: 'Unbounded_700Bold'; --f-italic: 'InterTight_500Medium_Italic'; --f-body: 'InterTight_400Regular'; --f-medium: 'InterTight_500Medium'; --f-semi: 'InterTight_600SemiBold'; --f-bold: 'InterTight_700Bold'; --f-mono: 'JetBrainsMono_700Bold';
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-btn: 8px; --r-chip: 999px;
  --strip: repeating-linear-gradient(90deg, #C6F432 0 10px, #0E1530 10px 20px, #4B3BFF 20px 30px, #0E1530 30px 40px);
  --hero-shade: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.88) 100%);
  --hero-accent: #C6F432;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #070B1A;
  --surface: #0F1530;
  --surface-alt: #161E3D;
  --ink: #EEF1FA;
  --ink-soft: #B6BEDB;
  --muted: #7C86AA;
  --line: #232C52;
  --primary: #9488FF;
  --primary-deep: #7465FF;
  --primary-bright: #B9B1FF;
  --primary-soft: #1D1B4E;
  --on-primary: #070B1A;
  --accent: #D4FF4A;
  --accent-soft: #232C0E;
  --on-accent: #070B1A;
  --danger: #FF7A7E;
  --danger-soft: #3A1214;
  --success: #5FE0A4;
  --success-soft: #0E2A1E;
  --dock: #0B1028;
  --on-dock: #EEF1FA;
  --hero-from: #04060F;
  --hero-to: #1D1B4E;
  --shadow: #000000;
  color-scheme: dark;
}
/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--f-body), system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.55; background: var(--bg); color: var(--ink); min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.ion { font-family: 'Ionicons'; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; speak: never; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: normal; line-height: 1.15; letter-spacing: var(--display-tracking, -0.01em); text-wrap: balance; }
.label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.soft { color: var(--ink-soft); }

/* ------------------------------------------------------------------ Sidebar */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; background: var(--dock); color: var(--on-dock); display: flex; flex-direction: column; z-index: 40; transition: transform 0.28s ease; }
.sidebar-head { padding: 22px 20px 16px; display: flex; flex-direction: column; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: var(--r-sm); object-fit: cover; }
.brand strong { display: block; font-family: var(--f-display); font-size: 19px; line-height: 1.1; }
.brand small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; margin-top: 3px; }
.user-card { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: var(--r-md); background: color-mix(in srgb, var(--on-dock) 8%, transparent); }
.user-card .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: color-mix(in srgb, var(--accent) 30%, transparent); }
.user-card strong { display: block; font-family: var(--f-bold); font-size: 14px; }
.user-card span { display: block; font-size: 12px; opacity: 0.7; }
.menu { flex: 1; overflow-y: auto; padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; }
.menu a { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: var(--r-sm); font-family: var(--f-semi); font-size: 14.5px; opacity: 0.82; transition: background 0.15s, opacity 0.15s; }
.menu a .ion { font-size: 19px; width: 22px; text-align: center; }
.menu a:hover { background: color-mix(in srgb, var(--on-dock) 8%, transparent); opacity: 1; }
.menu a.active { background: var(--accent); color: var(--on-accent); opacity: 1; }
.menu a .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--primary); color: var(--on-primary); font-family: var(--f-bold); font-size: 11.5px; display: grid; place-items: center; }
.menu a.active .count { background: var(--on-accent); color: var(--accent); }
.menu hr { border: 0; height: 1px; background: color-mix(in srgb, var(--on-dock) 14%, transparent); margin: 10px 8px; }
.sidebar-foot { padding: 16px 20px 20px; font-size: 11.5px; line-height: 1.5; opacity: 0.6; border-top: 1px solid color-mix(in srgb, var(--on-dock) 12%, transparent); }
.sidebar-foot strong { font-family: var(--f-bold); display: block; font-size: 12px; opacity: 1; }
.strip { height: 10px; background: var(--strip); }

/* ------------------------------------------------------------------ Top bar (phones and tablets) */
.topbar { display: none; position: sticky; top: 0; z-index: 30; height: 60px; align-items: center; gap: 8px; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h1 { flex: 1; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 21px; color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.icon-btn .badge { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-family: var(--f-bold); font-size: 11px; display: grid; place-items: center; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 35; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.scrim.on { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------------ Main */
.main { margin-left: 280px; min-height: 100vh; }
.view { max-width: 1120px; margin: 0 auto; padding: 32px 40px 72px; }
.desk-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.desk-bar .crumb { flex: 1; min-width: 0; }
.desk-bar .crumb h1 { font-size: 30px; }
.page-enter { animation: rise 0.32s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .sidebar { transform: translateX(-100%); box-shadow: 0 0 40px rgba(0, 0, 0, 0.3); }
  .sidebar.open { transform: none; }
  .topbar { display: flex; }
  .main { margin-left: 0; }
  .view { padding: 20px max(16px, env(safe-area-inset-left)) 64px max(16px, env(safe-area-inset-right)); }
  .desk-bar { display: none; }
}

/* ------------------------------------------------------------------ Building blocks */
.section { margin-top: 38px; }
.section-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.section-head > div { flex: 1; min-width: 0; }
.section-head .label { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--primary); }
.section-head .label::before { content: ''; width: 10px; height: 10px; background: var(--accent); border-radius: var(--marker-radius, 2px); }
.section-head h2 { font-size: 25px; }
.link { font-family: var(--f-bold); font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.pad { padding: 18px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g3, .g2.stack { grid-template-columns: minmax(0, 1fr); } .g4.tight { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-btn); font-family: var(--f-bold); font-size: 15px; background: var(--primary); color: var(--on-primary); transition: transform 0.12s, filter 0.15s; text-align: center; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn .ion { font-size: 18px; }
.btn.accent { background: var(--accent); color: var(--on-accent); }
.btn.outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn.ghost { background: var(--surface-alt); color: var(--ink); }
.btn.danger { background: transparent; color: var(--danger); border: 1.5px solid var(--danger); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.row { display: flex; align-items: center; gap: 12px; }
.wrap { flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: var(--r-chip); border: 1.5px solid var(--line); background: var(--surface); font-family: var(--f-semi); font-size: 14px; color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip.on::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-xs); background: var(--ink); color: var(--bg); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.tag.soft { background: var(--primary-soft); color: var(--primary); }
.tag.accent { background: var(--accent); color: var(--on-accent); }
.price-note { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-semi); font-size: 12.5px; color: var(--primary); }
.icon-tile { width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 22px; color: #fff; flex: none; }
.empty { text-align: center; padding: 48px 20px; }
.empty .icon-tile { margin: 0 auto 14px; width: 64px; height: 64px; font-size: 30px; }
.empty h3 { font-size: 22px; margin-bottom: 6px; }
.empty p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 18px; }

/* ------------------------------------------------------------------ Home */
.company-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.company-line::before, .company-line::after { content: ''; flex: 1; height: 8px; background: var(--strip); border-radius: 4px; opacity: 0.9; }
.company-line span { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
@media (max-width: 600px) { .company-line span { white-space: normal; text-align: center; letter-spacing: 0.14em; font-size: 12px; max-width: 78%; } .company-line::before, .company-line::after { min-width: 16px; } }
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--hero-from); color: #fff; min-height: 420px; display: flex; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--hero-shade); }
.hero-body { position: relative; z-index: 1; align-self: flex-end; padding: 34px; max-width: 620px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-xs); background: rgba(0, 0, 0, 0.45); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.hero .kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; }
.hero h2 em { font-style: normal; font-family: var(--f-italic); color: var(--hero-accent); display: block; }
.hero p { font-size: 16.5px; color: rgba(255, 255, 255, 0.9); margin: 14px 0 22px; max-width: 520px; }
.hero .strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.hero .btn.outline { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hello { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.hello .stat { padding: 14px 16px; }
@media (max-width: 600px) { .hello { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hello .stat:last-child { display: none; } .hello .stat strong { font-size: 16px; } }
.hello .stat strong { display: block; font-family: var(--f-display); font-size: 19px; }
.picker { display: flex; align-items: center; gap: 12px; padding: 14px; border-left: 4px solid var(--accent); transition: transform 0.15s, border-color 0.15s; text-align: left; width: 100%; }
.picker:hover { transform: translateY(-2px); border-color: var(--primary); }
.picker .ion { font-size: 22px; color: var(--primary); }
.picker strong { display: block; font-family: var(--f-bold); font-size: 14.5px; }
.picker span { display: block; font-size: 12.5px; color: var(--ink-soft); }
.cat { overflow: hidden; text-align: left; transition: transform 0.15s; width: 100%; }
.cat:hover { transform: translateY(-3px); }
.cat .band { height: 40px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; }
.cat .band .ion { font-size: 18px; }
.cat .body { padding: 14px; }
.cat h3 { font-size: 18px; }
.cat p { font-size: 13px; color: var(--ink-soft); margin: 4px 0 8px; min-height: 40px; }
.cat small { font-family: var(--f-bold); color: var(--primary); font-size: 12.5px; }
.steps { counter-reset: s; }
@media (max-width: 600px) { .grid.steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.step .num { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex: none; }
.step strong { display: block; font-family: var(--f-display); font-size: 17px; }
.step p { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.step:last-child { background: var(--dock); color: var(--on-dock); border-color: var(--dock); }
.step:last-child .num { background: var(--accent); color: var(--on-accent); }
.step:last-child p { color: color-mix(in srgb, var(--on-dock) 75%, transparent); }
.help { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--dock); color: var(--on-dock); border-color: var(--dock); }
.help .ion { font-size: 30px; color: var(--accent); }
.help div { flex: 1; }
.help strong { font-family: var(--f-display); font-size: 19px; display: block; }
.signoff { text-align: center; margin-top: 46px; }
.signoff p { font-family: var(--f-italic); font-size: 19px; }
.signoff small { color: var(--muted); }

/* ------------------------------------------------------------------ Item cards and detail */
.item-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; }
.item-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px var(--shadow); }
.item-card .pic { position: relative; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.item-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.item-card .pic .tag { position: absolute; left: 10px; top: 10px; }
.item-card .add { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5); }
.item-card .info { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item-card h3 { font-size: 18px; }
.item-card p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); }
.search:focus-within { border-color: var(--primary); }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; min-width: 0; }
.search .ion { font-size: 19px; color: var(--muted); }
select.sort { height: 50px; padding: 0 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); font-family: var(--f-semi); }
.result-count { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.detail .gallery { position: sticky; top: 24px; }
.detail .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.detail .thumbs { display: flex; gap: 8px; margin-top: 10px; }
.detail .thumbs button { width: 80px; aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; }
.detail .thumbs button.on { border-color: var(--accent); }
.detail .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: clamp(30px, 4vw, 40px); margin: 10px 0 4px; }
.detail .tagline { font-family: var(--f-italic); color: var(--primary); font-size: 17px; }
.detail .summary { color: var(--ink-soft); margin: 14px 0 18px; }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); gap: 18px; } .detail .gallery { position: static; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fact { padding: 12px; }
.fact .ion { font-size: 19px; color: var(--primary); }
.fact span { display: block; margin-top: 6px; }
.fact strong { display: block; font-family: var(--f-bold); font-size: 14px; }
@media (max-width: 480px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px; margin: 18px 0; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.price-box .ion { font-size: 22px; color: var(--primary); }
.price-box strong { font-family: var(--f-display); font-size: 17px; display: block; }
.price-box p { font-size: 13.5px; color: var(--ink-soft); }
.group { margin-top: 22px; }
.group h3 { font-size: 20px; margin: 4px 0 10px; }
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); text-align: left; width: 100%; transition: border-color 0.15s, background 0.15s; }
.option:hover { border-color: var(--primary); }
.option .box { width: 22px; height: 22px; border-radius: var(--box-radius, 6px); border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.option.on { border-color: var(--primary); background: var(--primary-soft); }
.option.on .box { background: var(--primary); border-color: var(--primary); }
.option.on .box::after { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--on-primary); }
.option div { flex: 1; min-width: 0; }
.option strong { display: block; font-family: var(--f-semi); font-size: 14.5px; }
.option span { display: block; font-size: 12.5px; color: var(--ink-soft); }
.option > .ion { font-size: 19px; color: var(--primary); }
.qty { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); }
.qty button { width: 38px; height: 38px; border-radius: calc(var(--r-sm) - 2px); display: grid; place-items: center; font-size: 19px; background: var(--surface-alt); }
.qty button:last-child { background: var(--primary); color: var(--on-primary); }
.qty b { min-width: 40px; text-align: center; font-family: var(--f-display); font-size: 19px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.ticks li .ion { color: var(--success); font-size: 18px; margin-top: 2px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 15px 2px; font-family: var(--f-bold); font-size: 15px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .ion { margin-left: auto; transition: transform 0.2s; color: var(--primary); }
details.faq[open] summary .ion { transform: rotate(45deg); }
details.faq p { padding: 0 2px 16px; color: var(--ink-soft); font-size: 14.5px; }
.sticky-cta { position: sticky; bottom: 0; margin-top: 24px; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 30%); display: flex; gap: 12px; align-items: center; }
.sticky-cta .sum { flex: none; }
.sticky-cta .btn { flex: 1; }

/* ------------------------------------------------------------------ List, checkout and request */
.line { display: flex; gap: 14px; padding: 14px; align-items: flex-start; }
.line img { width: 92px; height: 72px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.line .txt { flex: 1; min-width: 0; }
.line h3 { font-size: 17px; }
.line p { font-size: 13.5px; color: var(--ink-soft); }
.line .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.sum-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-rows > div:last-child { border-bottom: 0; }
.sum-rows b { font-family: var(--f-bold); text-align: right; }
.stepper { display: flex; gap: 0; margin-bottom: 26px; }
.stepper div { flex: 1; text-align: center; position: relative; font-family: var(--f-semi); font-size: 13px; color: var(--muted); }
.stepper div::before { content: attr(data-n); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; border-radius: var(--step-radius, 50%); border: 2px solid var(--line); background: var(--surface); font-family: var(--f-display); font-size: 15px; position: relative; z-index: 1; }
.stepper div::after { content: ''; position: absolute; top: 16px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.stepper div:last-child::after { display: none; }
.stepper .done, .stepper .now { color: var(--ink); }
.stepper .done::before { content: '✓'; background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.stepper .now::before { background: var(--dock); border-color: var(--dock); color: var(--accent); }
.stepper .done::after { background: var(--primary); }
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; margin-bottom: 8px; }
.input { display: flex; align-items: flex-start; gap: 10px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); }
.input:focus-within { border-color: var(--primary); }
.input .ion { font-size: 18px; color: var(--muted); margin-top: 15px; }
.input input, .input textarea { flex: 1; border: 0; outline: 0; background: none; padding: 13px 0; font-size: 15px; min-width: 0; resize: vertical; }
.input textarea { min-height: 84px; }
.field.bad .input { border-color: var(--danger); }
.err { color: var(--danger); font-family: var(--f-semi); font-size: 13px; margin-top: 7px; display: flex; gap: 6px; align-items: center; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; width: 66px; padding: 10px 0; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); text-align: center; }
.day small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); }
.day b { display: block; font-family: var(--f-display); font-size: 22px; line-height: 1.2; }
.day span { font-size: 11.5px; color: var(--ink-soft); }
.day.on { background: var(--dock); border-color: var(--dock); color: var(--on-dock); }
.day.on small { color: var(--accent); }
.day.on span { color: color-mix(in srgb, var(--on-dock) 70%, transparent); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.slot { padding: 10px 6px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); text-align: center; }
.slot strong { display: block; font-family: var(--f-bold); font-size: 14px; }
.slot span { font-size: 11.5px; color: var(--ink-soft); }
.slot.on { border-color: var(--primary); background: var(--primary-soft); }
.switch { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
.switch div { flex: 1; }
.switch strong { display: block; font-family: var(--f-bold); font-size: 14.5px; }
.switch span { font-size: 12.5px; color: var(--ink-soft); }
.switch input { appearance: none; width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; cursor: pointer; transition: background 0.2s; flex: none; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(20px); }
.review h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review h3 .label { flex: 1; }
.kv > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv small { display: block; font-size: 12px; color: var(--muted); font-family: var(--f-semi); }
.kv b { display: block; font-family: var(--f-semi); font-weight: normal; font-size: 14.5px; white-space: pre-wrap; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { appearance: none; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--line); flex: none; margin-top: 1px; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: '✓'; color: var(--on-primary); font-size: 15px; font-weight: 700; }
.done-head { text-align: center; padding: 34px 20px 28px; background: var(--dock); color: var(--on-dock); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.done-head .tick { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 38px; background: var(--accent); color: var(--on-accent); animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done-head .ref { font-family: var(--f-display); font-size: clamp(24px, 4vw, 34px); letter-spacing: 0.02em; margin: 6px 0; }
.done-head p { color: color-mix(in srgb, var(--on-dock) 80%, transparent); max-width: 460px; margin: 0 auto; }
.done-head .strip { position: absolute; left: 0; right: 0; bottom: 0; }
.next-steps li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.next-steps li:last-child { border-bottom: 0; }
.next-steps .ion { font-size: 20px; color: var(--primary); margin-top: 2px; }
.next-steps strong { display: block; font-family: var(--f-bold); }
.next-steps span { font-size: 13.5px; color: var(--ink-soft); }
.req { display: flex; align-items: center; gap: 14px; padding: 16px; transition: transform 0.15s; }
.req:hover { transform: translateX(3px); }
.req div { flex: 1; min-width: 0; }
.req strong { display: block; font-family: var(--f-display); font-size: 18px; }
.req span { font-size: 13px; color: var(--ink-soft); }

/* ------------------------------------------------------------------ Blog, contact, settings */
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s; }
.post-card:hover { transform: translateY(-3px); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card div { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card h3 { font-size: 19px; }
.post-card p { font-size: 13.5px; color: var(--ink-soft); }
.article { max-width: 760px; }
.article .cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 22px; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 10px 0 12px; }
.article .lede { font-size: 18px; color: var(--ink-soft); margin-bottom: 8px; }
.article h2 { font-size: 24px; margin: 28px 0 8px; }
.article p { font-size: 16.5px; line-height: 1.7; }
.checklist { margin-top: 28px; padding: 20px; }
.contact-hero { padding: 26px; background: var(--dock); color: var(--on-dock); border-color: var(--dock); }
.contact-hero h2 { font-size: 28px; margin: 6px 0 8px; }
.contact-hero p { color: color-mix(in srgb, var(--on-dock) 78%, transparent); max-width: 540px; }
.mailbox { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 18px 0 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--on-dock) 9%, transparent); }
.mailbox div { flex: 1; min-width: 0; }
.mailbox b { display: block; font-family: var(--f-bold); font-size: 16px; overflow-wrap: anywhere; user-select: all; }
.hours > div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: var(--r-xs); font-size: 14.5px; }
.hours > div.today { background: var(--primary-soft); font-family: var(--f-bold); }
.open-state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-bold); font-size: 14px; }
.open-state::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--danger); }
.open-state.open::before { background: var(--success); }
.emoji-row { display: flex; flex-wrap: wrap; gap: 8px; }
.emoji-row button { width: 50px; height: 50px; border-radius: var(--r-sm); border: 2px solid var(--line); font-size: 25px; background: var(--surface); }
.emoji-row button.on { border-color: var(--primary); background: var(--primary-soft); }
.theme-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-pick button { padding: 12px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface); text-align: left; }
.theme-pick button.on { border-color: var(--primary); }
.theme-pick .sw { height: 46px; border-radius: var(--r-sm); margin-bottom: 8px; border: 1px solid var(--line); }
.theme-pick strong { font-family: var(--f-bold); font-size: 14px; display: block; }
.theme-pick span { font-size: 12px; color: var(--muted); }
.link-row { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.link-row:last-child { border-bottom: 0; }
.link-row .ion:first-child { font-size: 20px; color: var(--primary); }
.link-row div { flex: 1; }
.link-row strong { display: block; font-family: var(--f-bold); font-size: 14.5px; }
.link-row span { font-size: 12.5px; color: var(--muted); }
.link-row.danger strong, .link-row.danger .ion:first-child { color: var(--danger); }
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 6px; }

/* ------------------------------------------------------------------ Onboarding, modal, toast */
.onboard { position: fixed; inset: 0; z-index: 60; background: var(--dock); color: var(--on-dock); display: flex; align-items: center; justify-content: center; padding: 24px; }
.onboard .panel { width: min(560px, 100%); text-align: left; }
.onboard .top { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.onboard .top img { width: 44px; height: 44px; border-radius: var(--r-sm); }
.onboard .top strong { flex: 1; font-family: var(--f-display); font-size: 19px; }
.onboard .top button { padding: 8px 14px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--on-dock) 30%, transparent); font-family: var(--f-semi); font-size: 13px; }
.onboard .art { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 26px; position: relative; }
.onboard .art img { width: 100%; height: 100%; object-fit: cover; }
.onboard .art .strip { position: absolute; left: 0; right: 0; bottom: 0; }
.onboard .num { font-family: var(--f-display); font-size: 40px; color: var(--accent); line-height: 1; }
.onboard .kick { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; margin: 10px 0 6px; }
.onboard h2 { font-size: clamp(28px, 4vw, 36px); }
.onboard p { opacity: 0.82; margin: 10px 0 28px; font-size: 16px; }
.onboard .bar { display: flex; align-items: center; gap: 14px; }
.onboard .dots { flex: 1; display: flex; gap: 6px; }
.onboard .dots i { width: 22px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--on-dock) 25%, transparent); }
.onboard .dots i.on { width: 40px; background: var(--accent); }
.onboard .slide { animation: rise 0.35s ease both; }
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal .sheet { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg); border-radius: var(--r-lg); padding: 24px; animation: rise 0.25s ease both; }
.modal .sheet h2 { font-size: 24px; margin-bottom: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--bg); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); transition: transform 0.25s, opacity 0.25s; font-family: var(--f-semi); font-size: 14px; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ion { color: var(--accent); font-size: 19px; }
.toast button { font-family: var(--f-bold); color: var(--accent); padding: 6px 8px; }
@media (min-width: 1024px) { .toast { left: calc(50% + 140px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .sidebar, .topbar, .toast { display: none !important; } .main { margin: 0; } }

.size-row .input input { min-width: 0; width: 100%; }

/* ------------------------------------------------------------------ Kinesat Orbit */
.section-head .label::before { border-radius: 50%; background: #C6F432; box-shadow: 0 0 10px #C6F432; }
