/* Tailarr — tailarr.com
   Signal Cyan #22D3EE on App Ink #32323E · Space Grotesk */

:root {
  --ink: #32323E;
  --ink-deep: #26262f;
  --ink-deeper: #1e1e26;
  --panel: #3a3a47;
  --panel-edge: #4b4b5a;
  --cyan: #22D3EE;
  --cyan-dim: rgba(34, 211, 238, 0.16);
  --text: #E2E8F0;
  --text-dim: #94A3B8;
  --text-faint: #64748B;
  --green: #34D399;
  --radius: 16px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--ink-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(34, 211, 238, 0.3); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--cyan); }
.accent { color: var(--cyan); }
.arr { color: var(--cyan); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.85rem 1.7rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cyan); color: var(--ink-deeper); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(34, 211, 238, 0.35); }
.btn-ghost { color: var(--text); border: 1px solid var(--panel-edge); }
.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255, 255, 255, 0.03); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; border-radius: 10px; }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(38, 38, 47, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(75, 75, 90, 0.5);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.wordmark { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.wordmark-sm { font-size: 1.15rem; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-gh { color: var(--text-dim); display: flex; transition: color 0.15s ease; }
.nav-gh:hover { color: var(--text); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 24px 96px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(34, 211, 238, 0.09), transparent 70%),
    radial-gradient(ellipse 60% 45% at 50% 10%, var(--ink), transparent 75%);
  pointer-events: none;
}
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.75rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.hero h1 { font-size: clamp(2rem, 8.8vw, 4.6rem); }
.hero .sub {
  margin: 1.5rem auto 0;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-dim);
  max-width: 620px;
}
.hero .sub em { font-style: normal; color: var(--text); }
.cta-row {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-faint); }

/* --- Hero stage: phone ⇄ link ⇄ server --- */
.hero-stage {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(160px, 1fr) minmax(220px, 280px);
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.stage-side { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.stage-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Phone mockup */
.phone {
  width: min(250px, 100%);
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #4a4a58, #2b2b34);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.phone-screen {
  border-radius: 33px;
  background: linear-gradient(175deg, var(--ink) 0%, var(--ink-deeper) 100%);
  padding: 12px 16px 14px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
}
.ps-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ps-time { font-size: 0.68rem; font-weight: 600; color: var(--text); }
.ps-island { width: 62px; height: 16px; border-radius: 999px; background: #0c0c10; }
.ps-batt {
  width: 18px; height: 9px;
  border: 1px solid var(--text-faint);
  border-radius: 3px;
  position: relative;
}
.ps-batt::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  right: 30%;
  background: var(--green);
  border-radius: 1px;
}
.ps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ps-title { font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
.ps-linked {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid rgba(75, 75, 90, 0.7);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot-live { background: var(--green); box-shadow: 0 0 6px rgba(52, 211, 153, 0.6); }
.ps-rows { display: flex; flex-direction: column; gap: 7px; }
.ps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 7px 10px;
}
.ps-name { font-size: 0.72rem; font-weight: 500; color: var(--text); flex: none; width: 58px; }
.ps-bars {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.ps-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.55), var(--cyan));
}
.ps-busy i { animation: busy 2.4s ease-in-out infinite alternate; }
@keyframes busy { from { width: 58%; } to { width: 84%; } }
.ps-chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  padding: 0 2px;
}
.ps-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.75), rgba(34, 211, 238, 0.15));
}
.ps-tabbar {
  margin-top: 12px;
  display: flex;
  justify-content: space-around;
  padding: 8px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ps-tabbar i {
  width: 26px; height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.ps-tabbar i.on { background: var(--cyan); }

/* Connection link */
.stage-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  align-self: center;
  min-width: 0;
}
.link-svg { width: 100%; height: 120px; }
.link-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}

/* Server card */
.server-card {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--ink) 0%, var(--ink-deeper) 100%);
  border: 1px solid rgba(75, 75, 90, 0.55);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
}
.sc-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(75, 75, 90, 0.45);
  background: rgba(0, 0, 0, 0.18);
}
.sc-titlebar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.sc-titlebar i:nth-child(1) { background: #f66; opacity: 0.7; }
.sc-titlebar i:nth-child(2) { background: #fb5; opacity: 0.7; }
.sc-titlebar i:nth-child(3) { background: #5c7; opacity: 0.7; }
.sc-host { margin-left: 8px; font-size: 0.72rem; color: var(--text-faint); }
.sc-rows { padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.sc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.sc-svc { color: var(--text); min-width: 64px; }
.sc-dns { color: var(--text-faint); font-size: 0.72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.sc-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--green);
}
.sc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(75, 75, 90, 0.45);
  font-size: 0.78rem;
  color: var(--cyan);
}
.sc-shield { display: inline-flex; }

/* ============ Suite duo ============ */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.duo-card { min-width: 0; }
.duo-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(75, 75, 90, 0.5);
  border-radius: var(--radius);
  padding: 2.1rem 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.duo-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-3px); }
.duo-head { display: flex; align-items: center; gap: 1rem; }
.duo-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--cyan-dim);
  color: var(--cyan);
  flex: none;
}
.duo-head h3 { font-size: 1.45rem; }
.duo-tag { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.15rem; }
.duo-points { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.duo-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.duo-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.75;
}
.duo-points strong { color: var(--text); font-weight: 600; }
.code {
  background: #17171d;
  border: 1px solid rgba(75, 75, 90, 0.6);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  overflow-x: auto;
}
.code code {
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: pre;
}
.code-var { color: var(--cyan); }
.duo-link {
  margin-top: auto;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.duo-link:hover { text-decoration: underline; }
.cta-left { justify-content: flex-start; margin-top: 0; }
.duo-combo {
  margin-top: 3.5rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* Mini terminal (step art) */
.mini-term {
  width: 100%;
  background: #17171d;
  border: 1px solid rgba(75, 75, 90, 0.7);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.74rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Problem strip ============ */
.strip { padding: 72px 24px; background: var(--ink-deeper); border-block: 1px solid rgba(75, 75, 90, 0.35); }
.strip-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.strip-lede { font-size: clamp(1.1rem, 2.6vw, 1.45rem); color: var(--text-dim); line-height: 1.55; }
.strike { text-decoration: line-through; text-decoration-color: rgba(226, 232, 240, 0.5); text-decoration-thickness: 2px; }
.strip-punch { margin-top: 1.25rem; font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }

/* ============ Sections ============ */
.section { padding: 110px 24px; max-width: 1200px; margin: 0 auto; }
.section-narrow { max-width: 820px; }
.section-dark {
  max-width: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(34, 211, 238, 0.05), transparent 70%),
    var(--ink-deeper);
  border-block: 1px solid rgba(75, 75, 90, 0.35);
}
.section-dark > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.section-sub { margin-top: 1.25rem; color: var(--text-dim); font-size: 1.08rem; }

/* ============ Steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(75, 75, 90, 0.5);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-3px); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step p { color: var(--text-dim); font-size: 0.97rem; }
.step-art {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 88px;
}
.mini-appicon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--ink);
  border: 1px solid rgba(75, 75, 90, 0.6);
  display: grid;
  place-items: center;
  padding: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.mini-appicon svg { width: 100%; height: 100%; }
.mini-get {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  padding: 0.3rem 1rem;
}
.mini-field {
  display: flex;
  align-items: center;
  background: var(--ink-deeper);
  border: 1px solid rgba(75, 75, 90, 0.7);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.76rem;
  color: var(--text-dim);
}
.mini-caret { width: 1.5px; height: 14px; background: var(--cyan); margin-left: 3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-toggle {
  width: 46px; height: 27px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  transition: background 0.2s ease;
  flex: none;
}
.mini-toggle.on { background: var(--cyan); }
.mini-toggle i {
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.mini-toggle.on i { transform: translateX(19px); }
.mini-net { width: 100%; max-width: 210px; height: 76px; }

/* ============ Features ============ */
.svc-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(75, 75, 90, 0.55);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.grid { display: grid; gap: 1.5rem; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(75, 75, 90, 0.5);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.035);
  transform: translateY(-3px);
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cyan-dim);
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

/* ============ Security ============ */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}
.sec-item { text-align: center; padding: 0 0.5rem; }
.sec-glyph {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.07);
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.sec-item h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.sec-item p { color: var(--text-dim); font-size: 0.97rem; }
.scan-art { max-width: 620px; margin: 0 auto; text-align: center; }
.scan-term {
  text-align: left;
  background: #17171d;
  border: 1px solid rgba(75, 75, 90, 0.6);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  line-height: 1.9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.scan-prompt { color: var(--cyan); margin-right: 0.5rem; }
.scan-dim { color: var(--text-faint); }
.scan-cursor {
  display: inline-block;
  width: 9px; height: 17px;
  background: var(--text-dim);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}
.scan-caption { margin-top: 1rem; font-size: 0.88rem; color: var(--text-faint); }

/* ============ Sharing ============ */
.share-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 3.5rem;
}
.share-hub { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.share-server {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 20px;
  background: var(--ink);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(34, 211, 238, 0.12);
}
.share-hub-label, .share-person span:last-child {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 500;
}
.share-svg { width: 100%; height: auto; min-width: 0; }
.share-people { display: flex; flex-direction: column; gap: 1.9rem; }
.share-person { display: flex; align-items: center; gap: 0.7rem; }
.share-ava {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(75, 75, 90, 0.7);
  flex: none;
}
.share-ava.a1 { background: linear-gradient(135deg, #22D3EE44, #22D3EE18), var(--ink); }
.share-ava.a2 { background: linear-gradient(135deg, #34D39944, #34D39918), var(--ink); }
.share-ava.a3 { background: linear-gradient(135deg, #A78BFA44, #A78BFA18), var(--ink); }
.share-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.share-point {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(75, 75, 90, 0.5);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
}
.share-point h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.share-point p { color: var(--text-dim); font-size: 0.95rem; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-list details {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(75, 75, 90, 0.5);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: rgba(34, 211, 238, 0.4); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.15rem 1.4rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-plus::before { width: 16px; height: 2px; }
.faq-plus::after { width: 2px; height: 16px; }
details[open] .faq-plus::after { transform: rotate(90deg); }
.faq-list details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.faq-list details p em { font-style: italic; color: var(--text); }

/* ============ Final CTA ============ */
.final-cta {
  padding: 130px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 65% 70% at 50% 100%, rgba(34, 211, 238, 0.1), transparent 70%),
    var(--ink-deeper);
  border-top: 1px solid rgba(75, 75, 90, 0.35);
}
.final-inner { max-width: 640px; margin: 0 auto; }
.final-mark { width: 88px; height: 88px; margin-bottom: 1.5rem; }
.final-cta h2 { font-size: clamp(2.1rem, 5.5vw, 3.3rem); }
.final-cta p { margin-top: 1.1rem; color: var(--text-dim); font-size: 1.15rem; }
.final-cta .cta-row { margin-top: 2.25rem; }

/* ============ Footer ============ */
.footer { background: var(--ink-deeper); border-top: 1px solid rgba(75, 75, 90, 0.35); padding: 56px 24px 40px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand p { margin-top: 0.5rem; color: var(--text-faint); font-size: 0.92rem; }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(75, 75, 90, 0.3);
  color: var(--text-faint);
  font-size: 0.8rem;
  line-height: 1.7;
}
.footer-legal p + p { margin-top: 0.4rem; }
.footer-legal a { color: var(--text-dim); }

/* ============ Reveal animations ============ */
/* Hidden state only applies once JS has tagged <html class="js">,
   so content is never invisible without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .stage-link { padding: 0.75rem 0; flex-direction: column-reverse; gap: 1rem; }
  .link-svg { width: 150px; height: 150px; transform: rotate(90deg); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .sec-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 3.5rem; }
  .share-stage { grid-template-columns: 1fr; justify-items: center; gap: 1.5rem; }
  .share-svg { display: none; }
  .share-people { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
  .share-points { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
  .hero { padding-bottom: 64px; }
  .hero-stage { margin-top: 3.5rem; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot, .ps-busy i, .mini-caret, .scan-cursor { animation: none; }
  .packets { display: none; }
  .btn, .card, .step { transition: none; }
  .btn:hover, .card:hover, .step:hover { transform: none; }
}
