/* Plus Jakarta Sans, preloaded from the page head. "optional" never swaps
   fonts after first paint: a slow first visit keeps the fallback below, and
   later visits use the cached faces. The WOFF2 names and the fallback
   overrides are derived in apps/web/marketing/FONTS.md. */
@font-face {
  font-family: Jakarta;
  src: url("/assets/jakarta-400.9d173988b4a4.woff2") format("woff2");
  font-weight: 400;
  font-display: optional;
}
@font-face {
  font-family: Jakarta;
  src: url("/assets/jakarta-600.fcf575c93b5e.woff2") format("woff2");
  font-weight: 600;
  font-display: optional;
}
@font-face {
  font-family: Jakarta;
  src: url("/assets/jakarta-700.049f237996ab.woff2") format("woff2");
  font-weight: 700;
  font-display: optional;
}
/* Arial (or a metric-compatible Linux equivalent) scaled to Jakarta's width
   and line metrics, so a fallback page lays out like the real one. */
@font-face {
  font-family: "Jakarta Fallback";
  src:
    local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
  font-weight: 400;
  size-adjust: 106.04%;
  ascent-override: 97.88%;
  descent-override: 20.93%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src:
    local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"),
    local("Arimo Bold");
  font-weight: 700;
  size-adjust: 100.87%;
  ascent-override: 102.9%;
  descent-override: 22.01%;
  line-gap-override: 0%;
}
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #2c2c42;
  --muted: #636275;
  --purple: #65518b;
  --lilac: #ebe5f4;
  --line: #dcdbe3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Jakarta, "Jakarta Fallback", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
p,
figure {
  margin: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #57427d;
  outline-offset: 5px;
}
.wrap {
  width: min(1280px, calc(100% - 80px));
  margin: auto;
}
.skip {
  position: absolute;
  top: -90px;
  left: 15px;
  background: white;
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 12px;
}
.home-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 94px;
}
.home-brand {
  display: flex;
  align-items: center;
  font-size: 30px;
  letter-spacing: -1.7px;
  font-weight: 700;
  line-height: 1;
}
.home-brand > span:last-child {
  font-weight: 400;
}
.brand-house {
  display: inline-flex;
  width: 26px;
  height: 29px;
  margin-right: 5px;
}
.brand-house svg {
  width: 100%;
  height: 100%;
}
.home-nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
}
.home-nav form,
.hero-actions form,
.connection-action form,
.closing form {
  margin: 0;
}
.home-login {
  border: 0;
  min-height: 44px;
  padding: 9px 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.home-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 16px 23px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.home-button:hover {
  background: #4b3b67;
}
.home-button-quiet {
  background: transparent;
  color: var(--ink);
}
.home-button-quiet:hover {
  background: #fff;
}
.home-button::after {
  content: "↗" / "";
  font-size: 18px;
  line-height: 1;
}
.home-nav .home-button {
  padding: 11px 18px;
  gap: 16px;
}
.hero {
  padding-top: 72px;
}
.hero-copy {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto 42px;
}
h1 {
  font-size: clamp(56px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  /* With .hero-copy, wide enough for "Where your family’s AI agents" on one
     desktop line; narrower screens break into even lines. */
  max-width: 1180px;
  margin: 0 auto 24px;
  text-wrap: balance;
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  font-style: normal;
  color: var(--purple);
  font-weight: 400;
  letter-spacing: -0.03em;
}
h1 em {
  white-space: nowrap;
}
.hero-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 27px;
}
.hero-scene {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.hero-scene > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1672/941;
  object-fit: cover;
}
.scene-sticker {
  position: absolute;
  right: 35px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 21px;
  background: #f6eab8;
  color: #4d432c;
  border-radius: 4px;
  box-shadow: 0 5px 20px #32251d22;
  transform: rotate(4deg);
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
}
.scene-sticker > span {
  font-size: 42px;
}
.providers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 54px;
  padding-top: 36px;
  padding-bottom: 58px;
}
.providers > p {
  font-size: 13px;
  max-width: 150px;
  color: var(--muted);
  line-height: 1.5;
}
.agent-row {
  display: grid;
  grid-template-columns: 30px auto;
  gap: 0 10px;
  align-items: center;
  line-height: 1.4;
}
.agent-row img {
  grid-row: 1/3;
  object-fit: contain;
  width: 29px;
  height: 29px;
}
.agent-row strong {
  font-size: 14px;
  font-weight: 600;
}
.agent-row small {
  font-size: 12px;
  color: #656273;
}
.section-intro {
  text-align: center;
}
h2 {
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.13;
}
.section-intro > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin-top: 23px;
  line-height: 1.9;
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 7%;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.story-copy > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 440px;
  margin-top: 25px;
}
.story-copy h2 {
  font-size: clamp(40px, 4.1vw, 58px);
}
/* One asked-and-answered moment: Jamie's question, Claude's answer from the
   shared garden project with its source, and the item Claude added. */
.ask-scene {
  display: grid;
  gap: 10px;
  max-width: 440px;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.55;
}
.ask-scene small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #5d5b6e;
  font-size: 12px;
  font-weight: 600;
}
.ask-q {
  justify-self: end;
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: #ebe5f4;
}
.ask-a {
  max-width: 94%;
  padding: 14px 16px;
  border: 1px solid #e3e0ea;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
}
.ask-source {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #d4cde0;
  color: #4f4566;
  font-size: 13px;
}
.ask-source b {
  font-weight: 600;
}
.ask-done {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d5a43;
  font-size: 13px;
  font-weight: 600;
}
.ask-done span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e1e8d8;
  font-size: 11px;
}
.story-art {
  min-width: 0;
}
.story-art img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  border-radius: 12px;
}
.connection-action > p:first-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 22px;
}
.connection-action details {
  margin-top: 14px;
  max-width: 430px;
}
.connection-action summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  color: #655970;
  cursor: pointer;
}
.connection-action code {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
  padding: 12px 0;
}
.connection-action details p {
  font-size: 12px;
  color: #665d70;
  line-height: 1.6;
}
.mobile-story {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 10%;
  padding-top: 105px;
  padding-bottom: 105px;
}
.mobile-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
}
.mobile-photo img {
  width: 100%;
  aspect-ratio: 1/1.1;
  object-fit: cover;
}
.mobile-points {
  display: grid;
  gap: 15px;
  margin-top: 30px;
  font-size: 12px;
}
.mobile-points i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  background: #e9e3f1;
  color: #655080;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  font-size: 11px;
  margin-right: 10px;
}
.lilac {
  background: #e6def2;
}
.sand {
  background: #f4edce;
}
.sage {
  background: #e1e8d8;
}
.peach {
  background: #f2e1d5;
}
.closing {
  text-align: center;
  padding-top: 105px;
  padding-bottom: 100px;
}
.closing > p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 23px;
}
.closing form {
  margin-top: 28px;
}
.faq {
  border-top: 1px solid var(--line);
  padding-top: 65px;
  padding-bottom: 85px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 13%;
}
.faq h2 {
  font-size: 36px;
  line-height: 1.3;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  padding: 20px 0;
  gap: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font-weight: 400;
  font-size: 20px;
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  font-size: 12px;
  color: #5f5d70;
  line-height: 1.9;
  margin-bottom: 22px;
  max-width: 530px;
}
.home-footer {
  background: #eeeaf3;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 35px;
  padding-bottom: 35px;
}
.footer-inner > div {
  display: flex;
  gap: 28px;
  font-size: 12px;
}
.footer-inner small {
  font-size: 12px;
  color: #635b70;
}
.footer-inner .home-brand {
  font-size: 24px;
}
.footer-inner .brand-house {
  width: 21px;
  height: 24px;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1360px, calc(100% - 100px));
  }
  .hero-copy {
    margin-bottom: 50px;
  }
  .hero {
    padding-top: 88px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .home-nav {
    height: 78px;
  }
  .home-nav nav {
    gap: 20px;
  }
  .home-nav nav > a {
    display: none;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-copy {
    margin-bottom: 32px;
  }
  .desktop-break {
    display: none;
  }
  h1 {
    font-size: 56px;
    max-width: 650px;
  }
  .providers {
    gap: 30px;
    flex-wrap: wrap;
    padding-bottom: 42px;
  }
  .providers > p {
    max-width: none;
    flex-basis: 100%;
    text-align: center;
  }
  .story-row {
    gap: 5%;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .story-copy h2 {
    font-size: 39px;
  }
  .story-copy > p {
    font-size: 14px;
  }
  .scene-sticker {
    font-size: 17px;
    bottom: 24px;
    right: 24px;
  }
}
@media (max-width: 600px) {
  .home-brand {
    font-size: 26px;
  }
  .brand-house {
    width: 22px;
    height: 26px;
  }
  .home-nav nav {
    gap: 17px;
  }
  .home-nav .home-button {
    gap: 12px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .home-login {
    font-size: 12px;
  }
  .hero {
    padding-top: 40px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
  }
  /* "for your home team." is too wide for one phone line. */
  h1 em {
    white-space: normal;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 330px;
    margin: auto;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 24px;
  }
  .home-button {
    font-size: 13px;
    padding: 14px 18px;
    gap: 18px;
  }
  .hero-scene {
    border-radius: 12px;
    margin-left: -5px;
    margin-right: -5px;
  }
  .hero-scene > img {
    aspect-ratio: 1.2;
    object-position: 44% 50%;
    object-fit: cover;
  }
  .scene-sticker {
    display: none;
  }
  .providers {
    gap: 25px;
    padding-top: 28px;
    padding-bottom: 34px;
  }
  .providers > p {
    font-size: 12px;
    margin-bottom: -8px;
  }
  .agent-row {
    grid-template-columns: 22px auto;
    gap: 0 7px;
  }
  .agent-row img {
    width: 22px;
    height: 22px;
  }
  .agent-row strong {
    font-size: 12px;
  }
  .agent-row small {
    font-size: 12px;
  }
  h2 {
    font-size: 39px;
  }
  .section-intro > p:last-child {
    font-size: 12px;
    margin-top: 20px;
  }
  .story-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 62px;
    padding-bottom: 56px;
  }
  .story-copy h2 {
    font-size: 39px;
  }
  .story-copy > p {
    font-size: 14px;
    max-width: none;
    margin-top: 22px;
  }
  .ask-scene {
    margin-top: 24px;
  }
  .story-art {
    margin: 0 -10px;
  }
  .connection-action details {
    margin-top: 15px;
  }
  .connection-action summary,
  .connection-action code,
  .connection-action details p {
    font-size: 12px;
  }
  .mobile-story {
    gap: 30px;
  }
  .mobile-photo {
    aspect-ratio: 4 / 3;
  }
  .mobile-photo img {
    object-position: 50% 44%;
  }
  .mobile-points {
    font-size: 13px;
    gap: 12px;
  }
  .closing {
    padding-top: 64px;
    padding-bottom: 65px;
  }
  .closing h2 {
    font-size: 38px;
  }
  .closing > p {
    font-size: 12px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 42px;
    padding-bottom: 55px;
  }
  .faq h2 {
    font-size: 30px;
  }
  .faq summary {
    font-size: 12px;
    padding: 17px 0;
  }
  .faq details p {
    font-size: 13px;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .footer-inner > div {
    gap: 20px;
    font-size: 12px;
    justify-content: flex-end;
  }
  .footer-inner small {
    grid-column: 1/-1;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.home-button {
  min-height: 44px;
}

/* Family hub: people and their agents around one shared Home. */
.hub-section {
  background: #f0ece6;
  padding: 96px 0 92px;
}
.hub-section .section-intro > p:last-child {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hub-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.12fr) minmax(0, 1fr);
  align-items: center;
  max-width: 1120px;
  margin: 56px auto 0;
}
.hub-members {
  display: contents;
  list-style: none;
}
.hub-member {
  position: relative;
  background: #fffdf9;
  border: 1px solid #e3dcd2;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px #4a3b2a0d;
}
.hub-member-1,
.hub-member-3 {
  grid-column: 1;
  margin-right: 62px;
}
.hub-member-2,
.hub-member-4 {
  grid-column: 3;
  margin-left: 62px;
}
.hub-member-1,
.hub-member-2 {
  grid-row: 1;
  margin-bottom: 18px;
}
.hub-member-3,
.hub-member-4 {
  grid-row: 2;
  margin-top: 18px;
}
.hub-member-3 {
  transform: translateX(-18px);
}
.hub-member-4 {
  transform: translateX(18px);
}
/* Connectors run from each person toward the shared Home. */
.hub-member::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 62px;
  border-top: 2px dashed #b8a7d0;
}
.hub-member-1::after,
.hub-member-3::after {
  left: 100%;
}
.hub-member-2::after,
.hub-member-4::after {
  right: 100%;
}
.hub-member-3::after,
.hub-member-4::after {
  width: 80px;
}
.member-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-head > span:last-child {
  display: grid;
  line-height: 1.35;
}
.member-head strong {
  font-size: 16px;
}
.member-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8d9cf;
  font-size: 12px;
  font-weight: 700;
}
.hub-member-2 .member-avatar {
  background: #dde1ec;
}
.hub-member-3 .member-avatar {
  background: #e1e8d8;
}
.hub-member-4 .member-avatar {
  background: #f4edce;
}
.member-agent {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #585669;
}
.member-agent img {
  width: 16px;
  height: 16px;
}
.member-app {
  font-size: 16px;
  line-height: 1;
}
.hub-member p {
  margin-top: 12px;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.45;
  color: #3e3b4f;
}
.hub-core {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  z-index: 1;
  background: #fff;
  border: 2px solid #cdbfe1;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 50px #4b3b6a1f;
}
.hub-core-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ece8f1;
}
.hub-core-brand {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1;
}
.hub-core-brand > span:last-child {
  font-weight: 400;
}
.hub-core-brand .brand-house {
  width: 19px;
  height: 22px;
}
.hub-core-head strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--purple);
}
.hub-core ul {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
}
.hub-core li,
.hub-private {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
}
.hub-core li + li {
  border-top: 1px solid #f1eef4;
}
.hub-core li > span:last-child,
.hub-private > span:last-child {
  display: grid;
  line-height: 1.4;
}
.hub-core strong {
  font-size: 15px;
}
.hub-core small {
  font-size: 13px;
  color: #5d5b6e;
}
.record-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  color: #4d3f66;
}
.hub-private {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed #b9abcd;
  border-radius: 12px;
}
.hub-private .record-icon {
  background: #ebe5f4;
  padding: 9px;
}
.hub-private svg {
  width: 100%;
  height: 100%;
}
.connect-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
  max-width: 1040px;
  margin: 76px auto 0;
  padding-top: 64px;
  border-top: 1px solid #e0d8cd;
}

@media (max-width: 900px) {
  .hub-map {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    margin-top: 40px;
  }
  .hub-member-1,
  .hub-member-2,
  .hub-member-3,
  .hub-member-4 {
    grid-column: auto;
    margin: 0;
    transform: none;
  }
  .hub-member-1,
  .hub-member-2 {
    grid-row: 1;
    margin-bottom: 30px;
  }
  .hub-member-3,
  .hub-member-4 {
    grid-row: 3;
    margin-top: 30px;
  }
  .hub-member::after,
  .hub-member-3::after,
  .hub-member-4::after {
    left: 50%;
    right: auto;
    top: 100%;
    width: 0;
    height: 30px;
    border-top: 0;
    border-left: 2px dashed #b8a7d0;
  }
  .hub-member-3::after,
  .hub-member-4::after {
    top: auto;
    bottom: 100%;
  }
  .hub-core {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(520px, 100%);
    margin: auto;
  }
  .connect-row {
    gap: 5%;
  }
}
@media (max-width: 600px) {
  .hub-section {
    padding: 56px 0 52px;
  }
  .hub-member {
    padding: 14px;
    border-radius: 12px;
  }
  .member-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 9px;
  }
  .member-head > span:last-child {
    display: contents;
  }
  .member-agent {
    grid-column: 1 / -1;
  }
  .member-avatar {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
  .member-head strong {
    font-size: 15px;
  }
  .member-agent {
    font-size: 12px;
  }
  .hub-member p {
    font-size: 14px;
  }
  .hub-core {
    padding: 18px;
    border-radius: 18px;
  }
  .hub-core-brand {
    font-size: 19px;
  }
  .hub-core-head strong {
    font-size: 16px;
  }
  .hub-core strong {
    font-size: 14px;
  }
  .hub-core small {
    font-size: 12px;
  }
  .record-icon {
    width: 34px;
    height: 34px;
  }
  .connect-row {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 52px;
    padding-top: 44px;
  }
  .connection-action > p:first-child {
    font-size: 14px;
  }
}
