:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F4EF;
  --bg-elev: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-hover: #FCFBF8;
  --bg-stage: #EFECE4;
  --bg-subtle: #EAE6DC;
  --header-bg: rgba(246, 244, 239, 0.84);
  --border: rgba(23, 25, 29, 0.09);
  --border-hover: rgba(23, 25, 29, 0.22);
  --ink: #17191D;
  --ink-muted: #565D68;
  --ink-dim: #7F8794;
  --accent: #0E7C61;
  --accent-hover: #0A634D;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(14, 124, 97, 0.10);
  --live-bg: rgba(14, 124, 97, 0.10);
  --live-border: rgba(14, 124, 97, 0.26);
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.04);
  --shadow-md: 0 14px 30px -16px rgba(20, 22, 26, 0.14);
  --glow-top: rgba(14, 124, 97, 0.07);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D1014;
  --bg-elev: #12171E;
  --bg-surface: #141921;
  --bg-hover: #19202A;
  --bg-stage: #0B0D11;
  --bg-subtle: #1D232E;
  --header-bg: rgba(13, 16, 20, 0.82);
  --border: rgba(238, 242, 246, 0.09);
  --border-hover: rgba(238, 242, 246, 0.22);
  --ink: #EEF2F6;
  --ink-muted: #98A3B0;
  --ink-dim: #66717F;
  --accent: #4EF2C2;
  --accent-hover: #6CF6CE;
  --accent-ink: #08120E;
  --accent-soft: rgba(78, 242, 194, 0.12);
  --live-bg: rgba(78, 242, 194, 0.12);
  --live-border: rgba(78, 242, 194, 0.30);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 20px 38px -18px rgba(0, 0, 0, 0.65);
  --glow-top: rgba(78, 242, 194, 0.09);
}

:root {
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Inter", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --max-w: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(680px 360px at 18% 0%, var(--glow-top), transparent 70%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-sep {
  width: 1px;
  height: 14px;
  background: var(--border-hover);
}

.brand-tagline {
  font-size: 13px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.nav-links a {
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--ink);
}

.theme-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 12px;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 2px 9px;
  height: 22px;
  border-radius: 999px;
  color: var(--ink-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--bg-subtle);
  color: var(--ink);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 54px 0 38px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.78fr);
  gap: 36px;
  align-items: end;
}

.hero-kicker {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: var(--ink);
}

.hero-accent {
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.stat-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-cell dt {
  font-size: 12px;
  color: var(--ink-dim);
  white-space: nowrap;
}

.stat-cell dd {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--ink);
}

.stat-cell--accent dd {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-sm {
  height: 29px;
  padding: 0 10px;
  font-size: 12px;
}

/* Section */
.section-block {
  padding: 24px 0 36px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Filter Bar */
.product-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.filter-tab {
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-tab:hover {
  color: var(--ink);
}

.filter-tab[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

/* 3-Column Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card.is-hidden {
  display: none;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-stage);
}

.product-heading {
  min-width: 0;
  flex: 1;
}

.product-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-name a:hover {
  color: var(--accent);
}

.product-platform {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 192px;
  border-radius: 12px;
  background: var(--bg-stage);
  border: 1px solid var(--border);
  padding: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.product-card:hover .product-visual {
  border-color: var(--border-hover);
}

.product-visual img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.product-visual .watch-bezel {
  height: 164px;
}

.product-desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-stage);
  color: var(--ink-muted);
}

.status-badge.is-live {
  border-color: var(--live-border);
  background: var(--live-bg);
  color: var(--accent);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.expand-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.expand-row.is-hidden {
  display: none;
}

/* About Note */
.about-section {
  padding-top: 12px;
  padding-bottom: 56px;
}

.about-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.about-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.about-card p {
  margin: 0;
  max-width: 66ch;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.7;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Detail & Policy Pages */
.page-shell {
  padding: 36px 0 68px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-stage);
  flex-shrink: 0;
}

.detail-title-row h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}

.detail-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-stage);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 230px;
  cursor: zoom-in;
  transition: border-color 0.15s ease;
}

.gallery-shot:hover {
  border-color: var(--accent);
}

.gallery-shot img {
  max-height: 360px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.watch-bezel {
  position: relative;
  height: 220px;
  aspect-ratio: 416 / 496;
  background: #0B0D10;
  border-radius: 26px;
  border: 2px solid #2b303a;
  padding: 5px;
  box-shadow: inset 0 0 0 1px #14171c, 0 8px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-bezel::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 26%;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: #484f5d;
  border: 1px solid #20242c;
}

.watch-bezel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.panel-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.panel-box h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.panel-box p {
  margin: 0 0 10px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
}

.panel-box p:last-child {
  margin-bottom: 0;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
}

.bullet-list li {
  margin-bottom: 6px;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-row dt {
  color: var(--ink-dim);
}

.spec-row dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  text-align: right;
  word-break: break-all;
}

/* Prose (Privacy / Support) */
.prose {
  max-width: 780px;
}

.prose h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 34px);
}

.prose .lead {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0 0 24px;
}

.policy-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.policy-block h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.policy-block h3 {
  margin: 16px 0 8px;
  font-size: 14px;
  color: var(--accent);
}

.policy-block p,
.policy-block li {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.7;
}

.policy-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.policy-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px;
  transition: border-color 0.15s ease;
}

.policy-link-card:hover {
  border-color: var(--accent);
}

.policy-link-card img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1080px);
  max-height: 86vh;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 38px;
  color: var(--ink-dim);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-dim);
}

/* Responsive */
@media (max-width: 960px) {
  .brand-sep,
  .brand-tagline,
  .nav-links {
    display: none;
  }

  .hero-inner,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    padding: 12px 12px;
  }

  .stat-cell dd {
    font-size: 20px;
  }

  .product-filters {
    border-radius: 14px;
  }
}
