/*
Theme Name: Daiso Inc
Theme URI: https://daisoinc.vn
Author: Daiso Inc
Author URI: https://daisoinc.vn
Description: Website chính thức Daiso Inc — Camera Vision & Robot Công Nghiệp. Đại lý ủy quyền Panasonic và HN Japan tại Việt Nam. Chuyên thiết kế, lập trình hệ thống camera vision và cánh tay robot cho dây chuyền sản xuất ô tô.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://daisoinc.vn
Text Domain: daisoinc
Tags: industrial, b2b, single-page, vietnamese, dark, custom-colors
*/

/* ================================================================
   DAISO INC — Dark Gold Design System v2.0
   Source: design-tokens.json v1.0.0
   Palette: dark warm backgrounds · gold accent · terminal vibe
   ================================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds — warm dark */
  --bg-0: #0e0a04;
  --bg-1: #15100a;
  --bg-2: #1c1610;
  --bg-3: #261d12;

  /* Borders */
  --line:   #2a2014;
  --line-2: #3a2c1c;

  /* Foregrounds */
  --fg-0: #f5e9d4;
  --fg-1: #c2b290;
  --fg-2: #897a5e;
  --fg-3: #574b38;

  /* Accent — gold */
  --accent:       #d4a64a;
  --accent-warm:  #e7c277;
  --accent-deep:  #8a6a28;
  --accent-2:     #e7c277;   /* alias used in tech diagrams */

  /* Status */
  --ok:   #33d17a;
  --warn: #ffc24d;
  --err:  #ff5a5f;

  /* Typography */
  --font-display: "Space Grotesk", "Be Vietnam Pro", "IBM Plex Sans", system-ui, sans-serif;
  --font-body:    "Be Vietnam Pro", "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Convenience aliases used by inline styles */
  --gold:      #d4a64a;
  --dark:      #0e0a04;
  --border:    #2a2014;
  --radius:    4px;
  --radius-lg: 8px;
  --text-2:    var(--fg-1);
  --gold-3:    #897a5e;
  --mono:      var(--font-mono);

  /* --gold-* aliases for PageVision CSS compatibility */
  --gold-bg-0: #0e0a04;
  --gold-bg-1: #15100a;
  --gold-bg-2: #1c1610;
  --gold-bg-3: #261d12;
  --gold-line:    #2a2014;
  --gold-line-2:  #3a2c1c;
  --gold-fg-0: #f5e9d4;
  --gold-fg-1: #c2b290;
  --gold-fg-2: #897a5e;
  --gold-fg-3: #574b38;
  --gold-accent:       #d4a64a;
  --gold-accent-warm:  #e7c277;
  --gold-accent-deep:  #8a6a28;

  /* Signal / call-out orange (from design-tokens.json accent.signal) */
  --accent-signal: #ff9b3a;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ---------- Background grid (64px) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

#root {
  position: relative;
  z-index: 1;
}

/* ---------- Typography reset ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg-0);
  line-height: 1.05;
}
p { color: var(--fg-1); }
a { color: var(--accent); text-decoration: none; }

/* ---------- Button reset ---------- */
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  padding: 0;
  line-height: 1;
}
button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Media resets ---------- */
canvas { display: block; }
svg    { display: block; }
img    { max-width: 100%; display: block; }

/* ---------- Scrollbar (Webkit) ---------- */
::-webkit-scrollbar             { width: 6px; height: 6px; }
::-webkit-scrollbar-track       { background: var(--bg-0); }
::-webkit-scrollbar-thumb       { background: var(--line-2); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: #1a1409; }

/* ---------- Keyframe animations ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide-right {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes cam-scan {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

/* Pulsing dot used in TopBar, VisionDemo REC indicator */
.pulse-dot {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ---------- Loading fallback ---------- */
#root:empty::after {
  content: 'LOADING DAISO INC...';
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fg-3);
}


/* ================================================================
   1. CONTAINER & LAYOUT
   ================================================================ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  display: none;
}
.page.active {
  display: block;
}


/* ================================================================
   2. TOPBAR
   ================================================================ */
#topbar {
  height: 32px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-2);
}

.tb-left,
.tb-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

.sep {
  color: var(--fg-3);
}

.tb-phone {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.lang-btn {
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}

.lang-btn.active {
  background: var(--accent);
  color: #1a1409;
  border-color: var(--accent);
}

.lang-btn:hover:not(.active) {
  border-color: var(--fg-2);
  color: var(--fg-1);
}


/* ================================================================
   3. HEADER
   ================================================================ */
#header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 32px;
  z-index: 40;
  transition: background 0.3s ease;
}

#header.scrolled {
  background: var(--bg-1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon svg {
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--fg-0);
}

.brand-name span {
  color: var(--accent);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  margin-top: 2px;
}


/* ================================================================
   4. NAVIGATION
   ================================================================ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item.has-drop {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-1);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--fg-0);
}

.nav-link.active {
  color: var(--fg-0);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.chevron {
  font-size: 8px;
  opacity: 0.5;
}


/* ================================================================
   5. DROPDOWN
   ================================================================ */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 8px;
  display: none;
  z-index: 30;
}

.has-drop:hover .dropdown {
  display: block;
}

.dp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dp-item:hover {
  background: var(--bg-2);
}

.dp-icon {
  font-size: 20px;
  width: 36px;
  text-align: center;
}

.dp-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-0);
}

.dp-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  margin-top: 2px;
}


/* ================================================================
   6. MOBILE MENU
   ================================================================ */
.mobile-btn {
  display: none;
  font-size: 24px;
  color: var(--fg-0);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 100;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mm-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--fg-2);
  background: none;
  border: none;
  cursor: pointer;
}

.mm-logo {
  margin-bottom: 8px;
}

.mm-link {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-0);
  cursor: pointer;
  padding: 8px 0;
}

.mm-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 16px;
}

.mm-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  color: var(--fg-1);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.mm-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ================================================================
   7. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  line-height: 1;
}

.btn:hover {
  opacity: 0.85;
  filter: brightness(1.1);
}

.btn-primary {
  background: var(--accent);
  color: #1a1409;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg-0);
}

.btn-ghost:hover {
  border-color: var(--fg-2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg-1);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-w {
  color: white;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 11px;
}


/* ================================================================
   8. HERO
   ================================================================ */
.hero {
  position: relative;
  padding: 80px 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow.tr {
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(212,166,74,0.12) 0%, transparent 60%);
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-1);
  width: fit-content;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.pulse-dot.green {
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--fg-0);
}

.hl {
  color: var(--accent);
}

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-1);
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ================================================================
   9. VISION DEMO MOCK
   ================================================================ */
.hero-vis-box {
  background: #0c1218;
  border: 1px solid rgba(74,163,255,0.15);
  overflow: hidden;
  width: 100%;
}

.vis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(74,163,255,0.1);
  font-family: var(--font-mono);
  font-size: 10px;
}

.vis-title {
  color: rgba(74,163,255,0.6);
  letter-spacing: 0.15em;
}

.vis-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
}

.cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(74,163,255,0.08);
}

.cam-feed {
  position: relative;
  background: #0a0f14;
  padding: 16px;
  min-height: 140px;
  overflow: hidden;
}

.cam-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,212,255,0.06) 45%,
    rgba(0,212,255,0.12) 50%,
    rgba(0,212,255,0.06) 55%,
    transparent 100%
  );
  pointer-events: none;
  animation: cam-scan 3s linear infinite;
}

.cam-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(74,163,255,0.5);
  letter-spacing: 0.15em;
}

.cam-bbox {
  position: absolute;
  bottom: 40px;
  left: 16px;
  right: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(74,163,255,0.3);
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(74,163,255,0.7);
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.cam-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.cam-pass {
  color: var(--ok);
}

.cam-fail {
  color: var(--err);
}

.cam-conf {
  color: var(--fg-2);
}

.vis-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(74,163,255,0.08);
  border-top: 1px solid rgba(74,163,255,0.1);
}

.vm-cell {
  background: #0a0f14;
  padding: 10px 14px;
  text-align: center;
}

.vm-n {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-0);
}

.vm-l {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--fg-3);
  margin-top: 4px;
}


/* ================================================================
   10. STATS BAR
   ================================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1440px;
  margin: 0 auto;
}

.sb-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  border-right: 1px solid var(--line);
}

.sb-cell:last-child {
  border-right: none;
}

.sb-n {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg-0);
}

.sb-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  margin-top: 8px;
  text-align: center;
}


/* ================================================================
   11. SECTIONS
   ================================================================ */
.section {
  padding: 96px 0;
}

.section-alt {
  padding: 96px 0;
  background: var(--bg-1);
}

.sec-head {
  margin-bottom: 48px;
}

.sec-head.center {
  text-align: center;
}

.kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 820px;
}

.sec-head .lead {
  color: var(--fg-1);
  max-width: 680px;
  font-size: 16px;
  line-height: 1.55;
  margin-top: 16px;
}

.sec-head.center .lead {
  margin: 16px auto 0;
}


/* ================================================================
   12. FAMILY CARDS
   ================================================================ */
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.family-card {
  padding: 40px;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: border-color 0.2s ease;
}

.family-card:hover {
  border-color: var(--accent);
}

.fc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fc-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.fc-desc {
  font-size: 15px;
  color: var(--fg-1);
  line-height: 1.55;
  flex-grow: 1;
}

.fc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.fc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fc-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
}

.fc-arrow {
  font-size: 24px;
  color: var(--accent);
}


/* ================================================================
   13. CAPABILITIES (FEAT GRID)
   ================================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.feat-card {
  background: var(--bg-1);
  padding: 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.feat-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 12px;
}

.feat-card p {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
  flex-grow: 1;
}

.feat-arrow {
  color: var(--accent);
  margin-top: 20px;
  font-size: 18px;
}


/* ================================================================
   14. INDUSTRY GRID
   ================================================================ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ind-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ind-img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-0));
  display: flex;
  align-items: center;
  justify-content: center;
}

.ind-img-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-3);
}

.ind-body {
  padding: 20px;
}

.ind-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
}

.ind-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ind-body p {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
}


/* ================================================================
   15. PARTNER GRID
   ================================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partner-card {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.partner-card:hover {
  border-color: var(--accent);
}

.partner-logo-area {
  padding: 32px;
  background: linear-gradient(135deg, #1a1408 0%, #261d12 100%);
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}

.partner-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  background: rgba(212,166,74,0.15);
  color: var(--accent);
  margin-bottom: 12px;
}

.partner-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg-0);
  letter-spacing: 0.05em;
}

.partner-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.partner-desc {
  padding: 24px;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
}

.partner-footer {
  padding: 0 24px 24px;
}


/* ================================================================
   16. CTA BAND
   ================================================================ */
.cta-band {
  position: relative;
  padding: 72px 56px;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212,166,74,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-phone {
  font-family: var(--font-mono);
  color: var(--fg-1);
  font-size: 14px;
}

.cta-phone strong {
  color: var(--accent);
}


/* ================================================================
   17. CROSS NAVIGATION
   ================================================================ */
.cross-nav {
  border-top: 1px solid var(--line);
}

.cn-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 0.2s ease;
}

.cn-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-3);
  min-width: 40px;
}

.cn-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-0);
  flex-grow: 1;
  transition: color 0.2s ease;
}

.cn-arrow {
  font-size: 20px;
  color: var(--fg-2);
  transition: color 0.2s ease;
}

.cn-item:hover .cn-label,
.cn-item:hover .cn-arrow {
  color: var(--accent);
}


/* ================================================================
   18. SUB-PAGE HEROES
   ================================================================ */
.pg-hero {
  padding: 64px 0 48px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-2);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb .cur {
  color: var(--fg-0);
}

.pg-hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.pg-hero h1 {
  font-size: clamp(40px, 5vw, 72px);
}

.pg-hero-vis {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pg-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 48px;
}

.ph-stat {
  text-align: center;
  padding: 0 16px;
}

.ph-n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg-0);
}

.ph-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  display: block;
  margin-top: 6px;
}


/* ================================================================
   19. TABS
   ================================================================ */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
}

.tab {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.tab.active {
  background: var(--accent);
  color: #1a1409;
  border-color: var(--accent);
}

.tab:hover:not(.active) {
  border-color: var(--line-2);
  color: var(--fg-1);
}


/* ================================================================
   20. PRODUCT GRID & CARDS
   ================================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.prod-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.prod-card:hover {
  border-color: var(--accent);
}

.pc-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-0));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pc-img svg {
  display: block;
}

.pc-body {
  padding: 20px;
}

.pc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pc-body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pc-body p {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
  margin-bottom: 12px;
}

.pc-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  display: inline-block;
}


/* ================================================================
   21. USE CASES
   ================================================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.uc-card {
  background: var(--bg-1);
  padding: 28px;
}

.uc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 10px;
}

.uc-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.uc-card p {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
  margin-bottom: 16px;
}

.uc-rec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.uc-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
}


/* ================================================================
   22. EOAT GRID
   ================================================================ */
.eoat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.eoat-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 24px;
}

.eoat-code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.eoat-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.eoat-card p {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
}


/* ================================================================
   23. TECHNOLOGY PAGE
   ================================================================ */
/* --- Architecture Stack --- */
.stack-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stack-item {
  display: grid;
  grid-template-columns: 120px 1fr 260px;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  align-items: center;
}

.stack-item.highlight {
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-1));
  border-color: var(--accent);
}

.si-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.si-idx {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.si-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-1);
  text-transform: uppercase;
}

.si-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.si-item {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--bg-0);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--fg-0);
}

.si-tech {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  text-align: right;
  letter-spacing: 0.05em;
}

/* --- Reference system --- */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.ref-diagram {
  overflow: hidden;
}

.ref-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.ref-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.spec-block {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 24px;
}

.spec-block .sb-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.spec-block .sb-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.spec-block .sb-row:last-child {
  border-bottom: none;
}

.spec-block .sb-k {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
}

.spec-block .sb-v {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-0);
}

/* --- Protocols --- */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.proto-cell {
  background: var(--bg-1);
  padding: 24px;
}

.proto-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  margin-bottom: 12px;
}

.proto-cell h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.proto-speed {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.proto-use {
  font-size: 14px;
  color: var(--fg-1);
}


/* ================================================================
   24. ABOUT PAGE
   ================================================================ */
/* --- Timeline --- */
.timeline {
  position: relative;
  border-left: 2px solid var(--line-2);
  padding-left: 32px;
  margin-left: 16px;
}

.tl-item {
  position: relative;
  margin-bottom: 36px;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 0;
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
}

.tl-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--fg-0);
}

.tl-desc {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
  margin-top: 8px;
}

/* --- Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 24px;
}

.val-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
}


/* ================================================================
   25. CONTACT PAGE
   ================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-0);
  border: 1px solid var(--line);
  color: var(--fg-0);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent);
  outline: none;
}

.form-input::placeholder {
  color: var(--fg-3);
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23897a5e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* --- Contact info items --- */
.ci-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.ci-icon {
  font-size: 24px;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.ci-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-2);
  margin-bottom: 4px;
}

.ci-val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-0);
}

.ci-sub {
  font-size: 14px;
  color: var(--fg-1);
  margin-top: 2px;
}


/* ================================================================
   26. FOOTER
   ================================================================ */
#footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.ft-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ft-logo svg {
  display: block;
}

.ft-brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-0);
}

.ft-brand span {
  color: var(--accent);
}

.ft-desc {
  font-style: italic;
  font-size: 15px;
  color: var(--fg-1);
  line-height: 1.55;
  margin-top: 16px;
  max-width: 380px;
}

.ft-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  margin-top: 24px;
}

.ft-col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.ft-link {
  font-size: 14px;
  color: var(--fg-1);
  cursor: pointer;
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.ft-link:hover {
  color: var(--fg-0);
}

.ft-contact-info {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-0);
  line-height: 1.6;
}

.ft-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  max-width: 1440px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
}


/* ================================================================
   27. DRAWER (Product Detail)
   ================================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  width: 600px;
  max-width: 100vw;
  background: var(--bg-1);
  border-left: 1px solid var(--accent);
  padding: 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer-overlay.open .drawer {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.drawer-close {
  font-size: 22px;
  color: var(--fg-2);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px 8px;
  background: none;
  border: none;
}

.drawer-close:hover {
  color: var(--fg-0);
}

.drawer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.drawer-img {
  height: 200px;
  background: var(--bg-0);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.drawer h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

.drawer p {
  font-size: 15px;
  color: var(--fg-1);
  line-height: 1.6;
  margin-top: 12px;
}

.drawer-spec-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-2);
  margin-top: 32px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  color: var(--fg-1);
  display: inline-block;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: none;
}

.sk {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
}

.sv {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-0);
}

.drawer-btns {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}


/* ================================================================
   SOLUTIONS PAGE EXTRAS
   ================================================================ */
.sol-panel {
  /* panels toggled by JS */
}

.pn-panel {
  /* panels toggled by JS */
}

/* --- Process Steps (Solutions page) --- */
.process-section {
  margin-top: 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.ps-item {
  background: var(--bg-1);
  padding: 24px;
}

.ps-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.ps-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ps-item p {
  font-size: 13px;
  color: var(--fg-1);
  line-height: 1.5;
}


/* ================================================================
   28. RESPONSIVE
   ================================================================ */

/* ---------- ≤1200px ---------- */
@media (max-width: 1200px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-item {
    grid-template-columns: 100px 1fr;
  }

  .si-tech {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 8px;
  }

  .si-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .ref-specs {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
  .hero-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .pg-hero-row {
    grid-template-columns: 1fr;
  }

  .pg-hero-vis {
    justify-content: center;
    margin-top: 24px;
  }

  .family-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .ft-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 48px 32px;
  }

  .stack-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .si-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .si-tech {
    text-align: left;
  }

  .ref-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- ≤768px ---------- */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-btn {
    display: block;
  }

  h1 {
    font-size: clamp(36px, 8vw, 56px);
  }

  .hero {
    padding: 48px 0;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-cell:nth-child(2) {
    border-right: none;
  }

  .pg-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prod-grid {
    grid-template-columns: 1fr;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .eoat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .ind-grid {
    grid-template-columns: 1fr;
  }

  .ft-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .drawer {
    width: 100%;
    padding: 24px;
  }

  .hero-vis-box {
    display: none;
  }

  #topbar .tb-left span:nth-child(n+3) {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-alt {
    padding: 64px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .proto-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .ph-stat {
    padding: 8px;
  }

  .ph-n {
    font-size: 28px;
  }

  .sb-n {
    font-size: 36px;
  }

  .ft-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-band {
    padding: 36px 24px;
  }

  .ref-specs {
    grid-template-columns: 1fr;
  }
}

/* ---------- ≤480px ---------- */
@media (max-width: 480px) {
  .tabs {
    flex-wrap: wrap;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .sec-head h2 {
    font-size: 28px;
  }

  .eoat-grid {
    grid-template-columns: 1fr;
  }

  .proto-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  #topbar {
    padding: 0 16px;
    font-size: 10px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .fc-title {
    font-size: 24px;
  }

  .family-card {
    padding: 24px;
  }

  .cn-label {
    font-size: 18px;
  }

  .pg-hero {
    padding: 40px 0 32px;
  }

  .cta-band {
    padding: 28px 20px;
  }
}


/* ================================================================
   29. LIGHT THEME OVERRIDE
   ================================================================ */
[data-theme="light"] {
  --bg-0: #f3f5f8;
  --bg-1: #ffffff;
  --bg-2: #eef2f7;
  --bg-3: #e2e8f0;

  --line:   #dbe2ec;
  --line-2: #c5d0dd;

  --fg-0: #0a0f14;
  --fg-1: #425466;
  --fg-2: #6b7d93;
  --fg-3: #9fb0c3;

  /* accent stays gold */
  --accent:       #d4a64a;
  --accent-warm:  #e7c277;
  --accent-deep:  #8a6a28;
  --accent-signal:#ff9b3a;

  /* alias overrides */
  --gold:      #d4a64a;
  --dark:      #f3f5f8;
  --border:    #dbe2ec;
  --gold-bg-0: #f3f5f8;
  --gold-bg-1: #ffffff;
  --gold-bg-2: #eef2f7;
  --gold-bg-3: #e2e8f0;
  --gold-line:    #dbe2ec;
  --gold-line-2:  #c5d0dd;
  --gold-fg-0: #0a0f14;
  --gold-fg-1: #425466;
  --gold-fg-2: #6b7d93;
  --gold-fg-3: #9fb0c3;
}

[data-theme="light"] body {
  background: var(--bg-0);
  color: var(--fg-0);
}

[data-theme="light"] body::before {
  opacity: 0.25;
}


/* FIX */
body.page {
  display: block !important;
}
