/* Oxidegrid company site — site-2026-09-26.css */
:root {
  --navy: #1E3A5F;
  --ink: #1E3A5F;
  --accent: #3B82F6;
  --muted: #5A6A80;
  --canvas: #E8EEF4;
  --paper: #F7F9FB;
  --line: #D5DCE6;
  --footer: #132840;
  --d: #1E3A5F;
  --a: #3B82F6;
  --c: #BFDBFE;
  --i: #9CA3AF;
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--canvas); }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.topbar { height: 3px; background: var(--accent); position: sticky; top: 0; z-index: 40; }
.site-header {
  position: sticky; top: 3px; z-index: 30;
  background: rgba(232, 238, 244, 0.86);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 20px;
}
.mark img.wordmark { height: 28px; width: auto; }
nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
nav a { color: var(--navy); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }

/* Home hero */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(30,58,95,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,58,95,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-cell {
  position: absolute; width: 48px; height: 48px;
  background: rgba(59,130,246,0.16);
  opacity: 0;
  animation: fillCell 0.7s ease forwards;
}
.hero-cell:nth-child(1) { top: 96px; left: 12%; animation-delay: 0.05s; }
.hero-cell:nth-child(2) { top: 192px; left: 12%; margin-left: 96px; animation-delay: 0.18s; background: rgba(30,58,95,0.10); }
.hero-cell:nth-child(3) { top: 144px; right: 14%; animation-delay: 0.3s; }
.hero-cell:nth-child(4) { bottom: 80px; right: 14%; margin-right: 48px; animation-delay: 0.42s; background: rgba(30,58,95,0.08); }
@keyframes fillCell { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-cell { animation: none; opacity: 0.55; }
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 15ch;
  color: var(--navy);
  margin-bottom: 20px;
}
.lede { font-size: 18px; color: var(--muted); max-width: 38ch; margin-bottom: 28px; }
.btn {
  display: inline-block;
  background: var(--navy); color: #fff;
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 12px 18px; border: 0; border-radius: 2px; cursor: pointer;
}
.btn:hover { background: #16304f; }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(30,58,95,0.28);
  margin-left: 10px;
}
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 8px 0 72px;
}
.steps h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.steps p { color: var(--navy); font-size: 16px; }

/* Registry */
.section { padding: 8px 0 80px; }
.section h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.registry { width: 100%; border-collapse: collapse; }
.registry a.row, .registry .row {
  display: grid;
  grid-template-columns: 1.4fr 1.8fr 0.6fr 0.7fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 16px;
  text-decoration: none; color: inherit;
  border-top: 1px solid var(--line);
}
.registry a.row:last-child, .registry .row:last-child { border-bottom: 1px solid var(--line); }
.registry a.row:hover {
  background: #fff;
  box-shadow: 0 1px 0 #fff;
}
.registry .name { font-weight: 500; color: var(--navy); }
.registry .one { color: var(--muted); font-size: 15px; }
.registry .price { font-weight: 500; }
.tag { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.tag.soon { color: var(--muted); }

/* Product hero */
.product-hero {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 48px; align-items: start;
  padding: 64px 0 48px;
}
.product-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.15;
  margin-bottom: 14px;
}
.kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.price-lg { font-size: 22px; font-weight: 500; margin: 18px 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 18px; }
.note { color: var(--muted); font-size: 15px; }

.matrix-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(19, 40, 64, 0.08);
  padding: 18px 18px 12px;
}
.matrix-card p.caption { font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.matrix th, .matrix td { padding: 8px 8px; text-align: left; border-bottom: 1px solid #EEF1F5; white-space: nowrap; }
.matrix th { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.matrix td.item { font-weight: 500; color: var(--navy); white-space: normal; min-width: 140px; }
.code {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 2px;
  font-size: 11px; font-weight: 500; color: #fff;
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .code { animation: pop 0.35s ease both; }
}
.code.d { background: var(--d); }
.code.a { background: var(--a); }
.code.c { background: var(--c); color: var(--navy); }
.code.i { background: var(--i); }
.matrix tr:nth-child(1) .code { animation-delay: 0.15s; }
.matrix tr:nth-child(2) .code { animation-delay: 0.28s; }
.matrix tr:nth-child(3) .code { animation-delay: 0.4s; }
.matrix tr:nth-child(4) .code { animation-delay: 0.52s; }
.matrix tr:nth-child(5) .code { animation-delay: 0.64s; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .code { animation: none; opacity: 1; }
}
.matrix-scroll { overflow-x: auto; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 8px 0 64px; }
.tile { background: #fff; border: 1px solid var(--line); padding: 24px 22px; min-height: 160px; }
.tile.invert { background: var(--navy); color: #fff; border-color: var(--navy); }
.tile h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.tile p { font-size: 15px; color: var(--muted); }
.tile.invert p { color: rgba(255,255,255,0.78); }

.faq { padding: 0 0 80px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.legal-block { padding: 12px 0 8px; max-width: 720px; }
.legal-block h2 { font-size: 18px; font-weight: 500; text-transform: none; letter-spacing: -0.02em; color: var(--navy); margin: 28px 0 8px; }
.legal-block p { margin-bottom: 12px; }

.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.035em; }

.thanks { padding: 80px 0 120px; max-width: 560px; }

/* Footer */
.site-footer { background: var(--footer); color: #C5D0DC; padding: 48px 0 28px; margin-top: 24px; }
.site-footer a { color: #E8EEF4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.og { width: 32px; height: 32px; margin-bottom: 12px; }
.foot-brand p { font-size: 14px; line-height: 1.55; }
.foot-col h3 { color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.foot-col a, .foot-col p { display: block; font-size: 14px; margin-bottom: 6px; color: #C5D0DC; }
.foot-copy { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; font-size: 13px; color: #8A99AB; }

@media (max-width: 860px) {
  .hero-cell { display: none; }
  .product-hero, .tiles, .steps, .foot-grid { grid-template-columns: 1fr; }
  .registry a.row, .registry .row { grid-template-columns: 1fr 1fr; }
  .registry .one { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .hero { padding: 56px 0 48px; }
  nav { gap: 16px; }
  .btn-ghost { margin-left: 0; }
  .registry a.row, .registry .row { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
}
