/* agape4us.com: one stylesheet for every page. Colors and fonts match the app
   (mobile/src/lib/theme.ts). Fonts are served from this site, so pages make no
   requests to anyone else. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/BricolageGrotesque-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/BricolageGrotesque-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --berry: #a61e55;
  --berry-deep: #8c1c4e;
  --berry-dark: #4f0d2e;
  --berry-bright: #c8306f;
  --berry-tint: #f9e6ee;
  --pink: #ff9cc0;
  --pink-soft: #ffd6e5;
  --ground: #fbf7f9;
  --surface: #ffffff;
  --ink: #241b21;
  --muted: #6a5d65;
  --line: #ece2e7;
  --green: #1a6a50;
  --green-text: #2f5547;
  --green-tint: #e3f2eb;
  --green-line: #cbe5d8;
  --mint: #9fe0c4;
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--berry); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--berry-deep); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: inherit; opacity: 0.86; }
.site-header nav a:hover { opacity: 1; color: inherit; }
.on-dark { color: #fff; }
.on-light { background: var(--surface); border-bottom: 1px solid var(--line); }
.on-light .brand span { color: var(--ink); }
.on-light nav a { color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 520px at 72% 18%, rgba(255, 156, 192, 0.28), transparent 62%),
    radial-gradient(700px 500px at 10% 0%, rgba(200, 48, 111, 0.55), transparent 60%),
    linear-gradient(170deg, var(--berry-bright) 0%, var(--berry-deep) 46%, var(--berry-dark) 100%);
  overflow: hidden;
}
.hero .site-header { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 40px 0 96px; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(52px, 8vw, 92px); }
.hero h1 em { font-style: normal; color: var(--pink-soft); }
.lead { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: #fbe3ec; margin-top: 22px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.soon {
  display: inline-flex; flex-direction: column; line-height: 1.15; padding: 11px 20px; border-radius: 14px;
  background: #fff; color: var(--berry-deep); font-weight: 700; font-size: 18px;
}
.soon small { font-weight: 600; font-size: 12.5px; color: var(--muted); letter-spacing: 0.01em; }
.btn-ghost {
  display: inline-block; padding: 14px 20px; border-radius: 14px; font-weight: 700; text-decoration: none;
  color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.define { margin-top: 34px; font-size: 15.5px; color: #f3c9d9; }
.define b { font-family: var(--display); font-size: 18px; color: #fff; letter-spacing: -0.01em; }

/* Phone (an illustration of a chat, drawn in HTML) */
.phone {
  justify-self: center; width: min(100%, 360px); aspect-ratio: 9 / 18.6;
  border-radius: 48px; padding: 12px; background: #1b1218;
  box-shadow: 0 40px 80px rgba(40, 0, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(2deg);
}
.screen { height: 100%; border-radius: 37px; background: var(--ground); color: var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.chat-head b { display: block; font-size: 15px; line-height: 1.2; }
.chat-head span { font-size: 12.5px; color: var(--green); font-weight: 600; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px 12px 6px; font-size: 13.5px; line-height: 1.38; }
.day { align-self: center; font-size: 11.5px; font-weight: 600; color: var(--muted); background: #f1e8ed; padding: 2px 10px; border-radius: 999px; margin-bottom: 2px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 17px; }
.msg .who { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 1px; }
.msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.them .who { color: #3b2f37; }
.msg.me { align-self: flex-end; background: var(--berry); color: #fff; border-bottom-right-radius: 6px; }
.msg.coach { align-self: flex-start; background: var(--green-tint); border: 1px solid var(--green-line); color: var(--green-text); border-bottom-left-radius: 6px; }
.msg.coach .who { color: var(--green); }
.goal { align-self: stretch; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--green-line); border-radius: 14px; padding: 9px 11px; margin-top: 2px; }
.goal .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--green-tint); display: grid; place-items: center; font-size: 16px; }
.goal b { display: block; font-size: 13px; line-height: 1.25; }
.goal span { font-size: 11.5px; color: var(--green); font-weight: 600; }
.composer { margin: 6px 10px 22px; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 9px 9px 16px; font-size: 13.5px; color: #a3949c; }
.composer .mic { width: 28px; height: 28px; border-radius: 50%; background: var(--berry); display: grid; place-items: center; }
.composer .mic svg { width: 15px; height: 15px; color: #fff; }

/* Sections */
section { padding: 96px 0; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--berry); margin-bottom: 12px; }
.section-title { font-size: clamp(36px, 4.6vw, 54px); max-width: 18ch; }
.section-sub { color: var(--muted); font-size: 19px; margin-top: 16px; max-width: 56ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--berry-tint); color: var(--berry); font-family: var(--display); font-weight: 800; font-size: 19px; margin-bottom: 18px;
}
.step h3 { font-size: 22px; }
.step p { color: var(--muted); margin-top: 8px; }

.features { background: var(--surface); border-block: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--ground); }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--berry-tint); color: var(--berry); margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card.coachy .icon { background: var(--green-tint); color: var(--green); }
.card.dark { background: #2a1422; border-color: #2a1422; color: #f6e7ee; }
.card.dark .icon { background: rgba(255, 156, 192, 0.16); color: var(--pink); }
.card.dark p { color: #d9bccb; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 16.5px; }

.coaches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.coach { margin: 0; }
.coach img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 20px; background: var(--green-tint); }
.coach figcaption { margin-top: 12px; }
.coach b { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; }
.coach span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.note { margin-top: 28px; color: var(--muted); font-size: 15.5px; }

.private { color: #fff; background: linear-gradient(160deg, var(--berry-deep), var(--berry-dark)); }
.private .eyebrow { color: var(--pink); }
.private .section-sub { color: #f0c6d6; }
.checks { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.checks li { position: relative; padding-left: 38px; font-size: 18px; color: #fbe3ec; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2620' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks b { color: #fff; }
.private a { color: #fff; }

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--berry); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; }
.faq details p + p { margin-top: 10px; }

.closing { text-align: center; padding: 88px 0 104px; }
.closing img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 18px 40px rgba(140, 28, 78, 0.28); }
.closing h2 { font-size: clamp(36px, 4.6vw, 54px); }
.closing p { color: var(--muted); font-size: 19px; margin-top: 14px; }

/* Footer */
.site-footer { background: #1f121a; color: #cdb6c2; padding: 48px 0 56px; font-size: 15px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer .brand span { color: #fff; font-size: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #f3dbe6; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .fine { margin-top: 26px; color: #a68f9b; font-size: 14px; }

/* Text pages: privacy, terms, support, delete account */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); }
.doc .meta { color: var(--muted); margin-top: 12px; }
.doc h2 { font-size: 27px; margin-top: 48px; }
.doc h3 { font-size: 20px; margin-top: 28px; font-weight: 700; }
.doc p, .doc li { font-size: 17.5px; }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 14px 0 0; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--berry); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; margin-top: 30px; }
.summary h2 { margin-top: 0; font-size: 21px; }
.summary ul { margin-top: 10px; }
.callout { background: var(--green-tint); border: 1px solid var(--green-line); color: var(--green-text); border-radius: 18px; padding: 18px 22px; margin-top: 26px; }
.callout b { color: var(--green); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; }
.mail { font-weight: 700; }

.notfound { text-align: center; padding: 120px 0 140px; }
.notfound h1 { font-size: 56px; }
.notfound p { color: var(--muted); margin-top: 14px; font-size: 19px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 80px; }
  .phone { transform: none; width: min(100%, 340px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .coaches { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  section { padding: 72px 0; }
  .site-header nav { gap: 14px; }
  .site-header nav a.wide { display: none; }
  .steps, .grid, .checks { grid-template-columns: 1fr; }
  .coaches { grid-template-columns: repeat(2, 1fr); }
  .coach img { aspect-ratio: 1 / 1; }
  .phone { border-radius: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
