/* =========================================================
   Planetiware — design tokens
   ========================================================= */
:root {
  /* Canvas */
  --ink: #0a1628;           /* deep navy */
  --ink-2: #0f1d35;         /* slightly lighter surface on dark */
  --ink-3: #16284a;         /* card on dark */
  --line-dark: #1e2e4a;     /* hairline on dark */

  /* Light side */
  --paper: #f7f8fa;
  --paper-2: #ffffff;
  --line: #e3e7ee;
  --line-2: #eef1f6;

  /* Text */
  --fg: #0a1628;
  --fg-2: #475569;
  --fg-mute: #64748b;
  --fg-light: #f8fafc;
  --fg-light-2: #cbd5e1;
  --fg-light-mute: #94a3b8;

  /* Accent */
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-dim: #1d4ed8;
  --blue-soft: #dbeafe;

  /* Type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   Layout helpers
   ========================================================= */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.dark {
  background: var(--ink);
  color: var(--fg-light);
}
.dark .muted { color: var(--fg-light-mute); }
.muted { color: var(--fg-mute); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.dark .eyebrow { color: var(--blue-2); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p  { line-height: 1.55; margin: 0; text-wrap: pretty; }

/* =========================================================
   Top nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--fg-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--fg-light-2);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--fg-light); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--fg-light); background: rgba(255,255,255,0.08); }
.nav-cta { margin-left: 8px; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}
.logo-img {
  height: 22px;
  width: auto;
  display: block;
}
.logo-reg {
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
  margin-top: 2px;
  color: var(--fg-light-mute);
  font-weight: 400;
  letter-spacing: 0;
}
.footer .logo-img { height: 24px; }
.footer .logo-reg { font-size: 10px; margin-top: 3px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px rgba(59,130,246,0.55);
}
.btn-primary:hover { background: #2563eb; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--fg-light);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: #2c4070; }
.btn-light-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.btn-light-ghost:hover { background: white; border-color: #c9d2e0; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-arrow svg { transition: transform .15s ease; }
.btn-arrow:hover svg { transform: translateX(2px); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: var(--fg-light);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  margin-top: 18px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-2);
  position: relative;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-light-2);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  max-width: 540px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-light-mute);
}
.hero-meta-item .v {
  font-size: 15px;
  color: var(--fg-light);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hero-card {
  position: absolute;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}
.hero-card.top {
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card.bottom {
  bottom: 20px;
  left: 20px;
  right: 20px;
}
.hero-card .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.hero-card .label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-light-mute);
  letter-spacing: 0.04em;
}
.hero-card .val {
  font-size: 14px;
  color: var(--fg-light);
  font-weight: 500;
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.hero-card-row + .hero-card-row {
  border-top: 1px solid var(--line-dark);
}

/* Photo placeholder (striped) */
.photo-ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.025) 0 18px,
      rgba(255,255,255,0.06) 18px 36px),
    linear-gradient(160deg, #1a2a4a 0%, #0f1d35 100%);
  color: var(--fg-light-mute);
  border-radius: inherit;
}
.photo-ph.light {
  background:
    repeating-linear-gradient(135deg,
      rgba(10,22,40,0.03) 0 18px,
      rgba(10,22,40,0.07) 18px 36px),
    linear-gradient(160deg, #eef2f8 0%, #e3e9f3 100%);
  color: #64748b;
}
.photo-ph-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: inherit;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 4px;
}
.photo-ph.light .photo-ph-label {
  background: rgba(255,255,255,0.75);
  color: #475569;
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--paper-2);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  flex-shrink: 0;
}
.trust-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.trust-logo {
  height: 22px;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: #94a3b8;
  gap: 8px;
}
.trust-logo svg { color: inherit; }

/* =========================================================
   Section heads
   ========================================================= */
section { padding: clamp(72px, 9vw, 120px) 0; }
section.tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}
.section-head .lede {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 520px;
  justify-self: end;
}
.dark .section-head .lede { color: var(--fg-light-2); }

/* =========================================================
   How we work
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.process-step {
  padding: 28px 28px 36px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  transition: background .2s ease;
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(255,255,255,0.02); }
.process-step.active { background: rgba(59,130,246,0.06); }
.process-step.active::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}
.process-step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-light-mute);
  margin-bottom: 18px;
  display: block;
}
.process-step.active .num { color: var(--blue-2); }
.process-step h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  color: var(--fg-light-mute);
  line-height: 1.5;
}

.process-detail {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .process-detail { grid-template-columns: 1fr; gap: 32px; }
}
.process-detail-text h3 {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 500;
}
.process-detail-text p {
  color: var(--fg-light-2);
  font-size: 16px;
  margin-bottom: 24px;
}
.process-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-light-2);
}
.process-detail-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--blue-2);
}
.process-detail-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

/* =========================================================
   Outcomes / stats
   ========================================================= */
.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
.outcome {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.outcome:last-child { border-right: none; }
.outcome .big {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.outcome .big sup {
  font-size: 0.4em;
  color: var(--blue);
  font-family: var(--mono);
}
.outcome .lbl {
  font-size: 14px;
  color: var(--fg-2);
}

/* =========================================================
   Service cards (Solutions teaser)
   ========================================================= */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

.sol-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color .15s ease, transform .15s ease;
  position: relative;
  overflow: hidden;
}
.sol-card:hover {
  border-color: #c9d2e0;
  transform: translateY(-2px);
}
.sol-card .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sol-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}
.sol-card p {
  font-size: 14px;
  color: var(--fg-2);
  flex: 1;
  margin-bottom: 18px;
}
.sol-card .more {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Quote / case study
   ========================================================= */
.quote {
  background: var(--ink);
  color: var(--fg-light);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; gap: 32px; } }
.quote blockquote {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  font-weight: 400;
  color: var(--fg-light);
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  color: white;
}
.quote-attr .who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-attr .who .name { font-size: 14px; font-weight: 500; }
.quote-attr .who .role { font-size: 12px; color: var(--fg-light-mute); font-family: var(--mono); }
.quote-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .cta-band-inner { grid-template-columns: 1fr; gap: 24px; } }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--fg-2); font-size: 17px; max-width: 460px; }
.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-self: end;
}
@media (max-width: 800px) { .cta-band .actions { justify-self: start; } }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--fg-light-2);
  padding: 72px 0 36px;
  border-top: 1px solid var(--line-dark);
}
.version-stamp {
  position: fixed; bottom: 8px; right: 10px; z-index: 20; pointer-events: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--fg-light-mute); opacity: 0.35;
}
/* =========================================================
   Remote support page
   ========================================================= */
.hero.rs { padding: clamp(48px,8vw,88px) 0 clamp(56px,9vw,104px); }
.hero.rs .hero-grid { align-items: center; }
.rs-alt { border-top: 1px solid var(--line-dark); margin-top: 8px; padding-top: 28px; max-width: 540px; }
.rs-alt-head { font-size: 17px; font-weight: 600; color: var(--fg-light); margin-bottom: 6px; }
.rs-alt > p { font-size: 14px; color: var(--fg-light-mute); margin-bottom: 20px; max-width: 460px; }
.rs-contact { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 24px; }
.rs-contact-item { display: flex; align-items: center; gap: 12px; }
.rs-contact-item .ic {
  width: 38px; height: 38px; flex: none; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-3); border: 1px solid var(--line-dark); color: var(--blue-2);
}
.rs-contact-item .txt { display: flex; flex-direction: column; gap: 2px; }
.rs-contact-item .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--fg-light-mute); }
.rs-contact-item .v { font-size: 15px; font-weight: 500; color: var(--fg-light); }
.rs-contact-item:hover .v { color: var(--blue-2); }

.rs-visual { position: relative; }
.rs-card {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-xl);
  padding: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.rs-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 4px 18px; border-bottom: 1px solid var(--line-dark); margin-bottom: 20px;
}
.rs-card-head .dot {
  width: 8px; height: 8px; border-radius: 999px; flex: none;
  background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.rs-card-head .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-light-mute); }
.rs-card-head .val { font-size: 14px; font-weight: 500; color: var(--fg-light); margin-top: 2px; }

.rs-join {
  background: var(--ink-3); border: 1px solid var(--line-dark);
  border-top: 2px solid #e5484d; border-radius: var(--r-md); padding: 18px 18px 20px;
}
.rs-join-title { font-size: 15px; color: var(--fg-light-2); margin-bottom: 14px; }
.rs-join-title strong { color: #e5484d; font-weight: 600; }
.rs-join-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-light-mute); margin-bottom: 8px; }
.rs-join-row { display: flex; gap: 8px; align-items: stretch; }
.rs-join-input {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 16px; letter-spacing: 0.06em;
  color: var(--fg-light); background: var(--ink); border: 1px solid var(--line-dark);
  border-radius: var(--r-sm); padding: 11px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.rs-join-input::placeholder { color: var(--fg-light-mute); letter-spacing: 0.04em; }
.rs-join-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.18); }
.rs-join-input.err { border-color: #e5484d; }
.rs-join-btn {
  flex: none; width: 48px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--blue); border: none; border-radius: var(--r-sm); cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.rs-join-btn:hover { background: var(--blue-dim); }
.rs-join-btn:active { transform: scale(0.95); }
.rs-join-btn svg { width: 18px; height: 18px; }
.rs-join-err { display: block; margin-top: 10px; font-size: 12px; color: #f0777b; }
.rs-embed {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-dark); border-top: 2px solid #e5484d;
  margin-top: 16px; height: 0; opacity: 0; transition: opacity .2s ease;
}
.rs-embed.on { height: auto; opacity: 1; }
.rs-embed-frame { display: block; width: 100%; height: 360px; border: 0; background: #fff; }
.rs-embed:not(.on) .rs-embed-frame { height: 0; }
.rs-embed-fallback { margin-top: 14px; font-size: 12px; color: var(--fg-light-mute); }
.rs-embed-fallback a { color: var(--blue-2); }

.rs-card-reassure { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rs-card-reassure li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-light-2); }
.rs-card-reassure .tick {
  width: 20px; height: 20px; flex: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,0.14); color: #22c55e;
}
.rs-card-reassure .tick svg { width: 12px; height: 12px; }
@media (max-width: 960px) { .rs-visual { max-width: 480px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.15fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-support .sc-join { margin-top: 0; }
.sc-join.pulse { animation: scJoinPulse 1.6s ease; }
@keyframes scJoinPulse {
  0%   { box-shadow: 0 10px 30px -14px rgba(0,0,0,0.5), 0 0 0 0 color-mix(in srgb, var(--blue) 55%, transparent); }
  15%  { box-shadow: 0 10px 30px -14px rgba(0,0,0,0.5), 0 0 0 6px color-mix(in srgb, var(--blue) 45%, transparent); transform: translateY(-2px); }
  100% { box-shadow: 0 10px 30px -14px rgba(0,0,0,0.5), 0 0 0 0 transparent; transform: translateY(0); }
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-light-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fg-light-2);
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--fg-light); }
.footer-brand p {
  font-size: 14px;
  color: var(--fg-light-mute);
  margin-top: 16px;
  max-width: 320px;
}
.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;
}
.sc-join {
  margin-top: 22px;
  background: #f7f8fa;
  border: 1px solid #e2e6ec;
  border-top: 2px solid #e5484d;
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,0.5);
}
.sc-join-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.sc-join-head strong {
  color: #e5484d; font-weight: 600;
  font-family: var(--sans);
  font-size: 14px; letter-spacing: 0; text-transform: none;
  margin-right: 2px;
}
.sc-join-note {
  font-size: 12.5px; line-height: 1.45;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.sc-join-row { display: flex; gap: 8px; align-items: stretch; }
.sc-join-input {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em;
  color: var(--ink);
  background: #fff; border: 1px solid #cfd6e0;
  border-radius: var(--r-sm); padding: 10px 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sc-join-input::placeholder { color: var(--fg-mute); letter-spacing: 0; font-family: var(--sans); }
.sc-join-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.sc-join-input.err { border-color: #e5484d; box-shadow: 0 0 0 3px color-mix(in srgb, #e5484d 18%, transparent); }
.sc-join-btn {
  flex: none; width: 44px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--blue); border: none;
  border-radius: var(--r-sm); cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.sc-join-btn:hover { background: var(--blue-dim); }
.sc-join-btn:active { transform: scale(0.95); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--fg-light-mute);
  font-family: var(--mono);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .sys {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .sys .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;  box-shadow: 0 0 0 4px rgba(34,197,94,0.16);
}

/* =========================================================
   Page header (for inner pages)
   ========================================================= */
.page-head {
  background: var(--ink);
  color: var(--fg-light);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
}
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(40px, 5vw, 64px);
  max-width: 14ch;
  margin-bottom: 20px;
}
.page-head .lede {
  font-size: 18px;
  color: var(--fg-light-2);
  max-width: 540px;
}

/* =========================================================
   Solutions page (full)
   ========================================================= */
.sol-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .sol-detail { grid-template-columns: 1fr; gap: 24px; }
}
.sol-tabs {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.sol-tab {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg-2);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.sol-tab:hover { color: var(--ink); }
.sol-tab.active {
  color: var(--ink);
  border-left-color: var(--blue);
  font-weight: 500;
}
.sol-tab .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  margin-right: 10px;
}
.sol-tab.active .num { color: var(--blue); }

.sol-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}
.sol-panel h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.sol-panel .panel-sub {
  color: var(--fg-2);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 60ch;
}
.sol-panel .visual {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.sol-panel .includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 600px) { .sol-panel .includes { grid-template-columns: 1fr; } }
.sol-panel .includes li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-2);
}
.sol-panel .includes li strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2px;
}
.sol-panel .includes li svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   About page
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p {
  color: var(--fg-2);
  font-size: 17px;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.about-stat {
  background: var(--paper-2);
  padding: 28px 24px;
}
.about-stat .v {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.about-stat .l {
  font-size: 13px;
  color: var(--fg-2);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.team-card .name { font-size: 16px; font-weight: 500; margin-bottom: 2px; }
.team-card .role { font-size: 13px; color: var(--fg-mute); font-family: var(--mono); }

/* Founder spotlight (default team layout) */
.founder-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 760px;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
}
.founder-mono {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.founder-info .founder-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.founder-info .founder-name {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.founder-info p {
  color: var(--fg-2);
  margin: 0;
  line-height: 1.55;
}
.team-tail {
  margin-top: 32px;
  max-width: 760px;
  font-size: 14px;
  color: var(--fg-mute);
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
@media (max-width: 700px) {
  .founder-block { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .founder-mono { width: 88px; height: 88px; font-size: 30px; }
}

/* Name list (no avatars) */
.team-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 700px) { .team-list { grid-template-columns: 1fr; } }
.team-list-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-list-row .name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.team-list-row .role {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

/* Monogram avatar (grid) */
.team-monogram {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h3 { font-size: 24px; margin-bottom: 12px; }
.contact-info p {
  color: var(--fg-2);
  margin-bottom: 28px;
  font-size: 16px;
  max-width: 42ch;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-list .ic {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info-list .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 4px;
}
.contact-info-list .v {
  font-size: 15px;
  color: var(--ink);
}

.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}
.field.err input,
.field.err select,
.field.err textarea {
  border-color: #ef4444;
}
.field-err {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  font-family: var(--mono);
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--fg-2);
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--sans);
}
.chip:hover { border-color: #c9d2e0; color: var(--ink); }
.chip.on {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.form-submit .hint {
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--mono);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .ok {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.form-success h3 { margin-bottom: 8px; font-size: 24px; }
.form-success p { color: var(--fg-2); max-width: 36ch; margin: 0 auto 24px; }

/* =========================================================
   Misc
   ========================================================= */
.kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--fg-light-mute);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade-in .35s ease both; }

/* =========================================================
   Legal page
   ========================================================= */
.footer-bottom a { color: var(--fg-light-2); }
.footer-bottom a:hover { color: var(--fg-light); }
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } }
.legal-toc { position: sticky; top: 96px; }
@media (max-width: 800px) { .legal-toc { position: static; } }
.legal-toc-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-mute); margin-bottom: 14px;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-toc a {
  font-size: 14px; color: var(--fg-2);
  border-left: 2px solid var(--line-2); padding-left: 14px;
  transition: color .15s ease, border-color .15s ease;
}
.legal-toc a:hover { color: var(--ink); border-left-color: var(--blue); }
.legal-body { max-width: 68ch; }
.legal-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: none; margin-bottom: 0; }
.legal-section h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 8px; scroll-margin-top: 100px; }
.legal-updated {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--fg-mute); margin-bottom: 20px;
}
.legal-section p { font-size: 15px; line-height: 1.7; color: var(--fg-2); margin: 0 0 16px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-h { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; margin: 28px 0 12px; scroll-margin-top: 100px; }
.legal-h4 { font-size: 14px; font-weight: 600; color: var(--fg); margin: 20px 0 8px; }
.legal-ol, .legal-ul { margin: 0 0 16px; padding-left: 22px; }
.legal-ol li, .legal-ul li { font-size: 15px; line-height: 1.7; color: var(--fg-2); margin-bottom: 8px; }
.legal-section a { color: var(--blue); }
.legal-section a:hover { color: var(--blue-dim); }
.legal-acc { border-bottom: 1px solid var(--line); }
.legal-acc[open] { padding-bottom: 8px; }
.legal-acc-sum {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer;
  padding: 16px 0; font-size: 15px; font-weight: 600; color: var(--ink);
  transition: color .15s ease;
}
.legal-acc-sum::-webkit-details-marker { display: none; }
.legal-acc-sum:hover { color: var(--blue); }
.legal-acc-icon { flex: none; position: relative; width: 14px; height: 14px; }
.legal-acc-icon::before, .legal-acc-icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.legal-acc-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.legal-acc-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.legal-acc[open] .legal-acc-icon::after { transform: scaleY(0); opacity: 0; }
.legal-acc-body { padding-bottom: 8px; animation: legalAccIn .2s ease both; }
.legal-acc-body > *:first-child { margin-top: 0; }
@keyframes legalAccIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
