/*
 * The widegpt.app website (WG-44, redesigned in WG-69). One stylesheet for every page, written
 * mobile first. Layout rhythm after CleanShot, dark theme after LocalCan: white with one saturated
 * accent, and a near-black green with pastel accents. Colours are tokens, redefined for dark mode.
 * Inter is served from this site, so the CSP stays 'self' and the site still calls no other host.
 */
@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --surface: #ffffff;
  --fg: #0e1220;
  --fg-muted: #565d70;
  --border: #e4e6ec;
  --border-strong: #cfd3dc;
  --accent: #0d44e8;
  --accent-hover: #0a36ba;
  --accent-text: #0d44e8;
  --on-accent: #ffffff;
  --accent-2: #0d44e8;
  --free-bg: #dcf6e1;
  --free-fg: #0d5f2a;
  --neon: linear-gradient(95deg, #0d44e8, #6a3df0);
  --on-neon: #ffffff;
  --neon-glow: 0 0 0 1px rgb(13 68 232 / 25%), 0 0 16px rgb(70 60 240 / 55%);
  --neon-glow-strong:
    0 0 0 1px rgb(13 68 232 / 35%), 0 0 26px rgb(70 60 240 / 75%);
  --neon-text: #0d44e8;
  --cta-glow: 0 0 14px rgb(13 68 232 / 32%);
  --cta-glow-strong: 0 0 26px rgb(70 60 240 / 62%);
  --heading-glow: rgb(13 68 232 / 22%);
  --shadow-sm: 0 1px 2px rgb(14 18 32 / 6%);
  --shadow: 0 1px 2px rgb(14 18 32 / 5%), 0 18px 40px -22px rgb(14 18 32 / 22%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
  --prose: 720px;
  --sans: Inter, ui-sans-serif, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --chrome-frame: #dfe3e8;
  --chrome-toolbar: #ffffff;
  --chrome-omnibox: #edf1f7;
  --chrome-icon: #474747;
  --chrome-text: #1f1f1f;
  --chrome-muted: #5f6368;
  --chrome-menu: #ffffff;
  --chrome-line: #e3e3e3;
  --chrome-hover: #eef1f6;
  --chrome-avatar: #a8c7fa;
  --chrome-shadow: rgb(0 0 0 / 12%);
  --shot-light: block;
  --shot-dark: none;
  --theme-moon: block;
  --theme-sun: none;
}

/*
 * Dark tokens: the system's dark setting, unless the visitor chose light with the header's switch
 * (theme.js sets data-theme on <html>), and always when they chose dark.
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b1d0c;
    --bg-soft: #102511;
    --surface: #132a14;
    --fg: #eff6ee;
    --fg-muted: #adc0ab;
    --border: rgb(174 236 165 / 13%);
    --border-strong: rgb(174 236 165 / 26%);
    --accent: #aeeca5;
    --accent-hover: #c8f3c1;
    --accent-text: #aeeca5;
    --on-accent: #0b1d0c;
    --accent-2: #b9aef0;
    --free-bg: rgb(174 236 165 / 16%);
    --free-fg: #aeeca5;
    --neon: linear-gradient(95deg, #aeeca5, #b9aef0);
    --on-neon: #0b1d0c;
    --neon-glow:
      0 0 0 1px rgb(174 236 165 / 35%), 0 0 18px rgb(157 143 230 / 60%);
    --neon-glow-strong:
      0 0 0 1px rgb(174 236 165 / 50%), 0 0 30px rgb(157 143 230 / 85%);
    --neon-text: #aeeca5;
    --cta-glow: 0 0 14px rgb(174 236 165 / 26%);
    --cta-glow-strong: 0 0 28px rgb(174 236 165 / 55%);
    --heading-glow: rgb(174 236 165 / 34%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 22px 48px -24px rgb(0 0 0 / 70%);
    --chrome-frame: #1f2023;
    --chrome-toolbar: #35363a;
    --chrome-omnibox: #202124;
    --chrome-icon: #c4c7c5;
    --chrome-text: #e3e3e3;
    --chrome-muted: #9aa0a6;
    --chrome-menu: #2d2e31;
    --chrome-line: #444746;
    --chrome-hover: #3c3d41;
    --chrome-avatar: #7cacf8;
    --chrome-shadow: rgb(0 0 0 / 45%);
    --shot-light: none;
    --shot-dark: block;
    --theme-moon: none;
    --theme-sun: block;
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b1d0c;
  --bg-soft: #102511;
  --surface: #132a14;
  --fg: #eff6ee;
  --fg-muted: #adc0ab;
  --border: rgb(174 236 165 / 13%);
  --border-strong: rgb(174 236 165 / 26%);
  --accent: #aeeca5;
  --accent-hover: #c8f3c1;
  --accent-text: #aeeca5;
  --on-accent: #0b1d0c;
  --accent-2: #b9aef0;
  --free-bg: rgb(174 236 165 / 16%);
  --free-fg: #aeeca5;
  --neon: linear-gradient(95deg, #aeeca5, #b9aef0);
  --on-neon: #0b1d0c;
  --neon-glow:
    0 0 0 1px rgb(174 236 165 / 35%), 0 0 18px rgb(157 143 230 / 60%);
  --neon-glow-strong:
    0 0 0 1px rgb(174 236 165 / 50%), 0 0 30px rgb(157 143 230 / 85%);
  --neon-text: #aeeca5;
  --cta-glow: 0 0 14px rgb(174 236 165 / 26%);
  --cta-glow-strong: 0 0 28px rgb(174 236 165 / 55%);
  --heading-glow: rgb(174 236 165 / 34%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 22px 48px -24px rgb(0 0 0 / 70%);
  --chrome-frame: #1f2023;
  --chrome-toolbar: #35363a;
  --chrome-omnibox: #202124;
  --chrome-icon: #c4c7c5;
  --chrome-text: #e3e3e3;
  --chrome-muted: #9aa0a6;
  --chrome-menu: #2d2e31;
  --chrome-line: #444746;
  --chrome-hover: #3c3d41;
  --chrome-avatar: #7cacf8;
  --chrome-shadow: rgb(0 0 0 / 45%);
  --shot-light: none;
  --shot-dark: block;
  --theme-moon: none;
  --theme-sun: block;
}

:root[data-theme='light'] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 20;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header and footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a:not(.button) {
  color: var(--fg-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current='page'] {
  color: var(--fg);
}

.theme-toggle {
  display: none;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--fg-muted);
  cursor: pointer;
}

/* theme.js marks <html> as it runs, so without scripts there is no dead switch. */
:root[data-theme-switch] .theme-toggle {
  display: inline-grid;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--fg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* The icon is the theme a click switches to, set by the tokens so it is right before any script. */
.theme-toggle .moon {
  display: var(--theme-moon);
}

.theme-toggle .sun {
  display: var(--theme-sun);
}

.site-footer {
  margin-top: 88px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 28px;
  padding-bottom: 36px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--fg-muted);
}

.site-footer a:hover {
  color: var(--fg);
}

/* Buttons and links */
.button {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: var(--cta-glow);
  color: var(--on-accent);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-hover);
  box-shadow: var(--cta-glow-strong);
}

.button.secondary {
  border-color: var(--border-strong);
  background: transparent;
  box-shadow: none;
  color: var(--fg);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent-text);
  background: transparent;
  box-shadow: var(--cta-glow);
}

/* The sheen that crosses a button. */
.button,
.get-pro {
  position: relative;
  overflow: hidden;
}

.button::after,
.get-pro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgb(255 255 255 / 38%) 50%,
    transparent 65%
  );
  pointer-events: none;
  transform: translateX(-130%);
}

.button.small {
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.text-link {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-text);
}

/* Hero */
.hero,
.page-hero {
  padding-top: 56px;
  text-align: center;
}

.hero h1,
.page-hero h1 {
  margin: 0 auto 18px;
  max-width: 860px;
  font-size: clamp(38px, 10vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.hero .subhead,
.page-hero .subhead {
  margin: 0 auto 28px;
  max-width: 620px;
  color: var(--fg-muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.actions .button {
  width: 100%;
}

.fine {
  margin: 14px 0 0;
  color: var(--fg-muted);
  font-size: 14px;
}

/* Sections */
.section {
  margin-top: 88px;
}

/* A quiet hairline between the hero and what follows. */
#what-you-get {
  margin-top: 56px;
}

#what-you-get::before {
  content: '';
  display: block;
  width: min(560px, 70%);
  height: 1px;
  margin: 0 auto 52px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-text),
    transparent
  );
  box-shadow: 0 0 10px var(--heading-glow);
  opacity: 0.55;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 17px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Tags and the header's way to Pro */
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag.free {
  background: var(--free-bg);
  color: var(--free-fg);
}

.tag.pro,
.get-pro {
  background: var(--neon);
  box-shadow: var(--neon-glow);
  color: var(--on-neon);
}

.site-nav a.get-pro {
  padding: 7px 14px;
  white-space: nowrap;
  border-radius: 10px;
  color: var(--on-neon);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a.get-pro:hover,
.site-nav a.get-pro:focus-visible {
  box-shadow: var(--neon-glow-strong);
  color: var(--on-neon);
}

.site-nav .store {
  display: none;
}

/* The narrowest phones: the logo already goes home, so the header drops its Home link. */
@media (max-width: 359px) {
  .site-nav {
    gap: 10px;
  }

  .site-nav a[href='/']:not(.button) {
    display: none;
  }
}

/* Alternating rows */
.rows {
  display: grid;
  gap: 64px;
}

.rows article {
  display: grid;
  gap: 24px;
  align-items: center;
}

.rows h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4.6vw, 32px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.026em;
}

.rows p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 17px;
}

.rows strong {
  color: var(--fg);
}

.rows video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ticks {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
}

.ticks li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--accent-text);
  font-weight: 700;
}

/* Closing call to action */
.closing {
  padding: 48px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  text-align: center;
}

.closing h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.closing .fine a {
  color: inherit;
}

/* Pricing */
.billing {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 28px;
  padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-soft);
}

/* The thumb under the chosen label. */
.billing::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 9px;
  background: var(--neon);
  box-shadow: var(--neon-glow);
}

.pricing:has(#bill-monthly:checked) .billing::before {
  transform: translateX(100%);
}

.billing input {
  position: absolute;
  opacity: 0;
}

.billing label {
  position: relative;
  padding: 7px 16px;
  border-radius: 9px;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.billing label small {
  font-size: 12.5px;
}

.billing input:checked + label {
  color: var(--on-neon);
}

.billing input:focus-visible + label {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

/* Without :has() both prices show, which is still true. */
.pricing:has(#bill-monthly:checked) .yearly-only,
.pricing:has(#bill-yearly:checked) .monthly-only {
  display: none;
}

.plans {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
}

.plan.featured {
  position: relative;
  border-color: var(--accent-text);
  box-shadow:
    0 0 0 1px var(--accent-text),
    var(--neon-glow),
    var(--shadow);
}

.plan.featured .price {
  font-size: 60px;
}

.plan .value {
  position: absolute;
  top: 22px;
  right: 22px;
  margin: 0;
}

.saving {
  margin: 0;
  color: var(--neon-text);
  font-size: 15px;
  font-weight: 700;
}

.plan h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.012em;
}

.price {
  margin: 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.price small {
  color: var(--fg-muted);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan .note {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
}

.plan .ticks {
  margin: 4px 0 8px;
}

/* device.js picks the computer's or the phone's buy buttons before the first paint (WG-85). */
:root:not([data-device='mobile']) .mobile-only,
:root[data-device='mobile'] .desktop-only {
  display: none;
}

.buy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.buy p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
}

.buy a:not(.button),
.steps-note a {
  color: var(--accent-text);
}

/* From the extension, every plan button already opens its checkout: no other way to explain. */
:root[data-from='extension'] .buy-how,
:root[data-from='extension'] .buy-other {
  display: none;
}

/* How to get Pro: numbered cards, stacked on a phone, in a row from 900px. */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: var(--neon-glow);
  color: var(--on-neon);
  font-weight: 800;
}

.step h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15.5px;
}

.step-shot {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.step .text-link {
  margin-top: 0;
}

/* Chrome's toolbar, drawn (steps 1 and 3): its colours follow the site's theme. */
.chrome-shot {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: auto;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

.cr-frame {
  fill: var(--chrome-frame);
}

.cr-toolbar {
  fill: var(--chrome-toolbar);
}

.cr-strip {
  stroke: var(--chrome-line);
}

.cr-omnibox {
  fill: var(--chrome-omnibox);
}

.cr-icon {
  fill: var(--chrome-icon);
}

.cr-text {
  fill: var(--chrome-text);
}

.cr-muted,
.cr-dot {
  fill: var(--chrome-muted);
}

.cr-menu {
  fill: var(--chrome-menu);
  stroke: var(--chrome-line);
}

.cr-shadow {
  fill: var(--chrome-shadow);
}

.cr-hover {
  fill: var(--chrome-hover);
}

.cr-line {
  stroke: var(--chrome-line);
}

.cr-avatar {
  fill: var(--chrome-avatar);
}

/* What to click, ringed in the site's accent. */
.cr-ring {
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 2.5;
}

.pro-active {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.pro-active .step-shot {
  margin-top: 0;
}

.step-shot.shot-light {
  display: var(--shot-light);
}

.step-shot.shot-dark {
  display: var(--shot-dark);
}

.steps-note {
  max-width: var(--prose);
  margin: 24px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.steps-note p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15.5px;
}

.steps-note p + p {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notice {
  max-width: 820px;
  margin: 0 auto 20px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-text);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-align: left;
}

.notice[hidden] {
  display: none;
}

.promise {
  max-width: 820px;
  margin: 16px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: left;
}

.promise h2 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.012em;
}

.promise p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15.5px;
}

/* Questions */
.faq {
  display: grid;
  gap: 10px;
  max-width: var(--prose);
  margin: 0 auto 20px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq details:hover {
  border-color: var(--border-strong);
}

.faq details[open] {
  border-color: var(--accent-text);
  box-shadow: var(--cta-glow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--accent-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--fg-muted);
}

.faq strong {
  color: var(--fg);
}

/* Long text: the legal pages */
.prose {
  max-width: var(--prose);
  margin: 0 auto;
}

.prose h1 {
  margin: 56px 0 10px;
  font-size: clamp(34px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.prose h2 {
  margin: 44px 0 8px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 28px 0 4px;
  font-size: 17px;
  font-weight: 650;
}

.prose .lead {
  color: var(--fg-muted);
  font-size: 18px;
}

.prose li + li {
  margin-top: 4px;
}

.meta {
  color: var(--fg-muted);
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table-scroll {
  overflow-x: auto;
}

@media (min-width: 620px) {
  .hero,
  .page-hero {
    padding-top: 80px;
  }

  .hero .subhead,
  .page-hero .subhead {
    font-size: 20px;
  }

  .actions .button {
    width: auto;
  }

  .hero h1 span {
    display: block;
  }

  .page-hero h1 span {
    display: inline;
  }

  .site-nav {
    gap: 22px;
  }

  .site-nav .store {
    display: inline-block;
  }

  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    margin-top: 112px;
  }

  #what-you-get {
    margin-top: 72px;
  }

  #what-you-get::before {
    margin-bottom: 64px;
  }

  .closing {
    padding: 72px 32px;
  }
}

@media (min-width: 960px) {
  .rows {
    gap: 96px;
  }

  .rows article {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .rows article:nth-child(even) {
    grid-template-columns: 7fr 5fr;
  }

  .rows article:nth-child(even) > :first-child {
    order: 1;
  }
}

/* Home and Pro: glow on the headings, and a lift on the videos. */
.fx .hero h1 span {
  color: var(--neon-text);
  text-shadow: 0 0 22px var(--heading-glow);
}

.fx .section-head h2 {
  text-shadow: 0 0 26px var(--heading-glow);
}

.fx .rows video {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.fx .rows video:hover {
  box-shadow: var(--shadow), var(--neon-glow);
  transform: translateY(-4px);
}

/* Motion: the hero rises in once. Nothing moves for people who ask for less. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero > *,
  .page-hero > * {
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
  }

  .tag.pro {
    animation: neon 3.2s ease-in-out infinite;
  }

  .plan.featured {
    animation: plan-glow 3.6s ease-in-out infinite;
  }

  .plan .price,
  .plan .note,
  .plan .saving {
    animation: rise 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .billing::before {
    transition: transform 0.24s cubic-bezier(0.3, 0.8, 0.3, 1);
  }

  .billing label {
    transition: color 0.2s;
  }

  .faq details,
  .faq summary::after {
    transition:
      border-color 0.16s,
      box-shadow 0.16s,
      transform 0.2s;
  }

  .faq details[open] p {
    animation: rise 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @keyframes plan-glow {
    50% {
      box-shadow:
        0 0 0 1px var(--accent-text),
        var(--neon-glow-strong),
        var(--shadow);
    }
  }

  /* Buttons: a lift and a brighter glow, a press, and on the main ones an idle pulse and sheen. */
  .button,
  .get-pro {
    transition:
      transform 0.16s,
      background-color 0.16s,
      border-color 0.16s,
      box-shadow 0.16s;
  }

  .button:hover,
  .button:focus-visible,
  .get-pro:hover,
  .get-pro:focus-visible {
    transform: translateY(-2px);
  }

  .button:active,
  .get-pro:active {
    transform: translateY(0) scale(0.97);
  }

  .get-pro {
    animation: neon 3.2s ease-in-out infinite;
  }

  .button:not(.secondary, .small) {
    animation: cta 3.2s ease-in-out infinite;
  }

  .button:not(.secondary, .small)::after,
  .get-pro::after {
    animation: sheen 6s ease-in-out infinite;
  }

  .button:hover::after,
  .button:focus-visible::after,
  .get-pro:hover::after,
  .get-pro:focus-visible::after {
    animation: sheen-once 0.8s ease-out;
  }

  .button:hover,
  .button:focus-visible,
  .get-pro:hover,
  .get-pro:focus-visible {
    animation: none;
  }

  @keyframes cta {
    50% {
      box-shadow: var(--cta-glow-strong);
    }
  }

  @keyframes sheen {
    0%,
    70% {
      transform: translateX(-130%);
    }

    100% {
      transform: translateX(130%);
    }
  }

  @keyframes sheen-once {
    to {
      transform: translateX(130%);
    }
  }

  .fx .hero h1 span {
    animation:
      rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both,
      heading-glow 4s ease-in-out 0.5s infinite;
  }

  @keyframes neon {
    50% {
      box-shadow: var(--neon-glow-strong);
    }
  }

  @keyframes heading-glow {
    50% {
      text-shadow: 0 0 38px var(--heading-glow);
    }
  }

  /* In on scroll, where the browser can tie it to scrolling; elsewhere they are simply there. */
  @supports (animation-timeline: view()) {
    .fx .section-head,
    .fx .rows article,
    .fx .closing,
    .fx .faq details {
      animation: rise linear none;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx .rows video {
    transition: none;
  }

  .fx .rows video:hover {
    transform: none;
  }
}
