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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-chrome);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.landing-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.landing-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.landing-brand {
  font-family: var(--font-content);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-brand span { color: var(--accent); }

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

.landing-header nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.landing-header nav a:hover { color: var(--text); }

.landing-header .header-sign-in {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
  padding: 84px 0 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; }

h1, h2 {
  font-family: var(--font-content);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 7vw, 6rem);
}

.hero-lede {
  max-width: 610px;
  margin: 0 0 34px;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.primary-action:hover { background: var(--accent-hover); transform: translateY(-1px); }

.product-preview {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 18px 18px 0 var(--accent-tint);
  overflow: hidden;
}

.preview-bar {
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.preview-bar strong { font-family: var(--font-content); font-size: 1.15rem; }
.preview-bar span, .preview-task small { color: var(--text-muted); font-size: 0.78rem; }

.preview-task {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}

.preview-task strong, .preview-task small { display: block; }
.preview-task strong { font-family: var(--font-content); font-size: 1rem; }
.status-ring { width: 18px; height: 18px; border: 2px solid var(--border-strong); border-radius: 50%; }
.is-active .status-ring { border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); background: var(--accent); }
.is-done { color: var(--text-muted); }
.is-done strong { text-decoration: line-through; }
.is-done .status-ring { display: grid; place-items: center; border-color: var(--success); background: var(--success-tint); color: var(--success); font-size: 0.7rem; font-weight: 700; }
.due { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--warning-tint); color: var(--warning); font-size: 0.74rem; }
.preview-note { padding: 15px 22px; background: var(--surface-sunken); color: var(--text-muted); font-size: 0.78rem; }

.features { padding: 112px 0; border-top: 1px solid var(--border); }
.section-intro { max-width: 760px; }
h2 { margin-bottom: 28px; font-size: clamp(2.25rem, 4vw, 3.75rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--border); border: 1px solid var(--border); }
.feature-grid article { min-height: 270px; padding: 32px; background: var(--bg); }
.feature-number { color: var(--accent-hover); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; }
.feature-grid h3 { margin: 64px 0 12px; font-family: var(--font-content); font-size: 1.35rem; }
.feature-grid p { margin: 0; color: var(--text-muted); }

.sms-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: clamp(56px, 10vw, 140px);
  padding: 112px clamp(28px, 6vw, 72px);
  border-radius: 24px;
  background: var(--text);
  color: var(--bg);
}

.sms-copy > p:not(.eyebrow), .sms-copy li { color: var(--border-strong); }
.sms-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.sms-copy li { position: relative; margin-top: 12px; padding-left: 26px; }
.sms-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.phone { padding: 16px; border: 7px solid #0e0d0b; border-radius: 34px; background: #f5f3ef; color: #211d16; box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; padding: 4px 5px 16px; border-bottom: 1px solid #ded9cf; font-size: 0.72rem; }
.message-date { margin-bottom: 9px; color: #746f67; font-size: 0.7rem; text-align: center; }
.message-bubble { padding: 12px 14px; border-radius: 18px 18px 18px 5px; background: #dedbd4; font-size: 0.9rem; line-height: 1.4; }
.message-caption { margin: 16px 0 2px; color: #746f67; font-size: 0.7rem; text-align: center; }

.privacy-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; padding: 112px 0; }
.privacy-callout h2 { margin: 0; }
.privacy-callout > p { margin: 0 0 8px; color: var(--text-muted); font-size: 1.05rem; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0 42px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem; }
footer div { display: flex; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 800px) {
  .landing-header nav > a:not(.header-sign-in) { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 64px 0 82px; }
  .product-preview { margin-right: 12px; box-shadow: 12px 12px 0 var(--accent-tint); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 220px; }
  .feature-grid h3 { margin-top: 40px; }
  .sms-section { grid-template-columns: 1fr; }
  .phone { width: min(100%, 330px); justify-self: center; }
  .privacy-callout { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  .landing-header, main, footer { width: min(100% - 28px, 1160px); }
  .landing-header { min-height: 66px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .features { padding: 82px 0; }
  .feature-grid { margin-top: 38px; }
  .sms-section { margin-inline: -14px; padding: 76px 28px; border-radius: 0; }
  .privacy-callout { padding: 82px 0; }
  footer, footer div { flex-direction: column; }
  footer div { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action { transition: none; }
}
