:root {
  --ink: #17202a;
  --muted: #5d6975;
  --paper: #fffaf5;
  --white: #ffffff;
  --coral: #d94f45;
  --coral-dark: #a63831;
  --teal: #14766f;
  --mint: #dff2ec;
  --gold: #c17f2f;
  --line: rgba(23, 32, 42, 0.12);
  --shadow: 0 24px 60px rgba(23, 32, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  background: rgba(255, 250, 245, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
.site-footer a:hover {
  color: var(--coral-dark);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 118px 40px 72px;
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 245, 0.96) 0%, rgba(255, 250, 245, 0.84) 46%, rgba(223, 242, 236, 0.5) 100%),
    url("./assets/app-icon.svg");
  background-repeat: no-repeat;
  background-position: center, right -150px center;
  background-size: cover, 620px 620px;
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(23, 32, 42, 0.18);
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 68px;
  line-height: 0.95;
  font-weight: 860;
}

.lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: #33404b;
  font-size: 22px;
  line-height: 1.42;
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 760;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(217, 79, 69, 0.24);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(217, 79, 69, 0.4);
}

.hero-scene {
  position: absolute;
  right: 7vw;
  bottom: 38px;
  z-index: 1;
  width: 430px;
  height: 540px;
  pointer-events: none;
}

.phone {
  position: absolute;
  width: 248px;
  height: 500px;
  padding: 26px 18px;
  border: 10px solid #182130;
  border-radius: 36px;
  background: #fffdfb;
  box-shadow: var(--shadow);
}

.phone-primary {
  right: 70px;
  bottom: 0;
  z-index: 2;
}

.phone-secondary {
  left: 0;
  bottom: 38px;
  width: 190px;
  height: 382px;
  z-index: 1;
  opacity: 0.74;
}

.phone-top {
  width: 72px;
  height: 7px;
  margin: 0 auto 26px;
  border-radius: 99px;
  background: #24303b;
}

.screen-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.screen-card span,
.insight-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.screen-card strong {
  display: block;
  margin: 7px 0 6px;
  font-size: 21px;
  line-height: 1.05;
}

.screen-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.mood-card {
  background: var(--mint);
  border-color: rgba(20, 118, 111, 0.22);
}

.note-card {
  margin-top: 14px;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 0;
}

.screen-row span,
.mini-list span {
  display: block;
  height: 68px;
  border-radius: 8px;
  background: #f4d9cf;
}

.screen-row span:nth-child(2) {
  background: #f2e2ba;
}

.screen-row span:nth-child(3) {
  background: #cee6e0;
}

.meter {
  height: 140px;
  display: flex;
  align-items: end;
  padding: 12px;
  border-radius: 8px;
  background: #f6eee4;
}

.meter span {
  display: block;
  width: 100%;
  height: 68%;
  border-radius: 8px;
  background: var(--gold);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-list span {
  height: 42px;
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 24px;
}

.proof-strip span {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  color: #33404b;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
}

.proof-strip span:first-child {
  border-radius: 8px 0 0 8px;
}

.proof-strip span:last-child {
  border-radius: 0 8px 8px 0;
}

.section,
.split-section,
.cta-section,
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 40px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

h2 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 0;
}

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

.feature {
  min-height: 238px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 820;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.14;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.insight-panel {
  display: grid;
  gap: 12px;
}

.insight-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.insight-panel strong {
  text-align: right;
  font-size: 17px;
}

.cta-section {
  display: block;
  max-width: none;
  padding: 92px 40px;
  text-align: center;
  background: #18312e;
  color: var(--white);
}

.cta-section .eyebrow {
  color: #9ed8c9;
}

.cta-section h2 {
  max-width: 720px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  background: #122421;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.page-main {
  padding-top: 132px;
}

.page-main h1 {
  font-size: 52px;
  margin-bottom: 12px;
}

.page-subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.content-panel {
  max-width: 820px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-panel h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 25px;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p,
.content-panel li {
  color: #394651;
  font-size: 16px;
  line-height: 1.65;
}

.content-panel a {
  color: var(--coral-dark);
  font-weight: 760;
}

.content-panel ul {
  padding-left: 22px;
}

.notice {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 8px;
  background: var(--mint);
  border: 1px solid rgba(20, 118, 111, 0.22);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 820px;
}

.support-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

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

@media (max-width: 980px) {
  .hero {
    align-items: end;
    min-height: auto;
    padding-bottom: 400px;
  }

  .hero::before {
    background-position: center, right -210px top 140px;
    background-size: cover, 520px 520px;
  }

  .hero-scene {
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%) scale(0.82);
    transform-origin: bottom center;
  }

  h1 {
    font-size: 54px;
  }

  .lede {
    font-size: 19px;
  }

  .proof-strip,
  .feature-grid,
  .split-section,
  .support-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand span {
    max-width: 120px;
  }

  nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding: 56px 20px 330px;
  }

  .hero-icon {
    width: 62px;
    height: 62px;
  }

  h1 {
    font-size: 43px;
    line-height: 1;
  }

  .lede {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-scene {
    transform: translateX(-50%) scale(0.64);
  }

  .proof-strip,
  .feature-grid,
  .split-section,
  .support-options {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 0;
    padding: 0 20px;
  }

  .proof-strip span,
  .proof-strip span:first-child,
  .proof-strip span:last-child {
    border-radius: 8px;
  }

  .section,
  .split-section,
  .page-main {
    padding: 72px 20px;
  }

  .cta-section {
    padding: 72px 20px;
  }

  h2 {
    font-size: 32px;
  }

  .feature {
    min-height: auto;
  }

  .insight-panel div {
    display: block;
  }

  .insight-panel strong {
    display: block;
    text-align: left;
    margin-top: 6px;
  }

  .site-footer {
    display: block;
    padding: 24px 20px;
  }

  .site-footer div {
    margin-top: 14px;
  }

  .page-main h1 {
    font-size: 40px;
  }

  .content-panel {
    padding: 24px;
  }
}

/* Simple landing hero (no phone mockups) */
.hero.hero-simple {
  min-height: 72svh;
}

.content-panel h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.content-panel ol {
  padding-left: 22px;
}

.notice ul {
  margin: 10px 0 0;
}

.notice li {
  margin-bottom: 4px;
}

.content-panel li + li {
  margin-top: 4px;
}

nav a[aria-current="page"] {
  color: var(--coral-dark);
}

@media (max-width: 980px) {
  .hero.hero-simple {
    align-items: center;
    padding-bottom: 72px;
  }
}

@media (max-width: 720px) {
  .hero.hero-simple {
    padding: 56px 20px 64px;
  }

  .content-panel {
    padding: 20px;
  }

  .content-panel h2 {
    font-size: 22px;
  }

  .page-main {
    padding: 40px 16px 56px;
  }
}

.hero.hero-simple::before {
  background-image: linear-gradient(90deg, rgba(255, 250, 245, 0.96) 0%, rgba(255, 250, 245, 0.9) 50%, rgba(223, 242, 236, 0.7) 100%);
  background-size: cover;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
  width: 100%;
}

body > main:has(.hero-simple) {
  display: flex;
  flex-direction: column;
}

.hero.hero-simple {
  flex: 1;
}
