/* Sensa Care AI — website. The app's own tokens (app/src/theme/tokens.ts). */
/* The app's own font files (app: @expo-google-fonts, loaded in app/_layout.tsx). */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400; font-display: swap; src: url('assets/fonts/AtkinsonHyperlegibleNext_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 600; font-display: swap; src: url('assets/fonts/AtkinsonHyperlegibleNext_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 700; font-display: swap; src: url('assets/fonts/AtkinsonHyperlegibleNext_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Epilogue'; font-weight: 600; font-display: swap; src: url('assets/fonts/Epilogue_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Epilogue'; font-weight: 700; font-display: swap; src: url('assets/fonts/Epilogue_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Material Icons'; font-display: block; src: url('assets/fonts/MaterialIcons.ttf') format('truetype'); }
@font-face { font-family: 'Fraunces'; font-weight: 700; font-display: swap; src: url('assets/fonts/Fraunces_700Bold.ttf') format('truetype'); }

:root {
  --surface: #f6f9f8;
  --lowest: #ffffff;
  --low: #f0f4f2;
  --ink: #16211d;
  --muted: #3e4a46;
  --outline: #cdd8d3;
  --brand: #075a46;
  --secondary: #0d7a5f;
  --mint: #20c997;
  --glow: #e3f6ef;
  --sage: #e3f5ec;
  --peach: #ffe9d6;
  --lavender: #e6e3f6;
  --amber: #8e4a00;
  --radius: 24px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}
img { max-width: 100%; display: block; }
a { color: var(--secondary); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: 'Epilogue', system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(246, 249, 248, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--outline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: 'Fraunces', serif; font-weight: 700; font-size: 24px; white-space: nowrap; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--secondary); }
.site-footer { margin-top: 96px; padding: 48px 0; border-top: 1px solid var(--outline); background: var(--lowest); font-size: 16px; }
.site-footer .wrap { display: grid; gap: 24px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .note { color: var(--muted); max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--secondary); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.btn:hover { background: var(--brand); color: #fff; }
.btn-soon { background: var(--ink); cursor: default; }
.btn-quiet { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); }
.btn-quiet:hover { background: var(--sage); color: var(--brand); }

/* Home: hero */
.hero { background: radial-gradient(900px 520px at 75% 10%, #d6f4e7, rgba(214, 244, 231, 0)), var(--surface); padding: 72px 0 32px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--sage); color: var(--brand); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 21px; color: var(--muted); margin: 24px 0 32px; max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shots { position: relative; height: 620px; }
.hero-shots img { position: absolute; width: 300px; filter: drop-shadow(0 30px 50px rgba(10, 30, 24, 0.25)); }
.hero-shots img:nth-child(1) { right: 0; top: 0; transform: rotate(4deg); }
.hero-shots img:nth-child(2) { right: 200px; top: 70px; transform: rotate(-6deg); }

/* Home: sections */
section { padding: 88px 0 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { font-size: 20px; color: var(--muted); margin-top: 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--lowest); border: 1px solid var(--outline); border-radius: var(--radius); padding: 28px; }
.feature .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--secondary); }
/* The app's own icons (Material Icons, the font the app ships). */
.mi { font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 26px; line-height: 1; display: inline-block; speak: never; -webkit-font-smoothing: antialiased; }
.feature p { color: var(--muted); margin-top: 8px; }
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.showcase figure { border-radius: var(--radius); overflow: hidden; }
.showcase img { width: 100%; height: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--lowest); border-radius: var(--radius); padding: 28px; border: 1px solid var(--outline); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); color: #fff; font-weight: 700; font-family: 'Epilogue'; margin-bottom: 16px; }
.step p { color: var(--muted); margin-top: 8px; }
.band { background: var(--brand); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band h2 { color: #fff; }
.band p, .band li { color: #d9efe6; }
.band ul { list-style: none; display: grid; gap: 14px; }
.band li { display: flex; gap: 12px; align-items: flex-start; }
.band li::before { content: '\e86c'; font-family: 'Material Icons'; font-size: 24px; line-height: 1.2; color: var(--mint); }
.faq details { background: var(--lowest); border: 1px solid var(--outline); border-radius: 18px; padding: 18px 24px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 19px; }
.faq details p { color: var(--muted); margin-top: 10px; }
.disclaimer { background: var(--peach); border-radius: 18px; padding: 20px 24px; color: #5a3200; font-size: 17px; }

/* Legal and support pages */
.page { padding: 56px 0 0; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.page .updated { color: var(--muted); margin-bottom: 32px; }
.page h2 { font-size: 28px; margin: 44px 0 12px; }
.page h3 { margin: 24px 0 8px; }
.page p, .page li { margin-bottom: 12px; }
.page ul, .page ol { padding-left: 24px; margin-bottom: 12px; }
.page table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 16px; background: var(--lowest); border-radius: 12px; overflow: hidden; }
.page th, .page td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--outline); vertical-align: top; }
.page th { background: var(--sage); }
.callout { background: var(--sage); border-radius: 18px; padding: 20px 24px; margin: 20px 0; }
.toc { background: var(--lowest); border: 1px solid var(--outline); border-radius: 18px; padding: 20px 28px; margin-bottom: 8px; }
.toc ol { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.card { background: var(--lowest); border: 1px solid var(--outline); border-radius: 18px; padding: 22px; }

/* Support form: large, plain, forgiving — for every age. */
.form-card { background: var(--lowest); border: 1px solid var(--outline); border-radius: var(--radius); padding: 32px; margin: 8px 0 24px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 18px; color: var(--ink); background: var(--lowest); border: 2px solid #74817c; border-radius: 16px; padding: 14px 16px; min-height: 58px; width: 100%; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--mint); outline-offset: 1px; border-color: var(--secondary); }
.field [aria-invalid='true'] { border-color: #a13923; }
.field .error { color: #a13923; font-weight: 600; font-size: 16px; }
.hint { color: var(--muted); font-size: 16px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; min-height: 0; }
.form-status.ok { background: var(--sage); color: var(--brand); border-radius: 14px; padding: 16px 18px; }
.form-status.bad { background: #ffdad2; color: #5c1a0c; border-radius: 14px; padding: 16px 18px; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
button.btn[disabled] { opacity: 0.6; cursor: progress; }

@media (max-width: 900px) {
  .hero .wrap, .band { grid-template-columns: 1fr; }
  .hero-shots { height: 460px; }
  .hero-shots img { width: 220px; }
  .hero-shots img:nth-child(2) { right: 150px; }
  .features, .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .band { padding: 36px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .form-card { padding: 22px 18px; }
  .brand span { font-size: 21px; }
  .brand img { width: 34px; height: 34px; }
  /* Phones: just Support in the header; everything else is in the footer. */
  .nav a:not(:last-child) { display: none; }
  .nav a { font-size: 16px; }
  .hero { padding-top: 40px; }
  .hero-shots { height: 380px; }
  .hero-shots img { width: 180px; }
  .hero-shots img:nth-child(2) { right: 110px; }
}
