/* peabu.app: the landing, legal and help pages. Colours and fonts follow the app (lib/app/theme/peabu_colors.dart,
   assets/fonts); /i/ (invite) still uses /style.css. No third-party requests: fonts and images are self-hosted. */

@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Nunito-Regular.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Nunito-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Nunito-Bold.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/assets/fonts/Nunito-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Baloo2-Bold.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("/assets/fonts/Baloo2-ExtraBold.woff2") format("woff2"); }

:root {
  --pea50: #f2faf2; --pea100: #e0f2e1; --pea200: #c3e6c5; --pea500: #7bc47f; --pea700: #4a8a4f; --pea800: #376b3c; --pea900: #254a29;
  --blush100: #fde6eb; --blush300: #f8c2ce; --blush700: #e97f98; --heart: #ff6f91;
  --cream: #fff8ec; --cream-deep: #f6ebd6; --cream-warm: #fff1dd; --paper: #fffbf2;
  --sky: #ddf1fb; --lavender: #e9e4f7; --butter: #ffe9b0; --gold: #f2c14e;
  --ink: #2e3a33; --ink-soft: #5e6b62; --line: #e6e0d4; --night: #1e2a5a;
  --radius: 24px; --shadow: 0 1px 2px rgba(46, 58, 51, .06), 0 8px 24px rgba(91, 70, 54, .10);
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pea800); text-underline-offset: 3px; }
a:hover { color: var(--pea900); }
:focus-visible { outline: 3px solid var(--blush700); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; color: var(--ink); margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 12px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.top { position: relative; z-index: 5; background: rgba(255, 248, 236, .88); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(230, 224, 212, .7); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 24px/1 var(--display); }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 2px 6px rgba(46, 58, 51, .15); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 15px; padding: 8px 10px; border-radius: 12px; }
.top nav a:hover { background: var(--cream-deep); color: var(--ink); }
.top nav a.lang { color: var(--pea800); background: var(--pea100); padding: 7px 12px; border-radius: 999px; }
.top nav a.lang:hover { background: var(--pea200); }
@media (max-width: 560px) { .top nav a.hide-s { display: none; } }

/* Buttons and store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: inline-block; border-radius: 10px; line-height: 0; transition: transform .15s ease; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }
.badges .soon { position: relative; }
.button { display: inline-block; background: var(--pea800); color: #fff; text-decoration: none; padding: 13px 22px;
  border-radius: 16px; font-weight: 800; box-shadow: 0 4px 0 var(--pea900); }
.button:hover { color: #fff; background: var(--pea900); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--cream-warm) url("/assets/img/room-living.webp") center bottom / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 236, .96) 0%, rgba(255, 248, 236, .86) 42%, rgba(255, 248, 236, .15) 70%, rgba(255, 248, 236, 0) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 40px; }
.hero h1 { font-size: clamp(38px, 9vw, 64px); margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--pea700); }
.hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-soft); max-width: 34em; font-weight: 600; }
.hero .badges { margin: 22px 0 6px; }
.hero .note { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.couple { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 4px; padding-top: 12px; height: 300px; }
.couple img { height: 100%; width: auto; filter: drop-shadow(0 10px 8px rgba(91, 70, 54, .18)); }
.couple img.her { height: 103%; }
.bubble { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #fff; border: 2px solid var(--blush300);
  border-radius: 18px; padding: 8px 16px; font-weight: 800; white-space: nowrap; box-shadow: var(--shadow); font-size: 15px; z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; background: #fff;
  border-right: 2px solid var(--blush300); border-bottom: 2px solid var(--blush300); transform: translateX(-50%) rotate(45deg); }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: end; padding-top: 72px; min-height: 600px; }
  .hero .copy { padding-bottom: 96px; }
  .hero::before { background: linear-gradient(90deg, rgba(255, 248, 236, .96) 0%, rgba(255, 248, 236, .8) 45%, rgba(255, 248, 236, 0) 75%); }
  .couple { height: 430px; padding-bottom: 40px; }
  .bubble { top: -6px; }
}

/* Milestone ribbon (the journey, as on the first store screenshot) */
.ribbon { list-style: none; margin: 0; padding: 22px 4px 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  background: linear-gradient(transparent 14px, transparent 14px); position: relative; }
.ribbon li { flex: 0 0 auto; scroll-snap-align: start; background: #fff; border-radius: 14px; padding: 8px 14px 9px; box-shadow: var(--shadow);
  font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; transform: rotate(var(--tilt, -1.5deg)); }
.ribbon li:nth-child(even) { --tilt: 1.5deg; }
.ribbon li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blush100);
  color: #b23a5a; font-size: 13px; }
.ribbon li.wait { background: var(--butter); }
@media (min-width: 860px) { .ribbon { flex-wrap: wrap; overflow: visible; row-gap: 14px; } }

/* Sections */
section.band { padding: 72px 0; }
section.band.alt { background: var(--paper); border-block: 1px solid var(--line); }
section.band.mint { background: var(--pea50); }
section.band.blush { background: #fff3f5; }
section.band.night { background: var(--night); color: #f4f1ff; }
section.band.night h2, section.band.night h3 { color: #fff; }
section.band.night p, section.band.night li { color: #dcd8f2; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pea800);
  background: var(--pea100); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.blush .eyebrow { color: #a3324f; background: var(--blush100); }
.night .eyebrow { color: #2b2148; background: var(--butter); }
.band h2 { font-size: clamp(30px, 5.5vw, 44px); margin-bottom: 14px; }
.band .intro { font-size: 18px; color: var(--ink-soft); max-width: 36em; font-weight: 600; }
.split { display: grid; gap: 36px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pea100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-9.5A3.9 3.9 0 0 1 12 8a3.9 3.9 0 0 1 7 2.5C19 15.6 12 20 12 20z' fill='%23e97f98'/%3E%3C/svg%3E") center / 14px no-repeat; }
.night .ticks li::before { background-color: rgba(255, 255, 255, .12); }

/* Phones */
.phones { display: flex; justify-content: center; gap: 18px; }
.phone { width: min(260px, 44vw); aspect-ratio: 1320 / 2868; border-radius: 34px; overflow: hidden; background: #fff;
  border: 6px solid #fff; box-shadow: 0 2px 0 var(--line), 0 24px 48px rgba(91, 70, 54, .18); flex: 0 0 auto; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phones .phone:nth-child(2) { transform: translateY(36px); }
.phones.one .phone { width: min(300px, 70vw); }

/* Baby */
.nursery { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow);
  background: var(--cream-warm) url("/assets/img/room-nursery.webp") center 62% / cover no-repeat; }
.nursery img { position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); height: 58%; width: auto;
  filter: drop-shadow(0 10px 8px rgba(91, 70, 54, .18)); }
.pod { position: absolute; top: 18px; left: 18px; background: rgba(255, 255, 255, .92); border-radius: 18px; padding: 10px 14px;
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow); max-width: 70%; }
.pod small { display: block; font-weight: 700; color: var(--ink-soft); font-size: 12px; }

/* Widget mock (art: ios/PeabuWidget sample-corner-medium) */
.widgets { display: flex; gap: 18px; justify-content: center; align-items: center; }
.widgets .phone { width: 200px; }
@media (max-width: 600px) { .widgets { gap: 14px; } .widgets .widget { width: 46vw; max-width: 180px; } .widgets .phone { width: 40vw; } }
.widget { width: 220px; aspect-ratio: 1; border-radius: 30px; overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  background: #fde9d2 url("/assets/img/widget-corner.webp") center / cover no-repeat; }
.widget .days { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--ink); border-radius: 14px;
  padding: 6px 12px; font: 800 22px/1.1 var(--display); }
.widget .days small { display: block; font: 700 11px/1.2 var(--body); color: var(--ink-soft); }
.widget.lock { width: 220px; aspect-ratio: auto; height: 96px; border-radius: 26px; background: rgba(255, 255, 255, .14); color: #fff;
  box-shadow: none; display: flex; align-items: center; gap: 14px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .2); }
.widget.lock b { font: 800 34px/1 var(--display); }
.widget.lock span { font-weight: 700; font-size: 14px; line-height: 1.3; color: #e9e6ff; }

/* Cards */
.cards { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; background: var(--pea100); }
.card .ico svg { width: 24px; height: 24px; }
.card.gold .ico { background: #fff3c4; }
.card.pink .ico { background: var(--blush100); }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 20px 28px; scroll-snap-type: x mandatory; margin: 0 -20px; }
.gallery .phone { scroll-snap-align: center; width: 230px; }
@media (min-width: 1000px) { .gallery { justify-content: center; overflow: visible; } }

/* Final call */
.cta { text-align: center; }
.cta .couple { height: 220px; margin-top: 12px; }
.cta .badges { justify-content: center; margin-top: 18px; }

/* Footer */
footer.site { background: var(--cream-deep); padding: 36px 0 44px; font-size: 15px; color: var(--ink-soft); margin-top: 0; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--ink); font-weight: 700; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site p { margin: 0; }

/* Documents: privacy, terms, support, delete account */
.doc-head { background: linear-gradient(180deg, var(--pea50), var(--cream)); padding: 48px 0 28px; }
.doc-head .wrap, .doc .wrap { max-width: 800px; }
.doc-head h1 { font-size: clamp(34px, 7vw, 50px); margin-bottom: 10px; }
.doc-head .meta { color: var(--ink-soft); font-weight: 700; font-size: 15px; margin: 0; }
.doc-head .lede { font-size: 18px; color: var(--ink-soft); font-weight: 600; margin: 14px 0 0; }
.doc { padding: 8px 0 72px; }
.doc h2 { font-size: 27px; margin: 44px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 20px; margin: 26px 0 8px; font-family: var(--body); font-weight: 800; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin: 0 0 .45em; }
.doc li::marker { color: var(--pea700); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 8px 0 8px; box-shadow: var(--shadow); }
.toc h2 { font-size: 18px; margin: 0 0 8px; font-family: var(--body); }
.toc ol { columns: 2 240px; column-gap: 28px; margin: 0; padding-left: 1.4em; }
.toc a { text-decoration: none; font-weight: 700; }
.toc a:hover { text-decoration: underline; }
.callout { background: #fff; border: 2px solid var(--pea200); border-radius: 20px; padding: 16px 20px; margin: 18px 0; }
.callout.pink { border-color: var(--blush300); background: #fffafb; }
.callout p:last-child, .callout ul:last-child, .callout ol:last-child { margin-bottom: 0; }
.table { overflow-x: auto; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.table table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.table th { background: var(--pea50); font-weight: 800; }
.table tr:last-child td { border-bottom: 0; }
/* Phones: each row becomes a small card; cells after the first carry their column name (data-label). */
@media (max-width: 640px) {
  .table { border: 0; background: none; overflow: visible; }
  .table table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; padding: 4px 0; }
  .table td { border: 0; padding: 8px 16px; }
  .table td:first-child { font-weight: 700; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: var(--pea800); margin-bottom: 2px; }
  
}
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; min-height: 32px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pea800); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
kbd, .path { font: 700 .92em var(--body); background: var(--cream-deep); border-radius: 8px; padding: 1px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin: 0 0 12px; box-shadow: 0 1px 2px rgba(46, 58, 51, .05); }
details.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font: 800 22px/1 var(--display); color: var(--pea700); }
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 20px 6px; }
.mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.contact { display: grid; gap: 16px; margin: 20px 0 8px; }
@media (min-width: 700px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact .card h3 { font-family: var(--body); font-size: 18px; margin-top: 0; }

/* 404 */
.lost { text-align: center; padding: 64px 0 80px; }
.lost h1 { font-size: 44px; margin-bottom: 8px; }
.lost img { margin: 0 auto 18px; height: 220px; width: auto; }
