/* The landing pages beside the home page: the same paper, ink and type, laid out as a calm
   article with one mesh card at the top and the ask at the end, both printed with the app's
   halftone (assets/mesh.js draws them live; these CSS glows and dots stand in without it). */
:root {
  --canvas: #F4F3F0;
  --paper: #FFFFFF;
  --ink: #141413;
  --ink-2: #63625D;
  --ink-3: #B9B8B2;
  --line: rgba(20, 20, 19, .08);
  --accent: #EE6A3F;
  --good: #1F8A55;
  --display: 'Funnel Display', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Funnel Sans', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --edge: clamp(10px, 1.2vw, 18px);
  --gutter: clamp(16px, 5vw, 64px);
  --card: clamp(28px, 3vw, 44px);
  --spring: cubic-bezier(.34, 1.7, .5, 1);
  color-scheme: light;
}
@font-face { font-family: 'Funnel Display'; src: url('../fonts/FunnelDisplay.ttf') format('truetype'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Funnel Sans'; src: url('../fonts/FunnelSans.ttf') format('truetype'); font-weight: 300 800; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 540; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
.dot { color: var(--accent); }
.wrap { width: 100%; max-width: calc(760px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* header */
header.top { padding-top: calc(var(--edge) + env(safe-area-inset-top, 0px)); }
header.top .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: calc(1160px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.035em; text-decoration: none; }
.get { display: inline-flex; align-items: center; height: 46px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; padding: 0 22px; border-radius: 999px; text-decoration: none; transition: transform .45s var(--spring); }
.get:active { transform: scale(.93); transition-duration: .1s; }

/* the opening card */
.intro { position: relative; margin: 8px var(--edge) 0; border-radius: var(--card); overflow: hidden; padding-block: clamp(56px, 8vw, 112px); }
.mesh { position: absolute; inset: 0; overflow: hidden; background: #EEE7F4; }
.mesh::after { content: ''; position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image: radial-gradient(circle, rgba(70, 50, 100, .5) 1.05px, transparent 1.45px), radial-gradient(circle, rgba(70, 50, 100, .5) 1.05px, transparent 1.45px);
  background-size: 6.364px 6.364px; background-position: 0 0, 3.182px 3.182px; }
.mesh canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mesh.live > i, .mesh.live > b, .mesh.live::after { display: none; }
.mesh i { position: absolute; border-radius: 50%; }
.mesh i:nth-child(1) { width: 85%; height: 85%; left: -28%; top: -30%; background: radial-gradient(closest-side, #B9A9F6, transparent 74%); }
.mesh i:nth-child(2) { width: 75%; height: 90%; right: -20%; top: -20%; background: radial-gradient(closest-side, #F6B9D6, transparent 74%); }
.mesh i:nth-child(3) { width: 85%; height: 80%; right: -22%; bottom: -36%; background: radial-gradient(closest-side, #FFB287, transparent 74%); }
.mesh i:nth-child(4) { width: 75%; height: 75%; left: -18%; bottom: -36%; background: radial-gradient(closest-side, #FFDB9E, transparent 74%); }
.mesh b { position: absolute; left: 50%; top: 45%; width: 80%; height: 80%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,0) 80%); }
.intro .wrap { position: relative; text-align: center; display: grid; justify-items: center; gap: 22px; }
.intro h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 500; letter-spacing: -0.05em; }
.intro .lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 36ch; }
.intro .lede strong { color: var(--ink); font-weight: 500; }

/* Google Play badge */
.play { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none;
  border: 1.5px solid #a6a6a6; text-align: left; transition: transform .45s var(--spring); }
.play:hover { transform: translateY(-2px); }
.play svg { width: 28px; height: 28px; }
.play small { display: block; font-size: 10px; letter-spacing: .08em; font-weight: 500; line-height: 1.2; }
.play b { display: block; font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }

/* the article */
article { padding-block: clamp(64px, 8vw, 112px) 0; }
article section + section { margin-top: clamp(56px, 7vw, 88px); }
article h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
article h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 6px; }
article p { color: var(--ink-2); }
article p + p { margin-top: 14px; }
article p strong { color: var(--ink); font-weight: 600; }
article .answer { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); line-height: 1.55; }
.note { font-size: 14px; color: var(--ink-2); margin-top: 14px; }

/* reasons, as cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.cards > div { background: var(--paper); border-radius: 22px; padding: 26px; }
.cards p { font-size: 16px; line-height: 1.55; }

/* the comparison */
.table { background: var(--paper); border-radius: 22px; overflow: hidden; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; background: #F8F6F3; }
tbody th { font-weight: 600; color: var(--ink); width: 30%; }
td { color: var(--ink-2); }
td.us { color: var(--ink); }

/* questions */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px;
  font-family: var(--display); font-size: clamp(19px, 1.6vw, 21px); font-weight: 520; letter-spacing: -0.025em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F1EEF6;
  font-family: var(--sans); font-size: 20px; line-height: 1; transition: transform .45s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; margin-top: -4px; font-size: 16px; line-height: 1.6; }

/* screens */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shots figure { background: var(--paper); border-radius: 22px; padding: 12px 12px 14px; }
.shots img { border-radius: 14px; aspect-ratio: 600 / 1304; object-fit: cover; width: 100%; height: auto; }
.shots figcaption { font-size: 14px; color: var(--ink-2); text-align: center; margin-top: 10px; }

/* the ask */
.ask { position: relative; margin: clamp(80px, 10vw, 128px) var(--edge) 0; border-radius: var(--card); overflow: hidden; padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.ask .wrap { position: relative; display: grid; justify-items: center; gap: 18px; }
.ask h2 { font-size: clamp(36px, 5vw, 64px); }
.ask p { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }

footer { padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--ink-2); }
footer .bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; max-width: calc(1160px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
footer nav a { text-decoration: none; padding: 10px 8px; }
footer nav a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots figure:nth-child(3) { display: none; }
}
