/* Storm Home site
   One family (Google Sans Flex, the app's own font), white pages, slate ink,
   one storm-blue accent. The only bold element is the drawn home screen in the hero. */

:root {
  --paper: #ffffff;
  --mist: #f3f4f7;
  --ink: #1b1f27;
  --ink-2: #5a6170;
  --rule: #e3e6ec;
  --accent: #3b4fe4;
  --accent-ink: #ffffff;
  --band: #1b1f27;
  --band-ink: #f3f4f7;
  --band-ink-2: #a9afbd;
  --bar: rgba(255, 255, 255, 0.78);
  --r-panel: 28px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101218;
    --mist: #1a1d25;
    --ink: #eef0f4;
    --ink-2: #a3a9b6;
    --rule: #2a2e38;
    --accent: #8c9bff;
    --accent-ink: #101218;
    --band: #1a1d25;
    --band-ink: #eef0f4;
    --band-ink-2: #a3a9b6;
    --bar: rgba(16, 18, 24, 0.74);
  }
}
:root[data-theme="dark"] {
  --paper: #101218; --mist: #1a1d25; --ink: #eef0f4; --ink-2: #a3a9b6; --rule: #2a2e38;
  --accent: #8c9bff; --accent-ink: #101218; --band: #1a1d25; --band-ink: #eef0f4;
  --band-ink-2: #a3a9b6; --bar: rgba(16, 18, 24, 0.74);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bar);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--rule);
}

.bar .wrap { display: flex; align-items: center; height: 56px; gap: 28px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-weight: 650;
  font-size: 17px;
  font-variation-settings: "wdth" 115;
}
.brand:hover { text-decoration: none; }
.brand span { white-space: nowrap; }
.brand img { width: 28px; height: 28px; flex: none; border-radius: 7px; }

.bar nav { display: flex; gap: 26px; }
.bar nav a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.bar nav a:hover { color: var(--ink); text-decoration: none; }
.bar nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 16px;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.quiet { background: var(--mist); color: var(--ink); }
.button.static { cursor: default; }
.button.static:hover { filter: none; }

/* ---------- Hero ---------- */

.hero { padding: 88px 0 0; text-align: center; overflow: hidden; }

.hero h1 {
  margin: 0 auto 20px;
  max-width: 12ch;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  font-weight: 720;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
}

.hero .lede {
  margin: 0 auto 32px;
  max-width: 34em;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }

.stage { display: flex; justify-content: center; padding-bottom: 8px; }

/* ---------- The phone (a Storm Home screen) ----------
   Laid out in the app's own reference units: a 384 x 854 dp phone (411 x 914 dp scaled by 384/411), then scaled
   down to the frame. Numbers from the launcher: 4 x 6 grid, 16 dp side padding, 88 dp columns, 99.2 dp row pitch,
   first row 43 dp under the status bar; 60 dp icons, 11.5 sp labels 4 dp under them. Rows start at the icon's top,
   and a two-row item is (pitch + icon) tall and (columns x 88 - 2 x 8) wide (StormWidgetFrame.body): a 2x2 is
   160 x 159.2, a 4x2 336 x 159.2, ending where the second row's icons end so its label sits on their label line and
   every row gap is equal. One large corner of 0.377 x icon (22.6 dp); search pill 69 x 28 dp, 25 dp over the dock; dock
   102 dp tall, 8 dp from the sides and bottom, 36 dp corners. The wallpaper and glass are rendered by storm-glass
   (HeroScreenRender) at these same positions. */

.phone {
  --k: calc(322 / 384);
  width: 344px;
  height: 738px;
  padding: 11px;
  border-radius: 47px;
  background: #1c1e24;
  box-shadow: 0 0 0 1.5px #3a3d46, 0 40px 80px -24px rgba(27, 31, 39, 0.4);
  flex: none;
  text-align: left;
}

.screen {
  position: relative;
  width: 322px;
  height: 716px;
  border-radius: 36px;
  overflow: hidden;
  background: #2b2f7e;
}

.ref {
  --icon: 60px;
  --cell: 88px;
  --pitch: 99.2px;
  --inset: 8px;
  --plate-h: calc(var(--pitch) + var(--icon));
  --plate-w: calc(var(--cell) * 2 - var(--inset) * 2);
  --corner: 22.6px;
  position: absolute;
  left: 0; top: 0;
  width: 384px;
  height: 854px;
  transform: scale(var(--k));
  transform-origin: 0 0;
  color: #fff;
  background: url("img/hero-screen.png") 0 0 / 100% 100% no-repeat;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  padding: 6px 30px 0 34px;
  font-size: 13px;
  font-weight: 600;
}
.status svg { width: 46px; height: 12px; fill: #fff; }

.grid {
  position: absolute;
  left: 16px;
  top: 65.4px;
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  grid-auto-rows: var(--pitch);
}

.label { font-size: 11.5px; line-height: 14px; letter-spacing: 0.1px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); white-space: nowrap; }

.app { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.ic {
  width: var(--icon);
  height: var(--icon);
  border-radius: calc(var(--icon) * 0.2237);
  display: grid;
  place-items: center;
  flex: none;
}
.ic svg { width: 52%; height: 52%; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.c-photos { background: linear-gradient(160deg, #ffb35c, #f0627e); }
.c-music { background: linear-gradient(160deg, #ff6f8e, #d63a6a); }
.c-maps { background: linear-gradient(160deg, #6fd39b, #2f9a63); }
.c-weather { background: linear-gradient(160deg, #6cc4ff, #2f7fe0); }
.c-phone { background: linear-gradient(160deg, #6fe08c, #29a750); }
.c-msg { background: linear-gradient(160deg, #6aa8ff, #3a63f0); }
.c-web { background: linear-gradient(160deg, #9aa6ff, #5d4fe0); }
.c-camera { background: linear-gradient(160deg, #8a909c, #4b505b); }
.c-mail { background: linear-gradient(160deg, #5fb8ff, #2f6fe0); }
.c-cal { background: #fff; }
.c-cal svg { stroke: #e0405a; }
.c-notes { background: linear-gradient(160deg, #ffd35c, #f2a524); }
.c-clock { background: #20232b; }
.c-files { background: linear-gradient(160deg, #7f8ba3, #4c5670); }
.c-calc { background: linear-gradient(160deg, #ff9f5a, #ef6b2e); }
.c-contacts { background: linear-gradient(160deg, #a7b1c2, #6b778c); }
.c-video { background: linear-gradient(160deg, #ff6a6a, #d93a3a); }
.c-settings { background: linear-gradient(160deg, #9ea4ae, #5f6570); }
.c-books { background: linear-gradient(160deg, #ffb25c, #e6862a); }
.c-shop { background: linear-gradient(160deg, #5fd0e8, #2a95c4); }
.c-wallet { background: linear-gradient(160deg, #3a3f4b, #1d2028); }
.c-games { background: linear-gradient(160deg, #b18cff, #7550e0); }

/* folders: the plate is the glass in the render; icons sit on it */
.folder { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.folder .plate { border-radius: var(--corner); display: grid; place-content: center; }
.f42 { grid-column: 1 / 5; grid-row: span 2; }
.f42 .plate { width: calc(var(--cell) * 4 - var(--inset) * 2); height: var(--plate-h); grid-template-columns: repeat(4, 46px); column-gap: 34px; row-gap: 16px; }
.f22 { grid-column: span 2; grid-row: span 2; }
.f22 .plate { width: var(--plate-w); height: var(--plate-h); grid-template-columns: repeat(2, 50px); gap: 16px; }
.folder .ic { --icon: 46px; }
.f22 .ic { --icon: 50px; }

/* the enlarged app: grows from a 1x1 icon to 2x2 once, on load */
.big { grid-column: span 2; grid-row: span 2; position: relative; }
.big .plate {
  position: absolute;
  left: var(--inset);
  top: 0;
  width: var(--plate-w);
  height: var(--plate-h);
  border-radius: var(--corner);
  background: rgba(255, 255, 255, 0.95);
  color: #1b1f27;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: grow 1000ms cubic-bezier(0.3, 1.3, 0.45, 1) 1s both;
}
.big .plate .ic { --icon: 42px; }
.big ul { list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 550; white-space: nowrap; animation: fade 400ms ease 1.6s both; }
.big li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #eceef2; }
.big li:first-child { border-top: 0; }
.big li svg { width: 16px; height: 16px; stroke: #6a7080; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.big > .label { position: absolute; left: 0; right: 0; top: calc(var(--plate-h) + 4px); text-align: center; }

@keyframes grow {
  0%, 25% { width: var(--icon); height: var(--icon); border-radius: calc(var(--icon) * 0.2237); padding: 9px; background: #f6b93a; }
  55% { background: rgba(255, 255, 255, 0.95); }
}
@keyframes fade { from { opacity: 0; } }

.pill {
  position: absolute;
  left: 157.5px;
  top: 691px;
  width: 69px;
  height: 28px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.75px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.pill svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; }

.dock {
  position: absolute;
  left: 8px;
  top: 744px;
  width: 368px;
  height: 102px;
  border-radius: 36px;
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  padding: 0 8px;
  place-items: center;
}

/* ---------- Home sections ---------- */

.section { padding: 120px 0 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.04;
  font-weight: 700;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.025em;
}
.section-head p { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 36em; }

.panels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.panel {
  grid-column: span 3;
  background: var(--mist);
  border-radius: var(--r-panel);
  padding: 36px 36px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 460px;
}
.panel.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 48px; padding: 44px; min-height: 0; }
.panel.wide .copy { flex: 1 1 320px; }
.panel h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; font-weight: 680; font-variation-settings: "wdth" 112; letter-spacing: -0.012em; }
.panel p { margin: 0; color: var(--ink-2); max-width: 30em; }
/* the drawing fills the space under the text, centred, with the same gap above and below */
.panel .art { flex: 1; padding: 36px 0; display: flex; justify-content: center; align-items: center; }

/* glass styles art */
.styles { flex: 1 1 540px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.styles figure { margin: 0; }
/* each swatch is the app's own glass library rendered over the same art (storm-glass StyleSwatchRender) */
.swatch { display: block; width: 100%; height: auto; aspect-ratio: 200 / 266; border-radius: 22px; background: #2b2f7e; }
.styles figcaption { margin-top: 10px; font-size: 15px; font-weight: 600; }

/* sizes art */
.sizes { display: grid; grid-template-columns: repeat(4, 48px); grid-auto-rows: 48px; gap: 10px; }
.sizes div {
  border-radius: 15px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.sizes .on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sizes .slot { background: transparent; border-style: dashed; }

/* stack art */
.stack { position: relative; width: 270px; height: 186px; }
.stack .card {
  position: absolute;
  left: 0; right: 0;
  height: 150px;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.stack .card:nth-child(1) { top: 0; transform: scale(0.84); opacity: 0.45; }
.stack .card:nth-child(2) { top: 14px; transform: scale(0.92); opacity: 0.75; }
.stack .card:nth-child(3) { top: 34px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.stack .k { font-size: 13px; color: var(--ink-2); }
.stack .v { font-size: 36px; font-weight: 600; font-variation-settings: "wdth" 110; line-height: 1; letter-spacing: -0.02em; }
/* page dots sit outside the stack, beside its right edge */
.stack .pips { position: absolute; right: -18px; top: 109px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; }
.stack .pips i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); opacity: 0.3; }
.stack .pips i.on { opacity: 1; }

/* search art */
.search { width: min(340px, 100%); }
.search .field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-size: 16px;
}
.search .field svg { width: 18px; height: 18px; stroke: var(--ink-2); fill: none; stroke-width: 2; stroke-linecap: round; }
.search .caret { width: 1.5px; height: 20px; background: var(--accent); margin-left: -8px; }
.search .results { margin-top: 10px; border-radius: 25px; background: var(--paper); border: 1px solid var(--rule); padding: 6px 0; }
.search .result { display: flex; align-items: center; gap: 12px; padding: 9px 16px; font-size: 15px; line-height: 1.3; }
.search .result small { display: block; color: var(--ink-2); font-size: 13px; }
.search .result .ic { --icon: 34px; border-radius: 10px; }

/* sticker art */
.sticker { width: 200px; height: 200px; transform: rotate(-8deg); filter: drop-shadow(0 14px 16px rgba(27, 31, 39, 0.2)); }

/* Pro panel */
.plans { flex: 1 1 520px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { background: var(--paper); border-radius: 20px; padding: 22px; border: 1px solid var(--rule); }
.plan b { display: block; font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.plan span { font-size: 15px; color: var(--ink-2); }

/* privacy band */
.promise { margin-top: 120px; background: var(--band); color: var(--band-ink); padding: 120px 0; }
.promise h2 {
  margin: 0 0 56px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 0.98;
  font-weight: 720;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 32px; }
.facts h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; }
.facts p { margin: 0; color: var(--band-ink-2); font-size: 16px; }
.promise a { color: var(--band-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* closing */
.closing { padding: 120px 0 0; text-align: center; }
.closing .mark { display: block; width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 19px; box-shadow: 0 10px 30px -10px rgba(168, 26, 30, 0.45); }
.closing h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 700; font-variation-settings: "wdth" 118; letter-spacing: -0.025em; }
.closing p { margin: 0 auto 28px; color: var(--ink-2); max-width: 32em; }
.closing .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

footer.site { margin-top: 112px; border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 14px; color: var(--ink-2); }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
footer.site .copy { margin-right: auto; }
footer.site a { color: var(--ink-2); }
footer.site a:hover { color: var(--ink); }

@media (max-width: 600px) {
  /* Phones: page links as plain text on one centred row, the email under them,
     the copyright closes the page */
  footer.site { margin-top: 80px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); text-align: center; }
  footer.site .wrap { justify-content: center; gap: 0 28px; }
  footer.site .wrap > a:not([href^="mailto:"]) { order: 1; padding: 6px 0; font-size: 15px; font-weight: 550; color: var(--ink); }
  footer.site a[href^="mailto:"] { order: 2; flex-basis: 100%; padding: 2px 0; margin-top: 4px; font-size: 15px; }
  footer.site .copy { order: 3; flex-basis: 100%; margin: 2px 0 0; font-size: 13px; }
}

/* ---------- Document pages ---------- */

.doc-head { padding: 80px 0 40px; border-bottom: 1px solid var(--rule); }
.doc-head h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  font-weight: 720;
  font-variation-settings: "wdth" 122;
  letter-spacing: -0.03em;
}
.doc-head p { margin: 0; color: var(--ink-2); font-size: 17px; }

.doc { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: 72px; padding-top: 48px; }

.toc { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.toc p { margin: 0 0 10px; font-weight: 650; color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { transition: color 150ms ease, border-color 150ms ease; display: block; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); text-decoration: none; }
.toc a[aria-current="location"] { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

.prose h2 { font-size: 24px; line-height: 1.25; font-weight: 680; font-variation-settings: "wdth" 110; letter-spacing: -0.01em; margin: 56px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 650; margin: 32px 0 6px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--ink-2); }
.prose strong { font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.summary { margin: 0 0 40px; padding: 28px 32px; border-radius: 24px; background: var(--mist); }
.prose .summary h2 { margin: 0 0 10px; font-size: 19px; }
.summary ul { margin: 0; }

.table-wrap { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--rule); border-radius: 18px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
tr:last-child td { border-bottom: 0; }
th { background: var(--mist); font-weight: 600; font-size: 14px; }
td:first-child { font-weight: 600; }

/* support */
.support { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding-top: 56px; align-items: start; }
.support h2 { margin: 0 0 16px; font-size: 24px; font-weight: 680; font-variation-settings: "wdth" 110; }
.contact { position: sticky; top: 88px; padding: 32px; border-radius: 28px; background: var(--mist); }
.contact h2 { font-size: 22px; margin-bottom: 8px; }
.contact p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }
.contact ul { margin: 0 0 24px; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.contact li { margin: 4px 0; }
.contact .button { width: 100%; justify-content: center; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; stroke: var(--ink-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: -4px 0 22px; color: var(--ink-2); max-width: 60ch; }
.faq a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; } /* minmax(0, …) lets the data table scroll instead of widening the page */
  .toc { display: none; }
  .support { grid-template-columns: 1fr; gap: 40px; }
  .contact { position: static; order: -1; }
  .panel.wide { flex-direction: column; align-items: stretch; gap: 32px; }
  .panel.wide .copy { flex: none; }
  .styles, .plans { flex: none; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .panel { grid-column: 1 / -1; min-height: 0; padding: 28px 24px 0; }
  .panel.wide { padding: 28px 24px; }
  .panel h3 { font-size: 23px; }
  .styles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .section { padding-top: 88px; }
  .promise { margin-top: 88px; padding: 88px 0; }
  .hero { padding-top: 56px; }
  .hero .ctas { margin-bottom: 56px; }
  .doc-head { padding: 48px 0 32px; }
  .nav-features { display: none; }
}

@media (max-width: 480px) {
  /* Phones: keep the bar inside the screen, so the browser never zooms the page out to fit it */
  .bar .wrap { height: 52px; gap: 14px; }
  .brand { gap: 8px; font-size: 15px; font-variation-settings: "wdth" 100; }
  .brand img { width: 24px; height: 24px; border-radius: 6px; }
  .bar nav { gap: 14px; min-width: 0; }
  .bar nav a { font-size: 14px; white-space: nowrap; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .phone { zoom: 0.86; }
  .summary { padding: 22px 20px; }
  th, td { padding: 12px 14px; }
}

@media (max-width: 340px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .big .plate, .big ul { animation: none; }
  .faq summary svg, .toc a { transition: none; }
}
