:root {
  --bg: #f5efe4;
  --bg-strong: #f0e3c9;
  --surface: rgba(255, 252, 245, 0.88);
  --surface-strong: #fffaf0;
  --ink: #1d160f;
  --muted: #5a4e40;
  --accent: #0f8c6b;
  --accent-deep: #0a674f;
  --accent-soft: rgba(15, 140, 107, 0.12);
  --border: rgba(29, 22, 15, 0.12);
  --shadow: 0 28px 80px rgba(42, 31, 19, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 34%),
    radial-gradient(circle at top right, rgba(15, 140, 107, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf6eb 0%, #f5efe4 48%, #efe4cf 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-body {
  min-height: 100vh;
}

.topbar,
.site-footer,
.hero,
.feature-strip,
.signup-section,
.content-page {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1rem;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.topnav a {
  color: var(--muted);
  font-size: 0.98rem;
  text-decoration: none;
}

.topnav a:hover,
.topnav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  padding: 2.25rem 0 3rem;
  align-items: center;
}

.hero-copy {
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.content-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lede,
.content-page-lede {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #127e93 100%);
  box-shadow: 0 14px 28px rgba(15, 140, 107, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(15, 140, 107, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--border);
}

.hero-points {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #f9ae4e 100%);
}

.hero-panel {
  position: relative;
  min-height: 100%;
}

.phone-shell {
  background:
    linear-gradient(160deg, rgba(16, 23, 22, 0.92), rgba(42, 38, 31, 0.92)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 40px;
  box-shadow: 0 32px 80px rgba(23, 18, 14, 0.28);
  padding: 1rem;
}

.phone-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 540px;
  padding: 1.4rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 247, 230, 0.98) 0%, rgba(248, 234, 202, 0.95) 100%);
}

.phone-badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 126, 147, 0.1);
  color: #0d5b69;
  font-size: 0.82rem;
  font-weight: 700;
}

.phone-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1.02;
}

.phone-meta,
.phone-body,
.phone-footer,
.stat-label,
.stat-value {
  margin: 0;
}

.phone-meta,
.phone-body {
  color: rgba(29, 22, 15, 0.74);
}

.phone-footer {
  margin-top: auto;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  color: #0f4037;
  font-size: 0.95rem;
}

.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.phone-stat {
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.stat-label {
  color: rgba(29, 22, 15, 0.6);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  margin-top: 0.25rem;
  font-weight: 800;
  font-size: 1rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}

.feature-strip article,
.signup-card,
.content-card,
.support-grid article {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 252, 245, 0.84);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-strip article {
  padding: 1.4rem 1.35rem;
}

.feature-strip h2,
.content-card h2,
.support-grid h2 {
  margin: 0 0 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.feature-strip p,
.content-card p,
.content-card li,
.support-grid p,
.support-grid li,
.form-note,
.form-status,
.field span,
.checkbox-row span {
  color: var(--muted);
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0 0 4rem;
  align-items: start;
}

.section-copy {
  padding: 1rem 0.25rem 0;
}

.section-copy h2,
.content-card h2:first-child,
.support-grid h2:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.signup-card {
  padding: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field span {
  font-size: 0.95rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(29, 22, 15, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  padding: 0.9rem 1rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 140, 107, 0.14);
  background: #fff;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
}

.checkbox-row input {
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.form-note a {
  color: var(--ink);
}

.form-status {
  min-height: 1.6rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #0d684f;
}

.form-status.is-error {
  color: #a33c2d;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(29, 22, 15, 0.09);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.content-page {
  padding: 2rem 0 4rem;
}

.content-hero {
  margin-bottom: 1.5rem;
}

.content-grid,
.support-grid {
  display: grid;
  gap: 1rem;
}

.content-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.content-card {
  padding: 1.6rem;
}

.content-card ul,
.content-card ol,
.support-grid ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.content-card li + li,
.support-grid li + li {
  margin-top: 0.45rem;
}

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

.support-grid article {
  padding: 1.5rem;
}

.support-grid a,
.content-card a {
  color: var(--accent-deep);
}

.muted {
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .signup-section,
  .content-grid,
  .support-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .phone-card,
  .signup-card,
  .content-card,
  .support-grid article {
    padding: 1.35rem;
  }

  .hero {
    padding-top: 1rem;
  }
}

@media (max-width: 720px) {
  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row,
  .phone-stats {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .content-page h1 {
    font-size: 2.35rem;
  }

  .form-actions {
    align-items: flex-start;
  }
}
