/* Shared chrome for OAuth / legal static pages (no SPA). Matches Strawberry marketing tokens. */
:root {
  --brand-50: #fff1f2;
  --brand-100: #ffe4e6;
  --brand-200: #fecdd3;
  --brand-500: #f43f5e;
  --brand-600: #e11d48;
  --brand-700: #be123c;
  --ink: #0c0a09;
  --ink-2: #292524;
  --muted: #57534e;
  --line: #e7e5e4;
  --surface: #ffffff;
  --bg: #fafaf9;
  --radius: 12px;
  --font-heading: "DM Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, var(--brand-100) 0%, transparent 58%),
    radial-gradient(700px 360px at 100% 0%, #ffedd5 0%, transparent 48%),
    linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 42%, var(--bg) 100%);
  font-family: var(--font-body);
  font-size: 1.025rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-700);
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    justify-content: flex-start;
  }
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand-600);
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4.5rem;
}

.hero {
  max-width: 40rem;
  padding: 1.25rem 0 2.25rem;
  animation: rise 0.65s ease both;
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .cta-row,
  .section,
  .legal-hero,
  .legal {
    animation-name: rise;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  animation: rise 0.65s ease 0.08s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand-600);
  color: #fff !important;
}

.btn--primary:hover {
  background: var(--brand-700);
  color: #fff !important;
}

.btn--ghost {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-color: var(--brand-200);
  color: var(--brand-700) !important;
}

.btn--ghost:hover {
  border-color: var(--brand-500);
  color: var(--brand-700) !important;
}

.section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  animation: rise 0.65s ease 0.14s both;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section > p {
  margin: 0 0 1rem;
  color: var(--ink-2);
  max-width: 40rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature__icon {
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.7rem;
  border-radius: 0.65rem;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
}

.feature__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.prose-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-2);
}

.prose-list li {
  margin: 0.4rem 0;
}

.legal-hero {
  padding: 1.5rem 0 1.25rem;
  max-width: 42rem;
  animation: rise 0.55s ease both;
}

.legal-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal {
  max-width: 42rem;
  padding-top: 0.5rem;
  animation: rise 0.55s ease 0.06s both;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal p {
  margin: 0 0 0.9rem;
  color: var(--ink-2);
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-2);
}

.legal li {
  margin: 0.35rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, var(--brand-50));
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: var(--font-heading);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-600);
}

@keyframes rise {
  from {
    opacity: 0.01;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .cta-row,
  .section,
  .legal-hero,
  .legal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
