/* =========================================================================
   CyberAI Innovations — Public Preview Stylesheet
   Dark, institutional, academically sophisticated. Logo-aligned palette.
   ========================================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.75rem, 1.6rem + 4vw, 4.75rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Palette — dark, aligned to logo gradient */
  --color-bg: #07090f;
  --color-surface: #0c0f17;
  --color-surface-2: #11151f;
  --color-surface-3: #161b27;
  --color-border: #20283a;
  --color-border-strong: #2c3650;
  --color-text: #eef2f8;
  --color-text-muted: #9aa6bd;
  --color-text-faint: #67718a;

  /* Logo gradient accents */
  --accent-cyan: #22d3ee;
  --accent-blue: #6aa0f5;
  --accent-violet: #a855f7;
  --accent-magenta: #d946ef;
  --accent: #38bdf8;
  --accent-hover: #5cc6f7;
  --gradient: linear-gradient(95deg, #22d3ee 0%, #6aa0f5 38%, #a855f7 72%, #d946ef 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(168,85,247,0.14));

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.55);

  --content-narrow: 720px;
  --content: 1140px;
  --content-wide: 1320px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 6rem;
  text-size-adjust: 100%;
}
body {
  min-height: 100dvh; line-height: 1.65; font-family: var(--font-body);
  font-size: var(--text-base); color: var(--color-text); background: var(--color-bg);
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 500; text-wrap: balance; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
table { border-collapse: collapse; width: 100%; }
::selection { background: rgba(56,189,248,0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm); }
.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; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-6); }
.wrap--wide { max-width: var(--content-wide); }
.wrap--narrow { max-width: var(--content-narrow); }
.section { padding-block: clamp(var(--space-16), 7vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); }
.section--alt { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.divider { height: 1px; background: var(--color-border); border: 0; }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Eyebrow / labels ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-cyan); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gradient); }
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Typography helpers ---- */
.lede { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; line-height: 1.6; }
.muted { color: var(--color-text-muted); }
.faint { color: var(--color-text-faint); }
.h-display { font-size: var(--text-3xl); }
.h-page { font-size: var(--text-2xl); }
.h-section { font-size: var(--text-xl); }
.measure { max-width: 68ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full); transition: var(--transition); white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary { background: var(--gradient); color: #06070c; box-shadow: 0 6px 24px rgba(56,189,248,0.18); }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { border-color: var(--color-border-strong); color: var(--color-text); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; background: rgba(56,189,248,0.06); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: var(--text-sm); color: var(--accent-cyan); }
.link-arrow svg { transition: transform var(--transition); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,15,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; gap: var(--space-4); height: 76px; }
.nav__brand { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; min-width: 96px; }
.nav__brand img { height: 46px; width: auto; display: block; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav__brand-text span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-faint); }
.nav__menu { display: flex; align-items: center; gap: 0; margin-left: auto; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: var(--space-2) 0.58rem;
  font-size: clamp(0.76rem, 0.72rem + 0.16vw, 0.875rem); font-weight: 500; color: var(--color-text-muted); border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--color-text); }
.nav__link[aria-current='page'] { color: #fff; }
.nav__link svg { width: 12px; height: 12px; opacity: 0.7; }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: var(--space-2); list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: var(--transition);
}
.nav__item--has-menu:hover .nav__dropdown,
.nav__item--has-menu:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
  font-size: var(--text-sm); color: var(--color-text-muted); transition: var(--transition);
}
.nav__dropdown a:hover { background: var(--color-surface-3); color: var(--color-text); }
.nav__dropdown a small { display: block; font-size: var(--text-xs); color: var(--color-text-faint); margin-top: 2px; }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__icon { display: inline-flex; padding: var(--space-2); color: var(--color-text-muted); border-radius: var(--radius-sm); position: relative; }
.nav__icon:hover { color: var(--color-text); }
.cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px;
  font-size: 0.625rem; font-weight: 700; display: grid; place-items: center; border-radius: var(--radius-full);
  background: var(--accent-magenta); color: #fff;
}
.nav__toggle { display: none; padding: var(--space-2); color: var(--color-text); }

/* Mobile nav */
@media (max-width: 1280px) {
  .nav__toggle { display: inline-flex; order: 3; margin-left: auto; }
  .nav__actions { order: 2; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    padding: var(--space-4); max-height: calc(100dvh - 76px); overflow-y: auto;
    margin-left: 0; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: var(--transition);
  }
  .nav__menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: var(--space-3); font-size: var(--text-base); border-radius: var(--radius-sm); }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--color-border); border-radius: 0; margin: 0 0 var(--space-2) var(--space-4);
    background: transparent; padding: 0; max-height: 0; overflow: hidden; transition: max-height var(--transition);
  }
  .nav__item--has-menu.open .nav__dropdown { max-height: 600px; }
}

/* ---- Hero ---- */
.hero { position: relative; padding-block: clamp(var(--space-10), 5vw, var(--space-20)); overflow: hidden; min-height: calc(100svh - 76px); display: grid; align-items: center; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background:
    radial-gradient(60% 50% at 75% 0%, rgba(168,85,247,0.16), transparent 60%),
    radial-gradient(50% 50% at 12% 30%, rgba(34,211,238,0.14), transparent 55%),
    linear-gradient(180deg, rgba(7,9,15,0.05), rgba(7,9,15,0.92));
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image: linear-gradient(var(--color-border) 1px, transparent 1px), linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  animation: gridDrift 18s linear infinite;
}
.hero__beam {
  position: absolute; inset: 12% -20% auto -20%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.35), rgba(168,85,247,0.35), transparent);
  box-shadow: 0 0 42px rgba(56,189,248,0.28);
  animation: beamSweep 7s cubic-bezier(0.16,1,0.3,1) infinite alternate;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.hero__content { max-width: 760px; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.35rem); font-weight: 500; margin-bottom: var(--space-6); }
.hero .lede { font-size: var(--text-lg); margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); color: var(--color-text-muted); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.hero__proof span { border: 1px solid rgba(154,166,189,0.18); border-radius: var(--radius-full); padding: 0.55rem 0.8rem; background: rgba(12,15,23,0.48); }

.hero--video-first { align-items: start; }
.hero--video-first .hero__inner { grid-template-columns: 1fr; gap: clamp(var(--space-8), 5vw, var(--space-12)); }
.hero--video-first .hero__visual { order: 1; min-height: clamp(420px, 58vh, 640px); }
.hero--video-first .hero-media { min-height: clamp(420px, 58vh, 640px); border-radius: 36px; }
.hero--video-first .hero__content { order: 2; max-width: 860px; }
.hero--video-first .hero h1 { max-width: 900px; }
.hero--video-first .hero .lede { max-width: 760px; }

.hero__visual { position: relative; min-height: clamp(400px, 52vh, 500px); }
.hero-media {
  position: relative; min-height: clamp(400px, 52vh, 500px); border: 1px solid rgba(154,166,189,0.18); border-radius: 34px;
  overflow: hidden; background: linear-gradient(160deg, rgba(17,21,31,0.96), rgba(7,9,15,0.98));
  box-shadow: 0 28px 90px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.05);
  isolation: isolate;
}
.hero-media::before {
  content: ''; position: absolute; inset: 1px; border-radius: 32px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(255,255,255,0.04);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.42;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
}
.hero-media__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  filter: saturate(1.08) contrast(1.05) brightness(0.82);
}
.hero-media__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 34%, rgba(7,9,15,0.14) 52%, rgba(7,9,15,0.75) 100%),
    linear-gradient(180deg, rgba(7,9,15,0.08), rgba(7,9,15,0.55));
}
.hero-media__logo {
  position: absolute; z-index: 4; left: 50%; top: 47%; transform: translate(-50%, -50%);
  width: clamp(120px, 20vw, 190px); height: auto; padding: 0;
  border-radius: 0; background: transparent; border: 0;
  backdrop-filter: none; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.56)) drop-shadow(0 0 18px rgba(34,211,238,0.16));
}
.hero-media__fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; }
.fallback-orbit { position: absolute; border-radius: 999px; border: 1px solid rgba(34,211,238,0.22); box-shadow: 0 0 38px rgba(34,211,238,0.12); }
.fallback-orbit--one { width: 56%; aspect-ratio: 1; animation: orbitSpin 14s linear infinite; }
.fallback-orbit--two { width: 78%; aspect-ratio: 1; border-color: rgba(168,85,247,0.20); animation: orbitSpin 22s linear infinite reverse; }
.fallback-core { width: 28%; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(34,211,238,0.36), rgba(168,85,247,0.08) 55%, transparent 72%); filter: blur(2px); }
.signal-card {
  position: absolute; z-index: 4; min-width: 168px; padding: var(--space-4); border-radius: var(--radius-lg);
  background: rgba(7,9,15,0.66); border: 1px solid rgba(154,166,189,0.18);
  backdrop-filter: blur(18px); box-shadow: var(--shadow-md);
}
.signal-card--top { top: var(--space-6); left: var(--space-6); }
.signal-card--bottom { right: var(--space-6); bottom: var(--space-6); }
.signal-card__label { display: block; color: var(--color-text-faint); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-1); }
.signal-card strong { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.system-strip {
  position: absolute; z-index: 4; left: var(--space-6); right: var(--space-6); bottom: calc(var(--space-6) + 78px);
  display: grid; grid-template-columns: 1.3fr 0.9fr 1.1fr 0.7fr; gap: var(--space-2);
}
.system-strip span { height: 6px; border-radius: var(--radius-full); background: linear-gradient(90deg, rgba(34,211,238,0.24), rgba(168,85,247,0.34)); box-shadow: 0 0 18px rgba(56,189,248,0.16); animation: signalPulse 3.4s ease-in-out infinite; }
.system-strip span:nth-child(2) { animation-delay: 0.35s; }
.system-strip span:nth-child(3) { animation-delay: 0.7s; }
.system-strip span:nth-child(4) { animation-delay: 1.05s; }

@keyframes gridDrift { to { background-position: 64px 64px; } }
@keyframes beamSweep { from { transform: translateY(0) rotate(-1deg); opacity: 0.28; } to { transform: translateY(420px) rotate(1deg); opacity: 0.68; } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes signalPulse { 0%, 100% { opacity: 0.35; transform: scaleX(0.92); } 50% { opacity: 1; transform: scaleX(1); } }
@media (max-width: 1040px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual, .hero-media { min-height: 420px; }
}
@media (max-width: 620px) {
  .hero { padding-block: var(--space-16); }
  .hero__visual, .hero-media { min-height: 340px; }
  .signal-card { min-width: 142px; padding: var(--space-3); }
  .signal-card--top { top: var(--space-4); left: var(--space-4); }
  .signal-card--bottom { right: var(--space-4); bottom: var(--space-4); }
  .system-strip { left: var(--space-4); right: var(--space-4); bottom: calc(var(--space-4) + 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media__video { display: none; }
  .hero__grid, .hero__beam, .fallback-orbit, .system-strip span { animation: none !important; }
}

/* ---- Page header ---- */
.page-head { position: relative; padding-block: clamp(var(--space-16), 8vw, var(--space-24)); border-bottom: 1px solid var(--color-border); overflow: hidden; }
.page-head__bg { position: absolute; inset: 0; opacity: 0.4; background: radial-gradient(55% 60% at 80% 10%, rgba(168,85,247,0.14), transparent 60%); }
.page-head__inner { position: relative; }
.page-head h1 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-5); }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb span { color: var(--color-border-strong); }

/* ---- Cards ---- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-8); transition: var(--transition); height: 100%;
}
.card:hover { border-color: var(--color-border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--link { display: flex; flex-direction: column; }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--gradient-soft); border: 1px solid var(--color-border); color: var(--accent-cyan); margin-bottom: var(--space-5);
}
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); font-weight: 600; }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-5); flex: 1; }
.card .link-arrow { margin-top: auto; }

/* feature list */
.feature-list { display: grid; gap: var(--space-4); }
.feature-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.feature-list .check { flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--gradient-soft); color: var(--accent-cyan); margin-top: 2px; }
.feature-list strong { display: block; font-weight: 600; }
.feature-list span { color: var(--color-text-muted); font-size: var(--text-sm); }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat__num { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; }
.stat__label { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }

/* two-col content split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* panel / callout */
.panel { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); }
.panel--accent { border-color: var(--color-border-strong); background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface)); }

/* disclaimer */
.disclaimer {
  border: 1px solid var(--color-border); border-left: 3px solid var(--accent-violet);
  background: var(--color-surface); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted);
}
.disclaimer strong { color: var(--color-text); }
.disclaimer + .disclaimer { margin-top: var(--space-4); }

/* notice banner */
.notice { display: flex; gap: var(--space-3); align-items: flex-start; background: var(--color-surface-2); border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); padding: var(--space-5); }
.notice svg { color: var(--accent-cyan); flex-shrink: 0; margin-top: 2px; }

/* legal acknowledgment */
.has-legal-ack { overflow: hidden; }
.legal-ack {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: var(--space-5); background: rgba(3, 6, 16, 0.82); backdrop-filter: blur(14px);
}
.legal-ack__panel {
  width: min(680px, 100%); max-height: min(760px, calc(100vh - 2rem)); overflow: auto;
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow); padding: clamp(var(--space-6), 5vw, var(--space-10));
}
.legal-ack__panel img { width: 88px; height: auto; margin-bottom: var(--space-5); }
.legal-ack__panel h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.legal-ack__panel p { color: var(--color-text-muted); margin-bottom: var(--space-6); }
.legal-ack__check { margin-bottom: var(--space-6); }
.legal-ack-inline {
  display: grid; gap: var(--space-2); border: 1px solid rgba(34,211,238,0.35);
  border-left: 3px solid var(--accent-cyan); border-radius: var(--radius-md);
  background: rgba(34,211,238,0.08); padding: var(--space-5) var(--space-6);
  color: var(--color-text-muted); font-size: var(--text-sm);
}
.legal-ack-inline strong { color: var(--color-text); }

/* tags */
.tag { display: inline-block; font-size: var(--text-xs); font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); background: var(--color-surface-3); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.tag--accent { color: var(--accent-cyan); border-color: var(--accent-cyan); }

/* ---- Forms ---- */
.form-grid { display: grid; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); transition: var(--transition); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 560px){ .field--row { grid-template-columns: 1fr; } }
.field small { font-size: var(--text-xs); color: var(--color-text-faint); }
.checkbox-field { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }
.checkbox-field input { margin-top: 0.35rem; accent-color: var(--accent); }
.opening-list { display: grid; gap: var(--space-5); }
.opening-empty { text-align: center; max-width: 760px; margin-inline: auto; }
.opening-card { display: grid; gap: var(--space-5); }
.opening-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.opening-card__questions { margin: var(--space-2) 0 0; padding-left: var(--space-5); color: var(--color-text-muted); }

/* payment method list */
.pay-methods { display: grid; gap: var(--space-3); }
.pay-method {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
}
.pay-method__info strong { display: block; font-weight: 600; }
.pay-method__info small { color: var(--color-text-faint); font-size: var(--text-xs); }
.pay-method__status { font-size: var(--text-xs); font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full); white-space: nowrap; }
.status-ready { background: rgba(34,211,238,0.12); color: var(--accent-cyan); border: 1px solid rgba(34,211,238,0.3); }
.status-inquiry { background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.status-soon { background: var(--color-surface-3); color: var(--color-text-faint); border: 1px solid var(--color-border); }

/* order summary */
.summary-row { display: flex; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.summary-row--total { border-bottom: 0; font-weight: 700; font-size: var(--text-base); padding-top: var(--space-4); }

/* article / prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-8); margin-bottom: var(--space-3); font-weight: 600; }
.prose p { margin-bottom: var(--space-5); color: var(--color-text-muted); }
.prose ul, .prose ol { margin: 0 0 var(--space-5) var(--space-5); color: var(--color-text-muted); display: grid; gap: var(--space-2); }
.prose a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--color-text); }

/* blog list */
.post-list { display: grid; gap: var(--space-6); }
.post {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: start;
  padding: var(--space-6) 0; border-bottom: 1px solid var(--color-border);
}
.post__date { font-size: var(--text-xs); color: var(--color-text-faint); white-space: nowrap; min-width: 120px; }
.post h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); font-weight: 600; }
.post p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-3); }
@media (max-width: 620px){ .post { grid-template-columns: 1fr; gap: var(--space-2); } }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface)); border-block: 1px solid var(--color-border); }
.cta-band__inner { text-align: center; max-width: 680px; margin-inline: auto; }
.cta-band h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.cta-band .hero__actions { justify-content: center; }

/* ---- Footer ---- */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding-block: var(--space-16) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8); }
@media (max-width: 1000px){ .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 44px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 32ch; }
.footer-contact { margin-top: var(--space-5); display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.footer-contact a:hover { color: var(--accent-cyan); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--space-3); }
.footer-col a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-text); }
.footer-bottom { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-bottom a:hover { color: var(--color-text-muted); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a { display: inline-flex; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text-muted); }
.footer-social a:hover { color: var(--accent-cyan); border-color: var(--color-border-strong); }

/* reveal animation */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16,1,0.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
