:root {
  --teal: #123F3A;
  --teal-hover: #0D342F;
  --teal-dark: #092B29;
  --ivory: #F8F5EE;
  --cream: #FFFDF8;
  --amber: #E8A84C;
  --gold: #F4D39A;
  --sage: #DDE9E4;
  --ink: #17201E;
  --muted: #66736F;
  --line: #E5E1D8;
  --ok: #3D8B69;
  --shadow: 0 18px 40px rgba(18, 63, 58, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--ivory);
  color: var(--ink);
  font: 500 17px/1.6 "Nunito Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--teal);
  color: #fff;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 245, 238, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.1);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  width: min(168px, 42vw);
}
.logo img { width: 100%; }
.nav-toggle { display: none; }
.nav-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--teal);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: var(--teal); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 63, 58, 0.16);
}
.btn-teal:hover { background: var(--teal-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: rgba(18, 63, 58, 0.22);
}
.btn-ghost:hover { background: var(--sage); }

.hero {
  padding: 56px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(232, 168, 76, 0.35);
  border-radius: 999px;
  background: rgba(244, 211, 154, 0.72);
  color: #6d4712;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(232, 168, 76, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
h1, h2, .display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1.15;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4vw + 0.6rem, 3.55rem);
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 2.4vw + 0.7rem, 2.5rem);
}
.lead {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.trust-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-visual { position: relative; }
.photo-frame {
  overflow: hidden;
  border-radius: 28px;
  background: var(--sage);
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
}
.float-card {
  position: absolute;
  width: min(240px, 68%);
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 253, 248, 0.7);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 30px rgba(9, 43, 41, 0.12);
}
.call-card {
  left: -18px;
  bottom: 18%;
  min-height: 118px;
}
.care-card {
  right: -8px;
  top: 12%;
}
.card-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.float-card strong {
  display: block;
  color: var(--teal);
  font-size: 16px;
}
.call-live, .call-done {
  position: absolute;
  inset: 16px;
  transition: opacity .7s ease, transform .7s ease;
}
.call-done {
  opacity: 0;
  transform: translateY(6px);
}
.call-card.is-done .call-live {
  opacity: 0;
  transform: translateY(-6px);
}
.call-card.is-done .call-done {
  opacity: 1;
  transform: none;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(232, 168, 76, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
.who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.who b { color: var(--teal); font-size: 16px; }
.wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  margin-top: 10px;
}
.wave span {
  width: 4px;
  height: 100%;
  border-radius: 99px;
  background: var(--amber);
  transform-origin: bottom;
  animation: wave 1.1s ease-in-out infinite;
}
.wave span:nth-child(2) { animation-delay: .12s; }
.wave span:nth-child(3) { animation-delay: .24s; }
.wave span:nth-child(4) { animation-delay: .08s; }
.wave span:nth-child(5) { animation-delay: .2s; }
.call-card.is-done .wave span { animation: none; height: 6px; opacity: .4; }
.ok {
  margin: 6px 0 0;
  color: var(--ok);
  font-weight: 700;
}
.tick {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 11px;
}

.section { padding: 88px 0; }
.section-head {
  max-width: 22ch;
  margin: 0 0 36px;
}
.section.soft { background: #f3efe4; }
.section.sage { background: var(--sage); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(18, 63, 58, 0.04);
}
.card h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
}
.card p { margin: 0; color: var(--ink); font-weight: 600; }
.close-line {
  margin: 36px 0 0;
  max-width: 28ch;
  color: var(--teal);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.4rem, 2vw + 0.6rem, 1.9rem);
  line-height: 1.3;
}
.room {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.room img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.steps { display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 8px 0 28px;
  border-bottom: 1px solid rgba(18, 63, 58, 0.08);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  display: inline-block;
  margin-bottom: 10px;
  color: #6d4712;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ui {
  padding: 20px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.ui-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.ui-row:last-child { border-bottom: 0; }
.ui-row span { color: var(--muted); }
.chat { display: grid; gap: 10px; }
.bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--sage);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.bubble.them {
  justify-self: end;
  background: var(--teal);
  color: #fff;
}
.bubble small {
  display: block;
  margin-bottom: 4px;
  opacity: 0.7;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.insight {
  margin: 40px 0 0;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  text-align: center;
}
.insight p {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.35rem, 2vw + 0.5rem, 1.85rem);
  line-height: 1.35;
}

.person-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.person-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}
.dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
.profile {
  padding: 28px;
}
.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.profile-top img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-top h3 { margin: 0; font-size: 1.6rem; }
.profile .ui-row { font-size: 15px; }

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.use {
  min-height: 180px;
}
.use svg {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--teal);
}

.circle-stage {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 36px;
}
.circle-core, .sat {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
}
.circle-core {
  inset: 30%;
}
.circle-core img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--cream);
  box-shadow: 0 10px 28px rgba(18, 63, 58, 0.14);
}
.circle-core b {
  display: block;
  margin-top: 8px;
  color: var(--teal);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
}
.sat {
  width: 92px;
  padding: 10px 8px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}
.sat-you { top: 4%; left: 50%; transform: translateX(-50%); }
.sat-dad { top: 42%; left: 0; }
.sat-sister { top: 42%; right: 0; }
.sat-care { bottom: 6%; left: 50%; transform: translateX(-50%); }
.ring {
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(18, 63, 58, 0.18);
  border-radius: 50%;
  animation: spin 48s linear infinite;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}
.flow .arrow { border: 0; background: none; color: var(--muted); padding: 10px 0; }
.retry {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust svg { width: 22px; height: 22px; margin-bottom: 12px; color: var(--teal); }

.story {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 100px 20px;
  background:
    linear-gradient(180deg, rgba(9, 43, 41, 0.28), rgba(9, 43, 41, 0.42)),
    url("/assets/images/founding-hero-bg.jpg") center 40% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.story h2 {
  max-width: 16ch;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(2rem, 4vw + 0.6rem, 3.3rem);
  text-shadow: 0 8px 30px rgba(9, 43, 41, 0.35);
}
.story p {
  max-width: 36ch;
  margin: 0 auto;
  font-weight: 600;
  text-shadow: 0 4px 18px rgba(9, 43, 41, 0.4);
}

.founding {
  background: var(--ivory);
}
.founding-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
form { display: grid; gap: 14px; }
label {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(18, 63, 58, 0.16);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 63, 58, 0.08);
}
.hp { position: absolute; left: -9999px; height: 0; opacity: 0; }
.note { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.msg { min-height: 1.3em; margin: 0; font-weight: 700; }
.msg.ok { color: var(--ok); }
.msg.err { color: #C95955; }

.legal-page { padding: 72px 0 100px; }
.legal-page .prose {
  max-width: 62ch;
}
.legal-page h1 { margin-bottom: 16px; }
.legal-page p, .legal-page li { color: var(--ink); font-weight: 600; }
.legal-page ul { padding-left: 1.1em; }

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}
.site-footer .logo { width: 150px; margin-bottom: 14px; }
.site-footer p { margin: 0; color: var(--muted); font-weight: 600; max-width: 36ch; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  justify-content: flex-end;
}
.foot-links a { text-decoration: none; font-weight: 700; color: var(--teal); }
.fine {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 168, 76, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 168, 76, 0); }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-grid, .grid-2, .founding-box, .foot-grid, .step {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 32px; }
  .lead { max-width: none; }
  .call-card, .care-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
  .hero-visual { display: grid; gap: 12px; }
  .call-card { min-height: 0; }
  .call-live, .call-done { position: static; }
  .call-done { display: none; }
  .call-card.is-done .call-live { display: none; }
  .call-card.is-done .call-done { display: block; opacity: 1; transform: none; }
  .grid-3, .use-grid, .trust-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .section { padding: 64px 0; }
  .circle-stage { aspect-ratio: auto; height: auto; display: grid; gap: 12px; justify-items: center; }
  .ring { display: none; }
  .circle-core, .sat { position: static; transform: none; }
  .sat { width: auto; min-width: 120px; }
}

@media (max-width: 760px) {
  .nav-btn { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    padding: 16px 20px 22px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  #nav-toggle:checked ~ .nav { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  h1 { font-size: 2.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge i, .wave span, .ring { animation: none; }
  .btn:hover { transform: none; }
}
