@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/Nunito-500.ttf) format("truetype"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/Nunito-700.ttf) format("truetype"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/Nunito-800.ttf) format("truetype"); }
/* Family Flow Tracker public site. Plain CSS, no build step, no remote requests.
   Palette from design/OWNER_DIRECTION.md. No yellow, orange or peach anywhere. */
:root {
  --berry: #B4235A; --mint: #3DBFA8; --teal: #16806F; --indigo: #4B4FC4; --blue: #1B6FA8;
  --ground: #FAF5F8; --card: #FFFFFF; --ink: #2E2433; --muted: #5C4A61; --tint: #FCE8EF; --line: #E6DAE3;
  /* Nunito is served locally in the same three weights as the app. */
  --font: "Nunito", ui-rounded, "SF Pro Rounded", "Arial Rounded MT", "Varela Round", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-weight: 500; font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--berry); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
h2 { font-size: clamp(1.35rem, 4vw, 1.9rem); margin-top: 1.6em; }
h3 { font-size: 1.15rem; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999rem; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.2rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand .flow { color: var(--berry); }
.brand-icon { height: 2rem; width: 2rem; border-radius: 0.5rem; }
.site-nav ul, .langs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.1rem 0.2rem; margin: 0; padding: 0; }
.site-nav li, .langs li { margin: 0; }
.site-nav a, .langs a { display: inline-block; padding: 0.55rem 0.6rem; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 0.6rem; }
.site-nav a:hover, .langs a:hover { background: var(--tint); }
.site-nav a[aria-current="page"], .langs a[aria-current="true"] { color: var(--berry); text-decoration: underline; text-decoration-thickness: 2px; }
.langs a { font-size: 0.95rem; color: var(--muted); }

/* Notices */
.notice { background: var(--card); border: 2px solid var(--berry); border-radius: 1rem; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.notice strong:first-child { color: var(--berry); }
.notice.info { border-color: var(--teal); }
.notice.info strong:first-child { color: var(--teal); }
.notice p:last-child { margin-bottom: 0; }
.placeholder { background: var(--tint); border: 1px dashed var(--berry); border-radius: 0.4rem; padding: 0 0.3em; font-weight: 700; }

/* ------------------------------------------------------------------ Home
   Six sections: hero, shared calendar, control, pricing, privacy, closing.
   Type is two sizes of heading and one of body; colour does the rest. */
.home .site-header { background: var(--ground); }
.home .site-footer { margin-top: 0; }
.home h1, .home h2 { letter-spacing: -0.02em; text-wrap: balance; }
.home h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.04; margin-bottom: 0.45em; }
.home h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.1; margin: 0 0 0.6em; }
.home main p { max-width: 34rem; }
.kicker { font-weight: 800; color: var(--berry); margin: 0 0 0.9rem; font-size: 1rem; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.5; color: var(--muted); }

.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 9vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero-art { position: relative; padding: clamp(1.5rem, 6vw, 3.5rem) 0; isolation: isolate; }
/* Two overlapping rounds behind the calendar: the page's one ornament, and its subject. */
.hero-art::before, .hero-art::after { content: ""; position: absolute; z-index: -1; width: min(78%, 27rem); aspect-ratio: 1; border-radius: 50%; }
.hero-art::before { background: rgba(180, 35, 90, 0.11); left: 0; top: 0; }
.hero-art::after { background: rgba(61, 191, 168, 0.2); right: 0; bottom: 0; }

/* The capture is 780 px wide. It is never drawn wider than 24rem, so it stays sharp on
   dense screens. .shot cuts it off just below the month card; Portuguese sits 36 px lower. */
.shot, .strip, .forecast { overflow: hidden; background: var(--card); }
.shot { aspect-ratio: 780 / 1476; width: min(100%, 24rem); margin: 0 auto; border-radius: 2rem; border: 1px solid var(--line); box-shadow: 0 1.5rem 3.5rem rgba(46, 36, 51, 0.16), 0 0.2rem 0.6rem rgba(46, 36, 51, 0.06); }
.shot-pt { aspect-ratio: 780 / 1511; }
.shot img { display: block; width: 100%; height: auto; }
/* .strip shows the weekday row and the week 1 to 7 only: a 660 x 204 px window at x 60, y 556 (y 592 in pt). */
.strip { aspect-ratio: 660 / 204; border-radius: 1.25rem; border: 1px solid var(--line); }
.strip img { display: block; width: 118.182%; max-width: none; height: auto; margin-left: -9.091%; margin-top: -84.242%; }
.strip-pt img { margin-top: -89.697%; }

/* Store badges: official artwork, drawn at one visible height. The Google files carry
   transparent margins of their own (41 px all round in en, 29 px above and below in es and
   pt, in a 250 px tall file); the negative margins line the black shapes up with Apple's. */
.stores { --bh: 48px; margin-top: 2.2rem; }
.soon { font-weight: 800; margin: 0 0 0.7rem; }
.badges { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin: 0 0 0.9rem; padding: 0; }
.badges li { margin: 0; line-height: 0; }
.badges img { display: block; width: auto; max-width: none; }
.badge-ios { height: var(--bh); }
.badge-android { height: calc(var(--bh) * 250 / 192); margin: calc(var(--bh) * -29 / 192) 0; }
.badges-en .badge-android { height: calc(var(--bh) * 250 / 168); margin: calc(var(--bh) * -41 / 168); }

.band { padding: clamp(4rem, 10vw, 8rem) 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 5rem; align-items: center; }

.overlap { background: var(--card); border-block: 1px solid var(--line); }
.closeup { margin: 0; width: min(100%, 30rem); justify-self: center; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 1.1rem 0 0; padding: 0 0.3rem; color: var(--muted); font-size: 0.97rem; }
.legend li { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.legend b { color: var(--ink); font-weight: 800; }
.key { width: 1.7rem; height: 0.38rem; border-radius: 1rem; background: var(--berry); flex: none; }
.key.teal { background: var(--teal); }
.key.both { height: 0.95rem; border-radius: 0; background: linear-gradient(var(--berry) 0 40%, transparent 40% 60%, var(--teal) 60%); }

/* For families: two plain columns, one phone or separate phones. Text only. */
.family .lead h2 { max-width: 20ch; }
.ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 5rem; margin-top: 2.2rem; }
.way { border-top: 0.25rem solid var(--berry); padding-top: 1.2rem; min-width: 0; }
.way + .way { border-top-color: var(--teal); }
.way h3 { margin: 0 0 0.6rem; font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.way p { margin: 0; }

.control { background: var(--ink); color: #fff; }
.control .kicker { color: var(--mint); }
.control .split-copy p:last-child { color: #DCD0DE; }
.control .split { align-items: start; }
.ledger h3 { margin: 0 0 0.6rem; font-size: 1rem; font-weight: 700; color: #DCD0DE; }
.ledger ul { list-style: none; margin: 0 0 1.2rem; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ledger li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; margin: 0; padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.25; }
.ledger .tag { font-size: 0.95rem; font-weight: 700; color: #DCD0DE; }
.ledger .never .tag { color: var(--mint); }
.ledger p { color: #DCD0DE; margin: 0; }

.pricing .lead { margin-bottom: 2.5rem; }
.pricing .lead h2 { max-width: 18ch; }
.plans { background: none; font-size: 1.0625rem; border-top: 1px solid var(--line); }
.plans th, .plans td { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 1.4rem 1.5rem 1.4rem 0; vertical-align: baseline; }
.plans th { font-size: 1.2rem; white-space: nowrap; }
.plans td:last-child { color: var(--muted); padding-right: 0; }
.amount { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; white-space: normal; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.amount small { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plans tr:first-child .amount { color: var(--berry); }
.fine { display: grid; gap: 0.2rem 5rem; margin-top: 2.2rem; color: var(--muted); font-size: 0.97rem; }
.fine p:first-child { color: var(--ink); font-weight: 700; }

.privacy { background: var(--card); border-block: 1px solid var(--line); }
.privacy .split { align-items: start; }
.privacy h2 { margin-bottom: 0; }
.know { border-left: 0.3rem solid var(--berry); padding-left: 1.1rem; }
.privacy details { background: var(--ground); max-width: 34rem; margin: 1.5rem 0 1.2rem; }
.privacy details ul { list-style: none; padding: 0; margin-bottom: 0.9rem; }
.privacy details li { margin-bottom: 0.7rem; }

.closing { background: var(--tint); text-align: center; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing .soon, .closing .store-note { margin-inline: auto; }
.closing .age { max-width: 38rem; margin: 2.8rem auto 0; color: var(--muted); font-size: 0.97rem; }

/* Documents */
.doc { padding-top: 2rem; padding-bottom: 3rem; }
.doc h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; background: var(--card); font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.7rem; border: 1px solid var(--line); }
th { background: var(--tint); font-weight: 800; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.2rem 1.1rem; margin-bottom: 0.7rem; }
summary { cursor: pointer; font-weight: 800; padding: 0.8rem 0; }
details p { margin-top: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0.1rem 0 0.4rem 2.8rem; margin-bottom: 0.6rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--berry); color: #fff; font-weight: 800; display: grid; place-items: center; }
.mail { font-weight: 800; overflow-wrap: anywhere; max-width: 100%; }

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--line); margin-top: 2rem; padding: 1.5rem 0 2rem; font-size: 0.97rem; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; margin-bottom: 0.8rem; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-block; padding: 0.35rem 0; }
.site-footer p { color: var(--muted); margin-bottom: 0.4rem; }

@media (max-width: 34.99rem) {
  /* Plans stack: name and price on one line, the sentence under them. */
  .plans, .plans tbody { display: block; }
  .plans tr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .plans th, .plans td { display: block; border: 0; padding: 0; }
  .plans td:last-child { flex-basis: 100%; }
}
@media (min-width: 48rem) {
  .fine { grid-template-columns: 1fr 1fr; }
  .stores { --bh: 52px; }
}
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .overlap .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .closeup { justify-self: end; }
}

/* Text can grow independently of the calendar art and official badge images. */
.hero-grid > *, .split > *, .brand, .brand > span { min-width: 0; }
.badges li { max-width: 100%; }
.closing-contact { margin: 1.5rem auto 0; }

/* Second detail uses the same real capture: the two final November weeks, including estimated marks. */
.forecast { aspect-ratio: 660 / 284; border-radius: 1.25rem; border: 1px solid var(--line); }
.forecast img { display: block; width: 118.182%; max-width: none; height: auto; margin-left: -9.091%; margin-top: -158.485%; }
.forecast-pt img { margin-top: -163.939%; }
.detail-label { font-size: 1rem; font-weight: 800; margin-bottom: 0.7rem; }
.forecast-label { margin-top: 2rem; }
.estimate-note { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }
