:root {
  --bg: #05070a;
  --bg-2: #090d12;
  --panel: #0d131b;
  --panel-2: #111923;
  --panel-3: #162231;
  --paper: #f6f8fb;
  --ink: #f7f9fc;
  --ink-dark: #0c1117;
  --muted: #9ba8b7;
  --muted-2: #7b8a9d;
  --line: #243244;
  --line-2: #d7dee8;
  --blue: #1476d4;
  --blue-2: #73b7ff;
  --blue-dark: #0f66c2;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #06080c 0%, #05070a 44rem, #080c12 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.zh {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
}

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

picture {
  display: block;
}

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

:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
}

.section-light :focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: var(--blue);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.42rem;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 10, 0.9);
  border-bottom: 1px solid rgba(36, 50, 68, 0.68);
  backdrop-filter: blur(20px);
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.15;
}

.brand span span,
.brand > span > span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.lang-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-dark);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.section-light .btn-outline,
.section-light .btn-secondary {
  border-color: var(--line-2);
  color: var(--ink-dark);
  background: transparent;
}

.btn:hover {
  filter: brightness(1.06);
}

.hero {
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: var(--blue-2);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 16px;
  max-width: 880px;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 1.01;
  letter-spacing: 0;
}

h2 {
  margin-top: 10px;
  font-size: clamp(1.85rem, 3.8vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.22;
}

.lead {
  margin-top: 20px;
  max-width: 730px;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-panel,
.product-shot,
.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 25, 35, 0.94), rgba(9, 13, 18, 0.98));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 14px;
}

.hero-panel img,
.hero-panel video,
.media-frame img,
.media-frame video {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0b1017;
}

.hero-panel picture,
.media-frame picture {
  width: 100%;
}

.media-frame.contain img {
  object-fit: contain;
  background: #fff;
}

.media-frame.screenshot img,
.media-frame.screenshot video {
  object-fit: contain;
  background: #0b1017;
}

.media-frame.wide-dark,
.media-frame.ultrawide-dark {
  background: #020407;
}

.media-frame.wide-dark img {
  aspect-ratio: 2.45 / 1;
  object-fit: contain;
  background: #020407;
}

.media-frame.ultrawide-dark img {
  aspect-ratio: 3 / 1;
  object-fit: contain;
  background: #151b24;
}

.media-frame.invert-image img {
  filter: invert(1);
}

.media-grid-equal .media-frame {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.media-grid-equal .media-frame img,
.media-grid-equal .media-frame video {
  height: auto;
  object-fit: contain;
}

.media-grid-equal figcaption {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.section-light .media-frame.wide-dark figcaption,
.section-light .media-frame.ultrawide-dark figcaption {
  color: #c7d1de;
  background: #05070a;
  border-color: #1d2938;
}

.hero-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-caption div {
  background: rgba(13, 19, 27, 0.96);
  padding: 12px 10px;
}

.hero-caption strong,
.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.hero-caption span,
.metric span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 86px 0;
}

.section-band {
  background: rgba(255, 255, 255, 0.028);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-light {
  background: var(--paper);
  color: var(--ink-dark);
}

.section-dark {
  background: #070b11;
  border-bottom: 1px solid var(--line);
}

.section-light .lead,
.section-light .card p,
.section-light .note-box p,
.section-light li,
.section-light figcaption {
  color: #526171;
}

.section-light .eyebrow {
  color: var(--blue-dark);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 18px;
}

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

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

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

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

.card,
.price-card,
.tutorial-card,
.note-box {
  background: linear-gradient(180deg, rgba(17, 25, 35, 0.92), rgba(10, 15, 21, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.section-light .card,
.section-light .price-card,
.section-light .tutorial-card,
.section-light .note-box {
  background: #fff;
  border-color: var(--line-2);
}

.card p,
.tutorial-card p,
.price-card p,
.note-box p {
  margin-top: 10px;
  color: var(--muted);
}

.card .btn,
.note-box .btn {
  margin-top: 18px;
}

.card ul,
.price-card ul,
.tutorial-card ul,
.note-box ul,
.tutorial-card ol {
  margin-top: 16px;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(36, 50, 68, 0.74);
  gap: 1px;
}

.metric {
  background: var(--panel);
  padding: 24px;
}

.metric strong {
  font-size: 1.4rem;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(5, 7, 10, 0.88);
  border-top: 1px solid var(--line);
}

.section-light figcaption {
  background: #fff;
  border-color: var(--line-2);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

.section-light .tag {
  border-color: var(--line-2);
  background: #fff;
  color: #526171;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border-color: rgba(45, 140, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(45, 140, 255, 0.24) inset;
}

.price-card.featured::before {
  content: "Recommended";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid rgba(115, 183, 255, 0.42);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--blue-2);
  background: rgba(45, 140, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-card.invite-card {
  grid-column: 2 / 4;
}

.price {
  margin-top: 14px;
  font-size: 2.05rem;
  line-height: 1;
  font-weight: 850;
}

.price small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.price-card .btn {
  margin-top: auto;
  display: flex;
  width: 100%;
  white-space: normal;   /* allow long plan labels to wrap instead of overflowing the card */
  text-align: center;
}

.tutorial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tutorial-card .media-frame {
  margin-top: auto;
}

.tutorial-number {
  color: var(--blue-2);
  font-weight: 800;
  font-size: 0.82rem;
}

.tutorial-page {
  max-width: 940px;
}

.tutorial-page > * + * {
  margin-top: 26px;
}

.tutorial-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 25, 35, 0.92), rgba(10, 15, 21, 0.96));
}

.tutorial-section h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.tutorial-section h3 {
  margin-top: 22px;
}

.tutorial-section p,
.tutorial-section li {
  color: var(--muted);
}

.tutorial-section p {
  margin-top: 10px;
}

.tutorial-section ol,
.tutorial-section ul {
  margin-top: 16px;
}

.tutorial-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 44px;
}

.steps li + li {
  margin-top: 14px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(115, 183, 255, 0.42);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(45, 140, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}

.screenshot-plan {
  margin-top: 18px;
}

.note-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.note-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.section-light .tutorial-number {
  color: var(--blue-dark);
}

.warning {
  border-left: 4px solid var(--blue);
}

.compact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.compact-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.content-page {
  max-width: 960px;
}

.content-page > * + * {
  margin-top: 22px;
}

.content-page h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.content-page p,
.content-page li {
  color: var(--muted);
}

.content-page p {
  margin-top: 10px;
}

.content-page a:not(.btn) {
  color: var(--blue-2);
}

.section-light .content-page p,
.section-light .content-page li {
  color: #526171;
}

.section-light .content-page a:not(.btn) {
  color: var(--blue-dark);
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--blue-2);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.section-light .data-table-wrap {
  background: #fff;
  border-color: var(--line-2);
}

.section-light .data-table th,
.section-light .data-table td {
  border-color: var(--line-2);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 0.88rem;
  background: #05070a;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--ink);
}

/* ============================================================
   Buyer-path components (nav density, proof strip, CTAs,
   process steps, FAQ, breadcrumbs, sample cards, footer)
   ============================================================ */

/* Denser nav so the full buyer path fits without crowding */
.nav-links {
  gap: 12px;
  font-size: 0.88rem;
}

.nav-links .btn {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.86rem;
}

.brand {
  min-width: 210px;
}

.nav-links a.active {
  color: var(--ink);
}

/* Value / proof strip near the top of a page */
.valuestrip {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.valuestrip .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 20px;
  padding: 14px 16px;
}

.valuestrip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.valuestrip span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-2);
  flex: none;
}

.section-light .valuestrip span {
  color: #526171;
}

/* Trust microcopy under CTAs */
.trust-line {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.section-light .trust-line {
  color: #6b7a8b;
}

/* Breadcrumbs */
.breadcrumb {
  padding-top: 26px;
  color: var(--muted-2);
  font-size: 0.84rem;
}

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

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

.breadcrumb .sep {
  padding: 0 7px;
  color: var(--muted-2);
}

/* Reusable CTA band */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(45, 140, 255, 0.09), rgba(13, 19, 27, 0.55));
  padding: 38px 34px;
  text-align: center;
}

.cta-band h2 {
  margin-top: 0;
}

.cta-band .lead {
  margin-inline: auto;
}

.cta-band .actions {
  justify-content: center;
}

.section-light .cta-band {
  background: linear-gradient(180deg, rgba(45, 140, 255, 0.06), #ffffff);
  border-color: var(--line-2);
}

/* Horizontal numbered process steps */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  counter-reset: flowstep;
}

.flow-steps .flow-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.flow-steps .flow-step::before {
  counter-increment: flowstep;
  content: counter(flowstep);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border: 1px solid rgba(115, 183, 255, 0.42);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(45, 140, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}

.flow-steps .flow-step strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.flow-steps .flow-step span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-light .flow-steps .flow-step strong {
  color: var(--ink-dark);
}

.section-light .flow-steps .flow-step span {
  color: #526171;
}

/* FAQ (details/summary, no JS) */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-2);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq .faq-body {
  padding: 0 18px 16px;
  color: var(--muted);
}

.faq .faq-body a {
  color: var(--blue-2);
}

.section-light .faq summary {
  color: var(--ink-dark);
}

.section-light .faq .faq-body {
  color: #526171;
}

.section-light .faq .faq-body a {
  color: var(--blue-dark);
}

/* Badges (e.g. "Sample preview coming soon", "Included") */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.badge.badge-pending {
  color: var(--blue-2);
  border-color: rgba(115, 183, 255, 0.4);
  background: rgba(45, 140, 255, 0.08);
}

.badge.badge-ok {
  color: #58d39a;
  border-color: rgba(88, 211, 154, 0.4);
  background: rgba(88, 211, 154, 0.08);
}

.section-light .badge {
  border-color: var(--line-2);
  background: #fff;
  color: #526171;
}

/* Sample-output cards */
.sample-card {
  display: flex;
  flex-direction: column;
}

.sample-card .sample-frame {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 12px, rgba(255, 255, 255, 0.04) 12px 24px);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 0.86rem;
  margin-top: 16px;
}

.sample-card h3 + .badge {
  margin-top: 12px;
}

/* Pricing scope strip on cards */
.price-scope {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.price-card ul li.no {
  color: var(--muted-2);
}

.price-note {
  margin-top: 14px;
  color: var(--blue-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.founding-callout {
  border: 1px solid rgba(115, 183, 255, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(45, 140, 255, 0.12), rgba(13, 19, 27, 0.92));
  padding: 26px;
}

.founding-callout h2,
.founding-callout h3 {
  margin-top: 8px;
}

.founding-callout h2,
.founding-callout h3,
.founding-callout p,
.founding-callout li {
  color: var(--ink);
}

.founding-callout .lead,
.founding-callout .trust-line {
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.fit-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.fit-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.fit-list strong {
  color: var(--ink);
}

.section-light .fit-list li {
  border-color: var(--line-2);
  background: #fff;
  color: #526171;
}

.section-light .fit-list strong {
  color: var(--ink-dark);
}

.evaluation-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.check-field {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field.full {
  grid-column: 1 / -1;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}

.check-field input {
  margin-top: 0.25rem;
  flex: none;
}

.form-hint,
.form-status {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status {
  min-height: 1.3em;
}

.request-copy-box {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.028);
}

.request-copy-box h3 {
  margin: 0;
}

.request-copy-box textarea {
  width: 100%;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: rgba(5, 7, 10, 0.78);
  font: 0.88rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.request-copy-box .actions {
  margin-top: 0;
}

.roadmap-grid,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, rgba(17, 25, 35, 0.92), rgba(10, 15, 21, 0.96));
}

.tool-card .field {
  margin-top: 12px;
}

.calculator-result {
  margin-top: 16px;
  border: 1px solid rgba(115, 183, 255, 0.38);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--ink);
  background: rgba(45, 140, 255, 0.08);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checklist-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.028);
}

.checklist-card ul {
  margin-top: 14px;
  color: var(--muted);
}

.placeholder-note {
  border: 1px dashed rgba(115, 183, 255, 0.44);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
  background: rgba(45, 140, 255, 0.06);
}

/* Comparison / feature check tables reuse .data-table with marks */
.data-table .yes {
  color: #58d39a;
  font-weight: 700;
}

.data-table .no {
  color: var(--muted-2);
}

/* Multi-column footer */
.footer-cols {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 10px;
}

.footer-cols .foot-brand strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.footer-cols .foot-brand p {
  margin-top: 10px;
  max-width: 340px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-col h4 {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-base {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.footer-disclaimer {
  margin-top: 12px;
  max-width: 760px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .fit-grid,
  .tool-grid,
  .roadmap-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

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

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

  .grid-4,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tutorial-meta {
    grid-template-columns: 1fr;
  }

  .price-card.invite-card {
    grid-column: auto;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero {
    min-height: auto;
    padding: 54px 0 38px;
  }

  .hero-grid,
  .price-grid,
  .grid-4,
  .grid-5,
  .form-grid,
  .fit-list li,
  .metric-row,
  .hero-caption,
  .flow-steps,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

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