@font-face {
  font-family: "Ember Sans";
  src: url("/assets/ember-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ember Sans";
  src: url("/assets/ember-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--space-3)); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 19px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--ember-bright); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.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; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }
.ambient { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: 0.18; }
.ambient-one { width: 320px; height: 320px; background: var(--ember); top: 10vh; right: -190px; }
.ambient-two { width: 220px; height: 220px; background: var(--danger); bottom: 10vh; left: -180px; opacity: 0.07; }

.app-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background: var(--surface-glass);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); border: 0; padding: 0; background: transparent; cursor: pointer; }
.brand-mark { width: 38px; height: 38px; border-radius: 13px; background: var(--ember-wash); border: 1px solid var(--ember-line); display: grid; place-items: center; transform: rotate(45deg); box-shadow: 0 0 28px var(--ember-wash); }
.brand-mark span { width: 13px; height: 13px; border-radius: 4px; background: var(--ember); box-shadow: 10px 10px 0 var(--ember-bright); }
.brand-copy { display: grid; text-align: left; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 25px; letter-spacing: 0.03em; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav-link { min-height: 44px; padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid transparent; background: transparent; color: var(--ink-soft); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: 180ms var(--ease); }
.header-nav-link:hover { color: var(--ink); background: var(--surface-raised); border-color: var(--line); }
.header-nav-link.is-active { color: var(--ember-bright); background: var(--ember-wash); border-color: var(--ember-line); font-weight: 700; }
.demo-badge { min-height: 26px; padding: 5px 9px; border-radius: var(--radius-pill); background: var(--ember-wash); border: 1px solid var(--ember-line); color: var(--ember-bright); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-credit-chip { display: none; }
.cart-chip { min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-raised); padding: 8px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: var(--shadow-one); color: var(--ink); }
.cart-chip span { color: var(--ink-muted); font-size: 14px; }
.cart-chip strong { font-size: 16px; color: var(--ember-bright); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-wash); }

main { min-height: calc(100vh - var(--header-height)); padding-top: var(--space-4); padding-bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom) + var(--space-7)); }
.view { display: none; animation: view-in 420ms var(--ease) both; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
.trust-strip { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); color: var(--ink-soft); font-size: 12px; margin-bottom: var(--space-3); }
.trust-strip p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--success); font-size: 10px; letter-spacing: 0.07em; }

.hero-card { position: relative; min-height: 348px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr); border: 1px solid var(--ember-line); border-radius: var(--radius-sheet); background: linear-gradient(135deg, var(--surface-raised), var(--ground-deep)); box-shadow: var(--shadow-two); }
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, var(--ember-wash), transparent 55%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding: clamp(28px, 5vw, 58px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ember-bright); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ember); }
.hero-copy h1 { margin: 14px 0 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.035em; max-width: 13ch; }
.hero-copy h1 span { color: var(--ember-bright); }
.hero-copy p { max-width: 54ch; margin: 0 0 var(--space-5); color: var(--ink-soft); }
.primary-button { min-height: 48px; border: 0; border-radius: var(--radius-pill); padding: 10px 11px 10px 20px; background: var(--ember); color: var(--ground-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 16px; cursor: pointer; transition: transform 220ms var(--ease), background 220ms var(--ease); }
.primary-button span { width: 28px; height: 28px; border-radius: 50%; background: var(--ground-deep); color: var(--ink); display: grid; place-items: center; }
.primary-button:hover { background: var(--ember-bright); transform: translateY(-2px); }
.hero-visual { position: relative; min-height: 300px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: var(--ember); filter: blur(70px); opacity: 0.22; z-index: -1; }
.orbital-ring { position: absolute; border: 1px solid var(--ember-line); border-radius: 50%; }
.ring-one { width: 260px; height: 260px; }
.ring-two { width: 190px; height: 190px; border-color: var(--line-strong); }
.hero-device { width: 128px; aspect-ratio: 0.74; border-radius: 26px; border: 1px solid var(--ember-line); background: linear-gradient(150deg, var(--surface-raised), var(--ground-deep)); box-shadow: var(--shadow-two); display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(4deg); }
.hero-device strong { font-size: 32px; color: var(--ember-bright); }
.hero-device small, .device-label { font-size: 8px; letter-spacing: 0.18em; color: var(--ink-muted); }
.device-label { color: var(--success); margin-bottom: 18px; }
.floating-card { position: absolute; width: 60px; height: 60px; border-radius: var(--radius-media); display: grid; place-items: center; background: var(--surface-glass); border: 1px solid var(--line-strong); box-shadow: var(--shadow-one); color: var(--ink); font-size: 13px; font-weight: 700; backdrop-filter: blur(10px); }
.card-a { top: 18%; left: 12%; transform: rotate(-9deg); }
.card-b { top: 23%; right: 10%; transform: rotate(8deg); }
.card-c { bottom: 14%; right: 15%; transform: rotate(-4deg); }
.hero-banner { width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(46, 214, 204, 0.34); border-radius: var(--radius-sheet); background: #eafdfd; box-shadow: 0 22px 60px rgba(5, 2, 6, 0.38); cursor: pointer; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.hero-banner:hover { transform: translateY(-2px); box-shadow: 0 26px 66px rgba(5, 2, 6, 0.48); }
.hero-banner picture, .hero-banner img { width: 100%; }

.recent-sales, .catalog, .faq, .reviews { margin-top: var(--space-6); }
.review-rail { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-rail::-webkit-scrollbar { display: none; }
.testimonial-card { flex: 0 0 100%; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius-media); background: var(--surface); padding: var(--space-5); }
.review-dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-4); }
.review-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--line); cursor: pointer; transition: 220ms var(--ease); }
.review-dots button.is-active { width: 20px; background: var(--ember); }
.testimonial-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.testimonial-card__text { margin: 0 0 var(--space-3); font-size: 14px; line-height: 1.6; }
.testimonial-card small { color: var(--ink-muted); font-size: 12px; }
.star-row { color: #ffc247; letter-spacing: 2px; }
.verified-chip { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--ember-wash); border: 1px solid var(--ember-line); color: var(--ember-bright); font-size: 10px; font-weight: 700; }
.review-form { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-3); }
.review-form__title { font-size: 13px; }
.review-form textarea { border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--ground); color: var(--ink); padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; }
.review-form button { min-height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--ember); color: var(--ground-deep); font-weight: 700; cursor: pointer; }
.review-form button:disabled { opacity: 0.45; cursor: not-allowed; }
.star-input { display: flex; gap: 4px; }
.star-option input { position: absolute; opacity: 0; pointer-events: none; }
.star-option span { font-size: 26px; color: var(--line); cursor: pointer; line-height: 1; }
.star-option:has(input:checked) span, .star-option:has(~ .star-option input:checked) span { color: #ffc247; }
.review-done { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ember-bright); font-size: 13px; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-media); background: var(--surface); padding: var(--space-4); }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--ember-bright); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: var(--space-3) 0 0; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.section-title h2, .page-heading h1, .page-heading h2 { margin: 8px 0 0; font-size: clamp(26px, 4.5vw, 36px); letter-spacing: -0.02em; }
.section-title p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.section-title p strong { color: var(--ink); }
.compact-title { align-items: center; }
.compact-title h2 { font-size: clamp(22px, 3.8vw, 28px); font-weight: 800; }
.swipe-label { color: var(--ink-muted); font-size: 10px; }
.sales-rail { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1px 18% 8px 1px; mask-image: linear-gradient(to right, var(--ground) 88%, transparent); }
.sales-rail::-webkit-scrollbar { display: none; }
.sale-card { flex: 0 0 min(330px, 78vw); scroll-snap-align: start; padding: 12px; border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: var(--space-3); }
.sale-card img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.sale-card strong, .sale-card small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-card strong { font-size: 12px; }
.sale-card small { color: var(--ink-muted); font-size: 10px; }

.filter-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-bottom: var(--space-4); padding-bottom: 4px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; min-height: 48px; padding: 0 22px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-soft); font-size: 16px; font-weight: 600; cursor: pointer; transition: 180ms var(--ease); }
.filter-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-chip.is-active { border-color: var(--ember-line); background: var(--ember-wash); color: var(--ember-bright); font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.product-card { --accent: var(--ember-bright); position: relative; min-width: 0; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-media); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-one); cursor: pointer; text-align: left; transition: transform 240ms var(--ease), border-color 240ms var(--ease); }
.product-card:hover, .product-card:focus-visible { transform: translateY(-4px); border-color: var(--accent); }
.product-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.product-card__head h3 { margin: 0; font-size: 26px; line-height: 1.3; color: var(--accent); }
.variant-count-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; flex: 0 0 auto; }
.accent-bar { height: 2px; margin: 10px 0; border-radius: var(--radius-pill); background: var(--accent); }
.accent-bar--thin { margin: var(--space-3) 0; opacity: 0.55; }
.product-card__media { position: relative; aspect-ratio: 1.4; overflow: hidden; border-radius: var(--radius-control); background: var(--ground-deep); display: grid; place-items: center; }
.product-card__media img { width: 78%; height: 78%; object-fit: contain; }
.product-card__tag { margin: var(--space-3) 0 0; color: var(--ink-soft); font-size: 18px; text-align: center; }
.product-card__details { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 6px; }
.product-card__details li { display: flex; align-items: flex-start; gap: 6px; color: var(--ink-soft); font-size: 16px; line-height: 1.4; }
.product-card__details span { color: var(--accent); flex: 0 0 auto; }
.price-block { text-align: center; }
.price-line { margin: 4px 0; font-size: 15px; color: var(--ink-muted); }
.price-line strong { color: var(--ember-bright); font-size: 26px; font-weight: 800; }
.price-line--compare { color: var(--ink-muted); font-size: 14px; }
.price-line--compare del { color: var(--ink-muted); }
.price-line--saving { color: var(--ink-muted); font-weight: 600; font-size: 12px; }
.stat-row { display: flex; justify-content: space-between; margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 15px; }
.empty-state { grid-column: 1 / -1; padding: var(--space-7) var(--space-5); border: 1px dashed var(--line-strong); border-radius: var(--radius-media); text-align: center; color: var(--ink-muted); }

.page-heading { padding: var(--space-5) 0; }
.search-box { display: flex; align-items: center; gap: var(--space-3); min-height: 54px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--surface); margin-bottom: var(--space-5); }
.search-box span { color: var(--ember-bright); font-size: 24px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: var(--ink-muted); }
.auth-box { max-width: 420px; margin: 0 auto; padding: var(--space-5); border: 1px solid var(--ember-line); border-radius: var(--radius-sheet); background: var(--surface); }
.auth-tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.auth-tabs button { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink-soft); cursor: pointer; }
.auth-tabs button.is-active { border-color: var(--ember-line); background: var(--ember-wash); color: var(--ember-bright); }
.auth-form { display: grid; gap: var(--space-3); }
.auth-form input { min-height: 50px; padding: 0 16px; border-radius: var(--radius-control); border: 1px solid var(--line-strong); background: var(--ground-deep); color: var(--ink); font-size: 16px; }
.auth-form button { min-height: 50px; border: 0; border-radius: var(--radius-pill); background: var(--ember); color: var(--ground-deep); font-weight: 700; cursor: pointer; }
.auth-note { margin: var(--space-4) 0 0; color: var(--ink-muted); font-size: 13px; text-align: center; }
.account-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); font-size: 14px; }
.account-bar button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink-soft); cursor: pointer; }
.order-list { display: grid; gap: var(--space-3); }
.order-card { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); display: grid; gap: var(--space-2); }
.order-card__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.order-card__top strong { color: var(--ember-bright); }
.order-card p { margin: var(--space-2) 0; color: var(--ink-soft); }
.delivery-box { margin-top: var(--space-3); padding: var(--space-3); border-radius: 9px; background: var(--success-wash); color: var(--success); font-size: 15px; overflow-wrap: anywhere; }
.delivery-box strong { display: block; margin-bottom: 6px; }
.delivery-code { margin: 4px 0; padding: 8px 10px; border-radius: 8px; background: var(--ground-deep); font-family: monospace; font-size: 14px; }
.delivery-fields { margin: 4px 0; padding: 10px 12px; border-radius: 8px; background: var(--ground-deep); display: grid; gap: 6px; }
.delivery-fields p { margin: 0; display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; }
.delivery-fields span { color: var(--ink-muted); font-size: 12px; flex: 0 0 auto; }
.delivery-fields strong { font-family: monospace; font-size: 14px; word-break: break-all; text-align: right; }
.login-guide { margin-top: var(--space-3); padding: var(--space-4); border-radius: 10px; background: var(--ground-deep); color: var(--ink); }
.login-guide__title { display: block; margin-bottom: var(--space-2); color: var(--ember-bright); font-size: 15px; }
.login-guide ol { margin: 0; padding-left: 20px; display: grid; gap: var(--space-3); }
.login-guide li { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.login-guide__warn { color: var(--danger); font-weight: 700; }
.login-guide__field { margin-top: 4px; font-family: monospace; font-size: 13px; color: var(--ink); word-break: break-all; }
.login-guide a { color: var(--ember-bright); }
.login-guide__done { margin: var(--space-3) 0 0; color: var(--success); font-weight: 700; font-size: 14px; }
.reject-box { margin-top: var(--space-3); padding: var(--space-3); border-radius: 9px; background: rgba(255, 125, 113, 0.12); color: var(--danger); font-size: 15px; }
.review-note { margin-top: var(--space-3); padding: var(--space-3); border-radius: 9px; background: var(--ember-wash); color: var(--ember-bright); font-size: 15px; }
.status-pill { align-self: flex-start; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; }
.status-pending_slip { background: var(--surface-raised); color: var(--ink-muted); }
.status-awaiting_review { background: var(--ember-wash); color: var(--ember-bright); }
.status-paid { background: var(--success-wash); color: var(--success); }
.status-rejected { background: rgba(255, 125, 113, 0.15); color: var(--danger); }
.payment-box { margin-top: var(--space-3); padding: var(--space-4); border: 1px solid var(--ember-line); border-radius: var(--radius-control); background: var(--ember-wash); display: grid; gap: 6px; }
.payment-box__row { display: flex; justify-content: space-between; gap: var(--space-3); margin: 0; font-size: 15px; }
.payment-box__row span { color: var(--ink-muted); }
.payment-box__row strong { color: var(--ink); }
.payment-box__note { margin: var(--space-2) 0 0; color: var(--ink-muted); font-size: 13px; }
.slip-form { display: flex; gap: var(--space-2); margin-top: var(--space-3); flex-wrap: wrap; }
.slip-form input[type="file"] { flex: 1 1 180px; min-width: 0; font-size: 13px; color: var(--ink-soft); }
.slip-form button { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: var(--ember); color: var(--ground-deep); font-weight: 700; cursor: pointer; }

.tabbar { position: fixed; inset: auto 0 0; z-index: var(--z-bar); height: calc(var(--tabbar-height) + env(safe-area-inset-bottom)); padding: 0 max(4px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-right)); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface-glass); border-top: 1px solid var(--line); backdrop-filter: blur(18px); }
.tabbar button, .tabbar a { min-height: 64px; border: 0; background: transparent; color: var(--ink-muted); display: grid; place-items: center; align-content: center; gap: 4px; cursor: pointer; font-size: 13.5px; font-weight: 600; touch-action: manipulation; text-decoration: none; padding: 4px 2px; transition: color 160ms var(--ease); }
.tabbar button.is-active { color: var(--ember-bright); font-weight: 700; }
.tab-icon { font-size: 22px; line-height: 1; }
.cart-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom) + 14px); z-index: var(--z-bar); width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ember); color: var(--ground-deep); box-shadow: var(--shadow-two); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.cart-fab strong { position: absolute; top: -4px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--ink); color: var(--ground-deep); display: grid; place-items: center; font-size: 10px; }

.sheet-layer { position: fixed; inset: 0; z-index: var(--z-sheet); }
.sheet-layer[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; width: 100%; border: 0; background: var(--scrim); backdrop-filter: blur(5px); }
.bottom-sheet { position: absolute; left: 50%; bottom: 0; width: min(100%, 660px); max-height: min(82dvh, 760px); overflow: auto; padding: 10px var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom)); border-radius: var(--radius-sheet) var(--radius-sheet) 0 0; background: var(--surface-raised); border: 1px solid var(--line-strong); transform: translateX(-50%); box-shadow: var(--shadow-two); animation: sheet-in 380ms var(--ease) both; }
@keyframes sheet-in { from { transform: translate(-50%, 35px); opacity: 0; } }
.sheet-handle { width: 42px; height: 4px; border-radius: var(--radius-pill); background: var(--line-strong); margin: 0 auto var(--space-4); }
.sheet-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.sheet-heading h2 { margin: 0; font-size: 24px; }
.close-button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.detail-hero { aspect-ratio: 1.8; margin-bottom: var(--space-4); border-radius: var(--radius-control); background: var(--ground-deep); display: grid; place-items: center; overflow: hidden; }
.detail-hero img { width: 55%; height: 55%; object-fit: contain; }
.detail-description { margin: 0 0 var(--space-4); color: var(--ink-muted); font-size: 16px; text-align: center; }
.detail-section { margin-bottom: var(--space-5); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); }
.detail-section__title { margin: 0 0 var(--space-3); font-size: 16px; color: var(--ember-bright); }
.detail-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.detail-benefits li { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.detail-benefits span { color: var(--success); flex: 0 0 auto; }
.variant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-5); }
.variant-grid--single { grid-template-columns: 1fr; }
.variant-card { text-align: left; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); cursor: pointer; display: grid; gap: 6px; transition: border-color 160ms var(--ease), background 160ms var(--ease); }
.variant-card:hover { border-color: var(--ember-line); }
.variant-card.is-selected { border-color: var(--ember-line); background: var(--ember-wash); box-shadow: 0 0 0 1px var(--ember-line); }
.variant-card.is-disabled, .variant-card:disabled { opacity: 0.4; cursor: not-allowed; }
.variant-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.variant-badge { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--ember-wash); color: var(--ember-bright); font-size: 14px; font-weight: 700; }
.variant-badge--red { background: rgba(255, 125, 113, 0.18); color: var(--danger); }
.variant-tag { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.variant-card__title { font-size: 18px; }
.variant-card__subtitle { color: var(--ink-muted); font-size: 15px; }
.variant-card__price { display: flex; align-items: baseline; gap: 8px; }
.variant-card__price strong { color: var(--ember-bright); font-size: 20px; }
.variant-card__price del { color: var(--ink-muted); font-size: 14px; }
.variant-card__stats { display: flex; justify-content: space-between; color: var(--ink-muted); font-size: 14px; }
.detail-selection { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); }
.detail-selection__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; }
.detail-selection__row + .detail-selection__row { border-top: 1px solid var(--line); }
.cart-list { display: grid; gap: var(--space-3); }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.cart-item img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.cart-item strong, .cart-item small { display: block; }
.cart-item small { color: var(--ink-muted); }
.quantity { display: flex; align-items: center; gap: var(--space-2); }
.quantity button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.cart-summary { display: flex; justify-content: space-between; align-items: end; margin: var(--space-5) 0 var(--space-4); }
.cart-summary span { color: var(--ink-muted); }
.cart-summary strong { font-size: 28px; color: var(--ember-bright); }
.checkout-button { width: 100%; min-height: 52px; border: 0; border-radius: var(--radius-pill); background: var(--ember); color: var(--ground-deep); font-weight: 700; cursor: pointer; }
.checkout-button:disabled { opacity: 0.45; cursor: not-allowed; }
.detail-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-3); }
.detail-actions .checkout-button { width: auto; }
.secondary-button { min-height: 52px; border: 1px solid var(--ember-line); border-radius: var(--radius-pill); background: transparent; color: var(--ember-bright); font-weight: 700; cursor: pointer; }
.secondary-button:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 480px) {
  .detail-actions { grid-template-columns: 1fr; }
}
.checkout-note { margin: var(--space-3) 0 0; color: var(--ink-muted); font-size: 11px; text-align: center; }
.terms-list { display: flex; flex-direction: column; gap: var(--space-3); margin: 0 0 var(--space-4); padding: var(--space-4); border: 1px solid var(--ember-line); border-radius: var(--radius-media); background: var(--ember-wash); list-style: none; }
.terms-list li { padding-left: 22px; position: relative; line-height: 1.5; font-size: 13px; }
.terms-list li::before { content: '⚠'; position: absolute; left: 0; top: 0; }
.terms-accept { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 var(--space-4); font-size: 13px; cursor: pointer; }
.terms-accept input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom) + 84px); z-index: var(--z-toast); max-width: calc(100% - 32px); padding: 11px 16px; border-radius: var(--radius-pill); background: var(--ink); color: var(--ground-deep); box-shadow: var(--shadow-two); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: 220ms var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Credits View Styles */

.credit-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  margin-bottom: var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms var(--ease);
}
.credit-back-btn:hover {
  color: var(--ember-bright);
  border-color: var(--ember-line);
  background: var(--surface);
}

.view-all-link { border: 0; background: transparent; color: var(--ember-bright); font-size: 15px; font-weight: 600; cursor: pointer; padding: 4px 8px; border-radius: var(--radius-pill); transition: 180ms var(--ease); }
.view-all-link:hover { background: var(--ember-wash); }

#credits-heading {
  margin: 10px 0 8px;
  font-size: clamp(34px, 5.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.credits-intro {
  margin: var(--space-2) 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  max-width: 78ch;
}
.credits-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-6);
}
.credit-trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-control);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-one);
}
.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ember-wash);
  color: var(--ember-bright);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.credit-trust-badge strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 3px;
}
.credit-trust-badge small {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.credit-reel-section { margin-bottom: var(--space-6); }
.marquee-controls { display: flex; align-items: center; gap: 8px; }
.ticker-btn {
  min-height: 42px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 160ms var(--ease);
}
.ticker-btn:hover { color: var(--ember-bright); border-color: var(--ember-line); }
.ticker-btn--toggle { min-width: 92px; font-size: 15px; font-weight: 700; }

.credit-marquee-wrapper { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-media); background: linear-gradient(180deg, rgba(20, 42, 45, 0.4), rgba(7, 15, 17, 0.8)); border: 1px solid var(--line); padding: var(--space-4) 0; margin: var(--space-3) 0 var(--space-2); }
.credit-marquee-wrapper::before, .credit-marquee-wrapper::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(20px, 4vw, 50px); z-index: 2; pointer-events: none; }
.credit-marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--ground), transparent); }
.credit-marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--ground), transparent); }
.credit-marquee { display: flex; overflow-x: auto; overflow-y: hidden; scroll-behavior: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none; }
.credit-marquee:active { cursor: grabbing; }
.credit-marquee::-webkit-scrollbar { display: none; }
.credit-track { display: flex; gap: var(--space-3); padding: 0 var(--space-4); flex-shrink: 0; }
.marquee-hint { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; text-align: center; line-height: 1.5; }

.credit-card { flex: 0 0 clamp(250px, 27vw, 300px); width: clamp(250px, 27vw, 300px); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-media); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-one); transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease); cursor: pointer; }
.credit-card:hover { transform: translateY(-4px); border-color: var(--ember-line); box-shadow: var(--shadow-two); }
.credit-card__badge-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: rgba(4, 9, 10, 0.65); border-bottom: 1px solid var(--line); font-size: 13px; }
.credit-card-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--ember-wash); border: 1px solid var(--ember-line); color: var(--ember-bright); font-weight: 700; font-size: 13px; }
.credit-card-date { color: var(--ink-soft); font-size: 13px; }
.credit-card__thumb { position: relative; width: 100%; height: 320px; background: #04090a; overflow: hidden; }
.credit-card__thumb picture, .credit-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 300ms var(--ease); display: block; }
.credit-card:hover .credit-card__thumb img { transform: scale(1.03); }
.credit-card__overlay { position: absolute; inset: auto 0 0; padding: 36px 12px 12px; background: linear-gradient(transparent, rgba(4, 9, 10, 0.9)); display: flex; align-items: center; justify-content: center; opacity: 0.9; transition: opacity 200ms var(--ease); }
.credit-zoom-hint { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(15, 28, 31, 0.92); border: 1px solid var(--line-strong); color: var(--ink); font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); }
.credit-card__info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); flex: 1; }
.credit-card__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.credit-card__highlight { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.credit-gallery-section { margin-bottom: var(--space-6); }
.credit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); margin-top: var(--space-4); }
.credit-grid .credit-card { width: 100%; flex: none; }

.credit-cta-box { margin-top: var(--space-6); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-sheet); background: linear-gradient(135deg, var(--surface-raised), var(--ground-deep)); border: 1px solid var(--ember-line); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.credit-cta-content h3 { margin: var(--space-1) 0; font-size: 24px; font-weight: 800; color: var(--ink); }
.credit-cta-content p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.credit-cta-btn { min-height: 50px; padding: 0 28px; border: 0; border-radius: var(--radius-pill); background: var(--ember); color: var(--ground-deep); font-weight: 800; font-size: 16px; cursor: pointer; white-space: nowrap; }

/* Lightbox Modal */
.credit-lightbox { position: fixed; inset: 0; z-index: var(--z-sheet); display: flex; align-items: center; justify-content: center; padding: var(--space-3); animation: lightbox-fade 200ms var(--ease); }
.credit-lightbox[hidden] { display: none; }
.lightbox-scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3, 7, 8, 0.88); backdrop-filter: blur(12px); cursor: pointer; }
.lightbox-container { position: relative; z-index: 1; width: min(96vw, 680px); max-height: 94vh; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--ember-line); border-radius: var(--radius-sheet); box-shadow: var(--shadow-two); overflow: hidden; animation: lightbox-pop 280ms var(--ease); }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lightbox-pop { from { transform: scale(0.95) translateY(12px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 14px 18px; background: var(--ground-deep); border-bottom: 1px solid var(--line); }
.lightbox-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lightbox-tag { display: inline-flex; align-items: center; color: var(--ember-bright); font-size: 11px; font-weight: 600; }
.lightbox-header h3 { margin: 0; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lightbox-counter { color: var(--ink-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lightbox-close-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.lightbox-close-btn:hover { background: var(--surface-raised); border-color: var(--ember-line); }
.lightbox-media-wrap { position: relative; flex: 1; min-height: 0; max-height: calc(88vh - 140px); background: #020506; display: flex; align-items: center; justify-content: center; overflow-y: auto; overflow-x: hidden; padding: 12px; }
.lightbox-img-box { display: flex; justify-content: center; align-items: center; width: 100%; max-height: 100%; }
.lightbox-img-box img { max-width: 100%; max-height: calc(82vh - 150px); object-fit: contain; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); user-select: none; }
.lightbox-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(15, 28, 31, 0.82); border: 1px solid var(--line-strong); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); transition: 180ms var(--ease); }
.lightbox-nav-btn:hover { background: var(--ember); color: var(--ground-deep); border-color: var(--ember-bright); }
.lightbox-nav-btn--prev { left: 16px; }
.lightbox-nav-btn--next { right: 16px; }
.lightbox-footer { padding: 12px 18px; background: var(--ground-deep); border-top: 1px solid var(--line); }
.lightbox-footer p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }

@media (max-width: 780px) {
  .hero-card { grid-template-columns: 1fr 200px; min-height: 320px; }
  .hero-copy { padding: 30px; }
  .hero-copy h1 { font-size: 38px; }
  .ring-one { width: 200px; height: 200px; }
  .ring-two { width: 145px; height: 145px; }
  .hero-device { width: 104px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-credit-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--ember-wash);
    border: 1px solid var(--ember-line);
    color: var(--ember-bright);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 180ms var(--ease);
    white-space: nowrap;
  }
  .header-credit-chip:hover {
    background: var(--surface-raised);
    border-color: var(--ember-bright);
  }
}

@media (max-width: 560px) {
  :root { --header-height: 68px; --tabbar-height: 72px; --radius-media: 15px; --radius-sheet: 20px; }
  main { padding-top: var(--space-3); }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 10px; }
  .demo-badge { display: none; }
  .cart-chip { padding: 7px 12px; min-height: 42px; }
  .cart-chip span { display: none; }
  .trust-strip { font-size: 10px; }
  .hero-banner { aspect-ratio: 1.7; border-radius: var(--radius-sheet); }
  .hero-banner picture, .hero-banner img { height: 100%; }
  .hero-banner img { max-width: none; object-fit: cover; object-position: left center; }
  .hero-card { display: block; min-height: 366px; }
  .hero-copy { padding: 25px 22px; max-width: 78%; }
  .hero-copy h1 { margin-top: 10px; font-size: 34px; }
  .hero-copy p { font-size: 12px; margin-bottom: 18px; }
  .hero-visual { position: absolute; right: -42px; bottom: -30px; width: 210px; min-height: 220px; opacity: 0.88; }
  .ring-one { width: 185px; height: 185px; }
  .ring-two { width: 132px; height: 132px; }
  .hero-device { width: 86px; border-radius: 20px; }
  .hero-device strong { font-size: 24px; }
  .floating-card { width: 46px; height: 46px; font-size: 10px; }
  .card-a { left: 5%; top: 15%; }
  .card-b { right: 4%; top: 12%; }
  .card-c { right: 10%; bottom: 10%; }
  .section-title { align-items: start; }
  .section-title h2 { font-size: 24px; }
  .section-title p { max-width: 90px; text-align: right; }
  .compact-title h2 { font-size: 22px; }
  .product-grid { gap: 10px; grid-template-columns: 1fr; }
  .product-card { padding: 12px; }
  .product-card__media { aspect-ratio: 1.4; }
  .product-card__head h3 { font-size: 21px; }
  .product-card__tag { font-size: 16px; }
  .price-line strong { font-size: 23px; }
  .bottom-sheet { padding-inline: var(--space-4); }
  .variant-grid { grid-template-columns: 1fr; }
  #credits-heading { font-size: 32px; }
  .credits-intro { font-size: 16px; }
  .credit-card { flex: 0 0 250px; width: 250px; }
  .credit-card__thumb { height: 310px; }
  .credit-grid { grid-template-columns: 1fr; }
  .credits-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .credit-trust-badge { padding: 14px 14px; gap: 12px; }
  .trust-icon { width: 40px; height: 40px; font-size: 20px; }
  .credit-trust-badge strong { font-size: 15.5px; }
  .credit-trust-badge small { font-size: 13px; }
  .credit-cta-box { flex-direction: column; align-items: stretch; text-align: center; }
  .credit-cta-btn { width: 100%; }
}

@media (max-width: 420px) {
  .header-actions { gap: 6px; }
  .header-credit-chip { font-size: 13px; padding: 5px 11px; min-height: 38px; }
  .tabbar button, .tabbar a { font-size: 12px; font-weight: 600; padding: 3px 0; }
  .tab-icon { font-size: 20px; }
  .credits-trust-grid { grid-template-columns: 1fr; gap: 10px; }
  .credit-trust-badge { padding: 14px 18px; }
  .credit-trust-badge strong { font-size: 16.5px; }
  .credit-trust-badge small { font-size: 14px; }
  .credit-back-btn { font-size: 15px; padding: 10px 18px; width: 100%; justify-content: center; }
  .credit-card { flex: 0 0 224px; width: 224px; }
  .credit-card__thumb { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   GEO / AEO Guide & Semantic Footer Styles
   ========================================================================== */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.freshness-badge time { color: var(--ember-bright); font-weight: 600; }

.geo-guide {
  margin: var(--space-8) 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.geo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.geo-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.geo-lead strong { color: var(--ink); font-weight: 700; }

.geo-q-heading {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

.geo-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 var(--space-4);
}

.geo-table-wrap {
  overflow-x: auto;
  margin: var(--space-3) 0 0;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  scrollbar-width: thin;
}

.geo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.geo-table th, .geo-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.geo-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
}

.geo-table tr:last-child td {
  border-bottom: none;
}

.geo-table td {
  color: var(--ink-soft);
}
.geo-table td strong { color: var(--ink); }

.geo-steps {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.geo-steps li strong { color: var(--ink); }

.geo-links-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(20, 15, 24, 0.95) 100%);
}

.geo-links-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}

.geo-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.geo-links-list li {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.geo-links-list a {
  color: var(--ember-bright);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--speed-fast);
}
.geo-links-list a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ==========================================================================
   Semantic App Footer
   ========================================================================== */
.app-footer {
  margin-top: var(--space-8);
  padding: var(--space-8) 0 calc(var(--space-8) + 70px);
  background: rgba(10, 7, 12, 0.95);
  border-top: 1px solid var(--line);
}

@media (min-width: 769px) {
  .app-footer {
    padding-bottom: var(--space-8);
  }
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--speed-fast);
}
.footer-col a:hover {
  color: var(--ember-bright);
}

.footer-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: var(--space-3) 0;
}

.footer-freshness {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-freshness time { color: var(--ember-bright); font-weight: 600; }

.footer-contact {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 10px;
}

.contact-links {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.contact-links strong { color: var(--ink); }

.line-qr-block {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.line-qr-block img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}
.line-qr-block span {
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-muted);
  text-align: center;
}

