/* AperioFlow public site. Brand colours from brand/README.md; flat fields, one per chapter. */

/* Fonts are served from this site (no third-party font requests). Latin subsets from Fontsource 5.3.0,
   SIL Open Font License 1.1: see fonts/Inter-OFL.txt and fonts/SpaceGrotesk-OFL.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}
:root {
  --night: #05060a;
  --navy: #111629;
  --deep: #0d1120;
  --glow: #214161;
  --glow-dark: #18304a;
  --cyan: #38e8ff;
  --cyan-dark: #1fc4da;
  --paper: #eef1f8;
  --paper-2: #dfe4ef;
  --mint: #34e0a1;
  --amber: #ffb45c;
  --red: #ff6b81;
  --soft: #97a1b5;

  --margin: clamp(16px, 3vw, 44px);
  --gap: 8px;
  --radius: 0px;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* five type steps */
  --t-huge: clamp(96px, 16vw, 260px);
  --t-big: clamp(44px, 6.4vw, 104px);
  --t-mid: clamp(24px, 3vw, 48px);
  --t-body: clamp(16px, 1.15vw, 19px);
  --t-small: 14px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 400 var(--t-body) / 1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
::selection {
  background: var(--cyan);
  color: var(--night);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: var(--margin);
  top: -60px;
  z-index: 20;
  background: var(--cyan);
  color: var(--night);
  padding: 10px 16px;
}
.skip:focus {
  top: 8px;
}
main:focus {
  outline: none;
}

/* ---------- controls ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--cyan);
  color: var(--night);
  font: 600 16px/1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:hover {
  background: var(--paper);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn-paper {
  background: var(--paper);
  color: var(--night);
}
.btn-paper:hover {
  background: var(--cyan);
}
.btn-night {
  background: var(--night);
  color: var(--paper);
}
.btn-night:hover {
  background: var(--navy);
}
.btn-wide {
  width: 100%;
  min-height: 52px;
}
.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-underline-offset 160ms var(--ease), color 160ms var(--ease);
}
.link:hover {
  text-underline-offset: 8px;
}

/* ---------- the bar: takes the colour of the chapter under it ---------- */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 0 var(--margin);
  background: var(--bar-bg, var(--night));
  color: var(--bar-ink, var(--paper));
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.bar[data-on='navy'] {
  --bar-bg: var(--navy);
}
.bar[data-on='paper'] {
  --bar-bg: var(--paper);
  --bar-ink: var(--night);
}
.bar[data-on='cyan'] {
  --bar-bg: var(--cyan);
  --bar-ink: var(--night);
}
.bar[data-on='paper'] .btn,
.bar[data-on='cyan'] .btn {
  background: var(--night);
  color: var(--paper);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.mark-tri {
  stroke: currentColor;
  stroke-width: 4.5;
}
.mark-pulse {
  stroke: var(--cyan);
  stroke-width: 4;
  transition: stroke 300ms var(--ease);
}
.bar[data-on='cyan'] .mark-pulse,
.bar[data-on='paper'] .mark-pulse {
  stroke: var(--glow);
}
.bar nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.bar nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
  text-underline-offset: 10px;
  transition: text-decoration-color 200ms var(--ease), text-underline-offset 200ms var(--ease);
}
.bar nav a:hover {
  text-decoration-color: currentColor;
  text-underline-offset: 6px;
}

/* ---------- hero ---------- */
.chapter {
  position: relative;
}
.hero {
  min-height: 100svh;
  padding: 0 var(--margin) clamp(32px, 5vh, 64px);
  display: grid;
  grid-template-columns: 1fr minmax(0, 34rem);
  grid-template-rows: 1fr auto;
  column-gap: 32px;
  background: var(--night);
}
.hero-ui {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin-top: max(96px, 14vh);
  margin-bottom: 40px;
  background: var(--navy);
  border-radius: 18px;
  padding: 18px;
  font-size: 15px;
  line-height: 1.4;
}
.is-top {
  display: flex;
  gap: 14px;
  padding: 0 4px 14px;
  color: var(--soft);
}
.is-top span:nth-child(2) {
  color: var(--paper);
  font-weight: 600;
}
.is-count {
  margin-left: auto;
}
.is-card {
  background: var(--night);
  border-radius: 12px;
  padding: 16px;
}
.is-card + .is-card {
  margin-top: 8px;
}
.is-quiet {
  /* 0.75, not 0.7: its grey text stays above 4.5:1 on the dark card. */
  opacity: 0.75;
}
.is-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
}
.is-line b {
  color: var(--paper);
}
.lvl {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}
.lvl-error {
  color: var(--red);
  background: rgba(255, 107, 129, 0.14);
}
.lvl-warn {
  color: var(--amber);
  background: rgba(255, 180, 92, 0.13);
}
.is-title {
  margin: 10px 0 4px;
  font-weight: 600;
  color: var(--paper);
}
.is-route {
  color: var(--soft);
}
.is-spark {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 56px;
  margin: 14px 0 12px;
}
.is-spark i {
  flex: 1;
  background: var(--red);
  border-radius: 2px;
  min-height: 3px;
}
.is-task {
  color: #8fa0ff;
}
.is-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.ui-btn {
  padding: 7px 14px;
  border-radius: 10px;
  background: #161c33;
  font-weight: 600;
}
.ui-btn-on {
  background: var(--paper);
  color: var(--night);
}
.hero-title {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: max(88px, 15vh);
  font-size: var(--t-huge);
  line-height: 0.82;
  letter-spacing: -0.045em;
}
.hero-title span {
  display: block;
}
.hero-a {
  color: var(--paper);
}
.hero-b {
  color: var(--cyan);
}
.hero-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr minmax(0, 34rem);
  gap: 32px;
  align-items: end;
}
.hero-lede {
  grid-column: 2;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.4;
}
.hero-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: -8px;
}

/* ---------- showcase: two fields, two pieces of the product ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.panel {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 28px 28px;
}
.panel-plan {
  background: var(--navy);
}
.panel-tell {
  background: var(--glow);
}
.panel-title {
  position: relative;
  z-index: 2;
  font-size: var(--t-big);
  max-width: 9ch;
  margin-bottom: 28px;
}
.panel-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.panel-foot p {
  max-width: 30ch;
}
.panel-foot b {
  display: block;
  font: 700 var(--t-mid) / 1 var(--display);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.panel-foot .btn {
  flex: none;
}

/* The interface fragments: the app's own look (dark surfaces, small type, its status chips). */
[data-ui] {
  font-family: var(--text);
  letter-spacing: 0;
}
.object {
  width: 100%;
  margin: 0 0 40px;
  background: var(--night);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.4;
  border-radius: 0 0 18px 18px;
  padding: 88px 28px 28px;
}
.ui-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.ui-crumb {
  color: var(--soft);
}
.ui-name {
  font: 700 26px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.ui-pct {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.ui-meter {
  height: 8px;
  margin: 14px 0 22px;
  background: #1a2140;
  border-radius: 8px;
  overflow: hidden;
}
.ui-meter span {
  display: block;
  height: 100%;
  background: var(--cyan);
}
.ui-phase {
  background: var(--deep);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
}
.ui-phase-head {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.ui-phase-head span:not(.ui-pct) {
  color: var(--soft);
}
.ui-tasks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.ui-tasks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 10px;
}
.ui-tasks li.is-hover {
  background: #161c33;
}
.chip {
  flex: none;
  width: 94px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 0;
  border-radius: 99px;
}
.chip-done {
  color: var(--mint);
  background: rgba(52, 224, 161, 0.13);
}
.chip-prog {
  color: #8fa0ff;
  background: rgba(79, 107, 255, 0.16);
}
.chip-todo {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
}
.ui-issue {
  margin-left: auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

.object-status {
  background: var(--paper);
  color: var(--night);
}
.st-head {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.st-org {
  font: 700 26px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.st-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff1dc;
  color: #6b3f00;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot-green {
  background: #12a36d;
}
.dot-amber {
  background: #e08a00;
}
.st-row {
  padding: 12px 0;
}
.st-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.st-label span {
  color: #3a4256;
}
.st-bars {
  display: flex;
  gap: 2px;
  height: 30px;
}
.st-bars i {
  flex: 1;
  background: #12a36d;
  border-radius: 2px;
}
.st-bars i.amber {
  background: #e08a00;
}
.st-bars i.red {
  background: #d93a52;
}
.st-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #3a4256;
  font-size: 13px;
}
.st-update {
  margin-top: 16px;
  background: var(--paper-2);
  border-radius: 10px;
  padding: 14px;
}
.st-update p {
  margin: 4px 0 8px;
}
.st-update span {
  color: #3a4256;
  font-size: 13px;
}

/* ---------- features: sentences with switches ---------- */
.band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 20vh;
  padding: 28px var(--margin);
  background: var(--band-bg, var(--night));
  color: var(--band-ink, var(--soft));
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.band-line {
  font: 700 clamp(28px, 3.6vw, 60px) / 1.05 var(--display);
  letter-spacing: -0.03em;
}
.band-more {
  max-width: 62ch;
  font-size: 18px;
  margin-top: 10px;
  display: none;
}
.band[data-on='true'] {
  --band-ink: var(--paper);
}
.band[data-on='true'] .band-more {
  display: block;
  animation: rise 360ms var(--ease) both;
}
.band[data-on='true'][data-tone='cyan'] {
  --band-bg: var(--cyan);
  --band-ink: var(--night);
}
.band[data-on='true'][data-tone='paper'] {
  --band-bg: var(--paper);
  --band-ink: var(--night);
}
.band[data-on='true'][data-tone='glow'] {
  --band-bg: var(--glow);
}
.band[data-on='true'][data-tone='mint'] {
  --band-bg: var(--mint);
  --band-ink: var(--night);
}
.band[data-on='true'][data-tone='navy'] {
  --band-bg: var(--navy);
}
.switch {
  position: relative;
  width: 2.1em;
  height: 1.1em;
  font-size: clamp(30px, 3.6vw, 60px);
  border: 0;
  border-radius: 1em;
  background: #262c3d;
  cursor: pointer;
  transition: background-color 220ms var(--ease);
}
.switch span {
  position: absolute;
  top: 0.12em;
  left: 0.12em;
  width: 0.86em;
  height: 0.86em;
  border-radius: 50%;
  background: var(--soft);
  transition: transform 260ms var(--ease), background-color 220ms var(--ease);
}
.switch[aria-checked='true'] {
  background: var(--night);
}
.switch[aria-checked='true'] span {
  transform: translateX(1em);
  background: var(--paper);
}
.band[data-tone='glow'] .switch[aria-checked='true'],
.band[data-tone='navy'] .switch[aria-checked='true'] {
  background: var(--cyan);
}
.band[data-tone='glow'] .switch[aria-checked='true'] span,
.band[data-tone='navy'] .switch[aria-checked='true'] span {
  background: var(--night);
}
.switch:hover span {
  transform: scale(0.92);
}
.switch[aria-checked='true']:hover span {
  transform: translateX(1em) scale(0.92);
}

/* ---------- pricing: plans that step up ---------- */
.pricing {
  background: var(--paper);
  color: var(--night);
  padding: clamp(96px, 14vh, 180px) var(--margin) clamp(64px, 10vh, 120px);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: end;
}
.pricing-head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: -220px;
}
.pricing-head h2 {
  grid-column: 1 / span 2;
  font-size: var(--t-big);
  max-width: 10ch;
}
.pricing-head p {
  grid-column: 1 / span 2;
  max-width: 34ch;
  margin-top: 20px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 92px;
  color: var(--paper);
}
.step-free {
  min-height: 380px;
  background: var(--navy);
  --strip: #070a16;
}
.step-solo {
  min-height: 500px;
  background: var(--glow);
  --strip: var(--glow-dark);
}
.step-team {
  min-height: 640px;
  background: var(--cyan);
  color: var(--night);
  --strip: var(--cyan-dark);
}
.step h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
}
.price {
  font: 700 clamp(44px, 4.4vw, 72px) / 1 var(--display);
  letter-spacing: -0.04em;
  margin: 14px 0 20px;
}
.price span {
  font: 400 17px/1 var(--text);
  letter-spacing: 0;
}
.step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 17px;
}
.step li + li {
  margin-top: 8px;
}
.step-buy {
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: var(--strip);
  font-weight: 600;
  text-decoration: none;
  transition: padding-left 200ms var(--ease);
}
.step-buy::after {
  content: '→';
  margin-left: auto;
  transition: transform 200ms var(--ease);
}
.step-buy:hover {
  padding-left: 36px;
}
.step-buy:hover::after {
  transform: translateX(6px);
}
.pricing-more {
  margin-top: 28px;
  text-align: right;
}

/* ---------- questions: a band each ---------- */
.faq-title {
  display: flex;
  align-items: end;
  min-height: 40svh;
  padding: 56px var(--margin);
  background: var(--cyan);
  color: var(--night);
}
.faq-title h2 {
  font-size: var(--t-big);
}
.qa {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 56px var(--margin);
  background: var(--night);
}
.qa:nth-child(odd) {
  background: var(--navy);
}
.qa h3 {
  grid-column: 1 / span 5;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.qa p {
  grid-column: 7 / span 6;
  font-size: 18px;
  line-height: 1.5;
  max-width: 60ch;
}

/* ---------- start: the first screen of the app, already open ---------- */
.cta {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  min-height: 90svh;
  padding: 96px var(--margin) 40px;
  background: var(--cyan);
  color: var(--night);
}
.cta-words {
  grid-column: 1 / span 5;
  align-self: end;
}
.cta-words h2 {
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.92;
}
.cta-words p {
  margin-top: 24px;
  max-width: 34ch;
}
.dialog {
  grid-column: 7 / span 5;
  align-self: center;
  width: min(100%, 460px);
  background: var(--navy);
  color: var(--paper);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 70px rgba(5, 6, 10, 0.4); /* taste-skill-ignore: the app's dialog, open above the page */
  font-size: 16px;
}
.dialog h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.dialog label[for] {
  display: block;
  font-size: 14px;
  color: var(--soft);
  margin-bottom: 6px;
}
.dialog input[type='text'],
.dialog input:not([type]) {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: var(--deep);
  color: var(--paper);
  font: inherit;
}
.dialog input:not([type]):focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.seg {
  border: 0;
  margin: 20px 0 0;
  padding: 0;
}
.seg legend {
  font-size: 14px;
  color: var(--soft);
  padding: 0;
  margin-bottom: 6px;
}
.seg-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--deep);
  border-radius: 12px;
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
}
.seg span {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.seg input:checked + span {
  background: var(--cyan);
  color: var(--night);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.dialog-note {
  margin: 16px 0 20px;
  color: #c9d0dd;
  font-size: 15px;
}
.dialog .btn {
  background: var(--cyan);
  color: var(--night);
}
.dialog .btn:hover {
  background: var(--paper);
}

/* ---------- footer: a board of tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  padding: var(--gap);
  background: var(--night);
}
.tile {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy);
  text-decoration: none;
}
.tile-statement {
  grid-column: 1 / span 4;
}
.tile-statement p:first-child {
  font: 500 24px/1.25 var(--display);
  letter-spacing: -0.01em;
}
.tile-nav {
  grid-column: 5 / span 3;
  background: var(--glow);
}
.tile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tile-nav a {
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
}
.tile-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tile-time {
  grid-column: 8 / span 2;
}
.clock b {
  display: block;
  font: 700 var(--t-mid) / 1 var(--display);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}
.tile-app {
  grid-column: 10 / span 3;
  background: var(--glow);
  transition: background-color 200ms var(--ease);
}
.tile-app b {
  font: 700 24px/1.1 var(--display);
}
.tile-app:hover {
  background: var(--glow-dark);
}
.tile-word {
  grid-column: 1 / span 8;
  min-height: 320px;
  background: var(--paper);
  color: var(--night);
  align-items: center;
  justify-content: center;
  font: 700 clamp(48px, 9vw, 150px) / 1 var(--display);
  letter-spacing: -0.045em;
}
.tile-go {
  grid-column: 9 / span 4;
  min-height: 320px;
  background: var(--cyan);
  color: var(--night);
  font: 700 28px/1.1 var(--display);
  transition: background-color 200ms var(--ease);
}
.tile-go svg {
  align-self: end;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  transition: transform 220ms var(--ease);
}
.tile-go:hover {
  background: var(--paper);
}
.tile-go:hover svg {
  transform: translate(6px, -6px);
}

/* ---------- the pricing page ---------- */
.page-head {
  padding: 140px var(--margin) 80px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  background: var(--night);
}
.page-head h1 {
  grid-column: 1 / span 7;
  font-size: var(--t-big);
}
.page-head p {
  grid-column: 8 / span 5;
  font-size: 19px;
}
.table-wrap {
  background: var(--paper);
  color: var(--night);
  padding: 80px var(--margin) 120px;
  overflow-x: auto;
}
.table-wrap h2 {
  font-size: var(--t-mid);
  margin-bottom: 28px;
}
.limits {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 17px;
}
.limits th,
.limits td {
  text-align: left;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid #c8cfdd;
  vertical-align: top;
}
.limits thead th {
  font: 700 24px/1.1 var(--display);
  letter-spacing: -0.02em;
  border-bottom: 3px solid var(--night);
}
.limits thead th span {
  display: block;
  font: 400 17px/1.4 var(--text);
  letter-spacing: 0;
  margin-top: 6px;
}
.limits tbody th {
  font-weight: 600;
  width: 34%;
}
.limits td {
  font-variant-numeric: tabular-nums;
}
.limits tfoot td {
  border: 0;
  padding-top: 24px;
}
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: var(--gap);
}
.note {
  min-height: 260px;
  padding: 32px;
  background: var(--navy);
}
.note:nth-child(2) {
  background: var(--glow);
}
.note:nth-child(3) {
  background: var(--cyan);
  color: var(--night);
}
.note h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
/* ---------- comparison pages ---------- */
.page-head.wide h1 {
  grid-column: 1 / -1;
}
.page-head.wide p {
  grid-column: 1 / span 7;
}
.compare td em {
  font-style: normal;
  font-weight: 600;
  color: #6b3f00;
}
.compare tbody td:nth-child(2) {
  font-weight: 600;
}
.compare-links {
  margin-top: 28px;
  max-width: 70ch;
}
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 96px var(--margin);
  background: var(--night);
}
.split[data-ink='navy'] {
  background: var(--navy);
}
.split h2 {
  grid-column: 1 / span 5;
  font-size: var(--t-mid);
  line-height: 1.05;
}
.split > div,
.split > ul {
  grid-column: 7 / span 6;
  max-width: 62ch;
}
.split p + p {
  margin-top: 18px;
}
.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plain li + li {
  margin-top: 18px;
}
.plain b {
  color: var(--cyan);
}
.sources ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
}
.sources li + li {
  margin-top: 8px;
}
.sources a {
  font-weight: 600;
}

.lost {
  min-height: 100svh;
  padding: 140px var(--margin) 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.lost h1 {
  font-size: var(--t-huge);
  line-height: 0.82;
  color: var(--cyan);
}
.lost div {
  max-width: 36rem;
}
.lost p + p {
  margin-top: 24px;
}

/* ---------- entrances (only once the script has marked the page) ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.js [data-rise] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-rise].in {
  opacity: 1;
  transform: none;
}
.hero-title span {
  animation: rise 900ms var(--ease) both;
}
.hero-b {
  animation-delay: 120ms !important;
}
.object-plan,
.object-status {
  transition: transform 1200ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
  .js [data-rise] {
    transform: none;
  }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .panel {
    min-height: 78svh;
  }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hero-ui {
    grid-column: 1;
    grid-row: 3;
    margin: 40px 0 0;
    max-width: 560px;
  }
  .hero-foot {
    grid-row: 2;
    margin-top: 40px;
    grid-template-columns: minmax(0, 40rem);
  }
  .hero-lede,
  .hero-actions {
    grid-column: 1;
  }
  .steps,
  .pricing-head {
    grid-template-columns: 1fr;
  }
  .pricing-head {
    margin-bottom: 40px;
  }
  .pricing-head h2,
  .pricing-head p {
    grid-column: 1;
  }
  .step {
    min-height: 0 !important;
  }
  .qa h3,
  .qa p {
    grid-column: 1 / -1;
  }
  .cta-words,
  .dialog {
    grid-column: 1 / -1;
  }
  .dialog {
    width: 100%;
    max-width: 560px;
  }
  .tile-statement,
  .tile-nav,
  .tile-time,
  .tile-app {
    grid-column: span 6;
  }
  .tile-word,
  .tile-go {
    grid-column: 1 / -1;
  }
  .notes {
    grid-template-columns: 1fr;
  }
  .split h2,
  .split > div,
  .split > ul,
  .page-head.wide p {
    grid-column: 1 / -1;
  }
  .page-head h1,
  .page-head p {
    grid-column: 1 / -1;
  }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .bar {
    gap: 12px;
    height: 56px;
  }
  .bar nav a:not([href='/pricing']) {
    display: none;
  }
  .bar nav {
    gap: 16px;
  }
  .bar .btn {
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }
  .wordmark span {
    display: none;
  }
  .hero-title {
    font-size: 25vw;
    margin-top: 16vh;
  }
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-ui {
    font-size: 14px;
    padding: 12px;
  }
  .hero-lede,
  .hero-actions {
    grid-column: 1;
  }
  .hero-actions {
    margin-top: 0;
  }
  .panel {
    padding: 0 16px 24px;
  }
  .object {
    font-size: 14px;
    padding: 56px 16px 16px;
  }
  .chip {
    width: 84px;
  }
  .ui-issue {
    display: none;
  }
  .panel-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .panel-foot .btn {
    width: 100%;
  }
  .band {
    min-height: 132px;
    padding: 24px 16px;
  }
  .band-line {
    font-size: 6.6vw;
  }
  .band-more {
    font-size: 16px;
  }
  .switch {
    font-size: 30px;
  }
  .split {
    padding: 64px 16px;
  }
  .page-head.wide h1 {
    font-size: 8.6vw;
  }
  .pricing,
  .faq-title,
  .qa,
  .table-wrap,
  .page-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pricing-head h2 {
    font-size: 12vw;
  }
  .price {
    font-size: 44px;
  }
  .faq-title {
    min-height: 30svh;
  }
  .faq-title h2 {
    font-size: 13vw;
  }
  .qa {
    gap: 12px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .qa h3 {
    font-size: 22px;
  }
  .qa p {
    font-size: 17px;
  }
  .cta {
    padding: 88px 16px 24px;
    align-content: space-between;
    min-height: 84svh;
  }
  .cta-words h2 {
    font-size: 13vw;
  }
  .tiles {
    gap: 6px;
    padding: 6px;
  }
  .tile {
    padding: 20px;
    min-height: 170px;
  }
  .tile-word {
    order: -2;
    min-height: 160px;
    font-size: 13vw;
  }
  .tile-go {
    order: -1;
    min-height: 160px;
  }
  .tile-statement {
    grid-column: 1 / -1;
  }
  .notes {
    padding: 6px;
    gap: 6px;
  }
}

/* ---------- the blog (posts come from the CRM through the site API) ---------- */
.post-head {
  align-items: start;
  row-gap: 18px;
  padding-bottom: 64px;
}
.post-head .post-kicker,
.post-head .post-date {
  grid-column: 1 / -1;
  font-size: 16px;
  color: var(--soft);
}
.post-head .post-kicker a {
  color: var(--cyan);
}
.post-head h1 {
  font-size: var(--t-mid);
  line-height: 1.05;
  max-width: 26ch;
}
.post,
.post-list {
  background: var(--paper);
  color: var(--night);
  padding: 72px var(--margin) 120px;
}
.post-body {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.7;
}
.post-body > * {
  margin: 0;
}
.post-body > * + * {
  margin-top: 1.1em;
}
.post-body > p:first-child {
  font-size: 1.15em;
  line-height: 1.6;
}
.post-body h2,
.post-body h3,
.post-body h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 2em;
}
.post-body h2 + *,
.post-body h3 + *,
.post-body h4 + * {
  margin-top: 0.6em;
}
.post-body h2 {
  font-size: 30px;
}
.post-body h3 {
  font-size: 23px;
}
.post-body h4 {
  font-size: 19px;
}
.post-body a {
  color: #0b5f6e;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.post-body ul,
.post-body ol {
  padding-left: 1.4em;
}
.post-body li + li {
  margin-top: 0.4em;
}
.post-body li::marker {
  color: #0b5f6e;
}
.post-body blockquote {
  border-left: 4px solid var(--cyan-dark);
  padding-left: 20px;
  color: #2b3245;
}
.post-body code {
  font-size: 0.9em;
  background: #dde3ef;
  padding: 1px 5px;
  overflow-wrap: anywhere; /* a long address in the text wraps instead of widening the page on a phone */
}
.post-body pre {
  background: var(--night);
  color: var(--paper);
  padding: 20px;
  overflow-x: auto;
  font-size: 15px;
  line-height: 1.55;
}
.post-body pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}
.post-body hr {
  border: 0;
  border-top: 1px solid #c8cfdd;
  margin: 2.4em 0;
}
.post-body img {
  max-width: 100%;
  height: auto;
}
.post-table {
  overflow-x: auto;
}
.post-table table {
  border-collapse: collapse;
  font-size: 16px;
}
.post-table th,
.post-table td {
  text-align: left;
  padding: 10px 18px 10px 0;
  border-bottom: 1px solid #c8cfdd;
  vertical-align: top;
}
.post-cta {
  max-width: 68ch;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #c8cfdd;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.post-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1040px;
  border-top: 1px solid #c8cfdd;
}
.post-list li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid #c8cfdd;
}
.post-list li > time {
  grid-row: 1 / span 2;
  padding-top: 6px;
  font-size: 15px;
  color: #4b5468;
}
.post-list h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 32ch;
}
.post-list h2 a {
  text-decoration: none;
}
.post-list h2 a:hover,
.post-list h2 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.post-list p {
  margin-top: 12px;
  max-width: 68ch;
  color: #2b3245;
}
.post-list > p {
  margin: 0;
}
@media (max-width: 720px) {
  .post-head {
    padding-bottom: 48px;
  }
  .post,
  .post-list {
    padding: 40px 16px 80px;
  }
  .post-body {
    font-size: 17px;
  }
  .post-body h2 {
    font-size: 25px;
  }
  .post-body h3 {
    font-size: 21px;
  }
  .post-list li {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }
  .post-list li > time {
    grid-row: auto;
    order: 2;
    padding-top: 0;
    margin-top: 8px;
  }
  .post-list li > p {
    order: 3;
  }
  .post-list h2 {
    font-size: 23px;
  }
}
