@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/PretendardVariable.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 900;
}

:root {
  --accent-amber: #f59e0b;
  --brand-primary: #6366f1;
  --brand-primary-soft: #818cf8;
  --brand-primary-weak: #eef2ff;
  --brand-purple: #a78bfa;
  --error: #ef4444;
  --ink: #111827;
  --line: #e5e7eb;
  --muted: #6b7280;
  --page-bg: #f9fafb;
  --slate-200: #cbd5e1;
  --slate-400: #94a3b8;
  --subtle: #9ca3af;
  --success: #10b981;
  --success-mint: #34d399;
  --surface: #ffffff;
  --surface-alt: #f3f4f6;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --dark-hero: #0b1020;
  --dark-card: #111827;
  --dark-line: rgba(255, 255, 255, 0.12);
  --radius-card: 24px;
  --radius-lg: 20px;
  --radius-card-md: 18px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 24px 70px rgba(17, 24, 39, 0.14);
  --rail: min(1280px, calc(100vw - 48px));
  color-scheme: light;
  font-family:
    "Pretendard", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

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

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

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

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

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

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

.rail {
  width: var(--rail);
  margin-inline: auto;
}

.section-dark {
  background: var(--dark-hero);
  color: var(--surface);
}

.section-dark2 {
  background: var(--dark-card);
  color: var(--surface);
}

.section-light {
  background: var(--surface);
}

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

.section-cta {
  background: var(--indigo-50);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--surface);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.24em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--slate-200);
  font-size: 14px;
  font-weight: 600;
}

.site-header.is-scrolled .nav-links {
  color: var(--muted);
}

.nav-links a {
  padding-block: 10px;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--brand-primary-soft);
}

.nav-store-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid #374151;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.store-button:hover {
  border-color: #4b5563;
  transform: translateY(-1px);
}

.store-button.is-disabled {
  cursor: default;
  pointer-events: none;
}

.store-button-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-button-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-button-label {
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store-button-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.store-button-compact {
  height: 42px;
  padding: 0 12px;
  gap: 8px;
  border-radius: 10px;
}

.store-button-compact .store-button-icon {
  width: 18px;
  height: 18px;
}

.store-button-compact .store-button-label {
  font-size: 8px;
}

.store-button-compact .store-button-name {
  font-size: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 860px;
  padding-top: 84px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(420px, 1fr);
  align-items: center;
  min-height: 776px;
  gap: 56px;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 24px;
}

.hero-copy > * {
  margin: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.108em;
  text-transform: uppercase;
}

.eyebrow-green {
  color: var(--success-mint);
}

.section-dark .eyebrow {
  color: var(--brand-primary-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.hero-title-brand {
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.hero-sub,
.section-heading p:not(.eyebrow),
.split-heading p:not(.eyebrow),
.wrong-copy > p:not(.eyebrow),
.download-inner > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-dark .hero-sub,
.section-dark2 .wrong-copy > p {
  color: var(--slate-200);
}

.hero-sub {
  max-width: 600px;
  font-size: 20px;
  overflow-wrap: break-word;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row-center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 24px;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.is-disabled {
  cursor: default;
  pointer-events: none;
}

.button-primary {
  background: var(--brand-primary);
  color: var(--surface);
  box-shadow: 0 16px 34px rgba(99, 102, 241, 0.36);
}

.button-primary:hover {
  background: #5558e8;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--surface);
  padding: 0 22px;
}

.button-secondary.light {
  border-color: var(--indigo-200);
  background: var(--surface);
  color: var(--indigo-800);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary.light:hover {
  border-color: var(--brand-primary-soft);
  background: var(--brand-primary-weak);
}

.button-on-dark {
  width: 100%;
  min-height: 48px;
  background: var(--surface);
  color: var(--indigo-800);
  font-size: 15px;
}

.hero-media {
  display: flex;
  justify-content: center;
  min-width: 0;
  transform: translateX(6px);
}

.hero-media img {
  width: min(624px, 100%);
  border-radius: 28px;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.32));
}

.problem {
  padding: 96px 0;
}

.problem-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-heading {
  min-width: 0;
  max-width: 760px;
}

.section-heading p,
.split-heading p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 17px;
}

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

.compare-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.compare-card > * {
  margin: 0;
}

.compare-card-before {
  background: var(--page-bg);
  border-color: var(--line);
}

.compare-card-before .card-icon {
  color: var(--subtle);
}

.compare-card-after {
  background: var(--indigo-50);
  border-color: var(--indigo-200);
}

.compare-card-after .card-icon {
  color: var(--brand-primary);
}

.compare-card .card-icon {
  display: block;
  width: 32px;
  height: 32px;
}

.compare-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.compare-card > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.compare-card-after > p {
  color: #4b5563;
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-card-before li {
  color: #374151;
  font-size: 15px;
  font-weight: 600;
}

.compare-card-after li {
  color: var(--indigo-800);
  font-size: 15px;
  font-weight: 700;
}

.flow {
  padding: 96px 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}

.split-heading > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-heading > div:first-child > * {
  margin: 0;
}

.split-heading > *,
.types-panel > *,
.wrong-grid > * {
  min-width: 0;
}

.split-heading h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  gap: 8px;
  justify-self: end;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.flow-badge .icon {
  color: var(--success);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card-md);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-card > * {
  margin: 0;
}

.step-no {
  display: block;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.step-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: 300px;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  border-radius: 99px;
  background: var(--indigo-100);
  transform: translateY(-50%);
}

.timeline div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 1;
}

.timeline strong {
  position: absolute;
  top: calc(50% + 52px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.timeline-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--surface);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.22);
}

.dot-indigo {
  background: var(--brand-primary);
}

.dot-purple {
  background: var(--brand-purple);
}

.dot-amber {
  background: var(--accent-amber);
}

.dot-green {
  background: var(--success);
}

.timeline strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.types {
  padding: 96px 0;
}

.metric {
  display: grid;
  align-content: center;
  width: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card-md);
  background: var(--page-bg);
  padding: 22px;
  justify-self: end;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.metric strong {
  color: var(--brand-primary);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.metric span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.types-panel {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ai-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 324px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #131040 0%, #3730a3 70%, #6366f1 100%);
  color: var(--surface);
  padding: 32px;
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.28);
}

.ai-card > * {
  margin: 0;
}

.ai-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 800;
}

.ai-label .icon {
  color: #c4b5fd;
}

.ai-card h3 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--surface);
}

.ai-card p:not(.ai-label) {
  color: var(--indigo-100);
  font-size: 15px;
  line-height: 1.55;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.chip-indigo {
  background: #eef2ff;
  color: #6366f1;
}
.chip-blue {
  background: #dbeafe;
  color: #2563eb;
}
.chip-amber {
  background: #fef3c7;
  color: #b45309;
}
.chip-emerald {
  background: #d1fae5;
  color: #047857;
}
.chip-red {
  background: #fee2e2;
  color: #dc2626;
}
.chip-violet {
  background: #f3e8ff;
  color: #7c3aed;
}
.chip-mint {
  background: #ecfdf5;
  color: #059669;
}
.chip-rose {
  background: #fff1f2;
  color: #e11d48;
}
.chip-iris {
  background: #e0e7ff;
  color: #4338ca;
}
.chip-yellow {
  background: #fef9c3;
  color: #a16207;
}
.chip-pink {
  background: #fce7f3;
  color: #be185d;
}
.chip-green {
  background: #f0fdf4;
  color: #15803d;
}
.chip-sky {
  background: #e0f2fe;
  color: #0369a1;
}

.wrong-note {
  padding: 96px 0;
}

.wrong-grid {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.phone-media {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone-media img {
  width: min(560px, 100%);
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.26));
}

.wrong-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
}

.wrong-copy > * {
  margin: 0;
}

.wrong-copy h2 {
  font-size: clamp(34px, 3.2vw, 46px);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
}

.feature-list li .icon {
  color: var(--success-mint);
  flex-shrink: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 460px;
}

.stat-row div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.stat-row span {
  display: block;
  color: var(--slate-400);
  font-size: 13px;
  font-weight: 800;
}

.stat-row strong {
  color: var(--surface);
  font-size: 24px;
  font-weight: 800;
}

.download {
  padding: 96px 0;
}

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

.download-inner > * {
  margin: 0;
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
  overflow: hidden;
}

.cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.download-inner h2 {
  max-width: 820px;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.12;
}

.download-inner > p:not(.eyebrow) {
  max-width: 760px;
  color: #4b5563;
}

.legal-body {
  background: var(--surface);
}

.legal-topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

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

.legal-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.legal-main {
  background: var(--surface);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: var(--page-bg);
  padding: 72px 0 48px;
}

.legal-hero .rail {
  max-width: 880px;
}

.legal-hero h1 {
  margin: 0;
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.legal-meta-list div {
  display: grid;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 14px 16px;
  gap: 2px;
}

.legal-meta-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.legal-meta-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.legal-document {
  padding: 56px 0 96px;
}

.legal-document-inner {
  width: min(760px, calc(100vw - 48px));
  margin-inline: auto;
  color: var(--ink);
}

.legal-document article,
.legal-section {
  display: block;
}

.legal-section + .legal-section {
  margin-top: 34px;
}

.legal-document h1 {
  margin: 0 0 18px;
  max-width: none;
  font-size: 32px;
  line-height: 1.2;
}

.legal-document h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.legal-section:first-child h2,
.legal-document article > h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.legal-document p,
.legal-document li {
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
}

.legal-document p {
  margin: 8px 0;
}

.legal-document ul,
.legal-document ol {
  margin: 10px 0 10px;
  padding-left: 24px;
}

.legal-document ul {
  list-style: disc;
}

.legal-document ol {
  list-style: decimal;
}

.legal-document ul ul,
.legal-document ol ul {
  margin-top: 6px;
  list-style: circle;
}

.legal-document li + li {
  margin-top: 6px;
}

.legal-document a {
  color: var(--indigo-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-document strong {
  color: var(--ink);
  font-weight: 800;
}

.legal-document hr {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 56px 0;
}

.legal-document .meta,
.legal-note {
  color: var(--muted);
  font-size: 14px;
}

.legal-note {
  border-left: 3px solid var(--brand-primary);
  background: var(--brand-primary-weak);
  padding: 14px 16px;
}

.legal-language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.legal-language-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--indigo-200);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  background: var(--indigo-50);
  color: var(--indigo-800);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.legal-document table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin: 14px 0 4px;
}

.legal-document th,
.legal-document td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid #1e293b;
  background: #0f172a;
  color: #ffffff;
  text-align: left;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 96px;
  width: 100%;
  padding: 56px 80px;
}

.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.footer-brand-name {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  gap: 24px;
  text-align: left;
}

.footer-policy-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
}

.footer-policy-links a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-policy-links a:hover {
  color: var(--brand-primary-soft);
}

.footer-business {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.footer-biz-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.footer-biz-label {
  color: #94a3b8;
  flex-shrink: 0;
}

.footer-biz-value {
  color: #cbd5e1;
}

.footer-cs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-cs p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.footer-cs-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.footer-copyright {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  :root {
    --rail: min(920px, calc(100vw - 40px));
  }

  .rail {
    width: calc(100% - 40px);
    max-width: 920px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 96px 0 80px;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-media {
    justify-content: flex-start;
    transform: none;
  }

  .hero-media img {
    width: min(620px, 100%);
  }

  .compare-grid,
  .step-grid,
  .types-panel,
  .wrong-grid {
    grid-template-columns: 1fr;
  }

  .split-heading {
    grid-template-columns: 1fr;
  }

  .flow-badge,
  .metric {
    justify-self: start;
  }

  .wrong-grid {
    gap: 32px;
  }

  .phone-media {
    justify-content: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
    padding: 40px 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --rail: min(640px, calc(100vw - 32px));
  }

  .rail {
    width: calc(100% - 32px);
    max-width: 640px;
  }

  html {
    scroll-padding-top: 74px;
  }

  .nav {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
    font-size: 16px;
  }

  .site-header .brand-text {
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .nav-store-row {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 54px 0 64px;
    gap: 34px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .hero-media {
    justify-content: center;
    width: 100%;
    overflow: hidden;
  }

  .hero-media img {
    width: min(100%, 430px);
    border-radius: 22px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.8vw, 46px);
    line-height: 1.08;
  }

  .hero-title-brand,
  .hero-title-brand span {
    display: block;
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.18;
  }

  h3 {
    font-size: 22px;
  }

  .hero-sub,
  .section-heading p,
  .split-heading p,
  .wrong-copy > p,
  .download-inner > p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.68;
  }

  .cta-row,
  .cta-row-center {
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .button {
    width: 100%;
    max-width: none;
    min-height: 52px;
  }

  .store-button {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }

  .problem,
  .flow,
  .types,
  .wrong-note,
  .download {
    padding: 72px 0;
  }

  .compare-card,
  .step-card,
  .ai-card {
    padding: 22px;
  }

  .compare-grid {
    gap: 12px;
  }

  .step-grid {
    gap: 12px;
  }

  .split-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .flow-badge {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .timeline {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: 0;
    padding: 24px;
    gap: 18px;
  }

  .timeline-line {
    top: 52px;
    bottom: 52px;
    left: 55px;
    right: auto;
    width: 4px;
    height: auto;
    transform: none;
  }

  .timeline div {
    display: grid;
    grid-template-columns: 68px 1fr;
    justify-items: start;
    align-items: center;
    height: auto;
    gap: 18px;
  }

  .timeline strong {
    position: static;
    transform: none;
  }

  .metric {
    width: 100%;
  }

  .types-panel {
    gap: 16px;
  }

  .ai-card {
    min-height: 0;
  }

  .ai-card h3 {
    font-size: 26px;
  }

  .button-on-dark {
    width: 100%;
  }

  .wrong-grid {
    gap: 28px;
  }

  .wrong-copy {
    order: -1;
  }

  .phone-media {
    justify-content: center;
  }

  .phone-media img {
    width: min(100%, 390px);
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .download-inner img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .legal-nav {
    min-height: 72px;
  }

  .legal-topbar .brand-text {
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
  }

  .legal-home-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .legal-hero {
    padding: 48px 0 36px;
  }

  .legal-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .legal-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .legal-meta-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 42px 0 72px;
  }

  .legal-document-inner {
    width: calc(100vw - 32px);
  }

  .legal-document h1 {
    font-size: 28px;
  }

  .legal-document h2 {
    font-size: 20px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 15px;
  }

  .footer-inner {
    padding: 32px 24px;
    gap: 24px;
  }

  .footer-policy-links {
    gap: 16px;
  }
}

@media (max-width: 430px) {
  .chip {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  :root {
    --rail: min(100%, calc(100vw - 24px));
  }

  .rail {
    width: calc(100% - 24px);
  }

  .nav {
    gap: 8px;
  }

  .site-header .brand-text {
    line-height: 1.12;
  }

  .nav-cta {
    padding-inline: 10px;
  }

  h1 {
    font-size: 36px;
  }

  .timeline {
    padding: 18px;
  }

  .timeline-line {
    left: 49px;
  }

  .timeline div {
    grid-template-columns: 60px 1fr;
  }

  .timeline-dot {
    width: 60px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

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