/* Usual marketing site. One editorial system: 40px gutters (16px on phones), a 60px nav, a light
   slab display face for the big moments, a neutral grotesk for everything else, mono eyebrows,
   pill buttons, 12-20px corners. */

:root {
  --ink: #17181c;
  --text: #212121;
  --muted: #73738a;
  --soft: #93939f;
  --beige: #f0eee9;
  --line: rgba(23, 24, 28, 0.16);
  --forest: #12291c;
  --brand: #e8432a;
  --display: "Roboto Slab", Georgia, serif;
  --sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px / 1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid #3b6cf6;
  outline-offset: 2px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

/* ---------- Atoms ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 9999px;
  font: 400 16px / 1.4 var(--sans);
  white-space: nowrap;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
@media (min-width: 1024px) {
  .pill {
    font-size: 18px;
  }
}
.pill.pill-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 16px;
}
.pill-ink {
  background: var(--ink);
  color: #fff;
}
.pill-ink:hover {
  background: #3a3b42;
}
.pill-white {
  background: #fff;
  color: var(--ink);
}
.pill-white:hover {
  background: #e9e9ec;
}
.pill-line {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.pill-line:hover {
  background: var(--ink);
  color: #fff;
}
.eyebrow {
  font: 400 14px / 1.4 var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.title {
  font: 400 32px / 1.2 var(--sans);
  letter-spacing: -0.01em;
}
.title-sm {
  font: 400 24px / 1.2 var(--sans);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .title {
    font-size: 48px;
  }
  .title-sm {
    font-size: 32px;
  }
}
.center {
  text-align: center;
  margin-inline: auto;
}
.sub {
  max-width: 640px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.4;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.arrow-link::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.arrow-link:hover::after {
  transform: translateX(3px);
}
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.4;
}
.ticks li + li {
  margin-top: 12px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='8' cy='8' r='6.5'/%3E%3Cpath d='M5.2 8.2l1.9 1.9 3.8-4'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Our own fiber-texture art (scripts/landing-art.mjs). */
.art-hero {
  background: var(--ink) url("/img/art/hero.webp") center / cover;
}
.art-grass {
  background: #0e2414 url("/img/art/grass.webp") center / cover;
}
.art-ember {
  background: #5c2416 url("/img/art/ember.webp") center / cover;
}
.art-swirl {
  background: #12291c url("/img/art/swirl.webp") center / cover;
}
.art-dusk {
  background: #1e1e2e url("/img/art/dusk.webp") center / cover;
}
.art-sea {
  background: #0c3036 url("/img/art/sea.webp") center / cover;
}
.art-sand {
  background: #d6be96 url("/img/art/sand.webp") center / cover;
}

/* The wordmark: the pencil loop is the u, then "sual" in the display slab. */
.logo {
  display: inline-flex;
  align-items: baseline;
  font: 400 28px / 1 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo svg {
  width: auto;
  height: 0.72em;
  margin-right: 0.03em;
  fill: var(--brand);
  translate: 0 0.06em;
}

/* ---------- Announcement + nav ---------- */
.announce {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  min-height: 48px;
  padding: 12px 48px;
  background: #000;
  color: #fff;
  text-align: center;
}
.announce p,
.announce a {
  font-size: 14px;
  line-height: 1.4;
}
.announce a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 768px) {
  .announce p {
    font-size: 16px;
  }
}
.announce button {
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.announce svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.6;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 48px;
  height: 60px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  transition: transform 0.3s ease-in-out;
}
.nav.hidden {
  transform: translateY(-100%);
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14px;
}
.nav-links a:hover,
.nav-signin:hover {
  color: var(--muted);
}
.nav-actions {
  display: none;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-menu {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--ink);
}
.nav-menu svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
}
.drawer {
  position: fixed;
  inset: 60px 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 32px;
  background: #fff;
  font-size: 24px;
}
.drawer[hidden] {
  display: none;
}
.drawer a {
  padding: 10px 0;
}
.drawer .pill {
  margin-top: 16px;
  padding: 12px 24px;
  font-size: 16px;
}
@media (min-width: 1024px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }
  .nav-menu,
  .drawer {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px var(--gutter) 48px;
  text-align: center;
}
.hero h1 {
  font: 300 40px / 1 var(--display);
  letter-spacing: -0.02em;
}
.hero > p {
  max-width: 655px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.4;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hero-price {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 768px) {
  .hero {
    padding: 100px var(--gutter) 80px;
  }
  .hero h1 {
    font-size: 96px;
  }
  .hero > p {
    font-size: 18px;
  }
}
.hero-shot {
  padding: 0 var(--gutter) 48px;
}
.art-card {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}
.art-hero {
  height: 420px;
}
.art-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    #0e0f12 0%,
    rgba(14, 15, 18, 0.75) 30%,
    rgba(14, 15, 18, 0.1) 65%,
    rgba(14, 15, 18, 0) 100%
  );
}
.art-hero .shot {
  position: absolute;
  left: 6%;
  top: 14%;
  width: 120%;
  max-width: none;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) {
  .hero-shot {
    padding-bottom: 80px;
  }
  .art-hero {
    height: 560px;
  }
  .art-hero .shot {
    top: 12%;
    width: 72%;
  }
}

/* ---------- Explainer film ---------- */
.film {
  padding: 8px var(--gutter) 56px;
  text-align: center;
}
.film .eyebrow {
  color: var(--muted);
  margin: 0 0 20px;
}
.film-frame {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(23, 24, 28, 0.35), 0 0 0 1px var(--line);
}
.film-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.film-sound {
  position: absolute;
  left: 16px;
  bottom: 16px;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.film-sound[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .film-sound {
    left: 10px;
    bottom: 10px;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
  }
}
.film-sound svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
@media (min-width: 768px) {
  .film {
    padding-bottom: 96px;
  }
  .film-sound {
    left: 24px;
    bottom: 24px;
  }
}

/* ---------- Ticker ---------- */
.ticker {
  padding: 40px 0 48px;
  text-align: center;
  overflow: hidden;
}
.ticker > p {
  padding: 0 var(--gutter);
}
.ticker-track {
  display: flex;
  width: max-content;
  margin-top: 24px;
  animation: marquee 60s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker ul {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}
.ticker li {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 4px;
  font: 300 22px / 1 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}
.ticker li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 14px;
  border-radius: 2px;
  background: var(--brand);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 1024px) {
  .ticker {
    padding-bottom: 80px;
  }
  .ticker ul {
    gap: 84px;
    padding-right: 84px;
  }
  .ticker li {
    font-size: 28px;
  }
}

/* ---------- Band ---------- */
.band {
  display: grid;
}
.band-copy {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  padding: 24px var(--gutter);
  color: #fff;
}
.band-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(20deg, rgba(4, 14, 8, 0.85), rgba(4, 14, 8, 0.15) 70%);
}
.band-copy > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 554px;
}
.band-copy h2 {
  font: 400 40px / 1.05 var(--sans);
  letter-spacing: -0.02em;
}
.band-copy p {
  line-height: 1.4;
}
.band-art {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 32px;
}
.band-art img {
  width: 220px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(40, 10, 4, 0.45);
}
@media (min-width: 768px) {
  .band {
    grid-template-columns: 1fr 1fr;
  }
  .band-copy,
  .band-art {
    min-height: 520px;
  }
  .band-copy {
    padding: 60px 40px;
  }
  .band-copy > div {
    gap: 24px;
  }
  .band-copy h2 {
    font-size: 60px;
  }
  .band-copy p {
    font-size: 18px;
  }
}

/* ---------- Stacked product cards ---------- */
.solutions {
  padding: 64px var(--gutter);
  background: var(--beige);
}
.solutions .title {
  margin-bottom: 40px;
}
.stack {
  display: grid;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
}
.slab {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 40px;
  overflow: hidden;
  padding: 28px 24px 36px;
  border-radius: 20px;
  color: #fff;
}
.slab:nth-child(2) {
  top: 96px;
}
.slab:nth-child(3) {
  top: 116px;
}
.slab-sea {
  background:
    linear-gradient(
      90deg,
      #06191c 0%,
      #06191c 40%,
      rgba(6, 25, 28, 0.55) 75%,
      rgba(6, 25, 28, 0.2) 100%
    ),
    url("/img/art/sea.webp") center / cover,
    #0c3036;
}
.slab-ink {
  background:
    linear-gradient(90deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.25) 100%),
    url("/img/art/dusk.webp") center / cover,
    #000;
}
.slab-sand {
  background:
    linear-gradient(
      90deg,
      #ebe9e4 0%,
      #ebe9e4 45%,
      rgba(235, 233, 228, 0.6) 78%,
      rgba(235, 233, 228, 0.3) 100%
    ),
    url("/img/art/sand.webp") center / cover,
    #ebe9e4;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.slab-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.slab-copy .eyebrow {
  margin-bottom: 24px;
}
.slab h3 {
  font: 400 32px / 1.15 var(--sans);
  letter-spacing: -0.01em;
}
.slab-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin: 16px 0 32px;
  line-height: 1.4;
}
.slab-shot img {
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (min-width: 1024px) {
  .solutions {
    padding: 144px var(--gutter);
  }
  .solutions .title {
    margin-bottom: 64px;
  }
  .slab {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 636px;
    padding: 40px 40px 40px 84px;
  }
  .slab h3 {
    font-size: 48px;
    line-height: 1.2;
  }
  .slab-copy .eyebrow {
    margin-bottom: 36px;
  }
  .slab-copy > p:not(.eyebrow) {
    margin-bottom: 36px;
  }
  .slab-shot {
    margin-right: -160px;
  }
}

/* ---------- Use cases ---------- */
.practices {
  padding: 64px var(--gutter) 48px;
}
.practices .title {
  margin-bottom: 40px;
}
.practice-grid {
  display: grid;
  gap: 40px;
  max-width: 1360px;
  margin: 0 auto;
}
.practice-art {
  display: grid;
  place-items: center;
  aspect-ratio: 620 / 548;
  padding: 40px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(70, 70, 160, 0.14) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(70, 70, 160, 0.14) 1px, transparent 1px) 0 0 / 60px 60px,
    #dedcf0;
}
.practice-art img {
  max-width: 62%;
  max-height: 100%;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(30, 30, 80, 0.18);
}
.practice-art img[hidden] {
  display: none;
}
.accordion > li {
  border-top: 1px solid var(--ink);
}
.accordion > li.open {
  border-top-color: transparent;
  background:
    linear-gradient(90deg, #ff7759, var(--brand) 45%, var(--ink)) top / 100% 1px no-repeat;
}
.accordion button {
  width: 100%;
  padding: 16px 0 24px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.accordion h3 {
  font: 400 20px / 1.3 var(--sans);
}
.accordion button:hover h3 {
  color: var(--muted);
}
.acc-body {
  padding-bottom: 36px;
}
.acc-body > p {
  margin-bottom: 28px;
  line-height: 1.4;
}
.acc-body .ticks {
  margin-bottom: 28px;
}
@media (min-width: 1024px) {
  .practices {
    padding: 144px var(--gutter) 80px;
  }
  .practices .title {
    margin-bottom: 64px;
  }
  .practice-grid {
    grid-template-columns: minmax(0, 620px) minmax(0, 555px);
    justify-content: space-between;
    align-items: start;
  }
  .accordion h3 {
    font-size: 24px;
  }
  .acc-body > p {
    font-size: 18px;
  }
}

/* ---------- Why firms switch ---------- */
.why {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px var(--gutter);
}
.why .title {
  max-width: 560px;
  margin-bottom: 40px;
}
.cards {
  display: grid;
  gap: 16px;
}
/* A card with a bite out of its bottom-right corner; the arrow sits in its own tab there. */
.notch-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 16px 16px 24px;
}
.notch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 16px;
  background: var(--beige);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 56px),
    calc(100% - 72px) calc(100% - 56px),
    calc(100% - 92px) 100%,
    0 100%
  );
}
.notch-tab {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 76px;
  height: 50px;
  padding-left: 16px;
  border-radius: 0 0 16px 0;
  background: var(--beige);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}
.notch-tab svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}
.notch-card:hover .notch-tab svg {
  transform: translateX(4px);
}
.notch-card:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.notch-img {
  display: grid;
  place-items: center;
  aspect-ratio: 405 / 226;
  border-radius: 8px;
  color: #fff;
  font: 300 56px / 1 var(--display);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.notch-card .eyebrow {
  margin-top: 24px;
  font-size: 12px;
}
.notch-card h3 {
  margin-top: 16px;
  font: 400 20px / 1.3 var(--sans);
}
.notch-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .notch-card {
    min-height: 480px;
  }
  .notch-card h3 {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .why {
    padding: 0 var(--gutter) 80px;
  }
}

/* ---------- Statement ---------- */
.statement {
  display: grid;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px var(--gutter);
}
.statement blockquote p {
  font: 400 28px / 1.2 var(--sans);
  letter-spacing: -0.01em;
  text-indent: -0.4em;
}
.statement blockquote p::before {
  content: "\201C";
}
.statement blockquote p::after {
  content: "\201D";
}
.statement footer {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.6;
}
.statement footer span {
  color: var(--muted);
}
@media (min-width: 1024px) {
  .statement {
    grid-template-columns: 420px minmax(0, 1fr);
    padding: 144px var(--gutter);
  }
  .statement blockquote p {
    font-size: 48px;
  }
}

/* ---------- What's new ---------- */
.news {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}
.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 40px;
}
.news-grid {
  display: grid;
  gap: 40px;
}
.news-img {
  display: grid;
  place-items: center;
  aspect-ratio: 437 / 246;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  font: 500 32px / 1 var(--sans);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tags span {
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-size: 14px;
  line-height: 1.4;
}
.news h3 {
  margin-top: 16px;
  font: 400 20px / 1.3 var(--sans);
}
.news time {
  display: block;
  margin-top: 24px;
  font: 400 12px / 1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .news {
    padding-bottom: 80px;
  }
  .news h3 {
    font-size: 24px;
  }
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 64px var(--gutter);
  background: var(--beige);
}
.plans[data-billing="monthly"] .y,
.plans[data-billing="yearly"] .m {
  display: none;
}
/* ---------- Pricing calculator ---------- */
.calc {
  max-width: 640px;
  margin: 36px auto 0;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}
.calc-q {
  display: block;
  font: 400 18px / 1.4 var(--sans);
  color: var(--ink);
}
.calc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.calc-row input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--ink);
  height: 28px;
}
.calc-row output {
  min-width: 3.2ch;
  font: 300 44px / 1 var(--display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.calc-result {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}
.plan.fit {
  box-shadow: 0 0 0 2px var(--ink);
}
.plan-ink.fit {
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(23, 24, 28, 0.12);
}
.plans-note {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 14px;
  color: var(--muted);
}
.billing-switch {
  display: flex;
  width: fit-content;
  margin: 32px auto 0;
  padding: 4px;
  border-radius: 9999px;
  /* A darker track than the beige band, so it reads as a switch. */
  background: rgba(23, 24, 28, 0.08);
  box-shadow: inset 0 1px 2px rgba(23, 24, 28, 0.08);
}
.billing-switch button {
  padding: 10px 20px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  font: 400 15px / 1.2 var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.billing-switch button span {
  color: var(--muted);
  font-size: 13px;
}
.billing-switch button {
  transition:
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.billing-switch button[aria-checked="false"] {
  color: var(--muted);
}
.billing-switch button[aria-checked="false"]:hover {
  color: var(--ink);
}
.billing-switch button[aria-checked="true"] {
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 24, 28, 0.16), 0 0 0 1px rgba(23, 24, 28, 0.06);
}
.billing-switch button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.plans {
  display: grid;
  gap: 16px;
  max-width: 1360px;
  margin: 48px auto 0;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
}
.plan .price {
  margin-top: 28px;
}
.plan .price b {
  font: 300 64px / 1 var(--display);
  letter-spacing: -0.03em;
}
.plan .price span,
.plan-billing {
  color: var(--muted);
}
.plan .price span {
  margin-left: 6px;
}
.plan-billing {
  margin-top: 8px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.plan .limits {
  margin: 12px 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.plan .ticks {
  margin-bottom: 36px;
}
.plan .pill {
  margin-top: auto;
}
.plan-ink {
  background: var(--ink);
  color: #fff;
}
.plan-ink .price span,
.plan-ink .plan-billing {
  color: var(--soft);
}
.plan-ink .limits {
  border-color: rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .pricing {
    padding: 144px var(--gutter);
  }
  .plan {
    padding: 36px 40px 40px;
  }
}

/* ---------- Security ---------- */
.security {
  padding: 64px var(--gutter) 48px;
  background: var(--forest);
  color: #fff;
}
.security .sub {
  color: rgba(255, 255, 255, 0.85);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 16px;
  max-width: 900px;
  margin: 48px auto 0;
}
.badges li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 140px;
  font-size: 14px;
  text-align: center;
}
.badge {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.badge svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (min-width: 1024px) {
  .security {
    padding: 96px var(--gutter) 80px;
  }
  .badges {
    max-width: none;
    gap: 55px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px var(--gutter);
}
.faq details {
  border-top: 1px solid var(--ink);
}
.faq details:last-child {
  border-bottom: 1px solid var(--ink);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font: 400 20px / 1.3 var(--sans);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font: 300 28px / 1 var(--display);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 640px;
  padding-bottom: 28px;
  line-height: 1.5;
}
@media (min-width: 1024px) {
  .faq {
    grid-template-columns: 420px minmax(0, 1fr);
    padding: 144px var(--gutter);
  }
  .faq summary {
    font-size: 24px;
  }
}

/* ---------- Final call ---------- */
.final {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 420px;
  padding: 80px var(--gutter);
  color: #fff;
  text-align: center;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6, 22, 12, 0.55), rgba(6, 22, 12, 0.15) 70%);
}
.final > * {
  position: relative;
}
.final h2 {
  font: 300 40px / 1 var(--display);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .final {
    min-height: 536px;
  }
  .final h2 {
    font-size: 60px;
  }
}

/* ---------- Footer ---------- */
.foot {
  padding: 48px var(--gutter) 32px;
  background: var(--ink);
  color: #fafafa;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}
.foot-mark {
  grid-column: 1 / -1;
}
.foot-mark.logo {
  width: fit-content;
  height: fit-content;
  font-size: 40px;
  font-weight: 300;
  color: #fafafa;
}
.foot-grid > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}
.foot-grid a:hover {
  color: var(--soft);
}
.foot-h {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--soft);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  font-size: 12px;
  color: var(--soft);
}
.foot-bottom a {
  color: #fafafa;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (min-width: 1024px) {
  .foot {
    padding: 80px var(--gutter) 40px;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1fr) repeat(4, 210px);
    gap: 20px;
  }
  .foot-mark {
    grid-column: auto;
  }
  .foot-bottom {
    margin-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker-track {
    animation: none;
  }
}
