/* The generated pages' one stylesheet (Scripts/site/build.py). Manu's art direction: a sky for a
   ground, Manu's blue, white surfaces that float on a shadow and never carry an outline. Day sky
   only, whatever the phone's setting: the ad and the link previews are the day sky, and a visitor
   lands on the picture they clicked. Never plain white: Manu is a white cloud, and so are the
   surfaces. */

:root {
  --sky-top: #d9e9ff;
  --sky-bottom: #f4f8ff;
  --ink: #0a0f33;
  --muted: #4a5578;
  --blue: #3b7bf3;
  --blue-ink: #ffffff;
  --surface: #ffffff;
  --soft: #eef4ff;
  --whatsapp: #128c4a;
  --shadow: 0 1px 2px rgba(10, 15, 51, 0.06), 0 10px 28px rgba(10, 15, 51, 0.08);
  --radius: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0, var(--sky-bottom) 560px) no-repeat, var(--sky-bottom);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 40px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px 0 36px; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--blue); }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.keyword { background: var(--blue); color: var(--blue-ink); padding: 0 0.22em; border-radius: 0.28em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.art { position: relative; aspect-ratio: 1.1; }
.art .mascot { position: absolute; left: 12%; top: 22%; width: 76%; filter: drop-shadow(0 18px 30px rgba(10, 15, 51, 0.16)); }
.chip { position: absolute; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 18px; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip:nth-child(2) { left: 0; top: 6%; }
.chip:nth-child(3) { right: 0; top: 0; animation-delay: -2s; }
.chip:nth-child(4) { right: 4%; bottom: 6%; animation-delay: -4s; }
.chip:nth-child(5) { left: 4%; bottom: 12%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .chip, .buddy, .band img { animation: none; } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--blue); color: var(--blue-ink); font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: var(--shadow); }
.button.whatsapp { background: var(--whatsapp); color: #fff; }
.button.quiet { background: var(--surface); color: var(--ink); }
.fine { font-size: 14px; color: var(--muted); margin: 12px 0 0; max-width: 34em; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 40px; }
.tile { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.tile b { display: block; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.tile span { color: var(--muted); font-size: 15px; }

.ranges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ranges a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.ranges a[aria-current] { background: var(--blue); color: var(--blue-ink); }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 0; margin: 0 0 40px; overflow: hidden; }
.filter { display: block; width: calc(100% - 32px); margin: 12px 16px 6px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: inherit; }
.filter:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; vertical-align: middle; }
thead th { white-space: nowrap; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; }
tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--soft) 55%, transparent); }
.rank { width: 3.2em; padding-left: 18px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 15px; }
tbody th { font-size: 19px; font-weight: 800; white-space: nowrap; }
.spell { display: block; font-style: italic; font-weight: 500; font-size: 15px; color: var(--blue); }
.listen { width: 44px; }
thead th:nth-child(2) { width: 32%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.meaning { color: var(--muted); }
.say { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--soft); color: var(--blue); cursor: pointer; padding: 0; }
.say svg { width: 18px; height: 18px; }
.say[hidden] { display: none; }
.say:focus-visible { outline: 3px solid var(--blue); }
.empty { padding: 16px 18px; color: var(--muted); }
.phrases th:first-child { padding-left: 18px; }
.phrases thead th:first-child { width: 46%; }
.phrases thead th:nth-child(2) { width: 44px; }
.phrases tbody th { font-size: 17px; white-space: normal; }
.phrases tbody th, .phrases .meaning { text-wrap: balance; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin: -20px 0 40px; }
.pager .button { width: auto; white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 40px; padding: 0; list-style: none; }
.steps li { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.steps img { width: 64px; height: 64px; display: block; margin: 0 0 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }

.cta { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin: 0 0 40px; }
/* Manu in front, its rainbow behind it. */
.cta .sky { position: relative; width: 160px; }
.cta .arch { position: static; display: block; width: 80%; margin-left: 20%; animation: none; }
.cta .cloud { position: absolute; z-index: 1; left: -2%; bottom: -10%; width: 56%; filter: drop-shadow(0 8px 12px rgba(10, 15, 51, 0.14)); }
.cta p { margin: 0 0 16px; color: var(--muted); }
.cta h2 { margin-bottom: 8px; }

.benefits { display: grid; gap: 14px; margin: 0 0 36px; padding: 0; list-style: none; }
.benefits li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; }
.benefits img { width: 56px; height: 56px; }
.benefits b { display: block; }
.benefits span { color: var(--muted); font-size: 16px; }
.benefits .en { color: var(--ink); font-weight: 700; }
.benefits i { color: var(--blue); font-weight: 600; }

.method { color: var(--muted); font-size: 15px; max-width: 46em; margin: 0 0 40px; }
.method h2 { color: var(--ink); font-size: 22px; }

.top .button.small { width: auto; min-height: 40px; padding: 0 18px; font-size: 15px; }

/* The home page: a phone that shows the product, then features as text beside a picture. */
.stage { position: relative; justify-self: center; width: 100%; max-width: 340px; }

/* Manu's sky family (cast.py): decoration that floats on the corners of the pictures. */
.buddy { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 10px 16px rgba(10, 15, 51, 0.14)); animation: float 6s ease-in-out infinite; }
.stage .phone { position: relative; z-index: 1; }
.stage .sun { width: 34%; right: -20%; top: -12%; }
.stage .star { z-index: 2; width: 22%; right: -9%; bottom: 10%; animation-delay: -3s; }
.art .left { left: -4%; top: 40%; width: 15%; animation-delay: -5s; }
.art .right { right: -4%; top: 44%; width: 14%; animation-delay: -2s; }
.solo .buddy { position: static; float: right; width: 120px; margin: 0 0 8px 20px; }
.corner { width: 84px; top: -38px; }
.corner.left { left: -26px; animation-delay: -1s; }
.corner.right { right: -22px; animation-delay: -4s; }
.corner.low { top: auto; bottom: -46px; right: -26px; animation-delay: -2s; }
.band { display: flex; justify-content: center; align-items: flex-end; gap: 3%; max-width: 640px; margin: 8px auto 4px; }
.band img { position: static; width: 13%; height: auto; filter: drop-shadow(0 10px 16px rgba(10, 15, 51, 0.14)); animation: float 6s ease-in-out infinite; }
.band img:nth-child(1) { margin-bottom: 4%; animation-delay: -1s; }
.band img:nth-child(2) { margin-bottom: 9%; animation-delay: -3s; }
.band .cloud { width: 26%; animation-delay: -5s; }
.band img:nth-child(4) { margin-bottom: 9%; animation-delay: -2s; }
.band img:nth-child(5) { margin-bottom: 3%; animation-delay: -4s; }
.phone { justify-self: center; width: 100%; max-width: 340px; margin: 0; background: var(--surface); border-radius: 36px; box-shadow: var(--shadow); padding: 14px 14px 18px; }
.phone-top { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; font-weight: 800; font-size: 16px; }
.phone-top img { width: 34px; }
.thread, .visual.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { margin: 0; max-width: 85%; padding: 9px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.manu { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.mine { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 85%; }
.mine .msg { max-width: 100%; }
.me { background: var(--blue); color: var(--blue-ink); border-bottom-right-radius: 6px; }
.better { font-size: 13px; color: var(--muted); padding-right: 6px; }
.better i { font-style: normal; }

.manifesto { text-align: center; max-width: 34em; margin: 16px auto 56px; }
.manifesto p { color: var(--muted); font-size: 19px; margin: 0; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin: 0 0 56px; }
.feature.flip > div:first-child { order: 1; }
.feature h2, .manifesto h2 { text-wrap: balance; }
.feature > div:first-child p { color: var(--muted); font-size: 18px; margin: 0; }
.visual { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 0; }
.sounds { font-size: 22px; }
.sounds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sounds li { padding: 10px 16px; border-radius: 16px; background: var(--soft); }
.sounds .en { font-weight: 800; }
.sounds i { color: var(--blue); font-weight: 600; }
.lock { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 22px 30px; border-radius: var(--radius); box-shadow: var(--shadow); background: linear-gradient(180deg, #0b1440 0, #2a3f9c 100%); color: #fff; }
.lock-date { font-size: 16px; font-weight: 600; opacity: 0.85; }
.lock-time { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin: 2px 0 20px; }
.widget { display: flex; flex-direction: column; min-width: 60%; padding: 12px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.18); }
.widget b { font-size: 20px; }
.widget span { font-size: 15px; opacity: 0.85; }
.visual.shield { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.visual.shield img { width: 96px; }
.visual.shield ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.visual.shield li { padding: 8px 14px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 16px; }
.visual.shield li span { display: block; color: var(--muted); font-weight: 500; font-size: 14px; }

.accents { text-align: center; margin: 0 0 56px; }
.accents ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.accents li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 120px; padding: 16px 8px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 700; font-size: 15px; }
.accents img { width: 56px; height: 56px; }

.faq { max-width: 44em; margin: 0 auto 48px; }
.faq h2 { text-align: center; }
.faq details { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 0 48px; color: var(--muted); font-size: 14px; }
footer div { display: flex; flex-direction: column; gap: 6px; }
footer b { color: var(--ink); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .stage { max-width: 300px; margin-top: 28px; }
  .stage .sun { width: 28%; right: -5%; top: -11%; }
  .stage .star { right: -4%; bottom: 1%; }
  .corner { width: 58px; top: -24px; }
  .corner.left { left: -8px; }
  .corner.right, .corner.low { right: -8px; }
  .facts { gap: 10px; }
  .facts .tile { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 14px 18px; }
  .facts .tile b { font-size: 22px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-bottom: 44px; }
  .feature.flip > div:first-child { order: 0; }
  .accents li { width: calc(33.333% - 10px); }
  footer { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 8px; }
  .art { max-width: 260px; width: 100%; margin: 4px auto 0; }
  .chip { font-size: 15px; padding: 6px 12px; }
  .tiles, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta .sky { width: 140px; margin: 0 auto 8px; }
  .solo .buddy { width: 64px; margin-left: 12px; }
  .button { width: 100%; }
  .rank { padding-left: 12px; width: 2.6em; }
  th, td { padding: 9px 5px; }
  tbody th { font-size: 17px; }
}
