:root {
  --canvas: #e9eaed;
  --paper: #ffffff;
  --paper-soft: #f8f8f7;
  --ink: #111214;
  --ink-soft: #28292c;
  --muted: #696a70;
  --line: #e4e4e2;
  --blue: #1597e5;
  --blue-dark: #0879bd;
  --cyan: #bcefff;
  --pink: #f5c8fb;
  --lime: #d9ff78;
  --content-width: 1280px;
  --content-gutter: 28px;
  --section-gap: 10px;
  --editorial-shadow: 0 24px 54px rgba(20, 25, 35, 0.14);
}

html {
  background: var(--canvas);
}

body {
  color: var(--ink);
  background: var(--canvas);
  font-family:
    Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.58;
  letter-spacing: -0.006em;
}

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
}

.inner {
  width: min(var(--content-width), calc(100% - (var(--content-gutter) * 2)));
}

main > section {
  margin-bottom: var(--section-gap);
  background-color: var(--paper);
}

main > section:last-child {
  margin-bottom: 0;
}

.reveal {
  opacity: 1 !important;
  transform: translateY(10px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.is-visible {
  transform: none;
}

.topbar {
  height: 72px;
  padding-inline: max(28px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  gap: 30px;
  font-size: 16px;
  font-weight: 600;
}

.nav a {
  padding-block: 23px 21px;
  border-bottom-width: 1px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.nav-actions {
  gap: 17px;
  font-size: 15px;
  font-weight: 650;
}

.nav-actions .signup {
  padding: 9px 16px;
  border-radius: 999px;
}

.eyebrow-pill,
.section-tag {
  display: block;
  margin-bottom: 15px;
  padding: 0;
  color: var(--blue);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.eyebrow-pill::before {
  display: none;
}

.btn {
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid #cfcfcd;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 18, 24, 0.08);
}

.btn-blue {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.link-arrow {
  margin-top: 24px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 720;
}

/* Homepage hero */
.hero-ref.brand-hero {
  min-height: auto;
  padding: 88px 24px 0;
  overflow: hidden;
  background: #fff;
}

.brand-hero h1 {
  max-width: 900px;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.018em;
}

.hero-subline {
  display: block;
  color: var(--ink);
}

.brand-hero .lede {
  max-width: 660px;
  margin-top: 22px;
  color: #55565c;
  font-size: 19px;
  line-height: 1.52;
}

.hero-buttons {
  margin-top: 25px;
  gap: 10px;
}

.hero-note {
  margin-top: 13px;
  color: #8a8b90;
  font-size: 15px;
}

.product-hero {
  position: relative;
  width: min(1160px, 94%);
  margin: 54px auto 0;
  padding: 18px 46px 54px;
  isolation: isolate;
}

.product-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -8% -10px;
  background:
    radial-gradient(circle at 11% 68%, rgba(58, 204, 255, 0.7), transparent 30%),
    radial-gradient(circle at 57% 72%, rgba(238, 147, 255, 0.6), transparent 33%),
    radial-gradient(circle at 91% 66%, rgba(201, 255, 78, 0.67), transparent 29%);
  filter: blur(30px);
  opacity: 0.72;
}

.product-hero .window {
  overflow: hidden;
  border: 1px solid #d9d9d7;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 26px 58px rgba(22, 27, 37, 0.16);
}

.product-hero .window-bar {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 14px;
}

.actual-badge {
  right: 58px;
  bottom: 70px;
  padding: 7px 10px;
  border: 0;
  border-radius: 4px;
  background: rgba(16, 17, 20, 0.82);
  font-size: 14px;
  font-weight: 700;
}

/* Reference-like wordmark ribbon */
.audience-strip {
  z-index: 2;
  padding: 35px 0 39px;
  border: 0;
  background: #fff;
}

.audience-strip p {
  margin-bottom: 22px;
  color: #8a8b90;
  font-size: 15px;
}

.audience-list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.audience-list span {
  padding: 0;
  color: #97989c;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* Matched before / after */
.proof-section {
  padding: 112px 0 122px;
  border: 0;
  background: #fff;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  max-width: 930px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-intro h2 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 570;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.section-intro > p {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.before-after {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.before-after::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 16% -3% -12%;
  background:
    radial-gradient(circle at 12% 54%, rgba(92, 210, 255, 0.42), transparent 32%),
    radial-gradient(circle at 77% 44%, rgba(238, 162, 255, 0.4), transparent 34%),
    radial-gradient(circle at 93% 71%, rgba(207, 255, 90, 0.32), transparent 27%);
  filter: blur(34px);
}

.proof-card,
.transform-mark {
  position: relative;
  z-index: 1;
}

.proof-card {
  overflow: hidden;
  border: 1px solid #dededc;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(24, 30, 40, 0.12);
}

.proof-card-head {
  min-height: 62px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.proof-card-head strong {
  font-size: 18px;
  font-weight: 690;
}

.proof-card-head span {
  color: #8a8b90;
  font-size: 14px;
  font-weight: 650;
}

.proof-frame {
  background: #ededeb;
}

.clear-frame img {
  transform: scale(1.13);
}

.focus-ring {
  border-width: 2px;
  border-radius: 5px;
  box-shadow:
    0 0 0 999px rgba(9, 16, 25, 0.2),
    0 0 0 5px rgba(20, 148, 232, 0.13);
}

.lesson-caption {
  bottom: 16px;
  border-radius: 4px;
  font-size: 14px;
}

.proof-notes {
  padding: 18px 20px 20px;
  gap: 0;
}

.proof-notes span {
  padding: 0;
  color: #6f7075;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.proof-notes span + span::before {
  content: "•";
  margin-inline: 10px;
  color: #b4b4b1;
}

.clear-card .proof-notes span {
  color: var(--blue-dark);
  background: transparent;
}

.transform-mark {
  width: 44px;
  height: 44px;
  color: var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 29px;
}

/* Editorial clarity statement */
.truth-section {
  padding: 118px 0 122px;
  color: var(--ink);
  border: 0;
  background: #fff;
}

.truth-grid {
  display: block;
}

.truth-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.truth-copy h2 {
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 570;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.truth-copy p {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.truth-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 64px;
  border-block: 1px solid var(--line);
}

.truth-step {
  min-height: 220px;
  padding: 32px 34px;
  display: block;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.truth-step:last-child {
  border-right: 0;
}

.truth-step span,
.truth-step:nth-child(2) span,
.truth-step:nth-child(3) span {
  width: auto;
  height: auto;
  display: block;
  color: var(--blue);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.truth-step strong {
  margin-top: 58px;
  font-size: 25px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.truth-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

/* Product editor showcase */
.product-carousel {
  padding: 118px 0 126px;
  border: 0;
  background: #fff;
}

.carousel-heading {
  display: block;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.carousel-heading h2 {
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 570;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.carousel-heading > p {
  max-width: 650px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.carousel-shell {
  margin-top: 60px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.carousel-shell::before,
.carousel-shell::after {
  display: none;
}

.carousel-stage {
  order: 1;
  padding: 48px 60px 0;
  isolation: isolate;
}

.carousel-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 9% 70%, rgba(81, 211, 255, 0.62), transparent 31%),
    radial-gradient(circle at 58% 24%, rgba(237, 151, 255, 0.52), transparent 34%),
    radial-gradient(circle at 92% 72%, rgba(210, 255, 86, 0.55), transparent 30%),
    #fbfbfb;
  filter: blur(0);
}

.carousel-window {
  border: 1px solid #303136;
  border-radius: 6px;
  background: #15161a;
  box-shadow: 0 26px 58px rgba(18, 23, 32, 0.22);
}

.carousel-window-bar {
  min-height: 44px;
  font-size: 14px;
}

.carousel-stage-footer {
  grid-template-columns: 1fr auto;
  gap: 0;
  margin-top: 0;
}

.carousel-toast,
.carousel-progress {
  min-height: 62px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.carousel-toast {
  border-right: 0;
}

.carousel-progress {
  width: 210px;
}

.carousel-tabs {
  order: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border-block: 1px solid var(--line);
}

.carousel-tab {
  min-height: 145px;
  padding: 24px 22px;
  display: block;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
}

.carousel-tab:last-child {
  border-right: 0;
}

.carousel-tab:hover {
  border-color: var(--line);
  background: #fafafa;
  transform: none;
}

.carousel-tab.is-active {
  color: var(--ink);
  border-color: var(--line);
  background: #fafafa;
  box-shadow: inset 0 -3px 0 var(--blue);
  transform: none;
}

.carousel-index {
  width: auto;
  height: auto;
  display: block;
  color: var(--blue);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.carousel-tab.is-active .carousel-index {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.carousel-label {
  margin-top: 28px;
}

.carousel-label strong {
  font-size: 21px;
  font-weight: 670;
}

.carousel-label small,
.carousel-tab.is-active .carousel-label small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.carousel-arrow {
  display: none;
}

/* Image-led feature sections */
.maintenance-section {
  padding: 118px 0;
  border: 0;
  background: #fff;
}

.maintenance-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 76px;
}

.maintenance-copy h2 {
  font-size: clamp(44px, 4.7vw, 66px);
  font-weight: 570;
  line-height: 0.99;
  letter-spacing: -0.02em;
}

.maintenance-copy p {
  max-width: 450px;
  font-size: 18px;
}

.maintenance-shot {
  padding: 44px 28px;
}

.maintenance-shot::before {
  inset: 4% -3%;
  border-radius: 0;
  background:
    radial-gradient(circle at 16% 60%, rgba(92, 210, 255, 0.55), transparent 37%),
    radial-gradient(circle at 81% 39%, rgba(242, 169, 255, 0.5), transparent 38%);
  filter: blur(24px);
}

.maintenance-shot img {
  border-radius: 5px;
  box-shadow: var(--editorial-shadow);
}

.use-cases {
  padding: 112px 0 122px;
  border: 0;
  background: #fff;
}

.use-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

.use-case-card,
.use-case-card:nth-child(2),
.use-case-card:nth-child(3),
.use-case-card:nth-child(4) {
  min-height: 290px;
  padding: 34px 38px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.use-case-card:nth-child(even) {
  border-right: 0;
}

.use-case-card:nth-child(n + 3) {
  border-bottom: 0;
}

.use-case-card .card-icon {
  width: auto;
  height: auto;
  display: block;
  color: var(--blue);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.use-case-card h3 {
  margin: auto 0 13px;
  font-size: 34px;
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.use-case-card p {
  max-width: 480px;
  font-size: 17px;
}

.pricing-snapshot {
  padding: 112px 0 122px;
  border: 0;
  background: #fff;
}

.pricing-snapshot-grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
}

.pricing-snapshot h2 {
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 570;
  line-height: 0.99;
  letter-spacing: -0.02em;
}

.pricing-snapshot p {
  font-size: 18px;
}

.mini-plans {
  gap: 0;
  border-block: 1px solid var(--line);
}

.mini-plan,
.mini-plan.best {
  min-height: 360px;
  padding: 32px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.mini-plan:last-child {
  border-right: 0;
}

.mini-plan.best {
  box-shadow: inset 0 4px 0 var(--blue);
}

.mini-plan .price-kicker {
  font-size: 14px;
}

.mini-plan strong {
  margin-top: 54px;
  font-size: 64px;
  font-weight: 590;
  letter-spacing: -0.035em;
}

.mini-plan small,
.mini-plan p {
  font-size: 16px;
}

.faq.inner {
  width: 100%;
  max-width: none;
  padding: 112px max(28px, calc((100vw - var(--content-width)) / 2)) 122px;
  background: #fff;
}

.faq h2 {
  max-width: 820px;
  margin: 0 0 54px;
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 570;
  line-height: 1;
  letter-spacing: -0.02em;
}

.faq-item button {
  padding: 24px 4px;
  font-size: 19px;
  font-weight: 620;
}

.faq-answer p {
  max-width: 780px;
  font-size: 17px;
}

/* Dark closing section */
.dark-cta {
  min-height: 520px;
  padding: 88px 0;
  border: 0;
  border-radius: 0;
  background: #171819;
}

.dark-cta-inner {
  min-height: 350px;
  gap: 64px;
}

.dark-cta h2 {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.dark-cta p {
  margin-top: 22px;
  color: #b0b1b4;
  font-size: 18px;
}

.dark-cta .btn {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}

.dark-art img {
  border-radius: 5px;
}

.float-card {
  border: 1px solid rgba(20, 20, 22, 0.08);
  border-radius: 5px;
}

/* Shared secondary-page language */
.page-hero.brand-page-hero,
.page-hero {
  min-height: 510px;
  padding: 116px 24px 90px;
  border: 0;
  background: #fff;
}

.brand-page-hero h1,
.page-hero h1 {
  max-width: 970px;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 570;
  line-height: 0.99;
  letter-spacing: -0.018em;
}

.brand-page-hero p,
.page-hero p {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
}

.position-strip {
  padding: 31px 0;
  color: var(--ink);
  border: 0;
  background: #fff;
}

.position-strip .inner {
  gap: 0;
  justify-content: stretch;
}

.position-strip span {
  flex: 1;
  padding-inline: 24px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.position-strip span:last-child {
  border-right: 0;
}

.position-strip b {
  color: var(--ink);
}

.jobs-section,
.feature-story-section,
.template-principles,
.editor-map,
.pricing-context,
.template-grid {
  border: 0;
  background: #fff;
}

.jobs-section,
.feature-story-section,
.template-principles,
.editor-map,
.pricing-context {
  padding: 112px 0 122px;
}

.jobs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

.job-card,
.job-card:nth-child(2),
.job-card:nth-child(3),
.job-card:nth-child(4) {
  min-height: 300px;
  padding: 34px 38px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.job-card:nth-child(even) {
  border-right: 0;
}

.job-card:nth-child(n + 3) {
  border-bottom: 0;
}

.job-card .num {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.job-card h3 {
  margin-top: auto;
  font-size: 34px;
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.job-card p {
  font-size: 17px;
}

.feature-story-grid {
  gap: 0;
}

.feature-story,
.feature-story:nth-child(even) {
  min-height: 580px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.feature-story:first-child {
  border-top: 1px solid var(--line);
}

.feature-story-copy {
  padding: 60px 64px 60px 8px;
}

.feature-story:nth-child(even) .feature-story-copy {
  padding: 60px 8px 60px 64px;
}

.feature-story-copy .num {
  font-size: 14px;
}

.feature-story-copy h2 {
  margin-top: 32px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 570;
  line-height: 0.99;
  letter-spacing: -0.02em;
}

.feature-story-copy p {
  max-width: 470px;
  font-size: 18px;
}

.feature-story-media {
  position: relative;
  padding: 50px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 68%, rgba(88, 209, 255, 0.55), transparent 35%),
    radial-gradient(circle at 84% 35%, rgba(242, 167, 255, 0.5), transparent 36%),
    #fafafa;
}

.feature-story-media img {
  border-radius: 5px;
  box-shadow: var(--editorial-shadow);
}

.split {
  border: 0;
  background: #fff;
}

.split-inner {
  min-height: 650px;
}

.split-copy {
  padding-block: 112px;
}

.split h2 {
  font-weight: 570;
  letter-spacing: -0.02em;
}

.split-copy p {
  font-size: 18px;
}

.split-media.contain {
  padding: 56px 38px;
  background:
    radial-gradient(circle at 18% 66%, rgba(89, 210, 255, 0.5), transparent 37%),
    radial-gradient(circle at 84% 38%, rgba(242, 167, 255, 0.45), transparent 37%),
    #fafafa;
}

.split-media.contain img {
  border-radius: 5px;
  box-shadow: var(--editorial-shadow);
}

.editor-walkthrough,
.demo-flow {
  padding: 112px 0 122px;
  border: 0;
  background: #fff;
}

.walk-row {
  min-height: 640px;
  padding: 76px 0;
  gap: 76px;
}

.walk-copy span {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.walk-copy h2 {
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 570;
  line-height: 1;
  letter-spacing: -0.02em;
}

.walk-copy p {
  font-size: 18px;
}

.walk-shot,
.demo-visual {
  position: relative;
  padding: 44px 30px;
  background:
    radial-gradient(circle at 16% 66%, rgba(85, 211, 255, 0.55), transparent 37%),
    radial-gradient(circle at 84% 37%, rgba(244, 169, 255, 0.48), transparent 36%),
    #fafafa;
}

.walk-shot img,
.demo-visual img {
  border-radius: 5px;
  box-shadow: var(--editorial-shadow);
}

.template-principle-grid {
  gap: 0;
  border-block: 1px solid var(--line);
}

.template-principle,
.template-principle:nth-child(2),
.template-principle:nth-child(3) {
  min-height: 300px;
  padding: 34px 36px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.template-principle:last-child {
  border-right: 0;
}

.template-principle b {
  margin-bottom: 72px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.template-principle h3 {
  font-size: 32px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.template-principle p {
  font-size: 17px;
}

.template-grid {
  padding-block: 82px 112px;
  gap: 9px;
}

.template-card {
  border-radius: 3px;
}

.template-meta {
  inset: auto 0 0;
  padding: 13px 15px;
  border-radius: 0;
  background: rgba(15, 16, 18, 0.82);
  font-size: 14px;
}

.pricing-grid {
  gap: 0;
  border-block: 1px solid var(--line);
}

.pricing-card,
.pricing-card.featured {
  padding: 40px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.pricing-card:last-child {
  border-right: 0;
}

.pricing-card.featured {
  box-shadow: inset 0 4px 0 var(--blue);
}

.pricing-card .plan-price {
  font-size: 70px;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.pricing-card > p,
.plan-list li {
  font-size: 16px;
}

.savings-chip {
  padding: 0;
  color: var(--blue-dark);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}

.plan-summary {
  padding: 26px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-size: 16px;
}

/* Legal pages */
.legal-hero {
  padding: 108px 24px 78px;
  border: 0;
  background: #fff;
}

.legal-hero h1 {
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 570;
  line-height: 0.99;
  letter-spacing: -0.018em;
}

.legal-hero p {
  font-size: 18px;
}

.legal-layout {
  padding-block: 86px 128px;
}

.legal-toc {
  padding: 22px 0;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.legal-toc strong,
.legal-toc a,
.legal-meta {
  font-size: 15px;
}

.legal-copy h2 {
  font-size: 34px;
  font-weight: 610;
  letter-spacing: -0.018em;
}

.legal-copy p,
.legal-copy li {
  font-size: 17px;
}

.legal-note {
  padding: 21px 22px;
  border: 0;
  border-left: 3px solid var(--blue);
  border-radius: 0;
  background: #f1f9fe;
}

/* Footer */
.footer {
  padding: 62px max(32px, calc((100vw - var(--content-width)) / 2)) 44px;
  gap: 48px;
  border: 0;
  background: #f6f6f5;
}

.footer h4 {
  font-size: 15px;
}

.footer a,
.footer p,
.footer-bottom {
  font-size: 15px;
}

.footer-brand p {
  color: #77787d;
}

@media (max-width: 1040px) {
  .before-after {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .transform-mark {
    margin: -2px auto;
    transform: rotate(90deg);
  }

  .truth-steps {
    grid-template-columns: 1fr;
  }

  .truth-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .truth-step:last-child {
    border-bottom: 0;
  }

  .truth-step strong {
    margin-top: 30px;
  }

  .carousel-stage {
    padding-inline: 34px;
  }

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

  .carousel-tab:nth-child(2) {
    border-right: 0;
  }

  .carousel-tab:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --content-gutter: 20px;
    --section-gap: 8px;
  }

  body {
    font-size: 17px;
  }

  .topbar {
    height: 72px;
    padding-inline: 20px;
  }

  .nav {
    padding: 104px 24px 42px;
    background: rgba(255, 255, 255, 0.985);
  }

  .nav a {
    padding: 15px 0;
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero-ref.brand-hero {
    padding-top: 72px;
  }

  .brand-hero h1 {
    font-size: clamp(50px, 11vw, 64px);
  }

  .product-hero {
    width: 100%;
    padding-inline: 20px;
  }

  .actual-badge {
    right: 30px;
    bottom: 70px;
  }

  .audience-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 24px;
    text-align: center;
  }

  .maintenance-grid,
  .pricing-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .feature-story,
  .feature-story:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-story:nth-child(even) .feature-story-media {
    order: 0;
  }

  .feature-story-copy,
  .feature-story:nth-child(even) .feature-story-copy {
    padding: 62px 24px;
  }

  .position-strip .inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .position-strip span {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .position-strip span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .hero-ref.brand-hero {
    padding-inline: 18px;
  }

  .brand-hero h1 {
    font-size: 48px;
    line-height: 1;
  }

  .brand-hero .lede {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .product-hero {
    margin-top: 40px;
    padding: 8px 8px 32px;
  }

  .product-hero .window-bar {
    min-height: 36px;
  }

  .actual-badge {
    right: 18px;
    bottom: 44px;
  }

  .audience-list {
    grid-template-columns: 1fr 1fr;
  }

  .proof-section,
  .truth-section,
  .product-carousel,
  .maintenance-section,
  .use-cases,
  .pricing-snapshot,
  .jobs-section,
  .feature-story-section,
  .template-principles,
  .editor-map,
  .pricing-context {
    padding-block: 84px 92px;
  }

  .section-intro {
    margin-bottom: 42px;
    text-align: left;
  }

  .section-intro h2,
  .truth-copy h2,
  .carousel-heading h2,
  .maintenance-copy h2,
  .pricing-snapshot h2,
  .faq h2 {
    font-size: 44px;
  }

  .truth-copy,
  .carousel-heading {
    text-align: left;
  }

  .truth-copy p,
  .carousel-heading > p {
    margin-left: 0;
  }

  .carousel-stage {
    padding: 22px 8px 0;
  }

  .carousel-window-bar {
    min-height: 38px;
  }

  .carousel-stage-footer {
    grid-template-columns: 1fr;
  }

  .carousel-progress {
    display: none;
  }

  .carousel-toast {
    border-right: 1px solid var(--line);
  }

  .carousel-tabs {
    grid-template-columns: 1fr;
  }

  .carousel-tab,
  .carousel-tab:nth-child(2) {
    min-height: 0;
    padding: 23px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .carousel-tab:last-child {
    border-bottom: 0;
  }

  .carousel-label {
    margin-top: 16px;
  }

  .use-case-grid,
  .jobs-grid,
  .mini-plans,
  .template-principle-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card,
  .use-case-card:nth-child(even),
  .use-case-card:nth-child(n + 3),
  .job-card,
  .job-card:nth-child(even),
  .job-card:nth-child(n + 3),
  .mini-plan,
  .mini-plan.best,
  .template-principle {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .use-case-card:last-child,
  .job-card:last-child,
  .mini-plan:last-child,
  .template-principle:last-child {
    border-bottom: 0;
  }

  .use-case-card,
  .job-card {
    min-height: 260px;
    padding-inline: 24px;
  }

  .maintenance-shot {
    padding-inline: 8px;
  }

  .page-hero.brand-page-hero,
  .page-hero {
    min-height: 460px;
    padding: 86px 18px 72px;
  }

  .brand-page-hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .walk-row {
    min-height: 0;
    padding-block: 62px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .walk-shot,
  .demo-visual {
    padding: 24px 10px;
  }

  .pricing-card,
  .pricing-card.featured {
    padding: 32px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-card:last-child {
    border-bottom: 0;
  }

  .legal-layout {
    width: calc(100% - 36px);
    padding-block: 52px 90px;
  }

  .legal-copy h2 {
    font-size: 30px;
  }

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

@media (max-width: 480px) {
  .brand-hero h1,
  .brand-page-hero h1,
  .page-hero h1 {
    font-size: 43px;
  }

  .section-intro h2,
  .truth-copy h2,
  .carousel-heading h2,
  .maintenance-copy h2,
  .pricing-snapshot h2,
  .faq h2 {
    font-size: 40px;
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .proof-card-head {
    align-items: flex-start;
  }

  .proof-notes span {
    display: block;
    width: 100%;
  }

  .proof-notes span + span {
    margin-top: 7px;
  }

  .proof-notes span + span::before {
    display: none;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}
