:root {
  --ink: #1b1a17;
  --soft: #5f5c55;
  --faint: #6f6c65;
  --rule: #e4e3df;
  --paper: #fcfcfb;
  --band: #f1f4f3;
  /* Teal taken from the backdrop in Neil's photo; used sparingly */
  --accent: #1f5c57;
  --accent-dark: #164541;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 20px/1.55 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 16px; top: -60px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; background: var(--ink); color: var(--paper); font: 500 15px/1 var(--sans); z-index: 10; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Unfilled placeholder content: obvious in preview, and the build refuses to ship it */
.todo { outline: 1px dashed #c9a227; outline-offset: 4px; }

.top, main, .bottom { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header and footer use a quiet system sans so the body text stays the voice */
.top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 32px; padding-bottom: 32px;
  font: 400 15px/1 var(--sans);
}
.top .name { font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.top a { display: inline-flex; align-items: center; min-height: 44px; }
.nav { display: flex; gap: 22px; }
.nav a { min-width: 44px; justify-content: center; }
.nav a[aria-current="page"] { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.top a { white-space: nowrap; }
@media (max-width: 440px) { .nav { gap: 14px; } .top { font-size: 14px; } }
/* On the narrowest phones the hero's booking button sits just below, so the header drops its copy */
@media (max-width: 440px) { .nav .js-book { display: none; } }
.bottom {
  padding-top: 24px; padding-bottom: 48px;
  border-top: 1px solid var(--rule);
  font: 400 14px/1.5 var(--sans); color: var(--faint);
}
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.bottom a { color: var(--soft); display: inline-flex; align-items: center; min-height: 44px; }
.foot-note { margin: 8px 0 0; font-size: 13px; }

section { padding: 44px 0 32px; }
section + section { border-top: 1px solid var(--rule); }

h1 {
  font-weight: 400; font-size: clamp(36px, 5.6vw, 52px); line-height: 1.1; letter-spacing: -.015em;
  margin: 56px 0 28px;
}
h2 { font-weight: 500; font-size: 28px; line-height: 1.25; letter-spacing: -.005em; margin: 0 0 18px; }
h3 { font-weight: 500; font-size: 20px; margin: 0 0 6px; }

.intro { padding-bottom: 52px; }
.intro p { font-size: 22px; color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.actions span { font-size: 17px; color: var(--faint); }

.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 14px 24px;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 500 16px/1 var(--sans); border-radius: 3px;
  transition: background .15s;
}
.button:hover { background: var(--accent-dark); color: #fff; }

/* About */
.about { display: grid; grid-template-columns: 168px 1fr; gap: 32px; align-items: start; }
.photo { display: block; width: 168px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.who { font-weight: 500; margin-bottom: 8px; }
.small { font-size: 17px; }
@media (max-width: 720px) {
  .about { grid-template-columns: 112px 1fr; gap: 20px; }
  .photo { width: 112px; }
}
@media (max-width: 440px) {
  .about { grid-template-columns: 1fr; gap: 18px; }
  .photo { width: 112px; }
}

/* Why */
.pull {
  font-size: clamp(26px, 3.6vw, 32px); line-height: 1.25; letter-spacing: -.01em;
  margin: 4px 0 20px; padding-left: 20px; border-left: 3px solid var(--accent);
}

/* 90 days */
.months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 8px 0 28px; }
.num { display: block; font-size: 52px; line-height: 1; color: var(--accent); margin-bottom: 12px; font-weight: 400; }
.month p { font-size: 18px; color: var(--soft); margin-bottom: 14px; }
.get-label { font-size: 16px; font-style: italic; color: var(--faint); margin: 0 0 6px; }
.get { margin: 0; padding: 0; list-style: none; font-size: 17px; }
.get li { padding: 7px 0; border-top: 1px solid var(--rule); line-height: 1.35; }
@media (max-width: 720px) {
  .months { grid-template-columns: 1fr; gap: 32px; }
  .num { font-size: 40px; margin-bottom: 8px; }
}

/* Proof */
.proof { margin: 0 0 26px; padding-left: 20px; border-left: 2px solid var(--rule); }
.proof blockquote { margin: 0; }
.proof blockquote p { margin-bottom: 6px; font-style: italic; }
.proof figcaption { font: 400 14px/1.4 var(--sans); color: var(--faint); }

/* Past companies */
.past p { font-size: 17px; color: var(--soft); }
/* Even grid: 4 x 2 on desktop, 2 x 4 on phones. Each logo is centred in an
   equal cell; heights are set per logo so wide and square marks carry similar weight */
.logos {
  list-style: none; margin: 28px 0 12px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px;
}
.logos li { height: 40px; display: flex; align-items: center; justify-content: center; }
.logos img { display: block; height: var(--h, 20px); width: auto; max-width: none; }
.lg-careem, .lg-lingo { --h: 19px; }
.lg-wonjo { --h: 21px; }
.lg-ff { --h: 24px; }
.lg-ef { --h: 10px; }
.lg-shell, .lg-bp { --h: 34px; }
.lg-voda { --h: 32px; }

/* Full-width tinted band behind a section, while its content stays in the column */
.band {
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  border-top: 0;
}
.band + section { border-top: 0; }

/* Pricing */
.price { font-size: clamp(44px, 6vw, 56px); line-height: 1; letter-spacing: -.015em; margin: 4px 0 14px; }
.price span { font-size: 20px; letter-spacing: 0; color: var(--soft); }
.costs { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 17px; }
.costs th, .costs td { padding: 10px 0; border-bottom: 1px solid #dde2e0; text-align: left; vertical-align: top; font-weight: 400; }
.costs th[scope="row"] { color: var(--soft); padding-right: 16px; }
.costs td { text-align: right; padding-left: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--soft); }
.costs thead th { font: 500 13px/1.3 var(--sans); color: var(--faint); padding-bottom: 8px; border-bottom-color: #cfd6d3; }
.costs thead th + th { text-align: right; }
.costs .inc { color: var(--accent); }
.costs tfoot th, .costs tfoot td { border-bottom: 0; padding-top: 14px; color: var(--ink); font-weight: 500; }
.costs tfoot td:first-of-type { text-decoration: line-through; text-decoration-color: var(--faint); color: var(--soft); font-weight: 400; }
.costs .you { color: var(--accent); }

/* Subscription tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 8px; }
.tier { background: var(--paper); border-radius: 4px; padding: 22px 20px 18px; display: flex; flex-direction: column; }
.tier h3 { font-size: 20px; margin-bottom: 8px; }
.tier-price { font-size: 32px; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 16px; }
.tier-price span { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; color: var(--soft); }
.tier .get { flex: 1; }
.tier-up { background: transparent; border: 1px solid #cfd6d3; }
.tier-link { font-size: 16px; margin: 14px 0 0; }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 44px; padding: 14px 40px 14px 0; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px;
  background: var(--accent); transition: transform .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--soft); margin: -4px 40px 18px 0; }

/* Ask AI: a full-width dark panel with prefilled questions for ChatGPT, Claude and Gemini */
.ask {
  color: #f4f3ef;
  /* Paints the dark background edge to edge without a seam at the column edges */
  border-image: linear-gradient(var(--ink) 0 0) fill 0 / / 0 100vmax;
  padding: 56px 0; border-top: 0;
}
.ask + section { border-top: 0; }
.ask-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ask h2 { font-size: clamp(30px, 4.4vw, 40px); font-weight: 400; letter-spacing: -.012em; line-height: 1.15; margin-bottom: 14px; }
.ask p { color: #c9c7c0; margin: 0; max-width: 34ch; }
.askbtns { display: grid; gap: 12px; min-width: 220px; }
.askbtn {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px;
  background: #fff; color: var(--ink); border-radius: 999px; text-decoration: none;
  font: 500 16px/1 var(--sans); transition: transform .15s, box-shadow .15s;
}
.askbtn svg { width: 22px; height: 22px; flex: none; }
.askbtn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ask :focus-visible { outline-color: #fff; }
@media (max-width: 720px) {
  .ask-inner { grid-template-columns: 1fr; gap: 28px; }
  .askbtns { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .askbtn { transition: none; } .askbtn:hover { transform: none; } }

/* Blog */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 26px 0; border-top: 1px solid var(--rule); }
.post-list li:last-child { border-bottom: 1px solid var(--rule); }
.post-list li:first-child { border-top: 0; padding-top: 4px; }
.post-list h2 { font-size: 24px; margin-bottom: 8px; }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list p { color: var(--soft); margin-bottom: 6px; }
.byline { font: 400 14px/1.4 var(--sans); color: var(--faint); }

.post { padding: 8px 0 32px; }
.post-kicker { font: 500 14px/1 var(--sans); margin: 40px 0 0; }
.post-kicker a { text-decoration: none; color: var(--accent); }
.post h1 { margin: 16px 0 14px; font-size: clamp(32px, 5vw, 44px); }
.post .byline { margin-bottom: 36px; }
.post h2 { margin-top: 44px; }
.post h3 { margin: 26px 0 6px; }
.post ul, .post ol { padding-left: 22px; margin: 0 0 1em; }
.post li { margin-bottom: 8px; }
.post hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.post code { font-size: .9em; background: var(--band); padding: 1px 5px; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 8px 0 28px; }
.post table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.post th, .post td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.post thead th { font: 500 13px/1.3 var(--sans); color: var(--faint); }
.post tbody th { font-weight: 500; }
.post td { color: var(--soft); }

/* Close */
.close { padding: 56px 0 56px; }
.close-title { font-size: clamp(30px, 4.4vw, 40px); font-weight: 400; letter-spacing: -.012em; line-height: 1.15; }
.close p { color: var(--soft); }

@media (max-width: 600px) {
  body { font-size: 18px; }
  .top, main, .bottom { padding-left: 16px; padding-right: 16px; }
  .top { padding-top: 22px; padding-bottom: 8px; }
  h1 { margin-top: 32px; }
  h2 { font-size: 25px; }
  section { padding: 36px 0 26px; }
  .intro p { font-size: 19px; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .costs { font-size: 14px; }
  .costs td { padding-left: 8px; }
  .costs th[scope="row"] { padding-right: 4px; }
  .costs thead th { font-size: 12px; }
  .pull { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .faq summary::before, .faq summary::after { transition: none; }
}

/* Wordmark: the name in the serif with a teal full stop; the studio line shows when there's room */
.top .name { font: 500 20px/1 var(--serif); letter-spacing: -.01em; }
.top .name .dot { color: var(--accent); }
.top .name .studio { font: 400 13px/1 var(--sans); color: var(--faint); margin-left: 12px; letter-spacing: .01em; }
@media (max-width: 720px) { .top .name .studio { display: none; } }

/* Related posts under articles and on the main pages */
.more .post-list h3 { font-size: 20px; margin: 0 0 6px; }
.more .post-list h3 a { text-decoration: none; }
.more .post-list h3 a:hover { color: var(--accent); }
.more .post-list li { padding: 20px 0; }
.more .post-list li:last-child { border-bottom: 0; }
.top { gap: 20px; }
@media (max-width: 350px) { .top .name { font-size: 18px; } .nav { gap: 12px; } }
