/* site.css: the coldcallx.app design system. Hand-written, loaded by every
   page after styles.css (the compiled Tailwind utilities the long-form pages
   still use for layout).

   One look, taken from the tutorial films (video/DESIGN.md in this repo's
   video branch): a flat #FAFAFC ground, #1D1D1F ink, semibold type set
   tight, and nothing else. No gradients, no glass, no motion that is not
   feedback.

   Rules below that start with `.site` restyle the Tailwind markup on the
   long-form pages. The body class gives them the one extra step of
   specificity they need to beat a single utility class. */

:root {
  --bg: #fafafc;
  --surface: #fff;
  --fill: #f0f0f4;
  --ink: #1d1d1f;
  --body: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --hairline: rgba(0, 0, 0, 0.1);
  --hairline-strong: #d2d2d7;
  --link: #0066cc;
  --focus: #0071e3;
  --radius: 18px;
  --page: 64rem;
  --gutter: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  background: var(--bg);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 53px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.site {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.site main { flex: 1 0 auto; }

.site a:focus-visible,
.site button:focus-visible,
.site summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 252, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 52px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-decoration: none;
  white-space: nowrap;
}

.nav__brand img,
.hero__icon {
  border-radius: 22.5%;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.nav__links a {
  color: var(--body);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__links a:hover { color: var(--ink); }

.nav__links .nav__cta {
  padding: 5px 14px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

.nav__links .nav__cta:hover { color: #fff; background: #000; }

@media (max-width: 520px) {
  .nav__links { gap: 18px; }
}

/* ----------------------------------------------------------------- home */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 7.6vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* The two colours of the app icon, and the only colour on the page. */
.hero__accent {
  background: linear-gradient(90deg, #29a9ec 10%, #f3913a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 30ch;
  text-wrap: pretty;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.hero__cta { display: inline-block; margin-top: 32px; line-height: 0; }
.hero__cta img { height: 48px; width: auto; }

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

.hero__phone { justify-self: center; }
.hero__phone img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  /* The crop is the bezel's bounding box; round it to the bezel. */
  border-radius: 16% / 7.6%;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.35);
}

/* 2.0 launch giveaway band. index.html keeps it hidden until the giveaway
   worker says codes are left. Centred on a wash of the brand's two colours
   so it reads as an announcement, not as part of the hero. */
.gift {
  background:
    linear-gradient(90deg, rgba(41, 169, 236, 0.14), rgba(243, 145, 58, 0.14)),
    var(--surface);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.gift [hidden] { display: none !important; }

.gift__inner { padding-top: 26px; padding-bottom: 24px; }

.gift__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 980px;
  background: linear-gradient(90deg, #29a9ec, #f3913a);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gift__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gift__text {
  margin: 0;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.45;
  color: var(--body);
  text-wrap: balance;
}

.gift__text strong { color: var(--ink); font-weight: 600; }

.gift__action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
}

.gift__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gift__pips { display: inline-flex; gap: 5px; }
.gift__pips i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #29a9ec, #f3913a); }
.gift__pips i.is-gone { background: var(--hairline-strong); }

.gift__btn {
  padding: 10px 22px;
  border: 0;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font: 600 15px/1.2 var(--font);
  white-space: nowrap;
  cursor: pointer;
}

.gift__btn:hover { background: #000; }
.gift__btn:disabled { opacity: 0.5; cursor: default; }
.gift__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.gift__btn--quiet { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.gift__btn--quiet:hover { background: var(--fill); }

.site .gift__code {
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 600 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  user-select: all;
}

.gift__status,
.gift__fine { margin: 12px auto 0; max-width: 40em; font-size: 12px; color: var(--muted); }
.gift__status { color: var(--ink); font-size: 14px; }
.gift__status:empty { display: none; }

@media (max-width: 640px) {
  .gift__inner { padding-top: 22px; padding-bottom: 20px; }
  .gift__text { font-size: 16px; }
}

/* Tutorials sit on the films' own closing colour, so the section reads as a
   change of scene and the light player stands out. */
.tutorials {
  padding: 96px 0 104px;
  background: #1b1b1e;
  color: #f5f5f7;
}

.tutorials__head { margin-bottom: 36px; text-align: center; }

.site .tutorials__title {
  margin: 0;
  color: #f5f5f7;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.tutorials__sub { margin: 10px 0 0; color: #a1a1a6; font-size: 19px; letter-spacing: -0.018em; }

.tutorials .player { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.tutorials .player-note { color: #86868b; }
.tutorials .player-note a { color: #2997ff; }

/* Every film in the playlist. A card is a link to the film on YouTube; the
   page's script plays it in the player above instead. */
.films {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 20px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.film {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.film__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #f9f9fb;
}

.film__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.film__thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.film:hover .film__thumb img { transform: scale(1.04); }
.film:hover .film__thumb::after,
.film:focus-visible .film__thumb::after { opacity: 1; transform: none; }

.film__time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.film__title {
  display: block;
  margin-top: 12px;
  color: #d2d2d7;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.film:hover .film__title { color: #fff; }

.film:focus-visible {
  outline: 2px solid #2997ff;
  outline-offset: 6px;
  border-radius: 14px;
}

@media (max-width: 820px) {
  .films { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin-top: 48px; }
}

@media (max-width: 480px) {
  .film__thumb { border-radius: 10px; }
  .film__title { margin-top: 10px; font-size: 14px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-top: 44px; padding-bottom: 48px; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__phone img { width: min(64vw, 270px); }
}

/* The player is a poster until someone presses play. Nothing is requested
   from YouTube before that; see the script at the foot of index.html. */
.player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #f9f9fb;
  box-shadow: 0 0 0 1px var(--hairline), 0 30px 60px -36px rgba(0, 0, 0, 0.3);
}

.player__poster,
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__poster {
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.player__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.player__play::before {
  content: "";
  margin-left: 5px;
  border-left: 22px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

.player__poster:hover .player__play { transform: scale(1.06); background: rgba(0, 0, 0, 0.86); }
.player__poster:active .player__play { transform: scale(0.97); }

.player__poster:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
  border-radius: var(--radius);
}

.player__soon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  transform: translate(-50%, -50%);
  padding: 9px 18px;
  border-radius: 980px;
  background: rgba(29, 29, 31, 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.player[data-state="soon"] .player__poster { cursor: default; }
.player[data-state="soon"] .player__play { display: none; }
.player[data-state="soon"] .player__soon { display: block; }

.player-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.player-note a { color: var(--link); text-decoration: none; }
.player-note a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .tutorials { padding-top: 64px; padding-bottom: 72px; }
  .player { border-radius: 14px; }
  .player__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .player__play::before { margin-left: 4px; border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
  .player__soon { top: auto; left: 12px; bottom: 12px; transform: none; padding: 6px 12px; font-size: 13px; }
}

/* Buttons for the few places that are not an App Store badge. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn:hover { background: var(--fill); }
.btn--dark { background: var(--ink); box-shadow: none; color: #fff; }
.btn--dark:hover { background: #000; }

.notfound .hero__icon { display: block; width: 88px; height: 88px; margin: 0 auto; }

.notfound {
  padding-top: 96px;
  padding-bottom: 112px;
  text-align: center;
}

.site main .notfound__title { margin: 24px 0 0; font-size: clamp(32px, 5vw, 44px); }
.notfound__text { margin: 12px auto 0; max-width: 28ch; color: var(--muted); font-size: 19px; line-height: 1.4; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.site code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--fill);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}

/* --------------------------------------------------------------- footer */

.foot {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.foot__inner {
  padding-top: 22px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}

.foot a {
  color: var(--body);
  text-decoration: none;
}

.foot a:hover { color: var(--ink); text-decoration: underline; }

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
}

.foot__legal p { margin: 0; }

.foot__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.foot__legal nav a + a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: var(--hairline-strong);
  vertical-align: -1px;
}

/* ---------------------------------------------------- long-form pages */

/* One reading measure for every guide, comparison and legal page. */
.site main > div[class*="max-w-"] {
  max-width: calc(46rem + 2 * var(--gutter));
  padding-top: 56px;
  padding-bottom: 88px;
}

.site main h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.site main h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.site main h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.site main p,
.site main li { line-height: 1.6; }

.site .font-light { font-weight: 400; }
.site .font-black,
.site .font-bold,
.site .font-extrabold { font-weight: 600; }

/* The header block at the top of every page: title, lede, App Store. */
.site main .text-center.mb-14 { margin-bottom: 64px; }
.site main .text-center.mb-14 > p.text-lg { color: var(--muted); font-size: clamp(19px, 2.2vw, 21px); line-height: 1.45; }

/* Back link on guide posts. */
.site main a.mb-8.text-sm {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site main a.mb-8.text-sm:hover { color: var(--ink); }

/* Sections. The old glass cards become plain runs of text, separated by a
   rule instead of a box. */
.site .section-card,
.site .article-card {
  position: static;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site .section-card + .section-card,
.site .section-card + section,
.site section + .section-card {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--hairline);
}

.site .section-card:not(.text-center) h2 { margin-bottom: 18px; }

/* Paragraph rhythm for sections whose blocks carry no margin utility (the
   legal pages). Specificity stays at two elements: enough to beat Tailwind's
   reset, not enough to beat an explicit mt-* or mb-* on the page. */
:where(.site .section-card, .site .neo-glass.text-center) > :is(p, ul, ol, div, table) + :is(p, ul, ol, div, table) { margin-top: 14px; }

.site .section-card p,
.site .section-card li,
.site .section-card .space-y-3,
.site .section-card .space-y-4,
.site .article p,
.site .article li,
.site .article ul,
.site .article ol { color: var(--body); }

.site .article p.text-lg { font-size: 19px; line-height: 1.55; color: var(--ink); }

.site .article h2 { margin: 52px 0 16px; }
.site .article h2:first-child { margin-top: 0; }
.site .article h3 { margin: 32px 0 10px; }
.site .article p { margin: 0 0 18px; }
.site .article ul,
.site .article ol { margin: 0 0 20px; padding-left: 1.25em; }
.site .article ul { list-style: disc; }
.site .article ol { list-style: decimal; }
.site .article li::marker { color: var(--faint); }
.site .article li { margin-bottom: 8px; }
.site .article strong,
.site .section-card strong { color: var(--ink); font-weight: 600; }

/* Links inside running text. Underlined so they do not rely on colour. */
.site main p a,
.site main li a,
.site main td a,
.site .article a:not([href^="https://apps.apple.com"]),
.site .callout a,
.site .notice a {
  color: var(--link);
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 102, 204, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.site main p a:hover,
.site main li a:hover,
.site main td a:hover,
.site .article a:hover { text-decoration-color: currentColor; color: var(--link); }

/* A film card is a link inside a list item, but it is a card, not running text. */
.site main .film,
.site main .film:hover { color: inherit; text-decoration: none; }

.site .text-blue-600 { color: var(--link); }

/* Closing call to action at the foot of each page. */
.site .section-card.text-center,
.site .article-card.text-center,
.site .neo-glass.text-center {
  margin-top: 72px;
  padding: 64px 0 0;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site .section-card.text-center p,
.site .neo-glass.text-center p,
.site .article-card.text-center p { color: var(--muted); }

/* After the FAQ list, whose last row already draws a rule. */
.site div.space-y-4 + .text-center {
  margin-top: 0;
  padding-top: 72px;
  border-top: 0;
}

/* Tiles: linked guides and feature grids. */
.site .neo-glass,
.site .post-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site a.neo-glass,
.site .post-card {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.site a.neo-glass:hover,
.site .post-card:hover {
  transform: none;
  border-color: var(--hairline-strong);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.25);
}

.site .post-card { display: flex; flex-direction: column; height: 100%; padding: 26px; }
.site .post-card h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.site .post-card .uppercase { color: var(--muted); letter-spacing: 0.04em; font-size: 12px; }
.site .post-card > span:last-child { margin-top: auto; padding-top: 16px; }

/* FAQ. Rows with hairlines, not cards. */
.site details > summary { list-style: none; }
.site details > summary::-webkit-details-marker { display: none; }

.site details.neo-glass {
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: none;
}

.site .space-y-4 > details.neo-glass { margin-top: 0; }
.site .space-y-4 > details.neo-glass:first-child { border-top: 1px solid var(--hairline); }

.site details summary {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.site details summary > span {
  flex: none;
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
}

.site details > p { padding-top: 12px; color: var(--body); }

.site main h2.text-center { margin-top: 72px; }

/* Script lines, callouts, notices and printable cheat sheets. */
.site .script,
.site .callout {
  margin: 0 0 20px;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--fill);
  color: var(--ink);
  line-height: 1.6;
}

.site .script { font-style: italic; }

.site .notice {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  background: #fdf5e4;
}

.site .notice p { color: var(--ink); margin: 0 0 12px; }
.site .notice p:last-child { margin-bottom: 0; }

.site .cheat-sheet {
  padding: 22px 24px;
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  background: var(--surface);
}

.site .cheat-sheet h3 { margin-top: 16px; }
.site .cheat-sheet p,
.site .cheat-sheet ul { margin-bottom: 12px; font-size: 15px; line-height: 1.55; }
.site .cheat-sheet li { margin-bottom: 6px; }

/* Tables. */
.site .cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.site .cmp-table,
.site .article table,
.site main table.w-full {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.site .cmp-table { min-width: 600px; }

.site .cmp-table th,
.site .cmp-table td,
.site .article th,
.site .article td,
.site main table.w-full th,
.site main table.w-full td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-top: 1px solid var(--hairline);
}

.site .cmp-table thead th,
.site .article thead th,
.site main table.w-full thead th {
  border-top: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
}

.site .cmp-table tbody th { color: var(--ink); font-weight: 500; }
.site .cmp-table td,
.site .article td,
.site main table.w-full td { color: var(--body); }
.site .cmp-table td.hi { color: var(--ink); font-weight: 600; }

.site .cmp-table caption {
  caption-side: top;
  padding: 14px 16px 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.site main tr.border-b { border-color: var(--hairline); }

/* /cookies: the storage table and the button that reopens the banner. */
.site .ck-table-wrap {
  overflow-x: auto;
  margin: 8px 0 20px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.site .ck-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 15px; }
.site .ck-table th,
.site .ck-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.site .ck-table thead th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.site .ck-table td { border-top: 1px solid var(--hairline); color: var(--body); line-height: 1.55; }
.site .ck-table td:first-child {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site .ck-button {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border: 0;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.site .ck-button:hover { background: #000; }
.site .section-card p.ck-state { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* The cold-calling-apps comparison grid. */
.site .cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.site .cmp-row > div { padding: 13px 16px; border-top: 1px solid var(--hairline); }
.site .cmp-row:first-child > div { border-top: 0; }
.site .cmp-row.bg-white\/40 { background: none; }
.site .border-white\/60 { border-color: var(--hairline); background: var(--surface); }

@media (max-width: 640px) {
  .site main > div[class*="max-w-"] { padding-top: 36px; padding-bottom: 64px; }
  .site main .text-center.mb-14 { margin-bottom: 44px; }
  .site .section-card + .section-card,
  .site .section-card + section,
  .site section + .section-card { margin-top: 44px; padding-top: 44px; }
  .site .cmp-table { min-width: 540px; font-size: 14px; }
  .site .cmp-table th,
  .site .cmp-table td { padding: 11px 12px; }
  .site .cmp-row { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
  .site .cmp-row > div { padding: 11px 10px; font-size: 14px; }
  .site details summary { min-height: 44px; }
}

/* ------------------------------------------------ reading pages: soul */

/* Every page but the home page carries body.site--read, so none of this
   reaches the home page. The guides and legal pages borrow the app's own
   voice instead of a store's: warm paper, the lead card's lavender, teal and
   pink wash, the icon's blue to orange, a serif for reading, and call
   scripts that look like one side of a phone call. */
body.site--read {
  --paper: #fff;
  --ink: #1f1b17;
  --body: #3f3a34;
  --muted: #756e66;
  --faint: #9a928a;
  --fill: #f3eee7;
  --hairline: rgba(72, 52, 30, 0.12);
  --hairline-strong: rgba(72, 52, 30, 0.22);
  --surface: #fff;
  --blue: #29a9ec;
  --orange: #f3913a;
  --link: #0b5fb3;
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
  --wash:
    radial-gradient(60% 90% at 0% 0%, rgba(186, 170, 255, 0.45), transparent 70%),
    radial-gradient(55% 85% at 100% 10%, rgba(140, 232, 214, 0.38), transparent 70%),
    radial-gradient(70% 90% at 70% 100%, rgba(255, 190, 214, 0.42), transparent 70%);
  background: var(--paper);
}

.site--read .nav { background: rgba(255, 255, 255, 0.82); }

/* The wash behind the top of every page, fading into the paper. */
.site--read main { position: relative; isolation: isolate; }
.site--read main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  z-index: -1;
  pointer-events: none;
  background: var(--wash);
  -webkit-mask-image: linear-gradient(#000 35%, transparent);
  mask-image: linear-gradient(#000 35%, transparent);
}

/* Type. A serif for titles and section heads; the body stays in the system
   face so long reads stay easy on a phone. */
.site--read main h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

.site--read main h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.site--read main h3 { letter-spacing: -0.012em; }

.site--read .section-card + .section-card,
.site--read .section-card + section,
.site--read section + .section-card {
  margin-top: 72px;
  padding-top: 0;
  border-top: 0;
}

/* Back link on guide posts: a small pill. */
.site--read main a.mb-8.text-sm {
  padding: 6px 13px;
  border: 1px solid var(--hairline);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.site--read main a.mb-8.text-sm:hover { border-color: var(--hairline-strong); background: var(--surface); }

/* Emphasis is a highlighter stroke, as on a printed script. */
.site--read .article p strong,
.site--read .article li strong,
.site--read .section-card p strong,
.site--read .section-card li strong {
  background: linear-gradient(transparent 60%, rgba(243, 145, 58, 0.24) 60%, rgba(243, 145, 58, 0.24) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 1px;
}

/* Bullets: a plain dash, as in a notebook. */
.site--read .article ul,
.site--read .section-card ul { list-style: none; padding-left: 0; }

.site--read .article ul > li,
.site--read .section-card ul > li { position: relative; padding-left: 22px; }

.site--read .article ul > li::before,
.site--read .section-card ul > li::before {
  content: "–";
  position: absolute;
  left: 2px;
  color: var(--faint);
}

.site--read .article ol li::marker { color: var(--muted); font-weight: 600; }

/* Links: ink-blue with a warm underline. */
.site--read main p a,
.site--read main li a,
.site--read main td a,
.site--read .article a:not([href^="https://apps.apple.com"]),
.site--read .callout a,
.site--read .notice a {
  color: var(--link);
  text-decoration-color: rgba(243, 145, 58, 0.7);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site--read main p a:hover,
.site--read main li a:hover,
.site--read main td a:hover,
.site--read .article a:hover { color: var(--ink); text-decoration-color: var(--orange); }

/* Call scripts: one side of a call, in a speech bubble on the lead card's
   wash, with the app's green call button beside it. */
.site--read .script {
  position: relative;
  margin: 4px 0 22px;
  padding: 18px 22px 18px 62px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px 22px 22px 6px;
  background: var(--wash), var(--surface);
  box-shadow: 0 14px 34px -24px rgba(88, 60, 150, 0.55), 0 1px 2px rgba(72, 52, 30, 0.06);
  color: var(--ink);
  font-size: 17px;
  font-style: normal;
  line-height: 1.6;
}

.site--read .script::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #30c85a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 8px 16px -8px rgba(48, 200, 90, 0.9);
}

/* Callouts and notes: an index card with the icon's colours down its edge. */
.site--read .callout {
  position: relative;
  padding: 18px 22px 18px 26px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  overflow: hidden;
}

.site--read .callout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--blue), var(--orange));
}

.site--read .notice {
  border: 1px solid rgba(243, 145, 58, 0.28);
  background: #fff4e6;
}

.site--read .cheat-sheet {
  border: 1px dashed var(--hairline-strong);
  background: var(--surface);
  box-shadow: 0 18px 40px -30px rgba(72, 52, 30, 0.5);
}

/* Guide links and feature grids read as a table of contents, not as
   cards: a hairline over each entry, a quiet topic in small caps, a serif
   title that underlines on hover. The whole entry stays the link. */
.site--read .neo-glass,
.site--read .post-card {
  height: auto;
  padding: 18px 0 22px;
  border: 0;
  border-top: 1px solid var(--hairline-strong);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.site--read a.neo-glass:hover,
.site--read .post-card:hover { transform: none; border-color: var(--ink); box-shadow: none; }

.site--read .post-card h2,
.site--read .neo-glass:not(.text-center) > h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.15s ease;
}

.site--read .post-card:hover h2,
.site--read a.neo-glass:hover > h3 { text-decoration-color: var(--orange); }

.site--read .post-card .uppercase {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site--read .post-card > span:last-child { display: none; }
.site--read .post-card p,
.site--read a.neo-glass p { color: var(--body); }

/* FAQ: the plus turns into a close mark when a row is open. */
.site--read details summary > span { color: var(--orange); transition: transform 0.2s ease; }
.site--read details[open] summary > span { transform: rotate(45deg); }
.site--read details.neo-glass { border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.site--read details.neo-glass::before { content: none; }

/* Tables sit on a card with a washed header. */
.site--read .cmp-wrap,
.site--read .ck-table-wrap,
.site--read main div.overflow-x-auto:has(> table) {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  overflow-x: auto;
}

.site--read .cmp-table thead,
.site--read .ck-table thead,
.site--read .article thead,
.site--read main table.w-full thead { background: var(--wash), var(--surface); }

/* The closing call to action is a lead card of its own. */
.site--read .section-card.text-center,
.site--read .article-card.text-center,
.site--read .neo-glass.text-center {
  margin-top: 80px;
  padding: 56px 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: var(--wash), var(--surface);
  box-shadow: 0 30px 60px -40px rgba(88, 60, 150, 0.6);
}

.site--read .neo-glass.text-center::before { content: none; }
.site--read .section-card.text-center h2,
.site--read .neo-glass.text-center h2 { font-size: clamp(28px, 4vw, 38px); }
.site--read div.space-y-4 + :is(.section-card, .neo-glass, .article-card).text-center { margin-top: 64px; padding-top: 56px; border: 1px solid rgba(255, 255, 255, 0.9); }

.site--read .foot { border-top-color: var(--hairline); }

@media (max-width: 640px) {
  .site--read .script { padding: 16px 18px 16px 56px; font-size: 16px; }
  .site--read .script::before { left: 15px; top: 16px; width: 28px; height: 28px; }
  .site--read .section-card + .section-card,
  .site--read .section-card + section,
  .site--read section + .section-card { margin-top: 56px; }
  .site--read .section-card.text-center,
  .site--read .neo-glass.text-center { padding: 44px 20px; border-radius: 24px; }
}

/* Tables inside an article keep the paragraph rhythm around them. */
.site--read .article .cmp-wrap,
.site--read .article div.overflow-x-auto { margin: 8px 0 22px; }
