/* Nunito is self-hosted so visitors' IP addresses never reach Google (LEGAL_REVIEW.md). */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 800 900;
  font-display: swap;
  src: url('fonts/nunito-latin-italic.woff2') format('woff2');
}

:root {
  --honey: #e8a838;
  --honey-ink: #b86f1c;
  --honey-soft: #f6d27a;
  --leaf: #5ba15a;
  --leaf-ink: #2e6b3c;
  --leaf-soft: #a8d49c;
  --cream: #fbf6ec;
  --ink: #2a241d;
  --dusk: #2d3a5a;
  --dusk-soft: #dde4f0;

  --ink-soft: #4a4035;
  --ink-muted: #7a6e5d;
  --ink-faint: #b8ad99;
  --bg: var(--cream);
  --bg-alt: #f3ebd9;
  --border: #e8dfc8;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-tile: 22.37%;
  --shadow-sm: 0 1px 2px rgba(42, 36, 29, 0.06);
  --shadow-md: 0 6px 24px rgba(42, 36, 29, 0.08);
  --shadow-lg: 0 24px 60px rgba(42, 36, 29, 0.14);

  --container: 1120px;
  --font-sans: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--honey-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: lowercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}

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

.nav-links .btn {
  padding: 9px 18px;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
  font-family: inherit;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--honey);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--honey-ink);
  color: var(--cream);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--honey);
}

.btn-ghost {
  background: transparent;
  color: var(--honey-ink);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--honey-soft);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 10px 0;
  color: var(--ink);
  font-weight: 600;
}

.mobile-menu .btn-primary {
  margin-top: 8px;
  color: var(--ink);
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(60% 60% at 82% 8%, rgba(232, 168, 56, 0.28), transparent 70%),
    radial-gradient(50% 50% at 8% 20%, rgba(91, 161, 90, 0.14), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  background: var(--honey-soft);
  color: var(--honey-ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.accent {
  color: var(--leaf-ink);
  font-style: italic;
}

.lead {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 54ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.reassure {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a241d, #0f0c08);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.phone-screen {
  background: var(--white);
  border-radius: 24px;
  padding: 20px;
  min-height: 420px;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--leaf-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.screen-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}

.screen-sub {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.points-card {
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  color: var(--cream);
}

.points-minutes {
  background: linear-gradient(135deg, var(--leaf), var(--leaf-ink));
}

.points-chore {
  background: linear-gradient(135deg, var(--honey), var(--honey-ink));
  color: var(--ink);
}

.points-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 6px;
}

.points-num {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.points-label {
  font-size: 11px;
  opacity: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.chore-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.chore-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--bg-alt);
  font-weight: 500;
}

.chore-list li:last-child {
  border-bottom: none;
}

.chore-list .check {
  margin-right: 8px;
  color: var(--leaf);
  font-weight: 800;
}

.chore-list em {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
}

.chore-list em.pts-chore {
  color: var(--honey-ink);
}

.streak {
  background: var(--honey-soft);
  color: var(--honey-ink);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}

.section-lead {
  margin: 0 auto 48px;
  font-size: 17px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 58ch;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--honey-soft);
  color: var(--honey-ink);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature h3 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.pricing-wrap {
  max-width: 880px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.plan-pro {
  border-color: var(--honey);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--honey);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}

.price {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}

.price span {
  font-size: 18px;
  color: var(--ink-muted);
  font-weight: 600;
}

.price-sub {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.plan li {
  padding: 10px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--bg-alt);
}

.plan li:last-child {
  border-bottom: none;
}

.plan li::before {
  content: '✓';
  color: var(--leaf);
  font-weight: 900;
  margin-right: 10px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-wrap .section-title,
.contact-wrap .section-lead {
  text-align: left;
  margin-left: 0;
}

.contact-direct {
  color: var(--ink-soft);
  margin-top: 16px;
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.28);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 20px;
  font-weight: 600;
}

.form-status.success {
  color: var(--leaf-ink);
}

.form-status.error {
  color: #b4351a;
}

.site-footer {
  background: var(--dusk);
  color: var(--dusk-soft);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.brand-footer {
  color: var(--cream);
  margin-bottom: 12px;
}

.brand-footer .brand-name {
  color: var(--cream);
}

.footer-tag {
  margin: 0;
  color: var(--dusk-soft);
  font-size: 14px;
  opacity: 0.8;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a,
.footer-legal a {
  color: var(--dusk-soft);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--honey);
  text-decoration: none;
}

.footer-legal p {
  margin: 8px 0 0;
  color: var(--dusk-soft);
  opacity: 0.6;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    order: -1;
  }

  .phone {
    width: 240px;
    transform: rotate(-1deg);
  }

  .section {
    padding: 64px 0;
  }

  .steps,
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
