/* Galleroo website. Tokens follow the app (lib/theme/tokens.dart). */
:root {
  --bg: #F2F4EF; --paper: #FCFDFB; --ink: #15211C; --muted: #56625C; --line: #E1E6DF;
  --chip: #E4E9E2; --sun: #FFC23D; --sun-soft: #FFE3A1; --keep: #0E9F6E; --coral: #D9433A;
  --on-sun: #15211C; --r: 24px; --rb: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101613; --paper: #18201C; --ink: #E6ECE7; --muted: #9AA79F; --line: #27312C;
    --chip: #222B26; --sun-soft: #3D3320; --keep: #2FCB93; --coral: #FF7468; color-scheme: dark;
  }
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 Figtree, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--keep); outline-offset: 3px; border-radius: var(--rb); }
h1, h2, h3, .brand { font-family: Fredoka, Figtree, sans-serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6.4vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.bar nav a.link { text-decoration: none; color: var(--muted); font-weight: 500; }
.bar nav a.link:hover { color: var(--ink); }
@media (max-width: 640px) { .bar nav a.link { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: var(--rb); font: 600 17px/1 Figtree, sans-serif; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sun { background: var(--sun); color: var(--on-sun); }
.btn-sun:hover { background: #FFB61A; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: scale(.98); } }

/* hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 32ch; margin: 20px 0 28px; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.get .note { font-size: 15px; color: var(--muted); }
.stage { position: relative; display: flex; justify-content: center; padding-bottom: 8px; }
.phone { width: 300px; border-radius: 36px; border: 8px solid var(--ink); background: var(--ink); overflow: hidden; }
.phone img { border-radius: 28px; }
.stage .roo { position: absolute; left: max(0px, 50% - 270px); bottom: -8px; width: 150px; }
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 250px; }
  .stage .roo { width: 120px; left: max(0px, 50% - 215px); }
}

/* sections */
section.sec { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head p { font-size: 19px; color: var(--muted); margin-top: 14px; }

/* how it works: rows beside the pouch shot */
.how { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--chip); }
.rows .ico svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rows .keep { color: var(--keep); } .rows .toss { color: var(--coral); }
.rows h3 { margin-bottom: 4px; }
.rows p { color: var(--muted); }
.how .phone { width: 100%; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } .how > .phone { display: none; } }

/* privacy band: the one filled block on the page */
.band { background: var(--sun-soft); border-radius: var(--r); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band p { font-size: 19px; }
.band ul { list-style: none; padding: 0; display: grid; gap: 14px; font-size: 17px; }
.band li { display: flex; gap: 12px; align-items: baseline; }
.band li svg { flex: none; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; transform: translateY(3px); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 28px 20px; } }

/* screens rail */
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rail figure { display: flex; flex-direction: column; gap: 14px; }
.rail .phone { width: 100%; max-width: 280px; }
.rail figcaption h3 { font-size: 20px; }
.rail figcaption p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 230px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .rail figure { scroll-snap-align: start; }
}

/* free and pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.plans > div { padding: 28px 0; }
.plans > div + div { border-left: 1px solid var(--line); padding-left: 40px; }
.plans ul { padding-left: 20px; margin-top: 12px; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } .plans > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* closing */
.close { text-align: center; padding: 88px 0 72px; }
.close img { width: 120px; margin: 0 auto 20px; }
.close p { color: var(--muted); font-size: 19px; margin: 12px auto 28px; max-width: 34ch; }
.close .get { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--muted); text-decoration: none; display: inline-block; padding: 10px 0; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .made { margin-left: auto; }
