:root {
  color-scheme: light;
  --cream: #fff7ec;
  --cream-deep: #f8ead9;
  --peach: #ffd8bf;
  --peach-strong: #ff9b55;
  --lavender: #ebe6ff;
  --blue: #dceeff;
  --ink: #282329;
  --soft-ink: #5f5964;
  --muted: #817986;
  --line: rgba(120, 96, 78, 0.16);
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffaf3;
  --dark: #1d1d20;
  --dark-card: #2f2f33;
  --orange: #ff9f2f;
  --purple: #7d70f2;
  --radius: 28px;
  --radius-small: 18px;
  --max: 1080px;
  --shadow: 0 22px 58px rgba(88, 62, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: #cf6d10;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #ffffff;
  background: var(--purple);
  box-shadow: 0 12px 26px rgba(151, 94, 202, 0.22);
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.site-footer a,
.support-pill {
  border-radius: 999px;
}

.nav-links a {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 392px);
  align-items: center;
  gap: 38px;
  min-height: 620px;
  padding: 28px 0 44px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 159, 47, 0.22);
  border-radius: 999px;
  color: #b76617;
  background: rgba(255, 246, 236, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 570px;
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.tagline {
  max-width: 540px;
  margin-bottom: 24px;
  color: var(--soft-ink);
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.app-store-button,
.support-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
}

.app-store-button {
  border-radius: 16px;
  color: #fffaf3;
  background: #181619;
  box-shadow: 0 16px 32px rgba(42, 35, 29, 0.18);
}

.support-pill {
  color: #a05611;
  background: rgba(255, 229, 209, 0.66);
  border: 1px solid rgba(255, 159, 47, 0.18);
}

.morning-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.morning-strip div,
.feature-card,
.simple-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(89, 65, 48, 0.08);
  backdrop-filter: blur(14px);
}

.morning-strip div {
  min-height: 84px;
  padding: 14px;
  border-radius: 20px;
}

.morning-strip span,
.feature-icon,
.call-label,
.alarm-subtitle {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.morning-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.phone-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 530px;
}

.warm-halo {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--lavender);
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 334px);
  padding: 11px;
  border: 1px solid rgba(23, 23, 25, 0.16);
  border-radius: 44px;
  background: #0c0c0e;
  box-shadow: 0 28px 70px rgba(67, 49, 38, 0.26);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 24px;
  border-radius: 34px;
  color: #f7f3f1;
  background: #1d1d20;
}

.status-row,
.app-topbar,
.alarm-card,
.mom-call-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-row {
  margin-bottom: 22px;
  color: #f3f0ee;
  font-size: 14px;
  font-weight: 800;
}

.signal-dots {
  color: #89858b;
  letter-spacing: 2px;
}

.app-topbar {
  margin-bottom: 18px;
}

.ios-button,
.icon-pair {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.ios-button {
  padding: 0 19px;
}

.icon-pair {
  gap: 18px;
  padding: 0 16px;
}

.gear-shape {
  width: 21px;
  height: 21px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  box-shadow:
    0 -8px 0 -5px var(--orange),
    0 8px 0 -5px var(--orange),
    8px 0 0 -5px var(--orange),
    -8px 0 0 -5px var(--orange);
}

.plus-shape {
  position: relative;
  width: 22px;
  height: 22px;
}

.plus-shape::before,
.plus-shape::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: var(--orange);
}

.plus-shape::before {
  top: 10px;
  left: 0;
  width: 22px;
  height: 3px;
}

.plus-shape::after {
  top: 0;
  left: 10px;
  width: 3px;
  height: 22px;
}

.screen-title {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1;
}

.alarm-card {
  min-height: 118px;
  margin-bottom: 14px;
  padding: 20px 18px;
  border-radius: 26px;
  background: var(--dark-card);
}

.alarm-time {
  margin-bottom: 2px;
  color: #a7a3aa;
  font-size: 54px;
  font-weight: 300;
  line-height: 0.96;
}

.alarm-subtitle {
  color: #a39fa6;
  text-transform: none;
}

.toggle-shape {
  position: relative;
  width: 58px;
  height: 34px;
  border-radius: 999px;
  background: #6e6f76;
}

.toggle-shape::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  content: "";
  border-radius: 50%;
  background: #ffffff;
}

.mom-call-card {
  justify-content: flex-start;
  min-height: 96px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.94);
  color: var(--ink);
}

.mom-avatar {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: var(--peach);
}

.avatar-head {
  position: absolute;
  left: 20px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7b5146;
}

.avatar-hair {
  position: absolute;
  left: 14px;
  top: 10px;
  width: 30px;
  height: 26px;
  border-radius: 20px 20px 12px 12px;
  border-top: 8px solid #5c3d35;
}

.phone-mark {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 7px;
  background: #7d70f2;
}

.call-label {
  margin-bottom: 2px;
  color: #8d7b76;
}

.call-copy {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.alarm-bell {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 70px;
  height: 64px;
  border-radius: 24px;
  background: rgba(220, 238, 255, 0.12);
}

.bell-dome {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 34px;
  height: 30px;
  border: 4px solid rgba(255, 255, 255, 0.42);
  border-bottom: 0;
  border-radius: 24px 24px 8px 8px;
}

.bell-base {
  position: absolute;
  left: 14px;
  top: 44px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 6px 0 42px;
}

.feature-card {
  min-height: 172px;
  padding: 18px;
  border-radius: 24px;
}

.feature-icon {
  margin-bottom: 24px;
  color: #b76617;
}

.feature-card h2 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.12;
}

.feature-card p,
.simple-card p,
.legal-card p,
.legal-hero p {
  color: var(--soft-ink);
}

.feature-card p,
.simple-card p {
  margin-bottom: 0;
}

.simple-section {
  padding: 0 0 58px;
}

.simple-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 30px;
  background: var(--surface-strong);
}

.simple-card .eyebrow {
  margin-bottom: 18px;
}

.simple-card h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

.simple-card > p:not(.eyebrow) {
  max-width: 680px;
  font-size: 18px;
}

.legal-page {
  max-width: 760px;
}

.legal-hero {
  padding: 48px 0 18px;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.02;
}

.legal-hero p {
  max-width: 650px;
  font-size: 18px;
}

.legal-card {
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 58px;
  border-radius: 30px;
}

.legal-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section:last-child {
  padding-bottom: 0;
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.legal-card p {
  margin-bottom: 12px;
  font-size: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #b76617;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  padding: 4px 0;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-top: 18px;
  }

  .phone-visual {
    justify-content: center;
    min-height: auto;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-store-button,
  .support-pill {
    width: 100%;
  }

  .morning-strip,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: min(100%, 328px);
  }

  .phone-screen {
    min-height: 492px;
    padding: 20px;
  }

  .screen-title {
    font-size: 32px;
  }

  .alarm-time {
    font-size: 48px;
  }

  .alarm-card {
    min-height: 110px;
  }

  .simple-card,
  .legal-card {
    border-radius: 24px;
  }
}
