/* Kuapy public pages (/, the landing page, legal pages). Same tokens, fonts
   and components as the app (web/frontend/style.css); mobile first. */

@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
/* Georgia scaled to Source Serif 4's metrics, so text does not re-wrap when the
   web font arrives. local() makes no request. */
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia");
  font-weight: 400;
  size-adjust: 101%;
}
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 600 700;
  size-adjust: 88%;
}
/* Only the glyphs of the Google button labels. */
@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans-button.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #fafaf7;
  --card: #fff;
  --ink: #1c1b1b;
  --muted: #434655;
  --secondary: #5e5e5e;
  --blue: #0037b1;
  --surface: #f0edec;
  --line: #e7e5e4;
  --outline: #747686;
  --focus: #1f4fd8;
  --serif: "Source Serif 4", "Serif Fallback", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --shadow: 0 1px 2px #0000000d;
}

/* ---- base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
p,
figure,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3,
h4,
strong,
b {
  font-weight: 600;
}
ol,
ul {
  padding: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
}
a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
#main:focus {
  outline: none;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--card);
  font: 600 14px/20px var(--sans);
  border-radius: 8px;
}
.skip-link:focus {
  top: 8px;
}
.wrap {
  width: 100%;
  max-width: 736px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* ---- masthead (the app's top bar, static) ---- */
.masthead {
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.brand-text {
  min-width: 0;
}
.brand-title {
  display: flex;
  gap: 6px;
  align-items: baseline;
  white-space: nowrap;
  font: 600 19px/24px var(--serif);
  letter-spacing: -0.4px;
}
.brand-title small {
  font: 600 11px/16px var(--sans);
  letter-spacing: 0.6px;
  color: var(--blue);
}
.brand-subtitle {
  display: block;
  font: 600 11px/16px var(--sans);
  color: var(--muted);
}
.masthead-sign-in {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/20px var(--sans);
  text-decoration: none;
}
.masthead-sign-in:hover {
  background: #e5e2e1;
}

/* ---- Google button: official configurator CSS, light theme, as a link ---- */
.gsi-material-button {
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  height: 40px;
  max-width: 400px;
  min-width: min-content;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid #747775;
  border-radius: 4px;
  background-color: #fff;
  color: #1f1f1f;
  font: 500 14px/20px "Google Sans", Roboto, Arial, sans-serif;
  letter-spacing: 0.25px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
}
.gsi-material-button-icon {
  height: 20px;
  width: 20px;
  min-width: 20px;
  margin-right: 10px;
}
.gsi-material-button-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.gsi-material-button-content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
  width: 100%;
}
.gsi-material-button-contents {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.gsi-material-button-state {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.218s;
}
.gsi-material-button:hover {
  text-decoration: none;
  box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.gsi-material-button:active .gsi-material-button-state,
.gsi-material-button:focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 0.12;
}
.gsi-material-button:hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 0.08;
}

/* ---- footer (the app's imprint) ---- */
.imprint {
  padding-block: 40px 48px;
  border-top: 3px double var(--line);
  text-align: center;
  font: 500 13px/20px var(--sans);
  color: var(--secondary);
}
.imprint p {
  max-width: 560px;
  margin-inline: auto;
}
.imprint p + p {
  margin-top: 8px;
}
.imprint-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: 600 19px/24px var(--serif);
  letter-spacing: -0.4px;
  color: var(--ink);
}
.imprint-tagline {
  color: var(--muted);
}
.imprint-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 12px;
  margin: 12px 0 8px;
  list-style: none;
  font-weight: 600;
}
.imprint-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.imprint-links a:hover {
  text-decoration: underline;
}

/* ---- legal pages ---- */
.legal {
  padding-block: 24px 56px;
}
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font: 600 14px/20px var(--sans);
  text-decoration: none;
}
.back-link .icon {
  width: 18px;
  height: 18px;
}
.legal-title {
  margin-top: 12px;
  font: 600 34px/40px var(--serif);
  letter-spacing: -0.02em;
}
.updated {
  margin-top: 8px;
  font: 500 13px/20px var(--sans);
  color: var(--secondary);
}
.updated span {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 11px;
}
.legal-intro {
  margin-top: 20px;
  font-size: 18px;
  line-height: 29px;
}
.toc {
  margin-top: 28px;
  padding: 16px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.toc-title {
  font: 600 11px/16px var(--sans);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
}
.toc ol {
  margin-top: 8px;
  padding-left: 22px;
  font: 500 14px/20px var(--sans);
}
.toc li::marker {
  color: var(--secondary);
}
.toc a {
  display: block;
  padding-block: 12px;
}
.legal-section {
  margin-top: 40px;
}
.legal-section h2 {
  font: 600 22px/29px var(--serif);
  letter-spacing: -0.01em;
}
.legal-section p,
.legal-section ul,
.legal-intro p + p {
  margin-top: 12px;
}
.legal-section,
.legal-intro {
  line-height: 27px;
}
.legal-section ul {
  padding-left: 22px;
}
.legal-section li + li {
  margin-top: 6px;
}

/* ---- wider screens (shared and legal pages) ---- */
@media (min-width: 640px) {
  .wrap {
    padding-inline: 24px;
  }
  .brand-title small {
    letter-spacing: 1px;
  }
  .legal {
    padding-block: 32px 80px;
  }
  .legal-title {
    font-size: 44px;
    line-height: 52px;
  }
}

/* Precise pointers do not need 44px rows in the long legal contents list. */
@media (min-width: 640px) and (pointer: fine) {
  .toc a {
    padding-block: 5px;
  }
}

/* ==== landing page (v5) ==== */
/* Fraunces (headlines) and Geist (text), latin subsets of the variable fonts from Google
   Fonts, OFL (fonts/*-OFL.txt). The legal pages keep Inter and Source Serif. */
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("fonts/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

html:has(.page-landing) {
  scroll-padding-top: 84px;
}
.page-landing {
  --paper: #f9f9f6;
  --card: #fdfdfb;
  --ink: #1c1b1b;
  --muted: #434655;
  --blue: #0037b1;
  --blue-dark: #002c8f;
  --accent: #dce1ff;
  --mist: #eef0f8;
  --rule: #1c1b1b1f;
  --serif: Fraunces, Georgia, serif;
  --sans: Geist, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  background: var(--paper);
  font: 400 16px/1.5 var(--sans);
}
.page-landing .wrap {
  max-width: 1240px;
  padding-inline: 20px;
}
.page-landing em {
  font-style: italic;
  color: var(--blue);
}

/* ---- masthead: sticky, paper with a blur ---- */
.page-landing .masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #1c1b1b1a;
  background: #f9f9f6e6;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.page-landing .masthead-inner {
  min-height: 68px;
}
.page-landing .brand {
  gap: 10px;
}
.page-landing .brand-mark {
  width: 28px;
  height: 28px;
}
.page-landing .brand-title {
  font: 600 22px/28px var(--serif);
  letter-spacing: -0.02em;
}
.masthead-nav {
  display: none;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
  font: 500 14px/20px var(--sans);
}
.masthead-nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}
.masthead-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}
.page-landing .masthead-sign-in {
  padding: 0 4px;
  background: none;
  color: var(--blue);
  font: 600 14px/20px var(--sans);
}
.page-landing .masthead-sign-in:hover {
  background: none;
  text-decoration: underline;
}

/* ---- the Chrome extension pill after the brand: amber, ink text ---- */
.masthead-ext {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-left: auto;
  padding: 0 14px 0 10px;
  border-radius: 100px;
  background: #ffb200;
  color: var(--ink);
  font: 600 13px/18px var(--sans);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px -8px #b37a00b3;
  transition: transform 0.3s;
}
.masthead-ext:hover {
  background: #ffc233;
  transform: translateY(-1px);
}
.ext-phone {
  display: none;
}
@media (max-width: 899px) {
  .ext-wide {
    display: none;
  }
  .ext-phone {
    display: inline-flex;
  }
}
/* The phone note: hidden until the pill targets it. */
.desktop-only {
  display: none;
  margin: 0 16px;
  padding: 14px 16px;
  border: 1px solid #ffb200;
  border-radius: 12px;
  background: #fff4d6;
  color: var(--ink);
  font: 500 14px/20px var(--sans);
}
.desktop-only:target {
  display: block;
}
.desktop-only p {
  margin: 0 0 8px;
}
.desktop-only a {
  color: var(--blue);
  font-weight: 600;
}
.chrome-dot {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-right: 8px;
  border-radius: 100%;
  background:
    radial-gradient(#4285f4 0 32%, #fff 33% 44%, #0000 45%),
    conic-gradient(from -60deg, #ea4335 0 120deg, #34a853 0 240deg, #fbbc05 0);
}
@media (max-width: 899px) {
  .ext-benefit {
    display: none;
  }
}
@media (max-width: 479px) {
  .ext-chrome {
    display: none;
  }
  .page-landing .masthead-inner {
    gap: 8px;
  }
  .page-landing .masthead-sign-in {
    font-size: 13px;
  }
}

/* ---- type ---- */
.eyebrow {
  font: 500 12px/16px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-title {
  margin-top: 16px;
  font: 600 clamp(2.2rem, 4.6vw, 3.8rem) / 1 var(--serif);
  letter-spacing: -0.03em;
}
.section-intro {
  max-width: 28rem;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.section {
  padding-block: 96px;
}
.two-col {
  display: grid;
  gap: 48px;
}

/* ---- the one action: a pill with an arrow ---- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 100px;
  background: var(--blue);
  color: var(--paper);
  font: 600 15px/20px var(--sans);
  text-decoration: none;
  box-shadow: 0 14px 30px -14px #0037b1b3;
  transition: transform 0.3s;
}
.hero .cta {
  padding: 12px 12px 12px 28px;
  font-size: 17px;
}
@media (max-width: 639px) {
  .hero .cta {
    width: 100%;
    justify-content: space-between;
  }
}
.cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.cta-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 100%;
  background: var(--accent);
  color: var(--blue);
}
.cta-arrow .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* ---- hero: paper with a faint grid; cobalt only on the button and accents ---- */
.hero {
  padding-block: 56px 80px;
  background:
    linear-gradient(#0037b10d 1px, #0000 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, #0037b10d 1px, #0000 1px) 0 0 / 56px 56px,
    var(--paper);
}
.hero-grid {
  display: grid;
  gap: 56px;
}
.hero-copy,
.browser {
  min-width: 0;
}
.hero-title {
  font: 600 clamp(2.55rem, 7.4vw, 6.4rem) / 0.92 var(--serif);
  letter-spacing: -0.035em;
}
.hero-title span,
.hero-title em {
  display: block;
}
.lede {
  max-width: 30rem;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.sign-in {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .sign-in {
  margin-top: 36px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  list-style: none;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.chips li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chips .icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
}
.store-link {
  margin-top: 14px;
  font: 500 14px/20px var(--sans);
  color: var(--muted);
}
.store-link a {
  color: var(--blue);
  font-weight: 600;
}
.consent {
  margin-top: 16px;
  font-size: 12px;
  line-height: 18px;
  color: #434655b3;
}
.consent a {
  color: inherit;
  text-underline-offset: 2px;
}

/* The preview: a browser window, the watch page and the side panel beside it (under it
   on phones). */
.browser {
  overflow: hidden;
  border: 1px solid #1c1b1b1a;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 40px 80px -30px #00083259;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #1c1b1b1a;
  background: var(--mist);
}
.browser-dots {
  flex-shrink: 0;
  width: 42px;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, #1c1b1b26 5px, #0000 5.5px),
    radial-gradient(circle at 21px 5px, #1c1b1b26 5px, #0000 5.5px),
    radial-gradient(circle at 37px 5px, #1c1b1b26 5px, #0000 5.5px);
}
.browser-address {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--paper);
  font: 500 11px/16px var(--mono);
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watch {
  padding: 16px;
}
.watch-player {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.watch-player img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.watch-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 100%;
  background: #1c1b1b8c;
  color: #fff;
}
.watch-play .icon {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}
.watch-controls {
  position: absolute;
  inset: auto 0 0;
  padding: 24px 12px 8px;
  background: linear-gradient(#0000, #00000080);
  color: #fff;
}
.watch-progress {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: #ffffff59;
}
.watch-progress span {
  display: block;
  width: 10.5%; /* the first takeaway's time over the video's length */
  height: 100%;
  border-radius: 4px;
  background: #fff;
}
.watch-time {
  display: block;
  margin-top: 6px;
  font: 500 10px/14px var(--mono);
}
.watch-title {
  margin-top: 12px;
  font: 600 15px/22px var(--sans);
}
.watch-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}
.watch-channel img {
  width: 20px;
  height: 20px;
  border-radius: 100%;
}
/* The extension's side panel (extension/sidepanel.html), in the page's type. */
.side-panel {
  padding: 16px;
  border-top: 1px solid #1c1b1b1a;
}
.sp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 22px/28px var(--serif);
  letter-spacing: -0.02em;
}
.sp-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.sp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.sp-type {
  padding: 1px 8px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sp-intro {
  margin-top: 10px;
  font: italic 400 14px/1.4 var(--serif);
  color: var(--muted);
}
.sp-points {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.4;
}
.sp-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
}
.sp-points li:first-child {
  background: #dce1ffb3;
}
.sp-points li > span:last-child {
  color: var(--muted);
}
.sp-points strong {
  color: var(--ink);
}
.sp-time {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--blue);
  font: 500 11px/16px var(--mono);
}
.sp-points li:first-child .sp-time {
  background: var(--blue);
  color: var(--paper);
}

/* ---- the arithmetic ---- */
.arithmetic {
  border-bottom: 1px solid #1c1b1b1a;
}
.calc {
  padding: 28px;
  border-radius: 20px;
  background: var(--accent);
}
.calc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.calc-label output {
  font: 500 22px/28px var(--mono);
  color: var(--ink);
}
.calc input {
  width: 100%;
  margin: 16px 0 0;
  accent-color: var(--blue);
}
.calc-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #0037b126;
}
.calc-figures p {
  display: flex;
  flex-direction: column;
}
.calc-name {
  font-size: 13px;
  color: var(--muted);
}
.calc-num {
  margin-top: 4px;
  font: 600 34px/1.2 var(--serif);
}
.calc-watch {
  color: var(--muted);
  text-decoration: line-through 2px #0037b180;
}
.calc-read {
  color: var(--blue);
}
.calc-per {
  font-size: 12px;
  color: var(--muted);
}
.calc-back {
  margin-top: 28px;
  font: 600 clamp(2.6rem, 6vw, 4.4rem) / 1 var(--serif);
  letter-spacing: -0.025em;
  color: var(--blue);
}
.calc-back em {
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---- the morning digest: one picture of the app's cards ---- */
.digest {
  background: var(--accent);
}
.digest-shot {
  align-self: start;
  padding: 4px 4px 16px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 70px -35px #0037b18c;
}
.digest-shot img {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  border-radius: 14px;
}
.digest-shot figcaption {
  margin: 8px 16px 0;
  padding-top: 14px;
  border-top: 1px solid #1c1b1b1a;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ---- reader quotes (see [reviews] in landing.toml) ---- */
.reviews {
  display: grid;
  gap: 40px;
  list-style: none;
}
.review blockquote {
  margin: 12px 0 0;
  font: 500 24px/1.2 var(--serif);
  letter-spacing: -0.015em;
  color: var(--muted);
}
.review:first-child blockquote {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
}
.quote-mark {
  color: var(--blue);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--blue);
}
.star {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke-width: 1.5;
}
.review-by {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.reviews-note {
  display: inline-block;
  margin-top: 48px;
  padding: 2px 12px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--blue);
  font-size: 12px;
  line-height: 20px;
}

/* ---- plans ---- */
.plans-section {
  border-top: 1px solid #1c1b1b1a;
}
.plans-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.plans-intro {
  max-width: 20rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.plans {
  display: grid;
  gap: 20px;
  margin-top: 56px;
  list-style: none;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #1c1b1b1f;
  border-radius: 22px;
  background: var(--paper);
}
.plan-featured {
  border: 0;
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 30px 60px -30px #0037b1cc;
}
.plan-offer {
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.plan-name {
  font: 600 32px/1.2 var(--serif);
  letter-spacing: -0.025em;
}
.plan-pitch {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}
.plan-featured .plan-pitch {
  color: var(--accent);
}
.plan-limits {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.5;
}
.plan-limits li {
  display: flex;
  gap: 12px;
}
.plan-limits .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--blue);
}
.plan-featured .plan-limits .icon {
  color: var(--accent);
}
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  color: var(--blue);
  font: 600 14px/20px var(--sans);
  text-decoration: none;
}
.plan-button:hover {
  background: var(--blue);
  color: var(--paper);
}
.plan-button .icon {
  width: 16px;
  height: 16px;
}
.plan-featured .plan-button {
  border-color: var(--paper);
  background: var(--paper);
}
.plan-featured .plan-button:hover {
  background: var(--accent);
  color: var(--blue);
}
.plans-note {
  max-width: 48rem;
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--mist);
}
.faq {
  border-top: 1px solid #1c1b1b26;
}
.faq details {
  border-bottom: 1px solid #1c1b1b26;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--blue);
}
.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 100%;
  background: var(--accent);
  color: var(--blue);
}
.faq-icon .icon {
  width: 16px;
  height: 16px;
}
.faq .icon-minus,
.faq details[open] .icon-plus {
  display: none;
}
.faq details[open] .icon-minus {
  display: block;
}
.faq details[open] .faq-icon {
  background: var(--blue);
  color: var(--paper);
}
.faq-answer {
  max-width: 42rem;
  padding-bottom: 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---- final call: cobalt with a faint grid ---- */
.final {
  padding-block: 112px;
  background:
    linear-gradient(#dbe1ff14 1px, #0000 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, #dbe1ff14 1px, #0000 1px) 0 0 / 56px 56px,
    var(--blue);
  color: var(--paper);
  text-align: center;
}
.final .eyebrow {
  color: #dce1ffcc;
}
.final .section-title {
  max-width: 56rem;
  margin: 20px auto 0;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.final em {
  color: var(--accent);
}
.final .sign-in {
  align-items: center;
  margin-top: 40px;
}
/* The configurator's pill shape. */
.final .gsi-material-button {
  border-radius: 20px;
}
.final .consent,
.final-chips {
  color: #dce1ffd9;
  font-size: 13px;
  line-height: 20px;
}
.final-chips {
  margin-top: 6px;
}
.final :focus-visible {
  outline-color: var(--accent);
}
.small-print {
  max-width: 40rem;
  margin: 28px auto 0;
  font-size: 12px;
  line-height: 18px;
  color: #dce1ffb3;
}
.small-print a {
  color: inherit;
}

/* ---- phones: a bar at the bottom once the hero has gone by ---- */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 10px 16px;
  border-top: 1px solid #1c1b1b1a;
  background: #f9f9f6f2;
}
.sticky-cta .cta {
  display: flex;
  justify-content: space-between;
  box-shadow: none;
}

.page-landing .imprint {
  background: var(--paper);
}

@media (min-width: 768px) {
  .page-landing .wrap {
    padding-inline: 32px;
  }
  .masthead-nav {
    display: flex;
  }
  .masthead-ext {
    min-height: 40px;
    margin-left: 28px;
    padding: 0 18px 0 12px;
    font-size: 14px;
  }
  .section {
    padding-block: 128px;
  }
  .arithmetic,
  .reviews-section {
    padding-block: 96px;
  }
  .hero {
    padding-block: 92px 112px;
  }
  .browser-body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
  .side-panel {
    border-top: 0;
    border-left: 1px solid #1c1b1b1a;
  }
  .calc {
    padding: 36px;
  }
  .digest-shot {
    padding: 12px 12px 20px;
  }
  .reviews {
    grid-template-columns: 1.4fr 1fr;
    column-gap: 48px;
  }
  .review:first-child {
    grid-row: span 2;
  }
  .plans-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .final {
    padding-block: 144px;
  }
  .sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .digest .two-col {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
  }
  .faq-section .two-col {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
  .plans {
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: stretch;
  }
  .plan-featured {
    margin-block: -16px;
    padding-block: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
