/* ============================================================
   Orderly Affairs Vault — shared stylesheet
   Brand: Navy #213D59, Navy Deep #10202F, Sky Blue #3EB1E5, White/Soft-gray
   Matched to the live front page's sharper, high-contrast SaaS look.
   Fonts: Inter (headlines + body, system-ui fallback stack)
   ============================================================ */

:root {
  --navy: #213D59;
  --navy-deep: #10202F;
  --sky: #3EB1E5;
  --sky-dark: #2A94C4;
  --sky-tint: #E6F4FC;
  --sky-tint-ink: #1C6B92;
  --gold: #C9A24B;
  --white: #FFFFFF;
  --bg-soft: #F7F8FA;
  --ink: #26323F;
  --ink-soft: #5B6672;
  --line: #E3E8EE;
  --shadow: 0 20px 48px -22px rgba(33, 61, 89, 0.45);
  --shadow-soft: 0 12px 30px -16px rgba(33, 61, 89, 0.32);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-head: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-sub: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-small: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.5em;
  line-height: 1.16;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }

.sub {
  font-family: var(--font-sub);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  font-weight: 400;
}

.script-accent {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--sky);
}

p { margin: 0 0 1em; }
.small { font-family: var(--font-small); font-size: 0.88rem; color: var(--ink-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .sub { color: rgba(255,255,255,0.78); }
.section--panel {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--font-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  color: var(--sky-tint-ink);
  background: var(--sky-tint);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  display: inline-block;
}
.section--navy .eyebrow { background: rgba(255,255,255,0.12); color: var(--white); }

.center { text-align: center; }
.stack-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-small);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky); color: var(--navy-deep); box-shadow: 0 14px 28px -12px rgba(62,177,229,0.55); }
.btn-primary:hover { background: var(--sky-dark); box-shadow: 0 18px 36px -14px rgba(42,148,196,0.6); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-on-navy { background: var(--white); color: var(--navy); }
.btn-on-navy:hover { background: var(--sky); color: var(--navy-deep); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

.link-arrow { font-weight: 700; border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.link-arrow:hover { color: var(--sky-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.brand .brand-logo { height: 62px; width: auto; }
.brand-word { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--navy); line-height: 1.05; letter-spacing: -0.01em; }
.brand-word span { display: block; font-family: var(--font-small); font-size: 0.62rem; letter-spacing: 0.28em; color: var(--sky-dark); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--font-small);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--sky); color: var(--navy-deep); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 60px;
  background:
    radial-gradient(circle at 15% 20%, rgba(62,177,229,0.10), transparent 45%),
    var(--bg-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-family: var(--font-small);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row span::before { content: "✓"; color: var(--sky-dark); font-weight: 900; }

.hero-art {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
}
.hero-art .mock-window {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mock-topbar {
  background: var(--navy);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}
.mock-topbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); display: block; }
.mock-body { padding: 18px; background: var(--bg-soft); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); margin-bottom: 10px; box-shadow: 0 4px 12px -6px rgba(33,61,89,0.15); }
.mock-row .dot { width: 34px; height: 34px; border-radius: 9px; background: var(--sky-tint); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.mock-row .txt strong { display: block; font-size: 0.86rem; color: var(--navy); }
.mock-row .txt span { font-size: 0.76rem; color: var(--ink-soft); }
.mock-row .ok { margin-left: auto; font-size: 0.72rem; color: #1F6A54; font-weight: 700; background: #EAF6F1; padding: 3px 9px; border-radius: 999px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sky-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  font-family: var(--font-small);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.badge--light { border-color: var(--line); color: var(--sky-tint-ink); background: var(--sky-tint); }

/* ---------- Spotlight / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.98rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  color: var(--sky);
  font-weight: 900;
}
.split-media {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.section--navy .split-media { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); box-shadow: none; }

/* message card mock */
.msg-card { background: var(--bg-soft); border-radius: 14px; padding: 20px; margin-bottom: 12px; border: 1px solid var(--line); }
.section--navy .msg-card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.msg-card .who { font-weight: 700; font-size: 0.85rem; }
.msg-card .when { font-size: 0.78rem; color: var(--ink-soft); }
.section--navy .msg-card .when { color: rgba(255,255,255,0.65); }

/* ---------- Vault demo (folder drop) ---------- */
.demo-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.demo-heading { grid-column: 1 / -1; text-align: center; margin-bottom: 6px; }
.doc-tray { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; min-height: 260px; }
.doc-chip {
  font-family: var(--font-small);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 6px 16px -6px rgba(33,61,89,0.18);
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.doc-chip:active { cursor: grabbing; }
.doc-chip .emoji { font-size: 1.05rem; }
.doc-chip.filed { opacity: 0; transform: scale(0.6); pointer-events: none; }

.dropzone {
  border: 2px dashed var(--sky-dark);
  border-radius: 18px;
  min-height: 260px;
  background: var(--sky-tint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.dropzone.dragover { background: #D6EEFA; border-color: var(--sky); }
.dropzone .vault-icon { width: 54px; margin-bottom: 6px; }
.dropzone p { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }
.filed-toast {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.filed-toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-note { grid-column: 1 / -1; text-align: center; }

.folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0 26px;
}
.folder-tab {
  font-family: var(--font-small);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.folder-tab:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(33,61,89,0.2); }
.folder-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.folder-panel { display: none; }
.folder-panel.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.file-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  font-family: var(--font-small);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 16px -8px rgba(33,61,89,0.16);
}
.file-chip .emoji { font-size: 1.2rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { text-align: center; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sky); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 16px;
  box-shadow: 0 10px 22px -10px rgba(62,177,229,0.6);
}

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 46px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
}
.faq-q .plus { font-size: 1.3rem; color: var(--sky-dark); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.faq-a-inner { padding: 0 0 20px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured { border: 2px solid var(--sky); box-shadow: 0 26px 56px -22px rgba(62,177,229,0.45); transform: translateY(-8px); }
.plan-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sky); color: var(--navy-deep);
  font-family: var(--font-small); font-weight: 800; font-size: 0.72rem;
  padding: 6px 16px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 10px 20px -8px rgba(62,177,229,0.55);
}
.plan h3 { margin-bottom: 4px; }
.plan .price { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--navy); margin: 12px 0 2px; }
.plan .price span { font-family: var(--font-small); font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.plan .billed { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 22px; }
.plan .sale-note { font-size: 0.8rem; color: var(--sky-dark); font-weight: 700; margin: -16px 0 20px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex-grow: 1; }
.plan ul li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 0.92rem; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--sky-dark); font-weight: 900; }
.plan.coming-soon { opacity: 0.75; }
.plan.coming-soon ul li::before { content: "•"; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.9rem; }
.compare-table th { font-family: var(--font-small); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; color: var(--ink-soft); background: var(--bg-soft); }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 700; color: var(--navy); }

/* ---------- Founder / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .glyph { font-size: 1.8rem; margin-bottom: 10px; }

.timeline { border-left: 2px solid var(--line); margin-left: 10px; padding-left: 30px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--sky); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--line);
}
.timeline-item h4 { margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-radius: 26px;
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--white); }
.cta-band .sub { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.8); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-col h4 { color: var(--white); font-family: var(--font-small); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ---------- Media placeholders (swap in real screenshots/video later) ---------- */
.media-placeholder {
  border: 2px dashed rgba(33,61,89,0.28);
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 30px;
  min-height: 220px;
  color: var(--navy);
}
.media-placeholder .mp-icon { font-size: 2.4rem; opacity: 0.85; }
.media-placeholder .mp-label { font-family: var(--font-small); font-weight: 700; font-size: 0.88rem; }
.media-placeholder .mp-sub { font-family: var(--font-small); font-size: 0.76rem; color: var(--ink-soft); max-width: 260px; }
.media-placeholder--video { aspect-ratio: 16 / 9; min-height: unset; }
.media-placeholder--square { aspect-ratio: 1 / 1; min-height: unset; }
.media-placeholder--wide { aspect-ratio: 16 / 10; min-height: unset; }
.section--navy .media-placeholder { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); box-shadow: none; color: #fff; }
.section--navy .media-placeholder .mp-sub { color: rgba(255,255,255,0.65); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pill-note {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-family: var(--font-small);
  font-weight: 600;
}
.section--navy .pill-note { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }

.two-col-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .two-col-intro { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .grid-3, .grid-4, .value-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .demo-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-2, .value-grid, .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .folder-panel.active { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.8rem; }

  .nav-wrap { padding: 12px 16px; gap: 8px; }
  .brand-word { font-size: 0.86rem; }
  .brand img { height: 30px; }
  .brand .brand-logo { height: 50px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 0.78rem; white-space: nowrap; }
  .demo-wrap { padding: 20px; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 700; border-bottom: 1px solid var(--line); }
