/* AD-FLOW 公開マーケティングサイト（LP・お問い合わせ）共通スタイル。
   全ページで1枚を共有するため、ページ固有の上書きは body の page-landing / page-contact / page-plans / page-legal で明示的にスコープする。 */

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/marketing-assets/fonts/archivo-black.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/marketing-assets/fonts/space-grotesk.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/marketing-assets/fonts/jetbrains-mono.woff2') format('woff2');
}

:root {
  /* AD-FLOW 本体のデザイントークンをそのまま流用（別ブランドに見せないため）。 */
  --void: #08080a;
  --panel: #1b1b1f;
  --card: #131316;
  --volt: #c8f135;
  --volt-dim: #a9d02a;
  --chalk: #f5f5f2;
  --ash: #8a8b86;
  --ash-dim: #5c5d59;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ok: #34c47a;
  --error: #ff5a5f;
  --g: #4d8bff;
  --m: #a06bff;
  --s: #34c47a;
  --c: #f0a83d;
  --radius-card: 18px;
  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1120px;
}

/* このサイトは一枚岩の単一テーマ（ダーク）。AD-FLOW本体にライトモードが無いのに合わせている。 */

body.page-contact {
  --wrap: 720px;
}

body.page-legal {
  --wrap: 780px;
}

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

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

body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[hidden] {
  display: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--volt);
  color: var(--void);
}

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

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

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  flex: none;
}

/* ---------- header / nav（共通） ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--volt);
  color: var(--void);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--void);
  background: var(--volt);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--volt-dim);
  transform: translateY(-1px);
}

.back-link {
  font-size: 0.85rem;
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.back-link:hover {
  color: var(--chalk);
  border-color: var(--volt);
}

/* ---------- hero（ベースはLP。下層ページは共通で抑えめのトーンに上書きする） ---------- */

.hero {
  padding-block: 76px 48px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(200, 241, 53, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-sub {
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ash);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

/* 下層ページ共通のhero（LP以外すべて）。大きい見出しと大きなグローを使うのはLPだけ。 */

body:not(.page-landing) .hero {
  padding-block: 56px 32px;
  text-align: center;
}

body:not(.page-landing) .hero::before {
  top: -100px;
  width: 700px;
  height: 400px;
  background: radial-gradient(closest-side, rgba(200, 241, 53, 0.14), transparent 70%);
}

body:not(.page-landing) .hero .eyebrow {
  margin-bottom: 22px;
}

body:not(.page-landing) .hero h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.15;
  max-width: none;
  letter-spacing: normal;
}

body:not(.page-landing) .hero p {
  margin-top: 18px;
  color: var(--ash);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 46ch;
  margin-inline: auto;
}

body.page-plans .hero-actions {
  margin-top: 10px;
}

body.page-plans .plans-features {
  padding-block: 16px 60px;
}

body.page-plans .plans-pricing {
  padding-block: 0 20px;
}

body.page-plans .plans-steps .flow {
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
  margin-inline: auto;
}

body.page-plans .plans-faq {
  padding-block: 20px 60px;
}

/* ---------- pricing cards（プランページのみ） ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
}

.pricing-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card.is-featured {
  border-color: var(--volt);
  box-shadow: 0 0 0 1px var(--volt) inset;
}

.pricing-card-badge {
  position: absolute;
  top: -13px;
  right: 26px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--void);
  background: var(--volt);
  border-radius: 999px;
  padding: 5px 14px;
}

.pricing-card-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ash-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-card-amount {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3rem);
  line-height: 1;
}

.pricing-card-unit {
  color: var(--ash);
  font-size: 0.92rem;
}

.pricing-card-note {
  color: var(--ash);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--chalk);
  font-size: 0.92rem;
  line-height: 1.6;
}

.pricing-list li::before {
  content: '✓';
  color: var(--volt);
  font-family: var(--font-mono);
  font-weight: 700;
  flex: none;
}

.pricing-card .btn-primary {
  justify-content: center;
  margin-top: auto;
}

/* ---------- buttons（共通） ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--void);
  background: var(--volt);
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(200, 241, 53, 0.4);
  transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
  background: var(--volt-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px -6px rgba(200, 241, 53, 0.45);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-ghost:hover {
  border-color: var(--volt);
  color: var(--volt);
}

/* ---------- demo frame（LPのみ） ---------- */

.demo-shell {
  width: 100%;
  max-width: 980px;
  margin: 30px auto 0;
}

.demo-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.demo-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ash);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.demo-tab:hover {
  color: var(--chalk);
}

.demo-tab.is-active {
  background: var(--volt);
  color: var(--void);
}

.demo-frame {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.demo-dots {
  display: flex;
  gap: 6px;
  flex: none;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ash-dim);
}

.demo-titlebar-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ash);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-media {
  line-height: 0;
  background: var(--void);
}

.demo-caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ash-dim);
  margin-top: 16px;
}

/* ---------- source strip（LPのみ） ---------- */

#why-ai {
  padding-bottom: 32px;
}

.sources {
  padding-block: 20px;
  border-block: 1px solid var(--line);
}

.sources-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.sources-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ash-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--chalk);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

/* ---------- section shell（LPのみ） ---------- */

section {
  padding-block: 60px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin-bottom: 40px;
}

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

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.2;
}

.section-head p {
  color: var(--ash);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ---------- features（LPのみ） ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature-card {
  background: var(--panel);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 232px;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ash-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.4;
}

.feature-card p {
  color: var(--ash);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- workflow（LPのみ） ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.flow::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line-strong);
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.flow-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--volt);
  font-size: 0.95rem;
  z-index: 1;
}

.flow-step h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
}

.flow-step p {
  color: var(--ash);
  font-size: 0.87rem;
  line-height: 1.7;
}

/* ---------- agency（LPのみ） ---------- */

.agency {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agency-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agency-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(200, 241, 53, 0.1);
  color: var(--volt);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.agency-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
}

.agency-card p {
  color: var(--ash);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- FAQ（LPのみ） ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin-inline: auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 6px 26px;
}

.faq-item + .faq-item {
  margin-top: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-block: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--chalk);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--volt);
  flex: none;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--ash);
  font-size: 0.94rem;
  line-height: 1.75;
  padding-bottom: 22px;
}

/* ---------- closing cta（LPのみ） ---------- */

.closing {
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.closing h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  max-width: 18ch;
}

.closing p {
  color: var(--ash);
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- お問い合わせフォーム（お問い合わせページのみ） ---------- */

main.contact-main {
  padding-bottom: 100px;
}

form#contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field .required {
  color: var(--volt);
  font-size: 0.7rem;
}

.field input[type='text'],
.field input[type='email'],
.field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--volt);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.field .hint {
  font-size: 0.8rem;
  color: var(--ash-dim);
}

.field input[type='file'] {
  width: 100%;
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.field input[type='file']::file-selector-button {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 14px;
  margin-right: 10px;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}
.field input[type='file']::file-selector-button:hover {
  border-color: var(--volt);
}

/* ハニーポット（bot対策の非表示フィールド）。人間には見えない位置に飛ばす。 */
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-option {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  margin: 0;
}

.radio-option span {
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-option:has(input:checked) {
  border-color: var(--volt);
  background: rgba(200, 241, 53, 0.08);
}

.radio-option:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--volt);
  font-size: 0.85rem;
  font-weight: 700;
}

.radio-option:has(input:focus-visible) {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.type-hint {
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ash);
  font-size: 0.85rem;
  line-height: 1.7;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.submit-note {
  font-size: 0.82rem;
  color: var(--ash-dim);
  line-height: 1.6;
}

.form-message {
  font-size: 0.85rem;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  color: var(--error);
}

.form-message.is-success {
  color: var(--ok);
}

.destination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ash-dim);
}

.destination code {
  color: var(--ash);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ---------- footer（共通） ---------- */

footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ash-dim);
}

/* ---------- reveal on scroll（LPのみ） ---------- */

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 特定商取引法ページ ---------- */

.legal-table {
  margin: 0 0 60px;
}

.legal-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.legal-row dt {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ash-dim);
  letter-spacing: 0.03em;
}

.legal-row dd {
  margin: 0;
  color: var(--chalk);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .agency-grid {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .flow::before {
    display: none;
  }
  body.page-plans .plans-steps .flow {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding-block: 48px;
  }
  .hero {
    padding-block: 56px 36px;
  }
  .legal-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .radio-grid {
    grid-template-columns: 1fr;
  }
  form#contact-form {
    padding: 26px 20px;
  }
}

