:root {
  --ink: #17201d;
  --muted: #5d6b64;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe5dc;
  --forest: #235246;
  --forest-dark: #143b32;
  --mint: #d9efe4;
  --gold: #d99f43;
  --rose: #cc6d5c;
  --blue: #668da1;
  --shadow: 0 22px 70px rgba(23, 32, 29, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: white;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 36px rgba(23, 32, 29, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  color: var(--forest-dark);
  background: white;
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  color: white;
  background: var(--forest);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 28, 24, 0.86) 0%, rgba(12, 28, 24, 0.64) 42%, rgba(12, 28, 24, 0.08) 78%),
    linear-gradient(0deg, rgba(12, 28, 24, 0.22), rgba(12, 28, 24, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  padding-top: 72px;
}

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

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

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

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

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.22;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
}

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

.button {
  border: 0;
  padding: 0 20px;
  cursor: pointer;
}

.button-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.hero .button-primary {
  background: var(--gold);
  color: #20170b;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  padding: 18px;
  background: rgba(11, 31, 26, 0.28);
}

.hero-stats dt {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 36px;
}

.section-heading.narrow {
  width: min(780px, 100%);
  text-align: center;
}

.intro-grid,
.workflow-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.workflow-grid article,
.feature-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(23, 32, 29, 0.06);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--forest-dark);
  background: var(--mint);
  font-weight: 900;
}

.platform {
  background: #eff5ef;
}

.feature-layout {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.dashboard-preview {
  overflow: hidden;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  background: #f8fbf8;
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid #dce6df;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #99aaa1;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(16px, 3vw, 28px);
}

.metric-panel,
.resident-list,
.timeline {
  border: 1px solid #dce6df;
  border-radius: 8px;
  padding: 18px;
  background: white;
}

.metric-panel small,
.calc-result span,
.insight-board span {
  color: var(--muted);
}

.metric-panel strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 2.3rem;
}

.meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ece7;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
}

.metric-panel.accent .meter span {
  background: var(--rose);
}

.resident-list {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
}

.resident-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2f3b36;
}

.status {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--forest);
}

.status.warm {
  background: var(--gold);
}

.status.cool {
  background: var(--blue);
}

.status.firm {
  background: var(--rose);
}

.timeline {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.15fr 0.75fr 1fr;
  gap: 10px;
  min-height: 92px;
  align-items: end;
}

.timeline span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #8cb8a9, #235246);
}

.timeline span:nth-child(1) {
  height: 46px;
}

.timeline span:nth-child(2) {
  height: 72px;
}

.timeline span:nth-child(3) {
  height: 34px;
}

.timeline span:nth-child(4) {
  height: 62px;
}

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

.workflows {
  background: var(--forest-dark);
  color: white;
}

.workflows p {
  color: rgba(255, 255, 255, 0.7);
}

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

.workflow-grid article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.insights {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 68px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.insights-copy {
  align-self: center;
}

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

.insight-board div {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}

.insight-board strong,
.insight-board span {
  display: block;
}

.insight-board strong {
  margin-bottom: 44px;
  font-size: 1.1rem;
}

.memorials {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.memorial-copy p {
  max-width: 680px;
}

.memorial-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.memorial-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.memorial-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.memorial-form {
  display: grid;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #f7faf7;
  box-shadow: 0 16px 42px rgba(23, 32, 29, 0.06);
}

.memorial-form .button {
  width: 100%;
  margin-top: 4px;
}

.memorial-pay-link {
  border-color: var(--forest);
  color: var(--forest);
  background: white;
}

.pricing {
  background: #f8faf7;
}

.pricing-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-grid.single-plan {
  width: min(520px, 100%);
  grid-template-columns: 1fr;
}

.pricing-card {
  display: grid;
  min-height: 560px;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  background: white;
  box-shadow: 0 16px 42px rgba(23, 32, 29, 0.06);
}

.pricing-card.featured {
  border-color: rgba(217, 159, 67, 0.8);
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.plan-kicker {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.price span {
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.pricing-card ul {
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.calculator {
  background: #f4f0e8;
}

.calculator-layout {
  display: grid;
  width: min(980px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.calc-controls,
.calc-result,
.demo-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: white;
  box-shadow: 0 16px 42px rgba(23, 32, 29, 0.06);
}

.calc-controls {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #2d3934;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
}

textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.people-system {
  background: #f8faf7;
}

.people-app {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.people-panel,
.person-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(23, 32, 29, 0.06);
}

.people-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.search-field input {
  margin-top: 2px;
}

.people-list {
  display: grid;
  gap: 10px;
}

.person-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  background: #fbfaf6;
  cursor: pointer;
}

.person-card.is-active {
  border-color: var(--forest);
  background: var(--mint);
}

.person-card strong,
.person-card span {
  display: block;
}

.person-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.person-editor {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.media-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 14px;
}

.photo-preview,
.video-preview {
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #bac8c0;
  border-radius: 8px;
  color: var(--muted);
  background: #f7faf7;
  font-weight: 900;
}

.photo-preview img,
.video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.editor-secondary {
  border: 1px solid var(--forest);
  color: var(--forest);
  background: white;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.form-status.is-error {
  color: var(--rose);
}

.calc-result {
  display: grid;
  align-content: center;
}

.calc-result strong {
  display: block;
  margin: 10px 0 16px;
  color: var(--forest);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.demo-form {
  display: grid;
  gap: 15px;
}

.demo-form .button {
  width: 100%;
  margin-top: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: white;
  background: #101916;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-copy {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.copyright {
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.policy-page {
  background: #f8faf7;
}

.policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: white;
}

.policy-main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 96px) 0;
}

.policy-hero {
  margin-bottom: 34px;
}

.policy-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.policy-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
  background: white;
  box-shadow: 0 16px 42px rgba(23, 32, 29, 0.06);
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 20px;
}

.policy-content a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-contact {
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  padding: 22px;
  background: #f8faf7;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-cta {
    color: white;
    background: var(--forest);
  }

  .hero {
    min-height: 900px;
    align-items: end;
  }

  .hero img {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(12, 28, 24, 0.94) 0%, rgba(12, 28, 24, 0.76) 55%, rgba(12, 28, 24, 0.18) 100%),
      linear-gradient(90deg, rgba(12, 28, 24, 0.46), rgba(12, 28, 24, 0.08));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 140px 0 42px;
  }

  .intro-grid,
  .workflow-grid,
  .feature-layout,
  .people-app,
  .insights,
  .memorials,
  .pricing-grid,
  .calculator-layout,
  .demo {
    grid-template-columns: 1fr;
  }

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

  .people-panel {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .preview-grid,
  .workflow-grid,
  .insight-board,
  .media-row,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .resident-list,
  .timeline {
    grid-column: auto;
  }

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

  .footer-copy {
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

/* Shared visual language with the native Forever Loom workspace. */
:root {
  --ink: #283d3b;
  --muted: #677470;
  --paper: #faf9f5;
  --line: #e0e5df;
  --forest: #356760;
  --forest-dark: #254c47;
  --mint: #e6f0ec;
  --gold: #946044;
  --shadow: 0 20px 60px rgba(42, 64, 57, .09);
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html { scroll-padding-top: 100px; }
.site-header, .site-header.is-scrolled, .site-header.is-open { color: var(--ink); background: rgba(250,249,245,.96); border-bottom: 1px solid var(--line); padding: 14px clamp(20px,5vw,80px); box-shadow: none; backdrop-filter: blur(18px); }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.brand strong { font-size: 17px; letter-spacing: -.4px; }
.brand small { font-size: 11px; font-weight: 500; }
.site-nav { font-size: 13px; font-weight: 550; gap: 28px; }
.site-nav a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta, .site-header .nav-cta { color: white; background: var(--forest); min-height: 40px; }
.button { min-height: 48px; font-size: 13px; font-weight: 600; gap: 18px; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary, .hero .button-primary { background: var(--forest); color: white; box-shadow: 0 4px 12px #254c4714; }
.button-primary:hover { background: var(--forest-dark); }
.button-secondary, .hero .button-secondary { color: var(--forest-dark); border: 1px solid #cbd6d0; background: #ffffff90; }
:focus-visible { outline: 3px solid #946044; outline-offset: 4px; }
.hero { min-height: 760px; padding: 150px max(24px,calc((100vw - 1280px)/2)) 90px; display: grid; grid-template-columns: .9fr 1.15fr; gap: 56px; align-items: center; color: var(--ink); background: linear-gradient(120deg,#f7f2e8 0%,#f5f5ee 48%,#ebf5f5 100%); }
.hero-content { width: auto; margin: 0; padding: 0; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
h1 { font-size: clamp(42px,4.4vw,66px); line-height: 1.08; letter-spacing: -2.7px; font-weight: 650; margin-bottom: 24px; }
h1 em { color: var(--forest); font-style: normal; }
h2 { font-size: clamp(28px,3vw,42px); line-height: 1.16; letter-spacing: -1.2px; font-weight: 620; }
h3 { font-weight: 600; }
.hero-copy { color: var(--muted); font-size: 16px; max-width: 450px; line-height: 1.85; }
.hero-actions { gap: 10px; margin-bottom: 20px; }
.hero-note { font-size: 11px; max-width: 340px; line-height: 1.7; }
.app-showcase { min-width: 0; border: 1px solid #d6ded7; border-radius: 14px; background: #fff; box-shadow: 0 28px 65px #354f4220,0 3px 10px #354f4208; overflow: hidden; }
.showcase-caption { padding: 13px; border-top: 1px solid var(--line); font-size: 10px; text-align: center; color: var(--muted); }
.showcase-caption span { margin-right: 7px; color: var(--gold); }
.section { padding-top: 80px; padding-bottom: 80px; }
.intro { border-bottom: 1px solid var(--line); }
.intro .section-heading { text-align: center; }
.intro-grid article, .workflow-grid article, .feature-list article { box-shadow: none; border-radius: 12px; padding: 28px; }
.intro-grid p, .workflow-grid p, .feature-list p { font-size: 14px; }
.icon { margin-bottom: 20px; background: #f1ece1; color: var(--gold); font-size: 12px; }
.people-system, .policy-page { background: #f0f4ef; }
.workspace-label { display: flex; justify-content: space-between; gap: 12px; max-width: 1180px; margin: auto; background: #f9faf7; padding: 18px 24px; border: 1px solid var(--line); border-radius: 12px 12px 0 0; font-size: 12px; font-weight: 600; }
.workspace-label span:last-child { font-size: 10px; color: var(--muted); font-weight: 400; }
.people-app { gap: 0; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: #f7f8f5; box-shadow: var(--shadow); }
.people-panel, .person-editor { border: 0; border-radius: 0; box-shadow: none; }
.people-panel { background: transparent; }
.person-editor { border-left: 1px solid var(--line); border-radius: 0 0 12px; padding: 28px; }
.editor-heading .eyebrow { margin-bottom: 10px; }
.editor-heading h3 { font-size: 20px; letter-spacing: -.4px; }
label { font-size: 12px; font-weight: 550; color: var(--ink); }
input, select, textarea { font-size: 13px; border-color: #d9dfd8; background: #fdfefc; }
.person-card { background: transparent; border-color: transparent; }
.person-card.is-active { border-color: #c6d9cc; background: #e4eee5; }
.person-card strong { font-size: 14px; }
.person-card span { font-size: 11px; }
.photo-preview, .video-preview { min-height: 160px; background: #f4f6f0; font-size: 12px; font-weight: 500; }
.pricing-card.featured { background: #fffdf8; border-color: #d8c5a9; box-shadow: var(--shadow); min-height: auto; }
.calc-controls, .calc-result, .demo-form, .memorial-form, .policy-content { box-shadow: var(--shadow); border-radius: 12px; }
.site-footer { background: #293f3a; }
@media (max-width: 1100px) { .hero { gap: 28px; } .site-nav { gap: 18px; } }
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; padding: 130px 24px 64px; min-height: auto; gap: 36px; } .hero-content { max-width: 620px; width: 100%; margin: auto; padding: 0; } .app-showcase { width: 100%; max-width: 620px; margin: auto; } .person-editor { border-left: 0; border-top: 1px solid var(--line); } .section { padding-top: 64px; padding-bottom: 64px; } .site-nav a { padding: 10px; } }
@media (max-width: 640px) { h1 { letter-spacing: -1.8px; } .hero { padding: 115px 20px 48px; } .hero-actions { flex-direction: column; } .hero-note { max-width: none; } .person-editor { padding: 20px; } .policy-header .button { width: auto; } .workspace-label { padding: 16px; } .site-footer .brand-logo { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ResidentList and ResidentStoryView from the SwiftUI app. */
.native-preview { color: #252728; }
.native-toolbar { display: flex; align-items: center; gap: 16px; padding: 14px; background: #eeefed; border-bottom: 1px solid #d7dad7; font-size: 11px; }
.native-toolbar > span:not(.window-dots) { color: #666; }
.native-toolbar a { margin-left: auto; color: #2469b1; font-size: 10px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff6159; }
.window-dots i:nth-child(2) { background: #ffbd2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.native-split { display: grid; grid-template-columns: 175px minmax(0,1fr); }
.native-residents { padding: 20px 10px; background: #f0f1ee; border-right: 1px solid #d9dcd6; }
.native-residents h2 { font-size: 15px; letter-spacing: -.3px; margin: 0 6px 5px; }
.native-subtitle { font-size: 10px; font-weight: 600; margin: 0 6px 18px; }
.native-search { display: flex; gap: 7px; padding: 8px; background: #e4e6e2; border-radius: 6px; font-size: 11px; color: #686d68; }
.native-filter { display: flex; justify-content: space-between; font-size: 10px; margin: 14px 6px; color: #363b37; }
.native-resident { display: flex; align-items: flex-start; gap: 8px; padding: 10px 7px; border-radius: 7px; margin-bottom: 5px; }
.native-resident.selected { background: #d8e7f5; }
.native-resident strong { display: block; font-size: 11px; margin-bottom: 4px; }
.native-resident div > span { display: block; font-size: 9px; color: #616566; line-height: 1.5; }
.native-resident p { font-size: 9px; line-height: 1.5; margin: 4px 0 0; color: #616566; }
.native-avatar { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.sunrise { background: linear-gradient(135deg,#ffb340,#ff9500); }
.tide { background: linear-gradient(135deg,#70cbd5,#30b0c7); }
.native-avatar svg { width: 48%; fill: none; stroke: white; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.native-sample-label { display: block; color: #767b75; font-size: 9px; margin: 28px 6px 0; }
.native-story { padding: 16px; background: linear-gradient(135deg,#f7f2e8,#ebf5f5); min-width: 0; }
.native-story-header, .native-quick-info { padding: 17px; border-radius: 20px; background: #ffffffa8; }
.native-biography { display: flex; align-items: flex-start; gap: 12px; }
.native-hero-avatar { width: 66px; height: 66px; border-radius: 17px; }
.native-biography h3 { font-size: 22px; letter-spacing: -.6px; font-weight: 700; margin: 0 0 6px; }
.native-story p { font-size: 10px; line-height: 1.55; margin: 0; color: #555b59; }
.native-story .native-room { margin-bottom: 8px; font-size: 10px; }
.native-story h4 { margin: 15px 0 6px; font-size: 13px; font-weight: 600; }
.native-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.native-facts > div { padding: 13px; background: #ffffffb5; border-radius: 13px; }
.native-facts dt { color: #69716b; font-size: 9px; margin-bottom: 6px; }
.native-facts dd { font-size: 11px; font-weight: 600; margin: 0; }
.native-quick-info h4 { margin-top: 0; }
.native-quick-info h4 span { color: #d5524c; margin-right: 5px; }
.native-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.native-info-grid > div { background: #ffffffab; padding: 9px; border-radius: 9px; }
.native-info-grid small { display: block; color: #69716b; font-size: 8px; margin-bottom: 4px; }
.native-info-grid strong { display: block; font-size: 9px; line-height: 1.5; font-weight: 600; }
@media (min-width: 941px) and (max-width: 1150px) { .native-split { grid-template-columns: 140px minmax(0,1fr); } .native-biography { flex-direction: column; } }
@media (max-width: 640px) { .native-split { grid-template-columns: 1fr; } .native-residents { border-right: 0; border-bottom: 1px solid #d9dcd6; } .native-residents .native-resident:not(.selected), .native-sample-label { display: none; } .native-residents .native-subtitle { margin-bottom: 10px; } .native-search, .native-filter { display: none; } .native-resident { margin: 10px 0 0; } .native-toolbar { gap: 9px; font-size: 10px; } .native-toolbar a { font-size: 9px; } .native-story { padding: 12px; } .native-biography { gap: 10px; } .native-biography h3 { font-size: 20px; } .native-hero-avatar { width: 50px; height: 50px; border-radius: 14px; } }

.platform { background: linear-gradient(135deg, #f7f2e8, #ebf5f5); }
.platform-story-preview { min-width: 0; overflow: hidden; border: 1px solid #d7ddd6; border-radius: 14px; background: #f7f8f4; box-shadow: var(--shadow); }
.platform-story-body { padding: 22px; background: linear-gradient(135deg, #f7f2e8, #ebf5f5); }
.platform-resident-label { display: flex; align-items: center; gap: 10px; padding-bottom: 22px; }
.platform-resident-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: white; background: linear-gradient(135deg, #ffb340, #ff9500); font-weight: 600; }
.platform-resident-label strong { display: block; font-size: 14px; }
.platform-resident-label div > span { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.platform-sample { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: #ffffffb3; color: var(--muted); font-size: 10px; }
.platform-care-group + .platform-care-group { margin-top: 22px; }
.platform-care-group h3 { font-size: 15px; letter-spacing: -.3px; margin-bottom: 12px; }
.platform-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.platform-detail-grid article { padding: 16px; background: #ffffffb8; border: 1px solid #ffffff85; border-radius: 15px; }
.platform-detail-grid h4 { font-size: 11px; margin: 0 0 8px; font-weight: 600; }
.platform-detail-grid p, .platform-detail-grid li { color: #59625e; font-size: 11px; line-height: 1.7; margin: 0; }
.platform-detail-grid ul { padding-left: 14px; margin: 0; }
.platform-detail-grid li + li { margin-top: 6px; }
.platform-features { gap: 0; }
.platform-features article { padding: 24px 0; border: 0; border-bottom: 1px solid #d5dfd6; border-radius: 0; background: transparent; }
.platform-features article:first-child { padding-top: 0; }
.platform-features article:last-child { border-bottom: 0; padding-bottom: 0; }
.platform-feature-label { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.platform-features h3 { font-size: 21px; letter-spacing: -.5px; }
.platform-features p { margin-bottom: 0; max-width: 440px; }
@media (max-width: 640px) { .platform-story-body { padding: 16px; } .platform-detail-grid { grid-template-columns: 1fr; } .platform-care-group h3 { font-size: 14px; } .platform .native-toolbar { flex-wrap: wrap; } }

.memorial-checkout-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 48px; max-width: 1180px; margin: auto; padding: 64px 24px; align-items: start; }
.checkout-intro h1 { font-size: clamp(34px,4vw,52px); letter-spacing: -1.6px; line-height: 1.12; }
.checkout-intro > p { font-size: 15px; }
.checkout-note { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf1; }
.checkout-note p { margin: 8px 0 0; font-size: 13px; }
.checkout-payment { min-width: 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.checkout-payment h2 { font-size: 24px; letter-spacing: -.6px; }
.checkout-methods, .checkout-help { font-size: 12px; }
.checkout-help { margin: 24px 0 0; }
.checkout-note a, .checkout-help a { text-decoration: underline; text-underline-offset: 3px; }
#checkout-status:empty { display: none; }
#checkout-retry[hidden] { display: none; }
@media (max-width: 940px) { .memorial-checkout-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } }
@media (max-width: 640px) { .checkout-payment { padding: 16px; } .memorial-checkout-layout { padding-inline: 16px; } }
