/* ============================================================ WorkTaskMe

   The marketing site.

   The old one was dark, and dark is the uniform every developer tool wears -
   which means it says "another one of these" before a word is read. This is
   the opposite bet: paper, ink, and a serif with something to say. Calm and
   expensive-looking rather than technical, because the thing being sold is
   fewer tools and less noise, not more screen.

   One stylesheet for six pages, so a class means the same thing everywhere.
   No build step: the fonts come from Google, everything else is here.
*/

/* ------------------------------------------------------------------ ink */

:root {
  /* Paper, warmed. A flat white reads as an unstyled document; this reads as
     something somebody chose. */
  --paper: #fbfaf4;
  --paper-2: #f3f1e6;
  --paper-3: #ebe8d9;
  --card: #ffffff;

  --ink: #16150f;
  --ink-2: #46443a;
  --ink-3: #7b7869;          /* also used inline by site.js - keep the name */
  --line: rgba(22, 21, 15, .12);
  --line-soft: rgba(22, 21, 15, .07);

  /* One accent does the persuading and three pastels do the sorting. */
  --violet: #5b46e5;
  --violet-lift: #7c67ff;
  --lilac: #e0d9ff;
  --mint: #cfe8d6;
  --peach: #f8d9bd;
  --sky: #d4e2fa;

  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1140px;

  --shadow: 0 1px 2px rgba(22, 21, 15, .05),
            0 12px 32px -18px rgba(22, 21, 15, .22);
  --shadow-lift: 0 2px 4px rgba(22, 21, 15, .05),
                 0 28px 60px -28px rgba(22, 21, 15, .32);

  --serif: "Instrument Serif", "Noto Serif Arabic", Georgia, serif;
  --sans: "Inter Tight", "Noto Sans Arabic", system-ui, -apple-system,
          "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Names the old dark sheet used, kept alive because five pages spend them
     in inline style attributes - a calendar mock, some dots and dividers.
     An undefined custom property is not an error, it is an invisible border,
     which is exactly how these went unnoticed. Mapped, not deleted. */
  --paper-muted: #7b7869;
  --paper-hair: rgba(22, 21, 15, .07);
  --hair: rgba(22, 21, 15, .12);
  --violet-deep: #5b46e5;
  --good: #2f7d52;
  --void: #16150f;
}

/* ----------------------------------------------------------------- base */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------- typography */

/* The display face carries the whole personality, so it gets room: tight
   leading, generous size, and an italic that is used for the half of the
   sentence that matters. */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
}

h2.display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }

.display em {
  font-style: italic;
  color: var(--violet);
}

/* A quiet label above a heading. Small caps and wide tracking do the work
   that a coloured pill used to do, without the noise. */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 20px 0 0;
  max-width: 60ch;
}

.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head .lede { margin-top: 16px; }

/* -------------------------------------------------------------- bands */

.band { padding: clamp(72px, 10vw, 132px) 0; }
.band-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* A band that lifts off the page without inverting it. The name is literal
   and the other five pages rely on it, so it keeps meaning what it says. */
.on-paper,
.band-2 { background: var(--paper-2); }

/* The inverted one. At most a single section per page, spent where the
   product's promise is loudest - which is what makes it the part people
   remember rather than just a dark stripe. */
.on-ink {
  background: var(--ink);
  color: var(--paper);
}
.on-ink .lede,
.on-ink .eyebrow { color: rgba(251, 250, 244, .62); }
.on-ink .display em { color: var(--lilac); }

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

/* A floating pill rather than a bar welded to the top: it lets the paper
   run underneath, which is most of why the page feels light. */
.nav {
  position: sticky;
  top: 14px;
  z-index: 60;
  padding-inline: 24px;
  margin-bottom: -68px;
}

.nav-inner {
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 9px 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 244, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  flex: 0 0 auto;
}
.brand b { color: var(--violet); font-weight: 600; }
.brand img { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 10px;
}
.nav-links > a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.nav-links > a:hover { background: var(--paper-3); color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--ink); background: var(--paper-3); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: var(--paper);
}
/* The language you are not reading is a real link to the other document,
   so it works with a middle click and a crawler follows it. */
.lang > * {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-3);
}
.lang a:hover { color: var(--ink); }
.lang [aria-current="true"] { background: var(--ink); color: var(--paper); cursor: default; }

.nav-burger {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  width: 38px; height: 38px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-drawer-cta { display: none; }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .14s ease, box-shadow .18s ease,
              background .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px -14px rgba(22, 21, 15, .8);
}
.btn-primary:hover { background: #000; box-shadow: 0 16px 30px -14px rgba(22, 21, 15, .7); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-3); }

.on-ink .btn-primary { background: var(--paper); color: var(--ink); }
.on-ink .btn-ghost { color: var(--paper); border-color: rgba(251, 250, 244, .28); }
.on-ink .btn-ghost:hover { background: rgba(251, 250, 244, .1); }

/* --------------------------------------------------------------- hero */

.hero {
  padding: clamp(126px, 15vw, 190px) 0 clamp(56px, 7vw, 90px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* A single soft bloom behind the headline. Enough to stop the paper being
   flat, faint enough that nobody notices it as a gradient. */
.hero::before {
  content: "";
  position: absolute;
  inset-inline: 50%;
  top: -180px;
  width: 900px; height: 620px;
  translate: -50% 0;
  background: radial-gradient(ellipse at center,
              rgba(124, 103, 255, .16), transparent 68%);
  pointer-events: none;
}

.hero .shell { position: relative; }
.hero .lede { margin-inline: auto; text-align: center; max-width: 54ch; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-size: .8rem;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hero-badge b {
  background: var(--lilac);
  color: #3a2c95;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-cta .btn { padding: 13px 24px; font-size: .96rem; }

.hero-notes {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: .82rem;
  color: var(--ink-3);
}
.hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { width: 15px; height: 15px; color: var(--violet); }

/* --------------------------------------------------- the spoken line */

/* The product's actual trick, shown rather than described: a sentence
   somebody said, and the cards it turned into. */
.say {
  max-width: 720px;
  margin: 46px auto 0;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.say-bubble {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 1rem;
  max-width: 100%;
}
.say-bubble p { margin: 0; text-align: start; }
.on-ink .say-bubble {
  background: rgba(251, 250, 244, .07);
  border-color: rgba(251, 250, 244, .18);
  color: var(--paper);
}

/* A waveform drawn in bars, so it costs nothing and animates cheaply. */
.wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  flex: 0 0 auto;
}
.wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--violet);
  height: 30%;
  animation: pulse 1.15s ease-in-out infinite;
}
.on-ink .wave i { background: var(--lilac); }
.wave i:nth-child(2) { animation-delay: .09s; }
.wave i:nth-child(3) { animation-delay: .18s; }
.wave i:nth-child(4) { animation-delay: .27s; }
.wave i:nth-child(5) { animation-delay: .36s; }
.wave i:nth-child(6) { animation-delay: .45s; }
.wave i:nth-child(7) { animation-delay: .54s; }

@keyframes pulse {
  0%, 100% { height: 26%; }
  50%      { height: 100%; }
}

.say-arrow { color: var(--ink-3); font-size: 1.2rem; line-height: 1; }
.on-ink .say-arrow { color: rgba(251, 250, 244, .5); }

.say-out {
  display: grid;
  gap: 10px;
  width: 100%;
}

/* ------------------------------------------------------------- frames */

/* The screenshot stand-in. A browser chrome around it is a cliché that
   works: it says "this is the product" without a caption. */
.frame {
  margin: 56px auto 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  text-align: start;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.frame-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  display: block;
}
.frame-url {
  margin-inline-start: 12px;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--ink-3);
}

.frame-body { padding: 20px; background: var(--paper); }

/* ---------------------------------------------------------- demo board */

.demo-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-col {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 9px;
  align-content: start;
}
.demo-col h6 {
  margin: 0 0 2px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 7px;
}
.demo-col h6 b {
  background: var(--paper-3);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: .72rem;
}

.demo-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 11px 12px;
  display: grid;
  gap: 9px;
  font-size: .87rem;
  box-shadow: 0 1px 2px rgba(22, 21, 15, .04);
}
.demo-card .row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.demo-card .key {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-3);
}

.chip {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-3);
  color: var(--ink-2);
}
.chip.high { background: var(--peach); color: #8a4a12; }
.chip.med  { background: var(--sky);   color: #24467f; }
.chip.low  { background: var(--paper-3); color: var(--ink-2); }
.chip.done { background: var(--mint);  color: #1f5b39; }
.chip.new  { background: var(--lilac); color: #3a2c95; }

.who {
  margin-inline-start: auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: .63rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------- stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: 26px 22px;
  display: grid;
  gap: 6px;
}
.stat b {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat span { font-size: .87rem; color: var(--ink-2); line-height: 1.5; }

/* --------------------------------------------------------------- cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }

.card-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lilac);
  color: #3a2c95;
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.card:nth-child(2) .card-icon { background: var(--mint); color: #1f5b39; }
.card:nth-child(3) .card-icon { background: var(--peach); color: #8a4a12; }
.card:nth-child(4) .card-icon { background: var(--sky); color: #24467f; }
.card:nth-child(5) .card-icon { background: var(--paper-3); color: var(--ink-2); }

.on-ink .card {
  background: rgba(251, 250, 244, .05);
  border-color: rgba(251, 250, 244, .14);
}

/* A task card stays a white card even on the ink band - it is the product's
   own object, and recolouring it would make it something else. But the band
   sets a near-white text colour, so the card has to say ink again or it
   renders white on white. */
.on-ink .demo-card { color: var(--ink); }
.on-ink .card p { color: rgba(251, 250, 244, .68); }

/* --------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split.flip > .split-media { order: -1; }
.split-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
  box-shadow: var(--shadow);
}
.on-ink .split-media {
  background: rgba(251, 250, 244, .05);
  border-color: rgba(251, 250, 244, .14);
}

.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-2);
}
/* Some pages ship their own tick as an inline <svg>, some let the bullet
   draw one. Without the :not() both appear and the line grows two ticks. */
.checklist li:not(:has(> svg))::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231f5b39'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.on-ink .checklist li { color: rgba(251, 250, 244, .72); }

/* ---------------------------------------------------- the conversation */

/* The assistant, shown as what it is: a short exchange, and the cards it
   offered at the end. */
.turns { display: grid; gap: 10px; }
.turn {
  padding: 11px 15px;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.55;
  max-width: 86%;
}
.turn.mine {
  margin-inline-start: auto;
  background: var(--lilac);
  color: #2c2178;
  border-end-end-radius: 4px;
}
.turn.theirs {
  background: var(--paper-2);
  border-end-start-radius: 4px;
  max-width: 100%;
}
.on-ink .turn.theirs { background: rgba(251, 250, 244, .08); }

/* --------------------------------------------------------------- tiers */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: grid;
  gap: 8px;
  align-content: start;
  position: relative;
}
.tier.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.tier-flag {
  position: absolute;
  top: -11px;
  inset-inline-start: 26px;
  background: var(--ink);
  color: var(--paper);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.tier h3 { margin: 0; font-size: 1.02rem; font-weight: 600; }
.price {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 4px 0 2px;
}
.price small { font-family: var(--sans); font-size: .86rem; color: var(--ink-3); }
.tier .btn { margin-top: 14px; width: 100%; }
.note { font-size: .82rem; color: var(--ink-3); }

/* Feature lists inside a tier or a card. The tick is an inline <svg> in the
   markup, and an inline svg with no size given stretches to fill its line -
   which turns a 17px tick into a hundred-pixel one. Hence the explicit box. */
.tier ul,
.card ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tier ul li,
.card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-2);
}
li > svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--violet);
}

/* ----------------------------------------------------------- cta band */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 64px);
  text-align: center;
}
.cta-band .display { color: var(--paper); }
.cta-band .display em { color: var(--lilac); }
.cta-band .lede { color: rgba(251, 250, 244, .66); margin-inline: auto; }
.cta-band .hero-cta { margin-top: 30px; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-ghost { color: var(--paper); border-color: rgba(251, 250, 244, .3); }

/* ------------------------------------------------------------ terminal */

/* A shell transcript. Always ink, whatever band it sits on - a terminal that
   matched the page would stop reading as a terminal. */
.term {
  background: var(--ink);
  border-color: rgba(251, 250, 244, .16);
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.9;
  color: rgba(251, 250, 244, .74);
  overflow-x: auto;
}
.term .dim { color: rgba(251, 250, 244, .45); }
.term .ok { color: var(--mint); }
.term .out { color: var(--lilac); }
.term .pad { padding-inline-start: 20px; }
.term .gap { height: 12px; }

/* ---------------------------------------------------------- long prose */

.prose-wrap { max-width: 760px; margin-inline: auto; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -.015em;
  margin: 44px 0 12px;
}
.prose h3 { font-size: 1.02rem; font-weight: 600; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: .97rem; line-height: 1.75; }
.prose ul { padding-inline-start: 20px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }

/* The privacy page keeps its "what we collect" grid in a real table, which
   is the honest element for it. On a narrow screen the table scrolls inside
   its own box rather than pushing the page sideways. */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: .92rem;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: start;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
}
.prose th {
  color: var(--ink);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-bottom-color: var(--line);
  white-space: nowrap;
}
.prose tbody tr:last-child td { border-bottom: 0; }

.updated {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--ink-3);
  letter-spacing: .02em;
}

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

.foot {
  border-top: 1px solid var(--line);
  padding: 62px 0 34px;
  background: var(--paper-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.foot h4 {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot ul a { font-size: .92rem; color: var(--ink-2); }
.foot ul a:hover { color: var(--ink); }

.foot-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--ink-3);
}

/* -------------------------------------------------------------- motion */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1),
              transform .6s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Motion here is decoration, and decoration is the first thing to go when
   somebody has asked their machine to stop moving things. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave i { animation: none; height: 55%; }
  .card:hover { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ----------------------------------------------------------------- RTL */

/* Arabic has no italic. Asked for one, the browser slants the glyphs
   mechanically, which reads as a rendering fault rather than as emphasis -
   so on the Arabic pages the accent colour carries the emphasis alone. */
[lang="ar"] .display em { font-style: normal; }

[dir="rtl"] .display { letter-spacing: 0; }
[dir="rtl"] .eyebrow { letter-spacing: .08em; }
[dir="rtl"] .nav-inner { padding: 9px 20px 9px 9px; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .cards, .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.flip > .split-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 24px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-lift);
  }
  .nav.open .nav-links { display: flex; }
  .nav-drawer-cta {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
  }
  .nav-actions > .btn { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-inner { position: relative; }

  .cards, .cards.two, .tiers, .demo-board { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-notes { gap: 14px; font-size: .78rem; }
  .say-bubble { flex-direction: column; align-items: flex-start; gap: 10px; border-radius: var(--radius); }
}
