:root {
  --bg: #fbf8f3;
  --bg-soft: #f5efe7;
  --surface: #ffffff;
  --surface-soft: #f7f2ea;
  --text: #17202b;
  --muted: #5d6775;
  --border: #e5ddd2;
  --brand: #b51d34;
  --brand-dark: #8c1728;
  --brand-soft: #fbe7eb;
  --shadow: 0 18px 38px rgba(29, 24, 18, 0.08);
  --shadow-soft: 0 10px 24px rgba(29, 24, 18, 0.05);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(227, 183, 115, 0.12), transparent 26rem),
    linear-gradient(180deg, #fdfbf7 0%, var(--bg) 42%, #f7f2ea 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  display: block;
  flex: 1;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23, 32, 43, 0.06);
}

.site-header-inner,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header-inner {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-logo,
.footer-logo,
.cta-logo {
  width: auto;
  height: 28px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover,
.legal-links a:hover {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-layout,
.story-grid,
.inside-grid,
.steps-grid,
.support-grid,
.legal-summary-grid,
.legal-layout,
.footer-links,
.hero-proof,
.phone-stack,
.metric-grid,
.spot-list,
.legal-content,
.legal-links {
  display: grid;
  gap: 1rem;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--brand);
}

.hero-kicker,
.story-kicker,
.step-number,
.support-tag,
.legal-card-label,
.metric-label {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-top: 1rem;
}

.hero-copy h1,
.section-heading h2,
.cta-card h2,
.support-hero h1,
.legal-hero h1,
.callout-card h2,
.legal-panel h2,
.legal-section h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin-top: 0.95rem;
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 4.85rem);
  font-weight: 800;
}

.hero-copy p,
.section-heading p,
.story-card p,
.preview-card p,
.metric-card p,
.spot-item p,
.step-card p,
.cta-card p,
.footer-copy p,
.support-hero p,
.support-card p,
.callout-card p,
.legal-hero p,
.legal-card p,
.legal-panel p,
.legal-section p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p {
  max-width: 42rem;
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
}

.hero-subnote {
  font-weight: 500;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.45rem;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(181, 29, 52, 0.18);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button-secondary-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.proof-pill {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.phone-mock {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 332px);
  padding: 0.95rem;
  border-radius: 34px;
  background: #18202a;
  box-shadow: 0 28px 54px rgba(21, 17, 14, 0.18);
}

.phone-screen {
  border-radius: 28px;
  padding: 1.15rem;
  background: linear-gradient(180deg, #fbf8f3 0%, #f1eadf 100%);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.phone-icon {
  width: 56px;
  height: 56px;
}

.phone-name {
  font-size: 1rem;
  font-weight: 700;
}

.phone-subtitle {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-highlight,
.phone-card,
.story-card,
.preview-card,
.step-card,
.support-card,
.legal-card,
.legal-panel,
.legal-section,
.callout-card {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.phone-highlight {
  margin-top: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #4b6d92 0%, #6da7d0 100%);
  border: 0;
}

.phone-highlight span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.phone-highlight p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.phone-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.8rem;
}

.phone-card-title {
  font-size: 0.96rem;
  font-weight: 700;
}

.phone-card-copy {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.phone-tabs,
.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.phone-tabs {
  margin-top: 0.9rem;
}

.phone-tab,
.preview-tab {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.phone-tab-active,
.preview-tab-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: rgba(181, 29, 52, 0.18);
}

.section,
.support-hero,
.legal-hero,
.cta-section {
  padding: 5rem 0;
}

.section-tight {
  padding-top: 1.25rem;
}

.section-alt {
  background: rgba(243, 238, 231, 0.68);
  border-top: 1px solid rgba(23, 32, 43, 0.05);
  border-bottom: 1px solid rgba(23, 32, 43, 0.05);
}

.section-heading {
  max-width: 42rem;
  text-align: center;
  margin: 0 auto;
}

.section-heading-left {
  text-align: left;
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  font-weight: 800;
}

.section-heading p {
  margin: 0.9rem 0 0;
  font-size: 1.04rem;
}

.story-grid,
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.story-card h3,
.preview-card h3,
.step-card h3,
.support-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.18rem;
  font-weight: 700;
}

.story-card p,
.step-card p,
.support-card p {
  margin: 0.65rem 0 0;
}

.inside-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  margin-top: 2rem;
}

.preview-card-soft {
  background: var(--surface-soft);
}

.preview-card-head {
  margin-bottom: 1rem;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

.metric-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-card p {
  margin: 0.45rem 0 0;
}

.list-heading h3 {
  margin-top: 0.5rem;
}

.spot-list {
  margin-top: 1rem;
}

.spot-item {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
}

.spot-item strong,
.legal-card strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
}

.spot-item p,
.legal-card p {
  margin: 0.35rem 0 0;
}

.cta-card {
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  color: #fff;
  text-align: center;
  background: #0f1218;
}

.cta-logo {
  height: 34px;
  margin: 0 auto 1.2rem;
}

.cta-card h2 {
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  font-weight: 800;
}

.cta-card p {
  max-width: 36rem;
  margin: 0.95rem auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  justify-content: center;
}

.cta-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-shell {
  align-items: flex-start;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  max-width: 30rem;
}

.footer-copy p {
  margin: 0.8rem 0 0;
}

.footer-links {
  grid-template-columns: repeat(2, max-content);
  align-content: start;
}

.support-hero,
.legal-hero {
  padding-bottom: 2rem;
}

.support-hero h1,
.legal-hero h1 {
  margin-top: 1rem;
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
}

.support-hero p,
.legal-hero p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.support-grid,
.legal-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.support-link {
  margin-top: 1rem;
}

.support-tag,
.legal-card-label {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--muted);
}

.callout-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 242, 234, 0.96) 100%);
}

.callout-card h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
}

.callout-card p {
  max-width: 48rem;
  margin: 0.9rem 0 0;
}

.legal-card-label {
  margin-top: 0;
}

.legal-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  margin-top: 1.8rem;
}

.legal-panel p,
.legal-section p {
  margin: 0.7rem 0 0;
}

.legal-links {
  margin-top: 1rem;
}

.legal-links a {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-layout,
  .inside-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .story-grid,
  .steps-grid,
  .support-grid,
  .legal-summary-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header-inner,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .section,
  .support-hero,
  .legal-hero,
  .cta-section {
    padding: 4rem 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .cta-card h2,
  .support-hero h1,
  .legal-hero h1,
  .callout-card h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .story-grid,
  .steps-grid,
  .support-grid,
  .legal-summary-grid,
  .footer-links,
  .metric-grid,
  .phone-stack {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 0.75rem;
  }
}
