:root {
  --ink: #152321;
  --muted: #5b6966;
  --paper: #ffffff;
  --mist: #f3f7f5;
  --mint: #dfece6;
  --line: #d7e1dc;
  --primary: #116b5c;
  --primary-dark: #0c4038;
  --blue: #315f8d;
  --berry: #8a2f55;
  --clay: #bf6042;
  --gold: #d99b2b;
  --shadow: 0 26px 76px rgba(15, 35, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 72px;
  border-bottom: 1px solid rgba(215, 225, 220, 0.82);
  background: rgba(243, 247, 245, 0.92);
  backdrop-filter: blur(16px);
  content: "";
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-weight: 900;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--gold);
}

.hero {
  min-height: 86vh;
  margin-top: -68px;
  padding: 152px 0 64px;
  background:
    linear-gradient(90deg, rgba(10, 30, 27, 0.9), rgba(10, 30, 27, 0.67) 48%, rgba(10, 30, 27, 0.25)),
    url("https://images.unsplash.com/photo-1758691031979-6128d4029604?auto=format&fit=crop&fm=jpg&q=82&w=1900") center / cover;
  color: #ffffff;
}

.hero-inner,
.section,
.family-inner,
.safety-inner,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: 5.3rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.25rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

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

.button,
.contact-form button,
.brief-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  background: var(--gold);
  color: #1f231f;
}

.button.primary:hover,
.contact-form button:hover {
  background: #efb64c;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button.secondary:hover {
  border-color: #ffffff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 40px;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding: 76px 0;
}

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

.section-heading p,
.feature-card p,
.console-copy p,
.signal-strip p,
.feature-list p,
.idea-grid p,
.charter p,
.plan-card li,
.contact-section p {
  color: var(--muted);
}

.care-console {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.assistant-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(17, 107, 92, 0.96), rgba(49, 95, 141, 0.94)),
    var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.panel-header,
.panel-header div,
.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-header small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ee3a2;
  box-shadow: 0 0 0 6px rgba(126, 227, 162, 0.16);
}

.chat-stack {
  display: grid;
  gap: 14px;
  margin: 34px 0;
}

.bubble {
  max-width: 82%;
  margin: 0;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 800;
  line-height: 1.45;
}

.bubble.bot {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.bubble.person {
  justify-self: end;
  background: var(--gold);
  color: #25200f;
}

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

.insight-row article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.insight-row span,
.card-label,
.brief-kicker,
.charter span {
  display: block;
  margin-bottom: 9px;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-row span {
  color: var(--gold);
}

.insight-row strong {
  display: block;
  margin-bottom: 6px;
}

.insight-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.console-copy {
  display: grid;
  gap: 16px;
}

.console-copy article,
.signal-strip article,
.feature-card,
.idea-grid article,
.plan-card,
.testimonial-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(15, 35, 32, 0.07);
}

.console-copy article {
  min-height: 166px;
  padding: 24px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
}

.signal-strip article {
  min-height: 152px;
  padding: 22px;
}

.metric {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.support-section,
.picture-section,
.memory-section,
.plans-section,
.faq-section {
  border-top: 1px solid var(--line);
}

.photo-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 238px;
  gap: 18px;
}

.story-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(15, 35, 32, 0.11);
}

.story-photo-large {
  grid-row: span 2;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.story-photo:hover img {
  transform: scale(1.04);
}

.story-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
}

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

.feature-card {
  min-height: 214px;
  overflow: hidden;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.idea-grid article:hover,
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 107, 92, 0.34);
  box-shadow: 0 20px 48px rgba(15, 35, 32, 0.12);
}

.feature-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: 0;
}

.feature-card-wide img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.feature-card-wide div {
  align-self: center;
  padding: 28px 28px 28px 0;
}

.family-band,
.safety-band {
  padding: 76px 0;
  background: #172423;
  color: #ffffff;
}

.family-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.family-inner p,
.safety-band .section-heading p,
.charter p {
  color: rgba(255, 255, 255, 0.72);
}

.update-feed {
  display: grid;
  gap: 14px;
}

.update-feed article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.update-feed span {
  color: var(--gold);
  font-weight: 900;
}

.update-feed p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.ai-panel {
  min-height: 430px;
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(138, 47, 85, 0.96), rgba(17, 107, 92, 0.96)),
    var(--berry);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.panel-topline {
  margin-bottom: 28px;
}

.panel-topline span {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.brief-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.brief-tab {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.brief-tab.active,
.brief-tab:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

.brief-output {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.brief-output h3 {
  font-size: 2rem;
}

.brief-output p {
  color: rgba(255, 255, 255, 0.82);
}

.brief-kicker {
  color: var(--gold);
}

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

.idea-grid article {
  min-height: 190px;
  border-left: 5px solid var(--primary);
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.idea-grid article:nth-child(2n) {
  border-left-color: var(--clay);
}

.idea-grid article:nth-child(3n) {
  border-left-color: var(--blue);
}

.memory-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: stretch;
}

.memory-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 480px;
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(17, 107, 92, 0.92), rgba(49, 95, 141, 0.88)),
    var(--primary);
  box-shadow: var(--shadow);
}

.memory-map::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.memory-note {
  position: relative;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 35, 32, 0.14);
}

.memory-note span {
  display: block;
  margin-bottom: 10px;
  color: var(--berry);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-note p {
  color: var(--muted);
}

.note-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
}

.note-large h3 {
  font-size: 2rem;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #ffffff;
  font-weight: 900;
}

.safety-inner {
  display: grid;
  gap: 18px;
}

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

.charter article {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.charter span {
  color: var(--gold);
}

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

.plan-card,
.testimonial-grid article {
  padding: 24px;
}

.plan-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.featured-plan {
  border-color: rgba(217, 155, 43, 0.72);
  background:
    linear-gradient(180deg, rgba(217, 155, 43, 0.14), rgba(255, 255, 255, 0.94)),
    var(--paper);
}

.price {
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.testimonial-grid article {
  min-height: 210px;
}

.testimonial-grid p {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.testimonial-grid span {
  color: var(--muted);
  font-weight: 900;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(15, 35, 32, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(17, 107, 92, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--primary);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 44px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--primary-dark);
  font-weight: 900;
}

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

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

  .site-header::before {
    height: 116px;
  }

  .hero {
    min-height: 82vh;
    margin-top: -116px;
    padding-top: 176px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .care-console,
  .family-inner,
  .ai-layout,
  .memory-experience,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .support-grid,
  .signal-strip,
  .photo-story,
  .charter,
  .plan-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-story {
    grid-auto-rows: 230px;
  }

  .story-photo-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .assistant-panel {
    min-height: 460px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-inner,
  .section,
  .family-inner,
  .safety-inner,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 12px;
  }

  .site-header::before {
    height: 142px;
  }

  .nav-links {
    gap: 10px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 78vh;
    margin-top: -142px;
    padding: 178px 0 42px;
    background-position: 58% center;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .hero-tags {
    display: none;
  }

  .section,
  .family-band,
  .safety-band {
    padding: 54px 0;
  }

  .support-grid,
  .signal-strip,
  .charter,
  .idea-grid,
  .photo-story,
  .plan-grid,
  .testimonial-grid,
  .memory-map,
  .insight-row {
    grid-template-columns: 1fr;
  }

  .photo-story {
    grid-auto-rows: 260px;
  }

  .story-photo-large {
    grid-column: span 1;
  }

  .feature-card-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .feature-card-wide div {
    padding: 0 24px 24px;
  }

  .feature-card-wide img {
    min-height: 230px;
  }

  .assistant-panel {
    min-height: auto;
    padding: 18px;
  }

  .bubble {
    max-width: 92%;
  }

  .update-feed article {
    grid-template-columns: 1fr;
  }

  .memory-map {
    min-height: auto;
    padding: 16px;
  }

  .memory-map::before {
    inset: 16px;
  }

  .note-large {
    min-height: 230px;
  }

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

  .panel-header,
  .panel-topline,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
