/* ==========================================================================
   mechcorrect.com site styles. Shared by the homepage and the Astro pages.
   Type and colour follow the app: Archivo / Instrument Sans / JetBrains Mono,
   amber for action, cyan only for AI surfaces.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-warm: #fbf8f2;
  --ink: #0d1220;
  --ink-2: #384152;
  --muted: #5d6679;
  --line: #e5e7eb;
  --line-2: #d4d8df;
  --accent: #f59e0b;
  --accent-hover: #fbb02d;
  --accent-ink: #1a1203;
  --accent-deep: #b45309;
  --accent-soft: #fff4dc;
  --ai: #0e9fbc;
  --ai-soft: #e3f7fb;
  --good: #0f8a5f;
  --dark: #090c13;
  --dark-2: #10141f;
  --dark-3: #171c2a;
  --dark-line: #262d3d;
  --dark-ink: #eef1f6;
  --dark-muted: #a3acbd;

  --display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 18, 32, 0.06);
  --shadow: 0 1px 2px rgba(13, 18, 32, 0.05), 0 12px 32px -12px rgba(13, 18, 32, 0.18);
  --shadow-lg: 0 1px 2px rgba(13, 18, 32, 0.05), 0 24px 48px -20px rgba(13, 18, 32, 0.22), 0 48px 96px -40px rgba(13, 18, 32, 0.28);
  --section: clamp(72px, 9vw, 120px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  text-wrap: balance;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- type ---------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.038em;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.032em;
}

.h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(18px, 1.6vw, 20.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

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

.mono {
  font-family: var(--mono);
}

/* ---- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 20px -10px rgba(217, 119, 6, 0.75);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #b9bfc9;
}

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

.btn-dark:hover {
  background: #1d2436;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14.5px;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-weight: 650;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(13, 18, 32, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, #fbbf24, #f59e0b 55%, #ea8a06);
  color: #1a1203;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 4px 10px -4px rgba(217, 119, 6, 0.7);
}

.brand-mark .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 550;
}

.nav-links a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-cta .signin {
  padding: 8px 12px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}

.nav-cta .signin:hover {
  color: var(--ink);
}

.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta .signin {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 68px 0 auto 0;
    z-index: 49;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(13, 18, 32, 0.35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .mobile-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
  }

  .mobile-nav .btn {
    margin-top: 16px;
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .nav-cta .btn {
    padding: 0 14px;
  }
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(245, 158, 11, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-warm), #fff 62%);
}

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

.hero .lead {
  max-width: 720px;
  margin: 24px auto 0;
}

.hero-ai-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(14, 159, 188, 0.28);
  border-radius: 999px;
  background: var(--ai-soft);
  color: #0b5f73;
  font-size: 14.5px;
  font-weight: 600;
}

.hero-ai-line .icon {
  width: 16px;
  height: 16px;
  color: var(--ai);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--good);
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  max-width: 1120px;
  margin: clamp(44px, 6vw, 64px) auto 0;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-visual .phone {
  position: absolute;
  right: -24px;
  bottom: clamp(20px, 4vw, 40px);
  width: clamp(170px, 21vw, 250px);
}

@media (max-width: 1180px) {
  .hero-visual .phone {
    right: 12px;
  }
}

@media (max-width: 640px) {
  .hero-visual .phone {
    display: none;
  }
}

/* ---- screenshot frames --------------------------------------------------- */

.frame {
  overflow: hidden;
  border: 1px solid rgba(13, 18, 32, 0.1);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f8fa;
}

.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe3e8;
}

.frame-bar .url {
  flex: 0 1 320px;
  margin: 0 auto;
  padding: 3px 12px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame-bar::after {
  content: '';
  width: 44px;
}

.frame img {
  width: 100%;
}

.frame.dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0e121b;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.frame.dark .frame-bar {
  background: #121724;
  border-bottom-color: var(--dark-line);
}

.frame.dark .frame-bar i {
  background: #2a3244;
}

.frame.dark .frame-bar .url {
  background: #0b0f18;
  border-color: var(--dark-line);
  color: #8b95a8;
}

.phone {
  padding: 9px;
  border-radius: 42px;
  background: #0c0f16;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 30px 60px -24px rgba(13, 18, 32, 0.55), 0 12px 24px -12px rgba(13, 18, 32, 0.35);
}

.phone img {
  width: 100%;
  border-radius: 34px;
}

.caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

/* ---- sections ------------------------------------------------------------ */

.section {
  padding: var(--section) 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 18px;
}

/* ---- visit flow ---------------------------------------------------------- */

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.flow .step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.flow h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.flow p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

/* ---- feature rows -------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.feature + .feature {
  margin-top: clamp(80px, 10vw, 136px);
}

.feature.flip .feature-copy {
  order: 2;
}

.feature-copy .h2 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.feature-copy .lead {
  margin-top: 18px;
  font-size: 18.5px;
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.checks li {
  display: flex;
  gap: 12px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}

.checks .tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.checks .tick .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--bg-warm);
  color: var(--ink-2);
  font-size: 15px;
}

.feature-visual {
  position: relative;
}

/* The single phone that overlaps a desktop frame (not phones in a .pair). */
.feature-visual > .phone {
  position: absolute;
  width: clamp(150px, 17vw, 210px);
  right: -18px;
  bottom: -34px;
}

.feature.flip .feature-visual > .phone {
  right: auto;
  left: -18px;
}

.pair {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.pair .phone {
  width: min(46%, 270px);
}

.pair .phone:nth-child(2) {
  margin-top: 48px;
}

@media (max-width: 960px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .feature.flip .feature-copy {
    order: 0;
  }

  .feature-visual > .phone {
    right: 8px;
  }

  .feature.flip .feature-visual > .phone {
    left: 8px;
  }
}

@media (max-width: 640px) {
  .feature-visual > .phone {
    display: none;
  }

  .pair .phone:nth-child(2) {
    margin-top: 32px;
  }
}

/* ---- AI band ------------------------------------------------------------- */

.dark-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(14, 159, 188, 0.2), transparent 70%),
    radial-gradient(600px 320px at 0% 100%, rgba(245, 158, 11, 0.1), transparent 70%),
    var(--dark);
  color: var(--dark-muted);
}

.dark-band h2,
.dark-band h3 {
  color: var(--dark-ink);
}

.dark-band .lead {
  color: #c4cbd8;
}

.dark-band .eyebrow {
  color: #4fd1e8;
}

.dark-band .checks li {
  color: #c9d0dc;
}

.dark-band .checks .tick {
  background: rgba(14, 159, 188, 0.18);
  color: #5fdcf1;
}

.dark-band .note {
  border-left-color: var(--ai);
  background: rgba(14, 159, 188, 0.08);
  color: #c4cbd8;
}

.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}

.ai-card {
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.025);
}

.ai-card .icon {
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
  color: #5fdcf1;
}

.ai-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.ai-card p {
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ai-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- more tools grid ----------------------------------------------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tile-copy {
  padding: 28px 28px 24px;
}

.tile-copy .h3 {
  margin-bottom: 10px;
}

.tile-copy p {
  color: var(--muted);
  font-size: 16px;
}

.tile-shot {
  margin-top: auto;
  padding: 0 28px;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.tile-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 30px -18px rgba(13, 18, 32, 0.4);
}

@media (max-width: 820px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

/* ---- everything included ------------------------------------------------- */

/* Masonry-style columns so groups of different lengths pack evenly. */
.everything {
  column-count: 3;
  column-gap: 20px;
}

.group {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  break-inside: avoid;
}

.group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 700;
}

.group h3 .icon {
  width: 20px;
  height: 20px;
  color: var(--accent-deep);
}

.group li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-top: 1px solid #f0f1f3;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}

.group li:first-child {
  border-top: 0;
}

.group li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}

@media (max-width: 1000px) {
  .everything {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .everything {
    column-count: 1;
  }
}

/* ---- pricing ------------------------------------------------------------- */

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
}

.billing-toggle button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.billing-toggle button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}

.billing-toggle .save {
  margin-left: 6px;
  color: var(--good);
  font-size: 13px;
}

.billing-toggle button[aria-pressed='true'] .save {
  color: #7ee2b5;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  position: relative;
  border: 2px solid var(--accent);
  box-shadow: 0 24px 60px -30px rgba(217, 119, 6, 0.55);
}

.plan .badge {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 19px;
}

.plan .who {
  margin-top: 6px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
  color: var(--ink);
}

.price .amt {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .per {
  color: var(--muted);
  font-size: 15px;
}

.price-note {
  min-height: 21px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

.plan .btn {
  margin-top: 22px;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.plan li .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--good);
  stroke-width: 2.6;
}

.pricing-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.pricing-foot div {
  padding: 20px 22px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 15px;
}

.pricing-foot b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15.5px;
}

.compare-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .pricing-foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan .who {
    min-height: 0;
  }
}

/* ---- FAQ ----------------------------------------------------------------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 4px 24px;
  max-width: 740px;
  color: var(--ink-2);
  font-size: 16.5px;
}

.faq details p a {
  color: var(--accent-deep);
  font-weight: 600;
}

/* ---- closing CTA --------------------------------------------------------- */

.closer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 72px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(245, 158, 11, 0.28), transparent 70%),
    var(--dark);
  color: var(--dark-muted);
  text-align: center;
}

.closer h2 {
  color: #fff;
}

.closer .lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: #c4cbd8;
}

.closer .hero-actions {
  margin-top: 30px;
}

.closer .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}

.closer .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.founding {
  max-width: 520px;
  margin: 36px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founding p {
  font-size: 15px;
}

.founding form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.founding input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.founding input::placeholder {
  color: #8e97a8;
}

.founding .msg {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14.5px;
}

.founding .msg.ok {
  color: #7ee2b5;
}

.founding .msg.err {
  color: #ffb4a8;
}

@media (max-width: 520px) {
  .founding form {
    flex-direction: column;
  }
}

/* ---- footer -------------------------------------------------------------- */

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}

.foot-grid p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.foot-grid h4 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
}

.foot-grid li + li {
  margin-top: 9px;
}

.foot-grid a {
  color: var(--muted);
}

.foot-grid a:hover {
  color: var(--ink);
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* ---- motion -------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16.5px;
  }

  .btn {
    min-height: 50px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
