/* Flowa website: brand "Notte & Acqua", light and dark like the app. */
:root {
  --bg: #F5F7FB; --surface: #FFFFFF; --ink: #0E1B3D; --muted: #56607E; --line: #E3E7F0;
  --primary: #4F5BD5; --aqua: #1FA89B; --night: #0E1B3D;
  --hero-1: #1A2E66; --hero-2: #0E1B3D; --hero-3: #0B2A3A;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1124; --surface: #151F3D; --ink: #E9ECF7; --muted: #9AA4C2; --line: #26314F;
    --primary: #7B84F0; --aqua: #2EC4B6;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px); background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--font-display); color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(140deg, var(--hero-1), var(--hero-2) 55%, var(--hero-3)); color: #fff;
  position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px;
  background: radial-gradient(closest-side, rgba(46,196,182,.35), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; position: relative; z-index: 1; }
.hero h1 { font: 800 clamp(38px, 6vw, 60px)/1.05 var(--font-display); letter-spacing: -.02em; margin: 0 0 18px; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); color: #C9D2F2; margin: 0 0 28px; max-width: 34em; }
.hero .icon { width: min(260px, 60vw); border-radius: 22%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); justify-self: center; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--night);
  font-weight: 600; padding: 14px 22px; border-radius: 14px; }
.cta:hover { text-decoration: none; opacity: .92; }
.cta.soon { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); cursor: default; }
.platforms { margin-top: 18px; font-size: 14px; color: #9FB0E6; }

/* Sections */
section { padding: 72px 0; }
h2 { font: 750 clamp(28px, 4vw, 38px)/1.15 var(--font-display); letter-spacing: -.01em; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font: 650 19px/1.3 var(--font-display); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--primary) 16%, transparent); }
.privacy-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua); font-weight: 700; }

/* Text pages */
.page { padding: 56px 0 80px; }
.page h1 { font: 800 clamp(32px, 5vw, 44px)/1.1 var(--font-display); margin: 0 0 8px; letter-spacing: -.02em; }
.page .meta { color: var(--muted); margin: 0 0 32px; }
.page h2 { font-size: 24px; margin: 36px 0 8px; }
.page h3 { font: 650 19px/1.3 var(--font-display); margin: 26px 0 6px; }
.page p, .page li { color: var(--ink); }
.page .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; text-align: left; }
  .hero .icon { width: 132px; justify-self: start; order: -1; }
  .grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 14px; }
  section { padding: 56px 0; }
}
@media (max-width: 420px) { .nav a.hide-sm { display: none; } }
