/*
  The Kliently website's look, for every page (deploy/site). The approved design of 2026-11-02
  (_designs/2026-11-02/kliently-site) with its inline styles moved here, because the site's
  Content-Security-Policy (deploy/Caddyfile) allows styles from this site's own files only.
  Fonts are this site's own copies (fonts/, SIL Open Font License, latin letters only).
*/

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-wght.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/instrument-serif-latin-italic.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1b1530;
  --ink-2: #3f3a4b;
  --muted: #6b6478;
  --muted-2: #5d5771;
  --purple: #7538dc;
  --plum: #3b1266;
  --lilac: #f3edfa;
  --lavender: #eadff8;
  --cream: #f8f4ec;
  --line: #e6dfd6;
  --card-line: #ebe5f1;
  --row-line: #f0ebf5;
  --marigold: #f5b342;
  --teal: #157f7f;
  --coral: #e8674f;
  --coral-text: #c2452e;
  --gold-text: #94600f;
  --green: #0f6b4f;
  --green-bg: #e6f4ee;
  --rust: #9a3412;
  --rust-bg: #fde4de;
  --sand: #fff1d6;
  --mint: #ddf3f0;
  --soft-purple: #76658f;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--purple);
}

a:hover {
  color: var(--plum);
}

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

h1,
h2,
h3,
.display {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
  line-height: 1.02;
}

p {
  margin: 0;
}

.k {
  width: 100%;
  overflow: hidden;
}

.it {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* The one italic word in a heading: purple and a little bigger. */
.acc {
  color: var(--purple);
  font-size: 1.1em;
}

.acc-plain {
  font-size: 1.1em;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 84px;
}

/* The wordmark: the K mark is the word's first letter, "K" + "liently", read out as one word ("Kliently",
   from the hidden .sr text). The picture is sized so its K is the font's capital height (0.66 em; the K fills
   69% of the picture's height and 79% of its width) and set on the baseline: the picture has 15.6% empty below
   the K, and about a tenth of its width empty on each side. "by Acceleret" sits quietly under it. */
.brandbox {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.brand img {
  width: 0.96em;
  height: 0.96em;
  margin: 0 -0.13em -0.15em -0.09em;
}

.brand.small {
  font-size: 24px;
}

.brandbox .by {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}

.navpill {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(59, 18, 102, 0.06);
}

.navpill a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.navpill a:hover,
.navpill a[aria-current='page'] {
  background: var(--lilac);
  color: var(--ink);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: var(--lilac);
}

.menu-btn .close-icon,
.menu-btn[aria-expanded='true'] .open-icon {
  display: none;
}

.menu-btn[aria-expanded='true'] .close-icon {
  display: block;
}

/* ---------- Buttons and links ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(117, 56, 220, 0.28);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
  font-family: var(--body);
}

a.pill:hover,
button.pill:hover {
  background: var(--plum);
  color: #fff;
  transform: translateY(-2px);
}

.pill.small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: none;
}

.pill.tiny {
  height: 32px;
  font-size: 12px;
  padding: 0 14px;
}

.pill.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d9d1e6;
  box-shadow: none;
}

a.pill.ghost:hover {
  background: var(--lilac);
  color: var(--ink);
}

.pill.dark {
  background: var(--ink);
}

/* A drawn button inside a picture of the CRM: it looks like one, but is not one. */
span.pill {
  cursor: default;
}

.pill:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.textlink {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.textlink:hover {
  text-decoration: underline;
}

.textlink.dark {
  color: var(--ink);
}

.textlink.sm {
  font-size: 14px;
}

.textlink.xs {
  font-size: 13px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--purple);
}

.eyebrow.plum {
  color: var(--plum);
}

/* ---------- Small parts ---------- */

.card {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(59, 18, 102, 0.12);
}

.card.flat {
  box-shadow: none;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.row.mid {
  align-items: center;
}

.lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.val {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.tick {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--purple);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tick.off {
  background: #d9d1e6;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a9b63;
  flex-shrink: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

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

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

.tag.lilac {
  background: var(--lilac);
  color: var(--plum);
}

.tag.lav {
  background: var(--lavender);
  color: var(--plum);
}

.tag.sand {
  background: var(--sand);
  color: #8a5a12;
}

.ok {
  color: var(--green);
  font-weight: 500;
}

.warn {
  color: var(--rust);
  font-weight: 500;
}

.soft {
  color: var(--muted);
}

.strong {
  font-weight: 600;
}

.ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ol li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.ol .n {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--purple);
  font-weight: 700;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

table.q {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

table.q td {
  padding: 9px 0;
  border-top: 1px solid var(--row-line);
  vertical-align: top;
}

table.q td:first-child {
  color: var(--muted);
  width: 84px;
  padding-right: 8px;
}

table.q td.price {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

table.q td.person {
  width: 130px;
  color: var(--ink);
  font-weight: 500;
}

/* A table of sums (Features → Smart packages): the label takes the room, the amount sits right. */
table.q.sums td:first-child {
  width: auto;
}

table.q td.wide {
  width: 120px;
}

table.q .big {
  font-weight: 700;
  font-size: 17px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.on {
  background: var(--purple);
  color: #fff;
}

.chip.next {
  border: 1px solid var(--purple);
  color: var(--purple);
}

.chips {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.stack {
  display: flex;
  flex-direction: column;
}

.g6 {
  gap: 6px;
}
.g8 {
  gap: 8px;
}
.g10 {
  gap: 10px;
}
.g12 {
  gap: 12px;
}
.g14 {
  gap: 14px;
}
.g16 {
  gap: 16px;
}
.g18 {
  gap: 18px;
}
.g22 {
  gap: 22px;
}
.g24 {
  gap: 24px;
}

.actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.actions.tight {
  gap: 10px;
}

.actions.center {
  justify-content: center;
}

.mt4 {
  margin-top: 4px;
}
.mt6 {
  margin-top: 6px;
}
.mt8 {
  margin-top: 8px;
}
.mt10 {
  margin-top: 10px;
}
.mt12 {
  margin-top: 12px;
}
.mt14 {
  margin-top: 14px;
}
.mt16 {
  margin-top: 16px;
}
.mb6 {
  margin-bottom: 6px;
}
.mb8 {
  margin-bottom: 8px;
}
.mb10 {
  margin-bottom: 10px;
}
.mb12 {
  margin-bottom: 12px;
}
.mb14 {
  margin-bottom: 14px;
}

.f12 {
  font-size: 12px;
}
.f13 {
  font-size: 13px;
}
.f14 {
  font-size: 14px;
}
.f15 {
  font-size: 15px;
}

/* A white box inside a picture of the CRM. */
.box {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 14px 16px;
}

.box.roomy {
  padding: 16px 18px;
}

.mini-title {
  font-size: 13px;
  font-weight: 600;
}

.mini-title.lg {
  font-size: 14px;
}

.mini-title.xl {
  font-size: 15px;
}

.icon-sq {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-sq.green {
  background: var(--green-bg);
  color: var(--green);
}

.icon-sq.rust {
  background: var(--rust-bg);
  color: var(--rust);
}

.notice-line {
  display: flex;
  gap: 12px;
}

.notice-line .stack {
  gap: 3px;
}

.notice-line .t {
  font-size: 13px;
  font-weight: 600;
}

.notice-line .d {
  font-size: 12px;
  color: #4a4556;
  line-height: 1.4;
}

/* ---------- Page heroes and feature rows ---------- */

.pagehero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 40px;
}

.pagehero.wide-art {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.pagehero h1 {
  font-size: clamp(42px, 5vw, 72px);
  max-width: 10em;
  text-wrap: balance;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 26em;
}

.feat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.feat.flip .art {
  order: -1;
}

.feat.bare {
  border-top: 0;
  padding: 0;
}

.feat.last {
  border-bottom: 1px solid var(--line);
}

.feat h2 {
  font-size: clamp(28px, 3vw, 42px);
  text-wrap: balance;
}

.feat .lead {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
}

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

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

.grid2.tight {
  gap: 12px;
}

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

.tile {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.tile:hover {
  transform: translateY(-4px);
}

.tile h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.tile p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.tile p.eyebrow {
  font-size: 12px;
  color: var(--purple);
}

.tile.lav {
  background: var(--lavender);
}
.tile.sand {
  background: var(--sand);
}
.tile.mint {
  background: var(--mint);
}
.tile.rose {
  background: var(--rust-bg);
}
.tile.white {
  background: #fff;
  border: 1px solid var(--card-line);
}
.tile.night {
  background: var(--ink);
  color: #fff;
}
.tile.night h3 {
  color: #fff;
}
.tile.night p {
  color: #cfc8da;
}

.tile.small {
  padding: 20px;
}

.tile.small b {
  font-size: 15px;
}

.panel {
  background: var(--lilac);
  border-radius: 24px;
  padding: 28px;
}

.band {
  background: var(--plum);
  color: #f3eff8;
  padding: 88px 0;
  border-radius: 48px 48px 0 0;
  margin-top: 96px;
  position: relative;
  overflow: hidden;
}

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.faq p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps > div {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  padding: 24px;
}

.steps .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--purple);
  letter-spacing: -0.04em;
  line-height: 1;
}

.steps h3 {
  display: block;
  margin: 10px 0 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.steps p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* Section spacing. */
.pb88 {
  padding-bottom: 88px;
}
.pt24 {
  padding-top: 24px;
}
.pt56 {
  padding-top: 56px;
}
.pt64 {
  padding-top: 64px;
}
.pt72 {
  padding-top: 72px;
}
.pt80 {
  padding-top: 80px;
}
.pt88 {
  padding-top: 88px;
}
.pt96 {
  padding-top: 96px;
}
.pt104 {
  padding-top: 104px;
}
.pt112 {
  padding-top: 112px;
}
.pt120 {
  padding-top: 120px;
}
.pb96 {
  padding-bottom: 96px;
}

.lead.f17 {
  font-size: 17px;
  line-height: 1.6;
}

.endcta.pt24 {
  padding-top: 24px;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 36em;
  margin-bottom: 48px;
}

.intro.close {
  margin-bottom: 36px;
}

.h2big {
  font-size: clamp(34px, 4vw, 56px);
  text-wrap: balance;
}

.h2mid {
  font-size: clamp(30px, 3.4vw, 46px);
  margin-bottom: 28px;
}

.endcta {
  padding-top: 72px;
  padding-bottom: 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.endcta h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  text-wrap: balance;
}

.endcta .small-print {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 40em;
  line-height: 1.6;
}

.goodtoknow {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 28px;
  background: #fff;
}

.goodtoknow .i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 800;
}

.goodtoknow p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64em;
}

/* Hero pictures made of floating cards: placed freely on a computer, stacked on a phone. */
.heroart {
  position: relative;
  height: 380px;
}

.heroart > .card {
  position: absolute;
}

/* ---------- Animations ---------- */

.bubble {
  animation: pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.float {
  animation: floaty 7s ease-in-out infinite;
}

.typing i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--soft-purple);
  margin-right: 3px;
  animation: blink 1.4s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.2s;
}

.typing i:nth-child(3) {
  animation-delay: 0.4s;
}

.bar {
  height: 10px;
  border-radius: 5px;
  transform-origin: left;
  animation: grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.d1 {
  animation-delay: 0.1s;
}
.d2 {
  animation-delay: 0.2s;
}
.d3 {
  animation-delay: 0.3s;
}
.d4 {
  animation-delay: 0.4s;
}
.d5 {
  animation-delay: 0.5s;
}
.d6 {
  animation-delay: 0.6s;
}
.d7 {
  animation-delay: 0.7s;
}
.d8 {
  animation-delay: 0.8s;
}
.d9 {
  animation-delay: 0.9s;
}
.d10 {
  animation-delay: 1s;
}
.d11 {
  animation-delay: 1.1s;
}
.d12 {
  animation-delay: 1.2s;
}
.d14 {
  animation-delay: 1.4s;
}
.d18 {
  animation-delay: 1.8s;
}

/* Animations below the first screen wait until they are scrolled into view (site.js adds .in). */
.js [data-reveal]:not(.in),
.js [data-reveal]:not(.in) * {
  animation-play-state: paused !important;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--r, 0deg));
  }
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.25;
  }
  30% {
    opacity: 1;
  }
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes fly {
  0% {
    transform: translate(-140px, 120px) rotate(6deg);
  }
  50% {
    transform: translate(320px, 20px) rotate(-6deg);
  }
  100% {
    transform: translate(820px, -120px) rotate(-14deg);
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes wave {
  to {
    transform: translateX(-160px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes stampin {
  0% {
    opacity: 0;
    transform: scale(1.7) rotate(var(--r));
  }
  60% {
    opacity: 1;
    transform: scale(0.95) rotate(var(--r));
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(var(--r));
  }
}

@keyframes fill3 {
  0%,
  24% {
    background: #fff;
    color: var(--purple);
  }
  28%,
  100% {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
  }
}

@keyframes fill4 {
  0%,
  49% {
    background: #fff;
    color: var(--soft-purple);
  }
  53%,
  100% {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
  }
}

@keyframes fill5 {
  0%,
  74% {
    background: #fff;
    color: var(--soft-purple);
  }
  78%,
  100% {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
  }
}

@keyframes lock {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 40px 0 24px;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  max-width: 8.5em;
  text-wrap: balance;
}

.hero h1 .it {
  font-size: 1.12em;
  color: var(--purple);
}

.hero .sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 22em;
}

.stage {
  position: relative;
  height: 640px;
}

.stage .float {
  position: absolute;
}

.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rays {
  transform-box: view-box;
  transform-origin: 110px 110px;
  animation: spin 90s linear infinite;
}

.cloud {
  animation: drift 26s ease-in-out infinite alternate;
}

.cloud.late {
  animation-delay: -12s;
}

.wave {
  animation: wave 9s linear infinite;
}

.plane {
  animation: fly 16s linear infinite;
}

.window {
  position: absolute;
  left: 90px;
  top: 150px;
  width: min(540px, calc(100% - 70px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(59, 18, 102, 0.2);
  border: 1px solid var(--card-line);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--row-line);
  background: #fbf9fd;
}

.window-bar .light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

.window-bar .light.amber {
  background: var(--marigold);
}

.window-bar .light.green {
  background: #1a9b63;
}

.window-bar .address {
  margin-left: 10px;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 6px;
  padding: 3px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.wa-card {
  --r: -4deg;
  left: 0;
  top: 40px;
  width: 262px;
  padding: 14px 16px;
  transform: rotate(-4deg);
}

.wa-card .who {
  font-size: 13px;
  font-weight: 600;
}

.wa-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.wa-msg p,
.wa-typing .typing {
  background: var(--lilac);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 11px;
  font-size: 13px;
  line-height: 1.4;
}

.wa-typing {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.wa-typing .spacer {
  width: 18px;
}

.wa-typing .typing {
  border-radius: 12px;
}

.wa-foot {
  border-top: 1px solid var(--row-line);
  padding-top: 10px;
}

.wa-foot .go {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
}

.bell-card {
  --r: 3deg;
  right: 0;
  bottom: 30px;
  width: 286px;
  padding: 14px 16px;
  transform: rotate(3deg);
  animation-delay: -3s;
}

.portals-chip {
  right: 20px;
  top: 60px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(27, 21, 48, 0.25);
  animation-delay: -1.5s;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: #fff;
}

.track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.track > div {
  display: flex;
  gap: 56px;
}

.track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.track span::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marigold);
}

.day {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.day .line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 23px;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.day .line i {
  display: block;
  height: 100%;
  background: var(--purple);
  transform-origin: left;
  animation: grow 5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.moment {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: pop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* The moments in turn. They follow the line in .day, so the first moment is the second child. */
.day .moment:nth-child(2) {
  animation-delay: 0.2s;
}
.day .moment:nth-child(3) {
  animation-delay: 1.2s;
}
.day .moment:nth-child(4) {
  animation-delay: 2.2s;
}
.day .moment:nth-child(5) {
  animation-delay: 3.2s;
}
.day .moment:nth-child(6) {
  animation-delay: 4.2s;
}

.moment .pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  position: relative;
  z-index: 1;
}

.moment .pin.done {
  background: var(--purple);
  color: #fff;
}

.moment b {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.moment span {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.5;
}

.moment .t {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.06em;
}

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

.numbers > div {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  padding: 22px 22px 20px;
}

.numbers .display {
  font-size: 44px;
  color: var(--purple);
}

.numbers .lbl {
  font-size: 13px;
  margin-top: 4px;
}

.tickets {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ticket {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(59, 18, 102, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.ticket:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(59, 18, 102, 0.14);
}

.stub {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 18px;
  color: #fff;
}

.stub.purple {
  background: var(--purple);
}
.stub.marigold {
  background: var(--marigold);
  color: var(--ink);
}
.stub.teal {
  background: var(--teal);
}
.stub.coral {
  background: #c44b34;
}
.stub.plum {
  background: var(--plum);
}

.stub .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stub .top svg {
  opacity: 0.8;
}

.stub .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stub .vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.stub::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 2px;
  background-image: linear-gradient(#fff 50%, transparent 50%);
  background-size: 2px 12px;
}

.tbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px 44px;
}

.tbody h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  text-wrap: balance;
}

.tbody .copy {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.paste {
  background: var(--lilac);
  border-radius: 18px;
  padding: 20px;
}

.paste .msg {
  font-size: 14px;
  line-height: 1.55;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}

.paste .arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.paste .arrow svg {
  color: var(--purple);
  flex-shrink: 0;
}

.paste .arrow span {
  flex: 1;
  height: 1px;
  background: #d9cfe6;
}

.quote-art {
  background: var(--mint);
  border-radius: 18px;
  padding: 24px;
}

.quote-art .card {
  padding: 22px;
  box-shadow: 0 16px 40px rgba(21, 127, 127, 0.16);
  transform: rotate(1.5deg);
}

.quote-art h3 {
  font-size: 20px;
}

.logo-slot {
  display: inline-block;
  border: 1px dashed #c9c2d6;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--muted);
}

.taxes {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.alerts {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 4px 0;
}

.alerts .notice-line {
  padding: 12px 16px;
}

.alerts .notice-line + .notice-line {
  border-top: 1px solid var(--row-line);
}

.money {
  background: var(--plum);
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.money .lbl {
  color: #c9b3e8;
}

.money .sum {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}

.span2 {
  grid-column: span 2;
}

.tile .foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-in,
.chat-out,
.chat-act {
  padding: 10px 14px;
  font-size: 13px;
  max-width: 280px;
  line-height: 1.4;
}

.chat-in {
  background: #fff;
  border-radius: 14px 14px 14px 4px;
}

.chat-out {
  background: var(--purple);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
}

.chat-act {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  align-self: flex-end;
}

.todo {
  margin-top: auto;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.todo .late {
  color: var(--rust);
  font-weight: 600;
}

.bars {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bar.teal {
  background: var(--teal);
}
.bar.purple {
  background: var(--purple);
}
.bar.coral {
  background: var(--coral);
}
.bar.marigold {
  background: var(--marigold);
}
.bar.plum {
  background: var(--plum);
}
.bar.o7 {
  opacity: 0.7;
}
.bar.o6 {
  opacity: 0.6;
}
.bar.o5 {
  opacity: 0.5;
}
.bar.o4 {
  opacity: 0.4;
}
.bar.o35 {
  opacity: 0.35;
}
.w30 {
  width: 30%;
}
.w35 {
  width: 35%;
}
.w40 {
  width: 40%;
}
.w46 {
  width: 46%;
}
.w48 {
  width: 48%;
}
.w50 {
  width: 50%;
}
.w55 {
  width: 55%;
}
.w62 {
  width: 62%;
}
.w64 {
  width: 64%;
}
.w70 {
  width: 70%;
}
.w80 {
  width: 80%;
}
.w88 {
  width: 88%;
}
.w90 {
  width: 90%;
}
.w92 {
  width: 92%;
}

.why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
  align-items: center;
}

.why.points {
  gap: 32px 72px;
  align-items: start;
}

.stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stamp {
  --r: 0deg;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  background: #fff;
  box-shadow:
    inset 0 0 0 6px #fff,
    inset 0 0 0 7px currentColor;
  transform: rotate(var(--r));
  animation: stampin 0.6s ease-out both;
  transition: transform 0.3s ease;
}

.stamp:hover {
  animation: none;
  transform: rotate(0deg) scale(1.08);
}

.stamp small {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}

/* Each stamp's own tilt, ink and moment, in turn (five inks, sixteen tilts). */
.stamp:nth-child(5n + 1) {
  color: var(--purple);
}
.stamp:nth-child(5n + 2) {
  color: var(--teal);
}
.stamp:nth-child(5n + 3) {
  color: var(--coral-text);
}
.stamp:nth-child(5n + 4) {
  color: var(--plum);
}
.stamp:nth-child(5n + 5) {
  color: var(--gold-text);
}
.stamp:nth-child(1) {
  --r: -6deg;
  animation-delay: 0.1s;
}
.stamp:nth-child(2) {
  --r: 4deg;
  animation-delay: 0.25s;
}
.stamp:nth-child(3) {
  --r: -2deg;
  animation-delay: 0.4s;
}
.stamp:nth-child(4) {
  --r: 7deg;
  animation-delay: 0.55s;
}
.stamp:nth-child(5) {
  --r: -5deg;
  animation-delay: 0.7s;
}
.stamp:nth-child(6) {
  --r: 3deg;
  animation-delay: 0.85s;
}
.stamp:nth-child(7) {
  --r: -8deg;
  animation-delay: 1s;
}
.stamp:nth-child(8) {
  --r: 5deg;
  animation-delay: 1.15s;
}
.stamp:nth-child(9) {
  --r: -3deg;
  animation-delay: 1.3s;
}
.stamp:nth-child(10) {
  --r: 6deg;
  animation-delay: 1.45s;
}
.stamp:nth-child(11) {
  --r: -4deg;
  animation-delay: 1.6s;
}
.stamp:nth-child(12) {
  --r: 2deg;
  animation-delay: 1.75s;
}
.stamp:nth-child(13) {
  --r: -7deg;
  animation-delay: 1.9s;
}
.stamp:nth-child(14) {
  --r: 4deg;
  animation-delay: 2.05s;
}
.stamp:nth-child(15) {
  --r: -2deg;
  animation-delay: 2.2s;
}
.stamp:nth-child(16) {
  --r: 6deg;
  animation-delay: 2.35s;
}

.motto-band {
  margin-top: 120px;
  background: var(--plum);
  color: #f3eff8;
  padding: 96px 0;
  border-radius: 48px 48px 0 0;
  position: relative;
  overflow: hidden;
}

.motto-band .ghost-mark {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 520px;
  height: 520px;
  opacity: 0.16;
  filter: brightness(0) invert(1);
  transform: rotate(-8deg);
}

.motto-band .wrap {
  position: relative;
}

.motto {
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.12;
  color: #fff;
  max-width: 18em;
  margin: 0 0 48px;
}

.motto-band .ol li {
  color: #fff;
  font-size: 17px;
}

.ol.roomy {
  gap: 16px;
}

.motto-band .ol .n {
  background: var(--marigold);
  color: var(--ink);
}

.demo-panel {
  background: var(--marigold);
  border-radius: 40px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

.demo-panel .sun {
  position: absolute;
  right: -40px;
  top: -60px;
  width: 320px;
  height: 320px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  position: relative;
}

.cta h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  text-wrap: balance;
}

.cta .copy {
  font-size: 17px;
  line-height: 1.6;
  color: #3b2f1a;
  max-width: 28em;
}

.contact-card {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 60px rgba(59, 18, 102, 0.18);
}

.contact-card .big {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a.big:hover {
  color: var(--purple);
  text-decoration: underline;
}

.contact-card .sep {
  border-top: 1px solid var(--card-line);
  padding-top: 16px;
}

.contact-card .sep:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-card > [hidden] + .sep {
  border-top: 0;
  padding-top: 0;
}

.contact-card .app-line {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

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

.site-footer {
  border-top: 1px solid var(--line);
}

.footgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 28px;
}

.footgrid .about {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-2);
  max-width: 24em;
}

.footcol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.site-footer a {
  color: #5b556a;
  text-decoration: none;
  font-size: 14px;
}

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

.footbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid #efe9e0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Features ---------- */

.hero-today {
  --r: -3deg;
  left: 0;
  top: 30px;
  width: 290px;
  padding: 16px 18px;
  transform: rotate(-3deg);
}

.hero-enquiry {
  --r: 2deg;
  right: 0;
  top: 0;
  width: 280px;
  padding: 16px 18px;
  transform: rotate(2deg);
  animation-delay: -2s;
}

.hero-quote {
  --r: 1deg;
  left: 90px;
  bottom: 0;
  width: 350px;
  padding: 16px 18px;
  transform: rotate(1deg);
  animation-delay: -4s;
}

.todo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.todo-list .late {
  color: var(--rust);
  font-weight: 600;
}

.form-art {
  padding: 18px 20px;
}

.profile-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-boxes > div {
  background: var(--lilac);
  border-radius: 12px;
  padding: 12px;
}

.their {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.two-ways {
  background: var(--mint);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.two-ways .card {
  padding: 18px;
  box-shadow: 0 16px 40px rgba(21, 127, 127, 0.16);
}

.two-ways .card:first-child {
  transform: rotate(-1.5deg);
}

.two-ways .card:last-child {
  transform: rotate(1.5deg);
}

.two-ways p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.dropzone {
  margin-top: 12px;
  border: 2px dashed #c9bfdc;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--soft-purple);
}

.amend {
  background: var(--plum);
  color: #fff;
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.amend .soft {
  font-size: 12px;
  color: #c9b3e8;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}

.box-tick {
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #c9bfdc;
  background: #fff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.box-tick.on {
  background: var(--purple);
  border-color: var(--purple);
}

/* ---------- Portals ---------- */

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--purple);
  position: relative;
  flex-shrink: 0;
}

.switch::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.switch.off {
  background: #d9d1e6;
}

.switch.off::after {
  right: auto;
  left: 2px;
}

.portal-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}

.portal-rows .is-off {
  color: #736d82;
}

.fare {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--row-line);
  font-size: 13px;
}

.radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c9bfdc;
  display: inline-block;
}

.radio.on {
  border-color: var(--purple);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--purple);
}

.fare .price {
  font-weight: 700;
}

.filters {
  display: flex;
  gap: 6px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.pb-figures {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  font-size: 12px;
}

.pb-figures b {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.pb-figures .warn,
.pb-figures .ok {
  font-weight: 700;
}

.pb-row {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.integration {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.integration .acct {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--lilac);
  border-radius: 12px;
  font-size: 13px;
}

/* ---------- WhatsApp ---------- */

.inbox {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 190px;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(59, 18, 102, 0.14);
  min-height: 420px;
}

.inbox .chats {
  border-right: 1px solid var(--row-line);
  background: #fbf9fd;
}

.chatrow {
  padding: 12px 14px;
  border-bottom: 1px solid var(--row-line);
  font-size: 12px;
}

.chatrow.head {
  font-weight: 600;
  font-size: 13px;
}

.chatrow.here {
  background: var(--lilac);
}

.inbox .thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.thread-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--row-line);
}

.thread-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fbf9fd;
}

.thread-body .line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.msg {
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  line-height: 1.4;
  background: #fff;
}

.msg.mine {
  display: block;
  max-width: none;
  background: var(--purple);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

.thread-body .mine-line {
  align-self: flex-end;
  max-width: 78%;
}

.select-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--row-line);
  background: var(--ink);
  color: #fff;
  flex-wrap: wrap;
}

.select-bar .soft {
  font-size: 12px;
  color: #c9b3e8;
}

.select-bar b {
  font-size: 13px;
}

.inbox .side {
  border-left: 1px solid var(--row-line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inbox .side .enq {
  background: var(--lilac);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
}

.inbox .side .quick {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inbox .side .quick span {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  padding: 6px 8px;
}

/* ---------- Visas ---------- */

.journey {
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.journey li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--ink-2);
  position: relative;
}

.journey li::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #d9cfe6;
}

.journey li:last-child::before {
  display: none;
}

.journey .pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d9cfe6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: var(--soft-purple);
}

.journey .done .pin {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.journey .done::before {
  background: var(--purple);
}

/* ---------- Real screens (owner, 2026-11-16) ----------
   The product's own screenshots (img/product, made by apps/web/site-shots on a made-up agency). Each sits in a plain
   white frame; a phone shot in a dark phone outline. */

.shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(59, 18, 102, 0.14);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot.phone {
  border: 7px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(27, 21, 48, 0.28);
}

/* The hero's window shows the real hotel search. */
.window.shot-window {
  width: min(600px, calc(100% - 40px));
  left: 120px;
  top: 130px;
}

.window-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* The eight things Kliently does. */

.usp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 24px;
}

.usp-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--card-line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.usp-jump a:hover {
  border-color: var(--purple);
  background: var(--lilac);
  color: var(--ink);
}

.usp-jump .n {
  font-family: var(--display);
  font-weight: 800;
  color: var(--purple);
  font-size: 13px;
}

.usp {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.usp.flip {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.usp.flip .usp-art {
  order: -1;
}

.usp-words {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.usp-n {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
}

.usp h3 {
  font-size: clamp(28px, 3vw, 40px);
  text-wrap: balance;
}

.usp-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usp-points li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.usp-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marigold);
}

.usp-art {
  margin: 0;
  position: relative;
}

/* A computer screen with its phone in front, lower right. */
.usp-art.with-phone {
  padding: 0 64px 40px 0;
}

.usp-art.with-phone .shot.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
}

.usp.flip .usp-art.with-phone {
  padding: 0 0 40px 64px;
}

.usp.flip .usp-art.with-phone .shot.phone {
  right: auto;
  left: 0;
}

/* A product page's own band of real screens. */
.real {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
  align-items: start;
}

.real.one {
  grid-template-columns: minmax(0, 1fr);
}

.real figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.real figcaption {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.real.tall {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
}

.real-pair {
  max-width: 1040px;
  margin: 0 auto;
}

.real-pair .shot.phone {
  width: 21%;
}

.real-note {
  max-width: 1040px;
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .window.shot-window {
    width: auto;
    max-width: 640px;
  }

  .usp,
  .usp.flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 48px 0;
  }

  .usp.flip .usp-art {
    order: 0;
  }

  .real,
  .real.tall {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .usp-art.with-phone,
  .usp.flip .usp-art.with-phone {
    padding: 0 28px 28px 0;
  }

  .usp-art.with-phone .shot.phone,
  .usp.flip .usp-art.with-phone .shot.phone {
    left: auto;
    right: 0;
    width: 34%;
    border-width: 4px;
    border-radius: 18px;
  }

  .shot {
    border-radius: 12px;
  }

  .usp-jump {
    margin-top: -20px;
  }

  .usp-jump a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* ---------- Pricing ---------- */

.center-hero {
  padding-top: 56px;
  padding-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.center-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  max-width: 12em;
  text-wrap: balance;
}

.center-hero .lead {
  max-width: 30em;
}

/* The two plans (owner, 2026-11-16). Numbers are tested against @crm/contracts (apps/web/test/website-pricing.test.ts). */

.pr-gst-note {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--card-line);
  font-size: 14px;
  color: var(--ink-2);
}

.pr-gst-note b {
  color: var(--plum);
  font-weight: 600;
}

.pr-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.pr-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--card-line);
  box-shadow: 0 24px 60px rgba(59, 18, 102, 0.08);
}

.pr-plan.pro {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(117, 56, 220, 0.55), rgba(117, 56, 220, 0) 60%), var(--plum);
  border-color: var(--plum);
  color: #fff;
  box-shadow: 0 30px 70px rgba(59, 18, 102, 0.32);
}

.pr-flag {
  position: absolute;
  top: 36px;
  right: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.pr-plan-head h2 {
  font-size: 34px;
}

.pr-for {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.pr-plan.pro .pr-for {
  color: #d9cdee;
}

.pr-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.pr-amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pr-per {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.pr-plan.pro .pr-per,
.pr-plan.pro .pr-gst {
  color: #d9cdee;
}

.pr-gst {
  font-size: 14px;
  color: var(--muted);
  margin-top: -8px;
}

.pr-keys {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--row-line);
  border-bottom: 1px solid var(--row-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  line-height: 1.4;
}

.pr-plan.pro .pr-keys {
  border-color: rgba(255, 255, 255, 0.16);
}

.pr-keys b {
  font-weight: 700;
}

.pr-sub {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.pr-plan.pro .pr-sub {
  color: #d9cdee;
}

.pr-inc-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
}

.pr-plan.pro .pr-inc-title {
  color: var(--marigold);
}

.pr-inc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pr-inc li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.pr-inc .tick {
  margin-top: 1px;
}

.pr-plan.pro .pr-inc li {
  color: #f3eff8;
}

.pr-plan.pro .tick {
  background: var(--marigold);
  color: var(--ink);
}

.pr-cta {
  margin-top: auto;
  padding-top: 8px;
}

.pr-cta .pill {
  width: 100%;
}

.pr-plan.pro .pr-cta .pill {
  background: #fff;
  color: var(--plum);
  box-shadow: none;
}

.pr-plan.pro .pr-cta a.pill:hover {
  background: var(--lavender);
  color: var(--plum);
}

/* Extra users: the little calculator. */

.pr-team,
.pr-setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.pr-team .h2mid,
.pr-setup .h2mid,
.pr-team .lead,
.pr-setup .lead {
  margin-bottom: 0;
}

.pr-calc {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pr-calc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pr-calc-top .lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.pr-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: var(--lilac);
}

.pr-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--plum);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--body);
  box-shadow: 0 2px 6px rgba(59, 18, 102, 0.12);
}

.pr-step:hover {
  background: var(--purple);
  color: #fff;
}

.pr-step:disabled {
  opacity: 0.4;
  cursor: default;
  background: #fff;
  color: var(--plum);
}

.pr-count {
  min-width: 44px;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  color: var(--plum);
}

.pr-calc-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pr-calc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--cream);
}

.pr-calc-row.pro {
  background: var(--lavender);
}

.pr-calc-name {
  font-weight: 700;
  font-size: 15px;
}

.pr-calc-sum {
  font-size: 14px;
  color: var(--muted);
}

.pr-calc-total {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--plum);
}

.pr-calc-foot {
  font-size: 13px;
  color: var(--muted);
}

/* The setup fee. */

.pr-setup-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  border-radius: 24px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pr-setup-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.pr-setup-list .n {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--gold-text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
}

/* The two tables. */

.pr-table-box {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 24px;
  padding: 8px 24px;
}

.pr-compare,
.pr-uses {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pr-compare th,
.pr-compare td,
.pr-uses th,
.pr-uses td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--row-line);
  text-align: left;
  vertical-align: middle;
}

.pr-compare tbody tr:last-child > *,
.pr-uses tbody tr:last-child > * {
  border-bottom: 0;
}

.pr-compare thead th {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
  width: 24%;
}

.pr-compare thead th:first-child {
  width: auto;
}

.pr-compare th[scope='row'],
.pr-uses th[scope='row'] {
  font-weight: 500;
  color: var(--ink-2);
}

.pr-compare td {
  font-weight: 600;
}

.pr-compare .pro {
  background: var(--lilac);
}

.pr-compare thead .pro {
  color: var(--purple);
  border-radius: 14px 14px 0 0;
}

.pr-compare .pr-group th {
  padding-top: 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
  background: transparent;
}

.pr-compare .pr-both {
  text-align: center;
  background: var(--lilac);
}

.pr-yes {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
}

.pr-no {
  color: #b9b0c6;
  font-weight: 600;
}

/* AI credits. */

.pr-credits {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.pr-uses-box {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 24px;
  padding: 8px 24px 20px;
}

.pr-uses thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.pr-uses thead th:last-child,
.pr-uses td {
  text-align: right;
  white-space: nowrap;
}

.pr-uses td b {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--plum);
  font-family: var(--display);
  font-size: 17px;
  margin-right: 10px;
}

.pr-uses td span {
  display: inline-block;
  min-width: 7.5em;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}

.pr-table-foot {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px 0;
}

.pr-topup {
  border-radius: 24px;
  padding: 32px;
  background: var(--ink);
  color: #f3eff8;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pr-topup .eyebrow {
  color: var(--marigold);
}

.pr-topup-price {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pr-topup-price b {
  font-weight: 800;
  color: #fff;
}

.pr-topup-price span {
  font-family: var(--body);
  font-size: 16px;
  letter-spacing: 0;
  color: #cfc8da;
}

.pr-gauge-bar {
  display: flex;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.pr-gauge-bar i {
  display: block;
  height: 100%;
  transform-origin: left;
  animation: grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pr-gauge-bar i.m {
  width: 57%;
  background: var(--purple);
}

.pr-gauge-bar i.t {
  width: 43%;
  background: var(--marigold);
  animation-delay: 0.5s;
}

.pr-gauge-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  font-size: 13px;
  color: #cfc8da;
}

.pr-gauge-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}

.pr-gauge-legend i.m {
  background: var(--purple);
}

.pr-gauge-legend i.t {
  background: var(--marigold);
}

.pr-topup-points {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.pr-topup-points li::marker {
  color: var(--marigold);
}

.pr-topup-scale {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.5;
}

.pr-topup-scale b {
  color: var(--marigold);
}

/* Back to the product pages. */

.pr-inside {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pr-inside-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--card-line);
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.pr-inside-link b {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.pr-inside-link b::after {
  content: ' →';
  color: var(--purple);
}

.pr-inside-link span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.pr-inside-link:hover {
  color: var(--ink);
  border-color: var(--purple);
  transform: translateY(-3px);
}

@media (max-width: 1100px) {
  .pr-inside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pr-plans,
  .pr-team,
  .pr-setup,
  .pr-credits {
    grid-template-columns: minmax(0, 1fr);
  }

  .pr-team,
  .pr-setup {
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .pr-plan {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .pr-flag {
    top: 26px;
    right: 22px;
  }

  .pr-calc,
  .pr-topup {
    padding: 22px;
  }

  .pr-calc-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pr-calc-sum {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .pr-calc-total {
    text-align: right;
  }

  .pr-table-box,
  .pr-uses-box {
    padding: 4px 12px 14px;
  }

  .pr-compare,
  .pr-uses {
    font-size: 14px;
  }

  .pr-compare th,
  .pr-compare td,
  .pr-uses th,
  .pr-uses td {
    padding: 12px 6px;
  }

  .pr-compare thead th {
    font-size: 16px;
    width: 26%;
  }

  .pr-uses td {
    white-space: normal;
  }

  .pr-uses td b {
    margin-right: 0;
  }

  .pr-uses td span {
    display: block;
    min-width: 0;
    text-align: right;
    margin-top: 4px;
    white-space: nowrap;
  }

  .pr-inside {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- About ---------- */

.desk {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--lavender);
}

.desk svg {
  display: block;
  width: 100%;
  height: auto;
}

.motto-quote {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 20em;
}

.motto-by {
  margin-top: 14px;
  font-size: 14px;
}

.tl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl li {
  border-top: 3px solid var(--purple);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl b {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.tl span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* The drawing of the desk across the top, two colour blocks under it. */
.about-art {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-art .desk {
  grid-column: 1 / -1;
  min-height: 0;
}

.about-block {
  min-height: 150px;
}

.about-block {
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.about-block .block-words {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.plum-block {
  background: var(--plum);
  color: #fff;
}

.plum-block .eyebrow {
  color: #f5b342;
}

.gold-block {
  background: var(--marigold);
  color: var(--ink);
}

.steam {
  animation: steam 3.2s ease-in-out infinite;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.counter-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Book a demo ---------- */

.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 56px 0 96px;
}

.two h1 {
  font-size: clamp(42px, 5vw, 72px);
  max-width: 9em;
  text-wrap: balance;
}

.two .lead {
  font-size: 18px;
}

.reach {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reach .big {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.reach a.big:hover {
  color: var(--purple);
  text-decoration: underline;
}

.reach .pill {
  width: fit-content;
  height: 44px;
}

.demo-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-form h2 {
  font-size: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label,
.fieldset legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field .opt {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  height: 50px;
  border: 1px solid #d9d1e6;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  width: 100%;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field textarea {
  height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a8496;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #eadff8;
}

.field input[aria-invalid='true'] {
  border-color: var(--coral-text);
}

.field .error {
  font-size: 13px;
  color: var(--coral-text);
  font-weight: 500;
}

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

.checks2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fieldset legend {
  padding: 0;
  margin-bottom: 8px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--purple);
  flex-shrink: 0;
}

/* The trap field for robots: off screen, never seen or reached by people. */
.trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.send-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 14px;
  line-height: 1.5;
  color: var(--coral-text);
  font-weight: 500;
}

.thanks {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.thanks h2 {
  font-size: 30px;
  text-wrap: balance;
}

.thanks .tick {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.thanks p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Downloads ---------- */

.app-window {
  left: 30px;
  top: 20px;
  width: 420px;
  overflow: hidden;
}

.app-window .bar-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--row-line);
  background: #fbf9fd;
}

.app-window .bar-top img {
  width: 18px;
  height: 18px;
}

.app-window .bar-top .lbl {
  margin-left: auto;
}

.app-window .rows {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-window .rows > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 10px 12px;
  background: var(--lilac);
  border-radius: 10px;
}

.code-card {
  --r: 3deg;
  right: 0;
  bottom: 20px;
  width: 280px;
  padding: 14px 16px;
  transform: rotate(3deg);
}

.code-card .t {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.code-card .d {
  font-size: 12px;
  color: #4a4556;
  line-height: 1.4;
}

.notice {
  font-size: 16px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 20px 24px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.platform {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.platform__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.platform__head .os {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--lilac);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform__title {
  font-size: 26px;
}

.platform__downloads {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download .pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: auto;
  min-height: 56px;
  padding: 10px 24px;
  width: 100%;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

.download .pill.ghost {
  border-color: #cdbfe3;
}

.button__sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.92;
}

.download__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.platform__hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.platform__missing {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--lilac);
  border-radius: 14px;
  padding: 14px 16px;
}

.help__title {
  margin: 24px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--card-line);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.help {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: help;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help li {
  counter-increment: help;
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.help li::before {
  content: counter(help);
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--purple);
  font-weight: 700;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.help strong {
  color: var(--ink);
}

.help__note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sand);
  font-size: 14px;
  line-height: 1.5;
  color: #3b2f1a;
}

.address {
  white-space: nowrap;
}

.in-browser {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
  overflow-wrap: anywhere;
}

/* ---------- Security ---------- */

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

.wall {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  animation: lock 0.7s ease-out both;
}

.wall:nth-child(1) {
  animation-delay: 0.1s;
}

.wall:nth-child(2) {
  animation-delay: 0.4s;
  border-color: var(--purple);
  box-shadow: 0 16px 40px rgba(117, 56, 220, 0.16);
}

.wall:nth-child(3) {
  animation-delay: 0.7s;
}

.wall b {
  font-size: 13px;
}

.wall span {
  background: var(--lilac);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--ink-2);
}

/* ---------- Not found ---------- */

.lost {
  padding-top: 72px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.lost h1 {
  font-size: clamp(42px, 5vw, 72px);
  max-width: 11em;
  text-wrap: balance;
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 0 16px;
  }

  .stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
  }

  .stage .float,
  .stage .window {
    position: static;
    width: auto;
    max-width: 520px;
    transform: none;
    animation: none;
  }

  .stage .portals-chip {
    width: fit-content;
  }

  .scene {
    display: none;
  }

  .tbody {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }

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

  .cta {
    grid-template-columns: 1fr;
  }

  .day {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .day .line {
    display: none;
  }

  .pagehero,
  .pagehero.wide-art {
    grid-template-columns: 1fr;
    padding: 32px 0 24px;
  }

  .feat {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }

  .feat.flip .art {
    order: 0;
  }

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

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

@media (max-width: 900px) {
  .inbox {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .inbox .chats,
  .inbox .side {
    display: none;
  }

  .two {
    grid-template-columns: 1fr;
    padding: 32px 0 64px;
  }

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

  .footgrid > :first-child {
    grid-column: 1 / -1;
  }

  .platforms {
    grid-template-columns: 1fr;
  }

  .walls {
    gap: 10px;
  }
}

/* Seven links (Guides joined them on 2026-11-22): a little less room each on a small laptop or a tablet. */
@media (max-width: 1100px) {
  .navpill a {
    padding: 9px 11px;
  }
}

@media (max-width: 860px) {
  .navpill {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-cta {
    margin-left: auto;
  }

  /* The phone menu: the same links, as a list under the header. */
  .site-header.open .navpill {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% - 4px);
    margin: 0;
    border-radius: 22px;
    padding: 8px;
    gap: 2px;
    box-shadow: 0 24px 60px rgba(59, 18, 102, 0.18);
  }

  .site-header.open .navpill a {
    font-size: 17px;
    padding: 14px 16px;
    border-radius: 14px;
  }
}

@media (max-width: 720px) {
  .pt96,
  .pt104,
  .pt112,
  .pt120 {
    padding-top: 72px;
  }

  .pt80,
  .pt88 {
    padding-top: 60px;
  }

  .panel {
    padding: 14px;
  }

  .row {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    height: 68px;
    gap: 12px;
  }

  .nav .brand {
    font-size: 26px;
  }

  .nav-cta.pill.small {
    padding: 0 14px;
  }

  .ticket {
    grid-template-columns: 1fr;
  }

  .stub {
    flex-direction: row;
    align-items: center;
    padding: 14px 22px;
  }

  .stub .top {
    gap: 14px;
    align-items: center;
  }

  .stub .vert {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .stub .num {
    font-size: 40px;
  }

  .stub::after {
    display: none;
  }

  .tbody {
    padding: 24px 20px;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento .tile {
    min-height: 0;
  }

  .span2 {
    grid-column: span 1;
  }

  .why {
    grid-template-columns: 1fr;
  }

  /* One list on a phone: the gap between the two halves is the gap between their points. */
  .why.points {
    row-gap: 16px;
  }

  .numbers {
    gap: 10px;
  }

  .numbers > div {
    padding: 16px 14px;
  }

  .numbers .display {
    font-size: 36px;
  }

  .day {
    grid-template-columns: 1fr;
  }

  .grid3,
  .grid2,
  .steps {
    grid-template-columns: 1fr;
  }

  .grid2.tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .band {
    padding: 56px 0;
    border-radius: 32px 32px 0 0;
  }

  .motto-band {
    padding: 64px 0;
    border-radius: 32px 32px 0 0;
    margin-top: 88px;
  }

  .motto-band .ghost-mark {
    width: 300px;
    height: 300px;
    right: -90px;
  }

  .demo-panel {
    padding: 40px 22px;
    border-radius: 28px;
  }

  .demo-panel .sun {
    width: 200px;
    height: 200px;
    right: -60px;
    top: -70px;
  }

  .contact-card {
    padding: 22px;
  }

  /* Hero pictures stack, straight, on a phone. */
  .heroart {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .heroart > .card {
    position: static;
    width: auto;
    transform: none;
    animation: none;
  }

  .stamp {
    width: 102px;
    height: 102px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .stamps {
    gap: 10px;
  }

  .profile-boxes,
  .pb-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-ways {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .demo-form {
    padding: 24px 20px;
  }

  .about-block {
    padding: 18px;
  }

  .about-block .block-words {
    font-size: 18px;
  }

  .tl {
    grid-template-columns: 1fr;
  }

  .platform {
    padding: 22px 18px;
  }

  .walls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wall {
    padding: 10px;
    font-size: 11px;
  }

  .wall span {
    padding: 5px 6px;
  }

  .footbar {
    flex-direction: column;
  }

  .goodtoknow {
    padding: 20px;
    gap: 14px;
  }

  .pb-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .fields2 {
    grid-template-columns: 1fr;
  }

  .checks2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .nav .brand {
    font-size: 24px;
  }

  .nav {
    gap: 8px;
  }

  .nav-cta.pill.small {
    padding: 0 12px;
    font-size: 13px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Legal pages (/privacy, /terms, /refunds; owner, 2026-11-22) ----------
   Plain reading pages: one column of short sections, a small "on this page" list, and a box for the contact. */

.legal-hero {
  padding-top: 56px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 50em;
}

.legal-hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
}

.legal-hero .updated {
  font-size: 14px;
  color: var(--muted);
}

.legal {
  max-width: 46em;
  padding-bottom: 96px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.legal .toc {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px 22px;
  margin-bottom: 40px;
}

.legal .toc ol {
  margin: 10px 0 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 28px;
  font-size: 15px;
}

.legal .toc li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.legal section {
  margin-top: 40px;
  scroll-margin-top: 24px;
}

.legal h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}

.legal h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 22px 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: 12px;
}

.legal ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong {
  color: var(--ink);
}

.legal a {
  overflow-wrap: anywhere;
}

.legal .contact-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px 22px;
  margin-top: 14px;
}

.legal .contact-box + p {
  margin-top: 14px;
}

.legal .contact-box p + p {
  margin-top: 4px;
}

.legal .rule {
  border-left: 3px solid var(--purple);
  padding: 2px 0 2px 16px;
  margin-top: 14px;
}

@media (max-width: 720px) {
  .legal-hero {
    padding-top: 32px;
  }

  .legal .toc ol {
    columns: 1;
  }

  .legal {
    font-size: 15px;
  }
}

/* Features → the pages that say more about each part, and who it is for (2026-11-22). */
.more-reading {
  padding-top: 72px;
}

.more-reading h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  margin-bottom: 22px;
}

.more-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 52em;
}

.more-cols ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.more-cols a {
  font-weight: 600;
  text-decoration: none;
}

.more-cols a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .more-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- Content pages: guides, solution and audience pages, the glossary, the free tools (2026-11-22) ----------
   Made by deploy/site-src/build-content.mjs. A calm reading column like the legal pages: plain boxes with a thin
   line, colour only for links and for what is a warning. */

/* One centred reading column: the title, the words and the call to action line up; tools and the hub are wider. */
.wrap.read {
  max-width: 880px;
}

.wrap.read.wide {
  max-width: 1120px;
}

.wide.article-hero > *,
.wide .article:not(.hub),
.wide .cta-box,
.wide .download-card {
  max-width: 800px;
}

.article-hero {
  padding-top: 40px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-hero h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
}

.article-hero .lead {
  max-width: 40em;
  font-size: 18px;
}

.article-hero .updated {
  font-size: 14px;
  color: var(--muted);
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 14px;
  color: var(--muted);
}

.crumbs li + li::before {
  content: '›';
  padding: 0 8px;
  color: var(--muted-2);
}

.crumbs a {
  color: var(--muted-2);
  text-decoration: none;
}

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

.article {
  padding-bottom: 56px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}

.article > * + * {
  margin-top: 14px;
}

.article h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  color: var(--ink);
  margin-top: 44px;
  scroll-margin-top: 24px;
}

.article h3 {
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 28px;
  scroll-margin-top: 24px;
}

.article h2 + *,
.article h3 + * {
  margin-top: 10px;
}

.article ul,
.article ol {
  padding-left: 24px;
}

.article li + li {
  margin-top: 6px;
}

.article strong {
  color: var(--ink);
}

.article a {
  overflow-wrap: anywhere;
}

.article code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.9em;
  background: var(--lilac);
  border-radius: 6px;
  padding: 1px 5px;
}

.article ul.ticks {
  list-style: none;
  padding-left: 0;
}

.article ul.ticks li {
  position: relative;
  padding-left: 32px;
}

.article ul.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.3em;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--soft-purple);
  border-radius: 4px;
  background: #fff;
}

.article blockquote {
  margin: 14px 0 0;
  border-left: 3px solid var(--lavender);
  background: #fff;
  border-radius: 0 14px 14px 0;
  padding: 12px 18px;
  color: var(--ink);
}

.article blockquote p + p {
  margin-top: 8px;
}

.article pre.sample {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
}

.article pre.sample code {
  background: none;
  padding: 0;
  font-size: inherit;
}

.article .toc {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px 22px;
  margin-bottom: 32px;
}

.article .toc ol {
  margin: 10px 0 0;
  padding-left: 22px;
  font-size: 15px;
}

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

.article .az {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.article .az a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.article .az a:hover {
  background: var(--lilac);
}

/* Tables: a plain grid on a computer; on a phone each row is a small card with each cell labelled. */
.table-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.table-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.table-box th,
.table-box td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--row-line);
}

.table-box th {
  background: var(--lilac);
  color: var(--ink);
  font-weight: 600;
}

.table-box tr:last-child td {
  border-bottom: 0;
}

.article-faq .faq {
  margin-top: 14px;
}

.article-faq .faq > div {
  grid-template-columns: 1fr;
  gap: 8px;
}

.sources,
.related {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 44px;
}

.article .sources ul,
.article .related ul {
  list-style: none;
  padding-left: 0;
}

.sources li {
  font-size: 15px;
}

.sources .checked,
.sources .rule-line {
  color: var(--muted);
  font-size: 14px;
}

.related li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.related li + li {
  margin-top: 14px;
}

.related li a,
.hub-list li a {
  font-weight: 600;
  text-decoration: none;
}

.related li a:hover,
.hub-list li a:hover {
  text-decoration: underline;
}

.related li span,
.hub-list li span {
  font-size: 15px;
  color: var(--muted-2);
}

.related .more {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  font-weight: 600;
}

.related .more a {
  text-decoration: none;
}

.article .hub-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article .hub-list li + li {
  margin-top: 0;
}

.hub-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.article-cta {
  padding-bottom: 88px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 22px 24px;
}

.cta-box p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 30em;
}

/* The free calculators (/tools/…): the boxes on the left, the answer beside them (under them on a phone). */
.calc-section {
  padding-bottom: 24px;
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

html:not(.js) .calc {
  display: none;
}

.calc-off {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 18px;
}

.calc-boxes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
}

.calc fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.calc legend,
.calc .field > label {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 0;
  margin-bottom: 8px;
}

.calc .field {
  display: flex;
  flex-direction: column;
}

.calc .help {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.calc [hidden] {
  display: none;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice > label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-2);
}

.choice > label:has(input:checked) {
  border-color: var(--purple);
  background: var(--lilac);
  color: var(--ink);
}

.choice.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice.two legend {
  grid-column: 1 / -1;
}

.choice input,
.check-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  margin: 0;
  flex-shrink: 0;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}

.calc select,
.calc input[type='text'],
.calc input[type='number'] {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  border: 1px solid #d9d1e6;
  border-radius: 12px;
  background: #fff;
  height: 46px;
  padding: 0 12px;
  min-width: 0;
}

.calc select {
  max-width: 16em;
}

.calc .small-box {
  max-width: 8em;
}

.unit-box {
  display: flex;
  align-items: center;
  border: 1px solid #d9d1e6;
  border-radius: 12px;
  background: #fff;
  max-width: 20em;
}

.unit-box:focus-within {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

.calc .unit-box input[type='text'] {
  border: 0;
  flex: 1;
  outline: none;
  height: 44px;
}

.unit-box .unit {
  padding: 0 12px;
  color: var(--muted-2);
  font-weight: 600;
}

.steppers {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.steppers legend {
  width: 100%;
}

.stepper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stepper > label {
  font-size: 15px;
  color: var(--ink-2);
}

.stepper-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc .stepper-row input[type='number'] {
  width: 4em;
  text-align: center;
}

.step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d9d1e6;
  background: #fff;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
}

.step:hover,
.textbutton:hover {
  background: var(--lilac);
}

.textbutton {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  background: none;
  border: 1px solid #d9d1e6;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}

.tcs-part {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--row-line);
  padding-top: 16px;
}

.tcs-part > [data-show='tcs'] {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tcs-part > [data-show='tcs'][hidden] {
  display: none;
}

.tcs-rate {
  font-size: 15px;
}

.hint summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  width: max-content;
  max-width: 100%;
}

.hint > * + * {
  margin-top: 10px;
}

.hint p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.calc-answer {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
}

.calc-answer .said {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.sums {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--row-line);
}

.sums > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--row-line);
  font-size: 15px;
}

.sums dt {
  color: var(--muted-2);
}

.sums dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.sums .total dt,
.sums .total dd {
  font-weight: 700;
  color: var(--ink);
}

.sums .loss dd,
.sums .loss dt {
  color: var(--coral-text);
}

.calc-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* The quotation template's downloads. */
.downloads-box {
  padding-bottom: 8px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
}

.download-card h2 {
  font-size: 24px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.file-size {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .calc {
    grid-template-columns: 1fr;
  }

  .calc-answer {
    position: static;
  }
}

@media (max-width: 720px) {
  .article-hero {
    padding-top: 24px;
  }

  .article {
    font-size: 16px;
  }

  .article .hub-list {
    grid-template-columns: 1fr;
  }

  .calc-boxes,
  .calc-answer,
  .download-card,
  .cta-box {
    padding: 18px;
  }

  .download-buttons .pill {
    width: 100%;
  }

  /* A table's rows as cards: the first cell as the card's title, every other cell under its column's name. */
  .table-box {
    border: 0;
    background: none;
    border-radius: 0;
  }

  .table-box table,
  .table-box tbody,
  .table-box tr,
  .table-box td {
    display: block;
  }

  .table-box thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .table-box tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px 0;
  }

  .table-box tr + tr {
    margin-top: 10px;
  }

  .table-box td {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    border-bottom: 0;
    padding: 5px 14px;
  }

  .table-box td[data-label]::before {
    content: attr(data-label);
    color: var(--muted-2);
    font-weight: 600;
    flex-shrink: 0;
    max-width: 45%;
  }

  .table-box td[data-label] > * {
    text-align: right;
  }

  .table-box td.row-name {
    display: block;
    font-weight: 600;
    color: var(--ink);
  }
}
