:root {
  --page: #ffffff;
  --surface: #ffffff;
  --ink: #000000;
  --muted: #6c6c6c;
  --line: #ced0dd;
  --primary: #ff451e;
  --primary-dark: #d93615;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

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

.site-header,
.hero,
.features,
.how-it-works,
.site-footer {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  margin: 0;
  background: var(--page);
}

.site-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1160px);
  min-height: 88px;
  gap: 24px;
  margin: 0 auto;
}

.brand { font-size: 20px; font-weight: 700; letter-spacing: -0.06em; }

.site-nav { display: flex; gap: 28px; color: #3d3d3d; font-size: 14px; font-weight: 500; }
.site-nav a:hover, .text-cta:hover { color: var(--primary); }

.header-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #fff;
  background: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover, .primary-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.primary-cta { min-height: 48px; gap: 10px; padding: 0 22px; }

.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 8vw, 108px);
  min-height: calc(100vh - 88px);
  padding: 72px 0 96px;
}

.eyebrow { margin: 0 0 16px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.how-copy .eyebrow { color: var(--primary); }

.hero h1,
.section-heading h2,
.how-copy h2,
.closing-cta h2 {
  margin: 0;
  letter-spacing: -0.055em;
}

.hero h1 { max-width: 600px; font-size: clamp(48px, 6.2vw, 76px); line-height: 0.98; }
.hero-intro { max-width: 480px; margin: 24px 0; color: #494949; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.text-cta { font-size: 14px; font-weight: 600; }
.hero-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }

.app-preview {
  display: grid;
  grid-template-columns: 144px 1fr;
  min-height: 510px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgb(51 60 97 / 18%);
  transform: rotate(2deg);
}

.preview-sidebar { display: flex; flex-direction: column; gap: 5px; padding: 24px 12px; background: #dcdfed; }
.preview-logo { margin: 0 8px 20px; font-size: 17px; font-weight: 700; letter-spacing: -0.06em; }
.preview-nav { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 8px; border-radius: 6px; color: #414141; font-size: 11px; font-weight: 600; }
.preview-nav b { font-size: 10px; }
.preview-nav.is-active { color: var(--primary); background: #fff; }
.preview-user { display: grid; width: 28px; height: 28px; margin: auto 8px 0; border-radius: 50%; color: #fff; background: var(--primary); font-size: 11px; font-weight: 600; place-items: center; }

.preview-content { padding: 38px 28px; background: #e6e8f2; }
.preview-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 30px; }
.preview-heading strong { display: block; font-size: 25px; letter-spacing: -0.045em; }
.preview-heading span:not(.preview-add) { display: block; margin-top: 5px; color: #64748b; font-size: 11px; }
.preview-add { padding: 8px 10px; border-radius: 6px; color: #fff; background: var(--primary); font-size: 10px; font-weight: 600; }
.preview-task { margin-bottom: 13px; padding: 13px 14px 17px; border-radius: 14px; background: #fff; }
.preview-task-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.preview-task-top span { min-height: 20px; padding: 3px 7px; border-radius: 20px; background: #f2f3f7; font-size: 9px; font-weight: 600; }
.preview-task-top i { color: #222; font-size: 12px; font-style: normal; letter-spacing: 1px; }
.preview-task-main { display: flex; align-items: start; gap: 10px; }
.preview-task-main > b { display: grid; width: 20px; height: 20px; flex: 0 0 auto; border: 2px solid #94a3b8; border-radius: 50%; color: #fff; font-size: 11px; place-items: center; }
.preview-task h2 { margin: 0; font-size: 14px; letter-spacing: -0.02em; }
.preview-task p { margin: 6px 0 0; color: #6c6c6c; font-size: 10px; }
.preview-task.is-complete { background: #f2f3f7; }
.preview-task.is-complete h2, .preview-task.is-complete p { color: #808080; }
.preview-task.is-complete > .preview-task-main > b { border-color: var(--primary); background: var(--primary); }

.features { padding: 112px 0; }
.section-heading { max-width: 560px; }
.section-heading h2, .how-copy h2, .closing-cta h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.04; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feature-grid article { padding: 28px; border-radius: 16px; background: #f2f3f7; }
.feature-image { display: block; width: 150px; max-width: 100%; height: auto; margin: 0 0 24px; }
.feature-grid h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.feature-grid p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.how-it-works { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; padding: 104px 0; border-top: 1px solid var(--line); }
.how-copy { max-width: 450px; }
.how-it-works ol { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.how-it-works li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.how-it-works li:last-child { border-bottom: 0; }
.how-it-works li > span { color: var(--primary); font-size: 13px; font-weight: 700; }
.how-it-works h3 { margin: 0; font-size: 18px; }
.how-it-works p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.closing-cta { display: grid; justify-items: center; padding: 120px 24px; color: #fff; background: #000; text-align: center; }
.closing-cta h2 { max-width: 650px; margin-bottom: 28px; }
.closing-cta .eyebrow { color: var(--primary); }

.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 88px; color: #5b5b5b; font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer p a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .app-preview { width: min(100%, 600px); justify-self: center; transform: rotate(1deg); }
  .how-it-works { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .hero, .features, .how-it-works, .site-footer { width: min(100% - 32px, 1160px); }
  .site-header-content { width: min(100% - 32px, 1160px); min-height: 72px; }
  .site-nav { display: none; }
  .header-cta { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .hero { min-height: auto; padding: 56px 0 80px; }
  .hero h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 16px; }
  .app-preview { grid-template-columns: 1fr; min-height: 0; transform: none; }
  .preview-sidebar { display: none; }
  .preview-content { padding: 28px 18px; }
  .features { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .feature-icon { margin-bottom: 28px; }
  .how-it-works { gap: 36px; padding: 72px 0; }
  .closing-cta { padding: 80px 20px; }
  .site-footer { min-height: 96px; flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
}

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