:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #64748b;
  --line: #dbe4f0;
  --paper: #f8fbff;
  --wash: #edf4ff;
  --soft-blue: #dbeafe;
  --pale-indigo: #e5e7ff;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --cyan: #0891b2;
  --violet: #7c3aed;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  align-items: center;
  background: rgba(248, 251, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 240, 0.88);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.94rem;
  gap: clamp(14px, 2vw, 26px);
}

.site-nav a:hover {
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 92px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  min-height: calc(100vh - 64px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) 54px;
}

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

.eyebrow {
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(4rem, 12vw, 8.5rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
  max-width: 920px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 30px;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

.primary-action {
  background: var(--ink);
  color: var(--white);
}

.light-action {
  background: var(--white);
  color: var(--indigo);
  flex: 0 0 auto;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
}

.phone-stage {
  align-items: center;
  display: flex;
  justify-content: center;
}

.phone {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 10px solid #111827;
  border-radius: 42px;
  box-shadow: 0 26px 80px rgba(37, 99, 235, 0.22);
  max-width: 390px;
  min-height: 720px;
  overflow: hidden;
  padding: 28px 18px 18px;
  position: relative;
  width: min(100%, 390px);
}

.phone::before {
  background: #111827;
  border-radius: 0 0 16px 16px;
  content: "";
  height: 20px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 116px;
}

.phone-top {
  align-items: center;
  display: flex;
  font-size: 1.5rem;
  font-weight: 850;
  justify-content: space-between;
  margin: 22px 4px 30px;
}

.phone-date {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.habit-list {
  display: grid;
  gap: 12px;
}

.habit-item {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  min-height: 86px;
  padding: 14px;
}

.habit-item strong,
.habit-item span {
  display: block;
}

.habit-item div span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.habit-dot {
  background: var(--indigo);
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.habit-dot.blue {
  background: var(--blue);
}

.habit-dot.cyan {
  background: var(--cyan);
}

.check,
.empty-check {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.check {
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.empty-check {
  border: 2px solid var(--line);
}

.phone-tabs {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 4px;
  grid-template-columns: repeat(4, 1fr);
  left: 18px;
  min-height: 58px;
  padding: 8px;
  position: absolute;
  right: 18px;
  text-align: center;
}

.phone-tabs span:first-child {
  color: var(--indigo);
}

.feature-band,
.privacy-band,
.support-band {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.feature-band {
  background: var(--wash);
}

.section-heading {
  margin-bottom: 34px;
}

.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 760px;
}

.section-intro a,
.policy-card a {
  color: var(--indigo);
  font-weight: 800;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  background: var(--paper);
  border: 1px solid rgba(219, 228, 240, 0.9);
  border-radius: 8px;
  min-height: 220px;
  padding: 22px;
}

.feature p,
.privacy-band p,
.support-band p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-icon {
  color: var(--indigo);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 48px;
}

.privacy-band {
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
}

.privacy-band p {
  margin-bottom: 0;
}

.policy-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.policy-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 230px;
  padding: 22px;
}

.policy-card h3 {
  color: var(--ink);
}

.policy-card strong {
  color: var(--ink);
}

.support-band {
  background: var(--paper);
}

.support-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 22px;
}

.support-item p {
  color: var(--muted);
  line-height: 1.55;
}

.support-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  margin-bottom: 34px;
  width: 40px;
}

.contact-panel {
  align-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  border-radius: 8px;
  color: var(--white);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 24px;
}

.contact-panel h3,
.contact-panel p {
  margin-bottom: 0;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 8px;
  max-width: 720px;
}

.disabled-action {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .support-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .site-nav {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .phone {
    border-width: 8px;
    min-height: 620px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
