/* Home page styles (site/index.html and site/pt/index.html).
 *
 * Kept apart from style.css on purpose: that file dresses the legal pages
 * (/privacy.html, /terms.html and their /pt/ versions), whose URLs are
 * registered in Google's OAuth consent screen and in App Store Connect and
 * must not break. Changing one must not take the other down.
 *
 * The look is the app's (vratcare-mobile, since the 1.0.112 redesign): the
 * cream palette of constants/colors.ts, Didot display type over Inter from
 * constants/typography.ts, 18px corners, pill buttons in small uppercase,
 * round icon chips with an eyebrow label, and photo cards with a bottom-up
 * scrim. When the app changes its palette, this file follows.
 *
 * Fonts are served from this site, not from fonts.googleapis.com: one less
 * third-party domain in the critical path, and no visitor IP handed to
 * another company on a health page. See site/font/.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/font/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/font/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The app sets its display type in Didot, which ships with macOS and iOS.
 * Everywhere else Bodoni Moda, a Didone of the same family, stands in. The
 * browser only downloads it when Didot is missing, so Apple visitors pay
 * nothing for it. */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/font/bodoni-moda-latin-standard-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/font/bodoni-moda-latin-ext-standard-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/font/bodoni-moda-latin-standard-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/font/bodoni-moda-latin-ext-standard-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* colors.light in the app. */
  --bg: #f3ece2;
  --card: #f9f4ec;
  --surface: #fbf7f0;
  --sand: #eae2d6;
  --line: #ddd4c6;
  --ink: #23201c;
  --on-ink: #f6f1e8;
  --gold: #b3a184;
  --inverse: #2c2b2a;
  --on-inverse: #f2ede4;
  /* The app's mutedForeground (#8b8478) reads at 3.2:1 on the cream, fine
   * for a label on a phone and too faint for paragraphs on a page. This is
   * the same warm gray, darkened to clear 4.5:1 on every surface here. */
  --ink-soft: #655e54;
  --muted: #8b8478;
  /* The accent, darkened to 3.5:1 for icons and large numerals. */
  --gold-deep: #8a7a5f;
  --on-inverse-soft: #b9b1a4;
  --scrim: 35, 32, 28;
  --radius: 18px;
  --display: 'Didot', 'Bodoni Moda', 'Bodoni 72', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  background: var(--bg); color: var(--ink); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* The header is fixed at 72px; without this, menu links stop with the
 * section title hidden behind it. */
section[id] { scroll-margin-top: 80px; }

/* Small uppercase label above a title, the app's `typography.eyebrow`. */
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1.4;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
/* The short rule the app draws under its welcome tagline. */
.rule { width: 40px; height: 1px; background: var(--muted); border: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: #3a3630; }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--surface); border-color: var(--muted); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* Round icon chip, the app's Home `pillarCircle`. */
.chip {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; transition: .3s;
  background: rgba(243, 236, 226, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
header.scrolled { background: rgba(243, 236, 226, .94); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
/* The brand chip is the app icon in miniature, as on the app's Home. */
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language switch: two real addresses (/ and /pt/), not a JavaScript toggle.
 * That is what hreflang points to and what search engines index. The click
 * also writes the cookie Firebase's i18n reads; see site/lang.js. */
.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang-toggle a { font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 7px 12px; color: var(--ink-soft); transition: .2s; }
.lang-toggle a:hover:not(.on) { color: var(--ink); }
.lang-toggle a.on { background: var(--ink); color: var(--on-ink); }
.nav-cta { height: 40px; padding: 0 20px; font-size: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }

/* ── Hero: the app's welcome screen, at page scale ─────────────────────── */
.hero { padding: 116px 0 0; text-align: center; }
/* logo-hero.jpg is composited on the exact page cream, so it has no edge. */
.hero-logo { width: clamp(220px, 26vw, 320px); height: auto; margin: 0 auto; }
.hero .eyebrow { margin-top: 4px; }
/* Display lines are balanced so a title never ends on one orphaned word. */
.hero h1, .section-title, .privacy-card h2, .cta-content h2, .photo-card-body h3 { text-wrap: balance; }
.hero h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6.2vw, 76px);
  line-height: 1.06; letter-spacing: -.01em; margin: 18px auto 0; max-width: 920px;
}
.hero h1 em { font-style: italic; }
.hero .rule { margin: 30px auto; }
.hero-sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-soft); max-width: 620px; margin: 0 auto; }
.hero-quick { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; margin: 16px auto 0; max-width: 620px; }
.hero-quick svg { color: var(--gold-deep); flex-shrink: 0; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
/* Sentence case, not an eyebrow: uppercase would turn "iOS" into "IOS". */
.platforms { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
.platforms b { font-weight: 600; color: var(--ink); }
.platforms i { font-style: normal; color: var(--gold); margin: 0 6px; }
/* The seascape card that sits under the welcome tagline in the app. */
.hero-band { margin-top: 64px; border-radius: var(--radius); overflow: hidden; height: clamp(170px, 26vw, 340px); background: #e9d9c4; }
.hero-band img { width: 100%; height: 100%; object-fit: cover; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 112px 0; }
/* For a section followed by another on the same background, so the gap
 * between them is one section's padding and not two. */
.section.flush-bottom { padding-bottom: 0; }
.section-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; }
.section-head.center { text-align: center; margin: 0 auto 56px; }
.section-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1; letter-spacing: -.005em; margin: 14px 0 16px;
}
.section-sub { color: var(--ink-soft); font-size: 17px; max-width: 600px; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── Pillars: the app's photo cards ────────────────────────────────────── */
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-card { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #cfc5b8; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-card:hover img { transform: scale(1.03); }
/* Bottom-up scrim in the app's primary ink, like the Home workout card. */
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), 0) 40%, rgba(var(--scrim), .8)); }
.photo-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; color: var(--on-ink); }
.photo-card-body .eyebrow { color: rgba(246, 241, 232, .82); }
.photo-card-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin-top: 8px; }

/* ── Ecosystem ──────────────────────────────────────────────────────────── */
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
/* The phone frame is drawn in CSS, not baked into the image: site/img/
 * app-welcome-*.jpg are raw simulator captures (one per page language), so
 * the next capture drops in without an image editor and the frame follows
 * the site's palette. */
.phone-wrap { position: relative; width: fit-content; margin: 0 auto; }
.phone {
  width: 300px; max-width: 100%; padding: 10px; border-radius: 48px;
  background: linear-gradient(160deg, #3d3934, #1d1b18);
  box-shadow: 0 40px 80px -30px rgba(var(--scrim), .5), 0 0 0 1px rgba(var(--scrim), .08);
}
.phone img { width: 100%; height: auto; border-radius: 38px; }
.float-card {
  position: absolute; bottom: 56px; left: -48px; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 22px 14px 14px;
  box-shadow: 0 24px 48px -20px rgba(var(--scrim), .35);
}
.float-card strong { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.float-card small { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.eco-text p { color: var(--ink-soft); font-size: 17px; margin-bottom: 18px; }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.checks li span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); }

/* ── Features: an editorial list, heading kept in view ─────────────────── */
.features-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.features-grid .section-head { position: sticky; top: 120px; }
.features-grid .section-title { font-size: clamp(32px, 3.6vw, 46px); }
.feature-list { list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-list h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.feature-list p { color: var(--ink-soft); font-size: 15.5px; }

/* ── Why VRAT: the Sanskrit word behind the name, opening the About section
 * above the two verification cards ──────────────────────────────────────── */
.name-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; margin-bottom: 72px; }
.name-title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin: 12px 0 16px; text-wrap: balance; }
.name-mark { text-align: center; padding: 64px 24px 56px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
/* No Didot for Devanagari: a serif Devanagari from the system where there
 * is one, so the glyph sits closer to the display type than a sans would. */
.name-glyph {
  display: block; font-size: clamp(96px, 12vw, 160px); line-height: 1.15; color: var(--ink);
  font-family: 'Devanagari MT', 'Devanagari Sangam MN', 'Kohinoor Devanagari', 'Nirmala UI', 'Noto Serif Devanagari', serif;
  font-weight: 400;
}
.name-roman { display: block; margin-top: 14px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--ink-soft); }
.name-text p { color: var(--ink-soft); font-size: 17px; }
.name-meanings { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.name-meanings li {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
}

/* ── Vision & mission ──────────────────────────────────────────────────── */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.vm-media { position: relative; aspect-ratio: 2 / 1; background: #cfc5b8; }
.vm-media img { width: 100%; height: 100%; object-fit: cover; }
.vm-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), 0) 45%, rgba(var(--scrim), .75)); }
.vm-media h3 { position: absolute; left: 32px; bottom: 22px; z-index: 1; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); color: var(--on-ink); }
.vm-card p { padding: 28px 32px 34px; color: var(--ink-soft); font-size: 16px; }

/* ── Values ─────────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.value { border-top: 1px solid var(--ink); padding-top: 22px; }
.value-num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--gold-deep); }
.value h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 18px 0 10px; }
.value p { color: var(--ink-soft); font-size: 14.5px; }

/* ── Privacy: the app's inverse surface ────────────────────────────────── */
.privacy-card { background: var(--inverse); color: var(--on-inverse); border-radius: var(--radius); padding: 80px 40px; text-align: center; }
.privacy-card .chip { width: 60px; height: 60px; margin: 0 auto 28px; background: transparent; border-color: rgba(242, 237, 228, .28); color: var(--on-inverse); }
.privacy-card h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; max-width: 760px; margin: 0 auto 18px; }
.privacy-card p { color: var(--on-inverse-soft); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* "About" + "Google sign-in" block.
 *
 * Not marketing garnish: Google's OAuth brand verification checks the home
 * page for the app description and for which Google account data is used.
 * It has been on the home since the first version; removing it here fails
 * the verification, and the consent screen goes back to the raw domain. */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.info-card h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.info-card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card ul { list-style: none; display: grid; gap: 10px; margin: 0 0 14px; }
.info-card li { color: var(--ink-soft); font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; }
.info-card li::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-3px); }
.info-card strong { color: var(--ink); font-weight: 600; }
.info-card a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.info-card a:hover { text-decoration-color: var(--ink); }
.info-note { font-size: 13px; }

/* ── Closing call to action ────────────────────────────────────────────── */
.cta { padding: 0 0 112px; }
.cta-card { position: relative; border-radius: var(--radius); overflow: hidden; padding: 120px 24px; text-align: center; color: var(--on-ink); background: #2c2b2a; }
.cta-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), .55), rgba(var(--scrim), .82)); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.08; max-width: 780px; margin: 0 auto 18px; }
.cta-content p { color: rgba(246, 241, 232, .82); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.cta-content .cta-note { margin: 22px auto 0; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 241, 232, .72); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer { background: var(--sand); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; margin-top: 18px; max-width: 340px; }
/* The motto is part of the VRAT wordmark and always ships in English,
 * in every language, like the app's BRAND_MOTTO. */
.footer-brand .motto { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); }
.footer-grid h4 { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { font-size: 14.5px; transition: color .2s; }
.footer-grid a:hover { color: var(--gold-deep); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--ink-soft); font-size: 13px; }

/* The entrance animation only exists when JavaScript runs: the `js` class is
 * set by the page itself. Without that gate, a script error or a reader
 * without JS would get the whole page at opacity:0, that is, blank. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; background: rgba(243, 236, 226, .98);
    flex-direction: column; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: .3s; align-items: flex-start;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 12.5px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .section { padding: 88px 0; }
  .eco-grid, .features-grid, .vm-grid, .info-grid, .name-grid { grid-template-columns: 1fr; gap: 48px; }
  .name-grid { gap: 36px; margin-bottom: 48px; }
  .vm-grid, .info-grid { gap: 20px; }
  .features-grid .section-head { position: static; }
  /* Off desktop there is no column to spill into: the card hugs the phone
   * instead of sitting at -48px, or it leaves the screen and body's
   * overflow-x clips it. */
  .float-card { left: -12px; bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  header .brand span { display: none; }
  .hero { padding-top: 104px; }
  /* On two lines the icon would float beside a centred block; keep it in
   * the first line of text instead. */
  .hero-quick { display: block; }
  .hero-quick svg { display: inline; vertical-align: -3px; margin-right: 6px; }
  .hero-band { margin-top: 48px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .photo-card-body { padding: 22px; }
  .privacy-card { padding: 56px 24px; }
  .info-card { padding: 28px 24px; }
  .cta-card { padding: 88px 20px; }
  .vm-card p { padding: 24px; }
  .vm-media h3 { left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .photo-card:hover img { transform: none; }
}
