/* RestoreBound coming-soon site */

:root {
  --ink: #15211F;
  --ink-soft: #2E3B36;
  --muted: #56655F;
  --surface: #F5F7F5;
  --card: #FFFFFF;
  --primary: #167463;
  --primary-dark: #0D5548;
  --review: #C95C36;
  --review-tint: #F7E9E2;
  --border: #CDD7D2;
  --tint: #E7F1EE;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; }

a { color: var(--primary-dark); }
a:hover { color: var(--primary); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  z-index: 10;
}
.skip-link:focus { top: 0; color: #fff; }

/* Layout bands: full-width background, constrained inner content */
.band { padding: 3.5rem 1.25rem; }
.inner { max-width: 68rem; margin-inline: auto; }
.inner-narrow { max-width: 42rem; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-compact { padding: 0.55rem 1rem; border-radius: 9px; font-size: 0.95rem; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.25rem;
}
.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 2.1rem; width: auto; }

@media (max-width: 480px) {
  .site-header .btn-compact { font-size: 0.8125rem; padding: 0.5rem 0.75rem; }
  .brand img { height: 1.9rem; }
}

/* Hero */
.hero { padding-top: 4.25rem; padding-bottom: 3.25rem; }
.eyebrow {
  display: inline-block;
  background: var(--tint);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin: 0 0 1.5rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.headline {
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 1.25rem;
  max-width: 26em;
}
.lede {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 44em;
  margin: 0;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

/* Flow visual */
.flow-band {
  background: var(--card);
  border-block: 1px solid var(--border);
  padding-block: 2.75rem;
}
.flow-band img { display: block; margin-inline: auto; }
.flow-band figure { margin: 0; }
.flow-band figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

/* Pillars */
.pillars { padding-block: 4rem; }
.pillars .grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) {
  .pillars .grid { grid-template-columns: repeat(3, 1fr); }
}
.pillar .icon-tile {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--tint);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.pillar .icon-tile.review { background: var(--review-tint); }
.pillar .kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.pillar h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}
.pillar p { margin: 0; color: var(--ink-soft); }

/* Early access */
.early-access {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-block: 4rem;
}
.early-access h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}
.early-access .sub {
  color: var(--ink-soft);
  max-width: 40em;
  margin: 0 0 2rem;
}
.ea-form { max-width: 34rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}
.field input:focus,
.field textarea:focus { border-color: var(--primary); }
.consent {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 40em;
  margin: 1.1rem 0 0;
}

/* JS / no-JS switching for the mailto composer */
html.no-js .ea-form { display: none; }
html.js .ea-fallback { display: none; }
.ea-fallback { max-width: 40em; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: var(--tint);
  padding: 2.75rem 1.25rem;
}
.site-footer .inner { display: grid; gap: 1.1rem; justify-items: start; }
.site-footer .brand img { height: 1.9rem; }
.site-footer .tagline { margin: 0; font-weight: 600; color: #fff; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
}
.site-footer a { color: #DCEEE8; }
.site-footer a:hover { color: #fff; }
.fineprint {
  font-size: 0.8rem;
  color: #A9C6BD;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

/* Privacy / prose pages */
.prose { padding-block: 3.5rem; }
.prose h1 { font-size: 2rem; letter-spacing: -0.01em; margin: 0 0 1rem; }
.prose h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.prose p { color: var(--ink-soft); margin: 0.5rem 0 0.9rem; }
.prose .updated { font-size: 0.85rem; color: var(--muted); margin-top: 2.5rem; }
