:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #52635f;
  --subtle: #6a7874;
  --line: #d8e2df;
  --paper: #fffdf8;
  --paper-soft: #f4f7f2;
  --surface: #ffffff;
  --surface-tint: #eef7f2;
  --green: #267160;
  --green-deep: #1f4037;
  --blue: #315f8a;
  --blue-soft: #e6eef6;
  --gold: #d7a13f;
  --gold-soft: #fff7e3;
  --coral: #d9866a;
  --coral-soft: #fff3ed;
  --shadow: 0 22px 58px rgba(31, 64, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

.page {
  min-height: 100vh;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 226, 223, 0.9);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(31, 64, 55, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

main {
  padding-bottom: 64px;
}

.hero {
  padding: 72px 0 54px;
}

.hero.product-hero {
  padding: 76px 0 58px;
}

.hero.image-hero {
  display: grid;
  align-items: center;
  min-height: min(610px, calc(100svh - 96px));
  padding: clamp(38px, 5vw, 60px) 0 clamp(34px, 4.8vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 39%, rgba(255, 253, 248, 0.2) 60%, rgba(255, 253, 248, 0.03) 100%),
    url("/assets/luma-family-hero.jpg?v=20260518-seo1");
  background-position: 34% center;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.hero-inner {
  max-width: 780px;
}

.hero-copy {
  max-width: none;
}

.hero-copy h1 {
  max-width: 470px;
}

.hero-copy .lede {
  max-width: 430px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5.4vw, 4.35rem);
  line-height: 1.04;
}

.standard-page h1,
.content-page h1 {
  max-width: 880px;
  font-size: clamp(2.35rem, 6vw, 4.55rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.content h2 {
  margin-top: 34px;
  font-size: 1.55rem;
  line-height: 1.2;
}

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

h3 {
  margin: 0 0 9px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.lede {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2.1vw, 1.18rem);
}

.meta {
  margin-top: 18px;
  color: var(--subtle);
  font-size: 0.96rem;
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: var(--green);
  color: var(--green);
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #ffffff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 7px 11px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.phone-shell {
  width: min(360px, 100%);
  margin-left: auto;
  overflow: hidden;
  border: 10px solid #1c2926;
  border-radius: 36px;
  background: #f8fbf8;
  box-shadow: var(--shadow);
}

.phone-shell.image-preview {
  border: 0;
  border-radius: 38px;
  background: transparent;
  box-shadow: none;
}

.phone-shell.image-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.phone-title {
  padding: 4px 18px 16px;
}

.phone-title strong {
  display: block;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.1;
}

.phone-title span {
  color: var(--muted);
  font-size: 0.92rem;
}

.aac-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.tile {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 10px;
}

.symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--surface-tint);
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 900;
}

.tile:nth-child(2) .symbol {
  background: var(--blue-soft);
  color: var(--blue);
}

.tile:nth-child(3) .symbol {
  background: var(--gold-soft);
  color: #9a6427;
}

.tile:nth-child(4) .symbol {
  background: var(--coral-soft);
  color: #9f513c;
}

.tile strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.tile span {
  color: var(--muted);
  font-size: 0.82rem;
}

.phone-note {
  margin: 0 18px 18px;
  border-radius: 12px;
  background: var(--surface-tint);
  padding: 14px;
  color: #28564a;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 34px 0;
}

.section.soft,
.band.soft {
  background: var(--paper-soft);
}

.band {
  padding: 54px 0;
}

.content {
  max-width: 840px;
}

.section-head {
  max-width: 740px;
  margin-bottom: 26px;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.panel {
  margin: 22px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.notice {
  border-left: 5px solid var(--coral);
  background: var(--coral-soft);
}

.summary-panel {
  border-left: 5px solid var(--green);
  background: var(--surface);
}

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

.routine-visuals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.routine-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.routine-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.visual-system-band {
  background:
    linear-gradient(180deg, rgba(244, 247, 242, 0.82), rgba(255, 253, 248, 0.98));
}

.visual-card-showcase {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.visual-card-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(31, 64, 55, 0.12);
}

.card {
  min-height: 218px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.card h2 {
  margin: 0 0 9px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.card-icon {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface-tint);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.card:nth-child(2) .card-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.card:nth-child(3) .card-icon {
  background: var(--gold-soft);
  color: #9a6427;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.content-hero {
  background:
    linear-gradient(180deg, rgba(244, 247, 242, 0.72), rgba(255, 253, 248, 1));
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.large-showcase {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.feature-panel,
.routine-card,
.data-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
}

.routine-list,
.data-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.routine-card strong,
.data-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.routine-card span,
.data-list span {
  color: var(--muted);
}

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

.link-list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.link-list a:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: center;
}

.callout {
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: var(--coral-soft);
  padding: 24px;
}

.callout p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.check:last-child {
  border-bottom: 0;
}

.check-mark {
  color: var(--green);
  font-weight: 900;
}

.check span {
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 8px;
  background: var(--green-deep);
  padding: 30px;
  color: #ffffff;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  margin: 8px 0 0;
  color: #d8eee6;
}

.cta-band .button {
  border-color: rgba(255, 255, 255, 0.28);
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 6px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    margin-left: 0;
  }

  .hero.image-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.94) 46%, rgba(255, 253, 248, 0.55) 100%),
      url("/assets/luma-family-hero.jpg?v=20260518-seo1");
    background-position: 68% center;
  }

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

  .feature-grid,
  .routine-list,
  .data-list {
    grid-template-columns: 1fr;
  }

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

  .visual-card-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

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

  .nav-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero,
  .hero.product-hero {
    padding: 48px 0 36px;
  }

  .hero.image-hero {
    padding: 42px 0 34px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.75rem);
  }

  .button {
    width: 100%;
  }

  .trust-pill {
    width: 100%;
  }

  .routine-visuals {
    grid-template-columns: 1fr;
  }

  .visual-card-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .panel,
  .card,
  .callout,
  .cta-band {
    padding: 18px;
  }

  .band {
    padding: 42px 0;
  }
}
