:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --text: #172026;
  --muted: #5f6b73;
  --primary: #0e7c86;
  --primary-strong: #08565d;
  --secondary: #ff6b3d;
  --line: #dce4e8;
  --danger: #cd3d3d;
  --success: #1f8c53;
  --radius: 16px;
  --shadow: 0 16px 42px rgba(4, 27, 39, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.main-wrap {
  min-height: calc(100vh - 260px);
  padding: 28px 0 72px;
}

.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.22;
  z-index: -1;
}

.bg-orb-left {
  left: -120px;
  top: -120px;
  background: #57b9a2;
}

.bg-orb-right {
  right: -120px;
  bottom: -140px;
  background: #f1a47a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 248, 0.9);
  border-bottom: 1px solid rgba(220, 228, 232, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--secondary), #ff8b5f);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.brand-name { font-size: 18px; }

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

.nav-link,
.nav-sub-link {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-link.is-active,
.nav-link:hover,
.nav-sub-link:hover {
  color: var(--text);
  background: #e9eff2;
}

.nav-sub-link {
  font-size: 13px;
  color: #71818d;
}

.nav-user {
  font-size: 13px;
  color: #385264;
  padding: 6px 8px;
  background: #e4eef2;
  border-radius: 999px;
}

.header-cta { margin-left: 8px; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); }
.btn-secondary { background: #1f2f39; color: #fff; }
.btn-secondary:hover { background: #132029; }
.btn-ghost { background: #e9eff2; color: #25404d; }
.btn-ghost:hover { background: #dce7ec; }
.btn-block { width: 100%; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

/* ===================== INTRO PAGE ===================== */

/* Hero */
.intro-hero {
  background: linear-gradient(160deg, #071e2a 0%, #0b3545 50%, #0e5060 100%);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}

.intro-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 75% 40%, rgba(14,124,134,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.intro-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.intro-badge {
  display: inline-block;
  background: rgba(78,198,210,0.14);
  color: #5ed3dd;
  border: 1px solid rgba(94,211,221,0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  margin-bottom: 22px;
}

.intro-hero-h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 20px;
}

.intro-accent {
  background: linear-gradient(90deg, #5ed3dd, #45b9a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.intro-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.intro-ghost-link {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intro-ghost-link:hover { color: #fff; }

.intro-trust {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* Preview cards */
.intro-hero-preview {
  position: relative;
  padding-bottom: 56px;
}

.ihp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ihp-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  transition: transform 0.25s ease;
}

.ihp-card + .ihp-card { margin-top: 10px; }
.ihp-card:hover { transform: translateX(4px); }

.ihp-card--1 { border-left: 3px solid #5ed3dd; }
.ihp-card--2 { border-left: 3px solid #ff8b5f; }
.ihp-card--3 { border-left: 3px solid #a78bfa; }

.ihp-card-num {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  padding-top: 2px;
  min-width: 22px;
}

.ihp-card-content strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.ihp-card-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.ihp-generated-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(94,211,221,0.12);
  border: 1px solid rgba(94,211,221,0.25);
  border-radius: 999px;
  color: #5ed3dd;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
}

/* Stats bar */
.intro-stats {
  margin-top: 56px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.intro-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.intro-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.intro-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}

.intro-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.intro-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Common section wrapper */
.intro-section {
  padding: 80px 0;
}

.intro-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.intro-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.intro-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.18;
  color: var(--text);
}

/* Feature cards */
.intro-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.intro-feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 2px 16px rgba(4,27,39,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.intro-feature-card:hover {
  box-shadow: 0 8px 32px rgba(4,27,39,0.1);
  transform: translateY(-3px);
}

.ifeat-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.intro-feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text);
}

.intro-feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* How it works */
.intro-how-bg {
  background: linear-gradient(180deg, #f0f6f8 0%, #e8f2f5 100%);
}

.intro-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.intro-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.istep-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #45b9a8);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 4px 16px rgba(14,124,134,0.3);
}

.istep-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.istep-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 160px;
  margin: 0 auto;
}

.intro-step-arrow {
  color: #b0c8d0;
  font-size: 24px;
  margin-top: 14px;
  flex-shrink: 0;
  padding: 0 8px;
}

/* CTA banner */
.intro-cta-banner {
  background: linear-gradient(120deg, #0b2e3d, var(--primary) 55%, #45b9a8);
  border-radius: 24px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.intro-cta-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.intro-cta-text h2 {
  font-size: clamp(22px, 3vw, 34px);
  color: #fff;
  line-height: 1.22;
  margin-bottom: 10px;
}

.intro-cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.intro-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  transition: 0.2s;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ===================== LANDING REDESIGN ===================== */
.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 121, 64, 0.24), transparent 42%),
    radial-gradient(circle at 80% 35%, rgba(98, 198, 175, 0.22), transparent 44%),
    linear-gradient(145deg, #052530, #0a3f4f 55%, #0f5f72);
  padding: 68px 0;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  pointer-events: none;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: #c7ecf1;
  border: 1px solid rgba(199, 236, 241, 0.34);
  background: rgba(199, 236, 241, 0.08);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.landing-hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  color: #f7feff;
}

.landing-hero-copy h1 span {
  color: #ffd7a6;
}

.landing-lead {
  margin-top: 18px;
  max-width: 520px;
  color: rgba(240, 252, 255, 0.78);
}

.landing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.landing-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-tags span {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: #cde8ed;
  border: 1px solid rgba(205, 232, 237, 0.28);
}

.landing-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.landing-board {
  width: min(470px, 100%);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.landing-board-top {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b8dee4;
  margin-bottom: 12px;
}

.landing-stack-card {
  position: relative;
  border-radius: 16px;
  padding: 16px;
  color: #0d2530;
  box-shadow: 0 18px 34px rgba(3, 19, 24, 0.18);
}

.landing-stack-card + .landing-stack-card {
  margin-top: 12px;
}

.landing-stack-card small {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(13, 37, 48, 0.08);
  font-weight: 700;
  margin-bottom: 8px;
}

.landing-stack-card h3 {
  font-size: 18px;
}

.landing-stack-card p {
  margin-top: 6px;
  color: #405460;
  font-size: 14px;
}

.landing-stack-card.card-a { background: #effff9; animation: landingFloat 5s ease-in-out infinite; }
.landing-stack-card.card-b { background: #fff6e9; animation: landingFloat 6s ease-in-out infinite; }
.landing-stack-card.card-c { background: #edf8ff; animation: landingFloat 7s ease-in-out infinite; }

.landing-proof {
  margin-top: -20px;
  margin-bottom: 30px;
}

.landing-proof-grid {
  border-radius: 18px;
  border: 1px solid #d7e6eb;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(7, 36, 49, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.landing-metric {
  text-align: center;
  padding: 22px 10px;
}

.landing-metric + .landing-metric {
  border-left: 1px solid #e1ebef;
}

.landing-metric strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  color: #0f5061;
}

.landing-metric span {
  font-size: 13px;
  color: #5b6d76;
}

.landing-section {
  padding: 50px 0;
}

.landing-head {
  margin-bottom: 20px;
}

.landing-head p {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #2f7482;
  font-weight: 700;
}

.landing-head h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.landing-feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.landing-feature {
  border-radius: 18px;
  border: 1px solid #d8e6eb;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(8, 37, 49, 0.06);
}

.landing-feature.large {
  grid-column: span 2;
  background: linear-gradient(130deg, #ffffff, #f5fbfe);
}

.landing-feature h3 {
  font-size: 20px;
}

.landing-feature p {
  margin-top: 10px;
  color: #5f6d74;
}

.landing-flow-wrap {
  background: linear-gradient(180deg, #f3f8fb, #e9f3f7);
  border-top: 1px solid #dbe7ec;
  border-bottom: 1px solid #dbe7ec;
}

.landing-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.landing-flow-item {
  background: #ffffff;
  border: 1px solid #d7e6eb;
  border-radius: 16px;
  padding: 18px;
}

.landing-flow-item b {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0e7c86;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}

.landing-flow-item h3 {
  margin-top: 10px;
  font-size: 18px;
}

.landing-flow-item p {
  margin-top: 6px;
  color: #5f6d74;
  font-size: 14px;
}

.landing-cta {
  padding: 50px 0 20px;
}

.landing-cta-box {
  border-radius: 22px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #f7ffff;
  background:
    linear-gradient(110deg, #083240, #0f5a6d 52%, #1a7e8f),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 10px,
      transparent 10px,
      transparent 20px
    );
}

.landing-cta-box p {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #afe4eb;
}

.landing-cta-box h2 {
  margin-top: 6px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
}

.landing-hero-copy > * {
  opacity: 0;
  transform: translateY(10px);
  animation: landingFadeUp 0.55s ease forwards;
}

.landing-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.landing-hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
.landing-hero-copy > *:nth-child(3) { animation-delay: 0.15s; }
.landing-hero-copy > *:nth-child(4) { animation-delay: 0.2s; }
.landing-hero-copy > *:nth-child(5) { animation-delay: 0.25s; }

@keyframes landingFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landingFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 1100px) {
  .landing-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .landing-hero {
    border-radius: 22px;
    padding: 42px 0;
  }
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }
  .landing-proof {
    margin-top: 10px;
  }
  .landing-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-metric:nth-child(3),
  .landing-metric:nth-child(4) {
    border-top: 1px solid #e1ebef;
  }
  .landing-metric:nth-child(3) {
    border-left: 0;
  }
  .landing-feature-grid,
  .landing-flow {
    grid-template-columns: 1fr;
  }
  .landing-feature.large {
    grid-column: span 1;
  }
  .landing-cta-box {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.page-head h1 { font-size: 34px; }
.page-head p { color: var(--muted); margin-top: 8px; }

.builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.preview-panel { min-height: 420px; }
.preview-card {
  border: 1px solid #dbe6ea;
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
}

.preview-card strong {
  font-size: 12px;
  color: #3c6576;
}

.preview-card h3 {
  margin-top: 4px;
  font-size: 20px;
}

.preview-card p { margin-top: 6px; color: #425563; }
.preview-card small { display: block; margin-top: 8px; color: #1f8c53; font-weight: 700; }

.empty-state {
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  background: #f4f8fa;
  border: 1px dashed #cddde5;
}

.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: #5f6b73; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e3f0f2;
  color: #1f5b64;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.row { display: flex; align-items: center; }
.row-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.stack-md > * + * { margin-top: 12px; }

.field { display: block; }
.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #3d5563;
  font-weight: 700;
}

.input {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #cfdce2;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
}

.textarea {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.input:focus {
  outline: none;
  border-color: #0e7c86;
  box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.14);
}

.input.is-error {
  border-color: var(--danger);
  background: #fff8f8;
}

.field-error {
  margin-top: 6px;
  display: block;
  color: var(--danger);
  font-size: 12px;
}

.auth-wrap {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(520px, 100%);
}

.auth-card.wide { width: min(620px, 100%); }
.auth-card h1 { font-size: 32px; }

.muted {
  margin-top: 6px;
  color: var(--muted);
}

.muted-sm {
  margin: -4px 0 2px;
  color: #627682;
  font-size: 12px;
}

.auth-links {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-links.single { justify-content: flex-start; }

.auth-links a {
  font-size: 13px;
  color: #2e6172;
  text-decoration: underline;
}

.alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 14px;
}

.alert.error {
  background: #fff1f1;
  color: #9f2f2f;
  border: 1px solid #f1c1c1;
}

.alert.success {
  background: #eef9f1;
  color: #1f8c53;
  border: 1px solid #b8e2c8;
}

.site-footer {
  border-top: 1px solid #d9e4e8;
  background: #f2f6f8;
  padding-top: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}

.footer-title { font-size: 18px; }
.footer-copy { margin-top: 8px; color: #556975; font-size: 14px; }
.footer-sub { font-size: 14px; margin-bottom: 8px; }

.footer-grid a {
  display: block;
  color: #486170;
  font-size: 14px;
  margin-top: 6px;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #d8e3e8;
  text-align: center;
  color: #5f707b;
  font-size: 12px;
  padding: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: #e7eff2;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 18px;
  margin-left: auto;
}

@media (max-width: 1024px) {
  .intro-features { grid-template-columns: repeat(2, 1fr); }
  .intro-steps { flex-wrap: wrap; justify-content: center; }
  .intro-step { min-width: 160px; flex: unset; width: calc(50% - 40px); }
  .intro-step-arrow:nth-child(4) { display: none; }
}

@media (max-width: 840px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    border: 1px solid #d6e2e8;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-user { margin: 4px 8px; width: fit-content; }

  /* Intro hero */
  .intro-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .intro-hero-preview { padding-bottom: 24px; }
  .intro-hero { padding: 60px 0 0; }
  .intro-stats-inner { gap: 0; flex-wrap: wrap; }
  .intro-stat { min-width: 50%; padding: 10px 0; }
  .intro-stat-divider { display: none; }

  /* Intro sections */
  .intro-features { grid-template-columns: 1fr; }
  .intro-steps { flex-direction: column; align-items: center; }
  .intro-step { width: 100%; max-width: 320px; }
  .intro-step-arrow { transform: rotate(90deg); }
  .intro-cta-banner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .intro-cta-actions { width: 100%; }
  .btn-cta-outline { width: 100%; }

  /* builder grid */
  .builder-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .row { flex-wrap: wrap; }

  .btn,
  .row .btn,
  .row a.btn {
    width: 100%;
  }
}
