:root {
  --bg: #f8fafc;
  --surface-strong: #ffffff;
  --card-alpha: 1;
  --surface: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #4f46e5;
  --secondary: #a855f7;
  --accent: #ec4899;
  --emerald: #34d399;
  --radius: 18px;
  --shell: 1180px;
  --font-scale: 1;
  --space-scale: 1;
  --nav-height: 80px;
  --section-space: 90px;
  --section-space-tight: 60px;
  --grid-gap: 22px;
  --card-padding: 30px;
  --button-height: 50px;
  --button-radius: 13px;
  --input-height: 48px;
  --type-home-title: clamp(2.1rem, 5.6vw, 3.5875rem);
  --type-page-title: clamp(2.125rem, 5vw, 3.375rem);
  --type-section-title: clamp(1.875rem, 4vw, 2.75rem);
  --type-card-title: 1.25rem;
  --type-body: 1rem;
  --type-small: .8125rem;
  --type-badge: .75rem;
  --type-button: .875rem;
  --type-label: .8125rem;
  --line-title: 1.16;
  --line-section: 1.25;
  --line-card: 1.35;
  --line-body: 1.65;
  --hero-line-gap: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--font-scale)); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 5%, rgba(99, 102, 241, .06), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--type-body);
  line-height: var(--line-body);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }
.site-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .98); box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.site-header__inner { min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(145deg, #6366f1, #7c3aed); color: #fff; font-size: 20px; font-weight: 900;
  box-shadow: 0 10px 28px rgba(99, 102, 241, .34);
}
.brand__name { font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.brand__tag { padding: 3px 9px; border-radius: 999px; background: rgba(79, 70, 229, .08); color: #4338ca; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.desktop-nav { display: flex; align-items: center; gap: 25px; color: #475569; font-size: 14px; font-weight: 600; }
.desktop-nav a, .mobile-nav a { position: relative; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--primary); }
.desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #0f172a; }
.mobile-nav { padding: 8px 20px 22px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .98); }
.mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: #0f172a; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: var(--button-height); padding: 13px 24px; border: 1px solid transparent; border-radius: var(--button-radius); font-size: var(--type-button); font-weight: 800; line-height: 1.2; transition: transform .2s ease, opacity .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 9px 18px; border-radius: 999px; font-size: 14px; }
.button--primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 12px 30px rgba(99, 102, 241, .27); }
.button--light { background: #0f172a; color: #fff; }
.button--ghost { border-color: var(--line); background: #ffffff; color: #0f172a; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

main { min-height: 70vh; }
.page-hero { position: relative; min-height: 350px; display: grid; align-items: center; padding: 132px 0 55px; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: 25px; left: 50%; width: 620px; height: 280px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(99,102,241,.24), rgba(168,85,247,.08) 48%, transparent 72%); filter: blur(30px); pointer-events: none; }
.page-hero .site-shell { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; color: #a5b4fc; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px rgba(52,211,153,.7); }
.page-title { max-width: 900px; margin: 0 auto; font-size: var(--type-page-title); line-height: var(--line-title); letter-spacing: -.045em; }
.gradient-text { background: linear-gradient(135deg, #0f172a 15%, #4338ca 65%, #6366f1); -webkit-background-clip: text; color: transparent; }
.page-lead { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: var(--type-body); line-height: var(--line-body); }
.page-hero .button-row { justify-content: center; }
.home-hero { position: relative; min-height: 720px; display: grid; align-items: center; padding: 150px 0 85px; background: radial-gradient(circle at 18% 42%, rgba(59,130,246,.13), transparent 27rem), radial-gradient(circle at 82% 55%, rgba(168,85,247,.12), transparent 25rem); text-align: center; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; top: 60px; left: 50%; width: 850px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(99,102,241,.33), rgba(168,85,247,.11) 48%, transparent 72%); filter: blur(34px); }
.home-hero::after { content: ""; position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 70%, transparent); pointer-events: none; }
.home-hero .site-shell { position: relative; z-index: 1; }
.home-title { margin: 0; font-size: var(--type-home-title); line-height: 1; letter-spacing: -.06em; }
.hero-title-line { display: block; }
.hero-title-line + .hero-title-line { margin-top: var(--hero-line-gap); }
.hero-title-rotator { position: relative; }
.hero-rotate-title { position: absolute; inset: 0; display: block; opacity: 0; transform: translateY(28px); filter: blur(8px); pointer-events: none; transition: opacity .9s ease, transform .9s ease, filter .9s ease; }
.hero-rotate-title.hero-rotate-active { position: relative; opacity: 1; transform: translateY(0); filter: blur(0); }
.hero-rotate-title.hero-rotate-leaving { opacity: 0; transform: translateY(-28px); filter: blur(8px); }
.text-glow { text-shadow: 0 0 34px rgba(129,140,248,.34); }
.home-lead { max-width: 710px; margin: var(--hero-line-gap) auto 0; color: #cbd5e1; font-size: var(--type-body); line-height: 1; }
.home-lead-line { display: block; }
.home-lead-line + .home-lead-line { margin-top: var(--hero-line-gap); }
.home-hero .button-row { justify-content: center; }
.trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 850px; margin: 34px auto 0; }
.trust-badge { padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #ffffff; color: #334155; box-shadow: 0 2px 8px rgba(15,23,42,.04); font-size: 13px; font-weight: 700; }
.name-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: name-step; }
.name-step { position: relative; display: grid; justify-items: center; gap: 12px; padding: 48px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; font-weight: 800; }
.name-step::before { counter-increment: name-step; content: counter(name-step, decimal-leading-zero); position: absolute; top: 15px; left: 50%; transform: translateX(-50%); color: #818cf8; font-size: 12px; font-weight: 900; }
.name-step svg { width: 30px; height: 30px; fill: none; stroke: #a5b4fc; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: calc(var(--section-space) * var(--space-scale)) 0; }
.section--tight { padding: calc(var(--section-space-tight) * var(--space-scale)) 0; }
.section--shade { border-block: 1px solid var(--line); background: #f1f5f9; }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--spaced { margin-top: 42px; }
.section-kicker { margin: 0 0 8px; color: #818cf8; font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section-title { margin: 0; font-size: var(--type-section-title); line-height: var(--line-section); letter-spacing: -.035em; }
.section-copy { margin: 14px 0 0; color: var(--muted); font-size: var(--type-body); }

.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: var(--card-padding); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 20px -2px rgba(15,23,42,.05); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(99,102,241,.45); box-shadow: 0 22px 46px -24px rgba(99,102,241,.45); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(129,140,248,.33); border-radius: 15px; background: rgba(99,102,241,.14); color: #a5b4fc; font-weight: 900; }
.card__icon svg, .step__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h2, .card h3 { margin: 0 0 10px; font-size: var(--type-card-title); font-weight: 800; line-height: var(--line-card); }
.card p { margin: 0; color: var(--muted); font-size: var(--type-small); line-height: var(--line-body); }
.card .text-link { display: inline-flex; margin-top: 22px; color: #a5b4fc; font-size: 14px; font-weight: 800; }
.card .text-link::after { content: "→"; margin-left: 7px; transition: transform .2s ease; }
.card:hover .text-link::after { transform: translateX(4px); }
.tag { display: inline-flex; margin-bottom: 13px; padding: 5px 10px; border: 1px solid rgba(129,140,248,.22); border-radius: 999px; background: rgba(99,102,241,.10); color: #a5b4fc; font-size: 11px; font-weight: 800; }
.feature-list { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; color: #cbd5e1; font-size: 14px; }
.feature-list li { position: relative; padding-left: 24px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 900; }

.service-card { min-height: 330px; display: flex; flex-direction: column; }
.service-card .text-link { margin-top: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 54px; }
.visual-panel { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, #f1f5f9, #ffffff 55%, #e0e7ff); }
.visual-panel::before { content: ""; position: absolute; width: 270px; height: 270px; border-radius: 50%; background: rgba(99,102,241,.22); filter: blur(60px); }
.mock-browser { position: relative; width: 82%; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 16px; background: #ffffff; box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.mock-browser__bar { height: 34px; padding: 13px; background: #f1f5f9; }
.mock-browser__bar::before { content: "●  ●  ●"; color: #64748b; font-size: 8px; letter-spacing: 3px; }
.mock-browser__body { display: grid; gap: 12px; padding: 28px; }
.mock-line { height: 12px; border-radius: 99px; background: #e2e8f0; }
.mock-line--accent { width: 68%; height: 24px; background: linear-gradient(90deg, #6366f1, #a855f7); }
.mock-line--short { width: 54%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.mock-cards span { height: 80px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }

.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; counter-reset: process; }
.step { position: relative; padding-top: 34px; }
.step::before { counter-increment: process; content: counter(process, decimal-leading-zero); position: absolute; top: 0; left: 0; color: #818cf8; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.step::after { content: ""; position: absolute; top: 11px; left: 38px; right: 0; height: 1px; background: linear-gradient(90deg, rgba(129,140,248,.45), transparent); }
.step h3 { margin-top: 12px; }
.step__icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 10px 0 18px; border: 1px solid rgba(129,140,248,.32); border-radius: 14px; background: rgba(99,102,241,.12); color: #a5b4fc; }

.portfolio-card { padding: 0; overflow: hidden; }
.portfolio-card__visual { min-height: 210px; display: grid; place-items: center; padding: 25px; background: linear-gradient(145deg, #1e1b4b, #172033 55%, #312e81); text-align: center; }
.portfolio-card:nth-child(2) .portfolio-card__visual { background: linear-gradient(145deg, #3b0764, #172033 58%, #581c87); }
.portfolio-card:nth-child(3) .portfolio-card__visual { background: linear-gradient(145deg, #500724, #172033 58%, #831843); }
.portfolio-card__visual strong { font-size: 21px; }
.portfolio-card__body { padding: 26px; }
.notice { padding: 22px 24px; border: 1px solid rgba(129,140,248,.25); border-radius: 16px; background: rgba(99,102,241,.08); color: #cbd5e1; font-size: 14px; }

.pricing-card { display: flex; flex-direction: column; }
.pricing-card--featured { border-color: rgba(129,140,248,.55); background: linear-gradient(160deg, rgba(79,70,229,.22), rgba(15,23,42,.72)); }
.price-status { margin: 8px 0 18px; color: #fff; font-size: 24px; font-weight: 900; }
.pricing-card .button { margin-top: auto; }

.faq-list { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 0; background: transparent; font-size: var(--type-card-title); line-height: var(--line-card); text-align: left; font-weight: 800; cursor: pointer; }
.faq-question::after { content: "+"; color: #818cf8; font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 14px; }
.faq-item.is-open .faq-answer { display: block; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.contact-card { max-width: 720px; margin-inline: auto; text-align: center; }
.contact-card .card__icon { margin-inline: auto; }
.contact-card .button-row { justify-content: center; }
.simple-contact-form { max-width: 760px; margin-inline: auto; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.simple-contact-heading { margin-bottom: 28px; text-align: center; }
.simple-contact-heading h2 { margin: 0; font-size: var(--type-section-title); line-height: var(--line-section); letter-spacing: -.035em; }
.simple-contact-heading p { margin: 8px 0 0; color: var(--muted); }
.simple-contact-submit { width: 100%; margin-top: 22px; }
.simple-contact-submit:disabled { cursor: wait; opacity: .6; }
.simple-contact-status { min-height: 24px; margin: 14px 0 0; font-size: 13px; text-align: center; }
.simple-contact-status.is-success { color: var(--emerald); }
.simple-contact-status.is-error { color: #fda4af; }
.contact-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apply-intro { padding-bottom: 38px; }
.apply-section { padding-top: 42px; }
.apply-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.apply-sidebar { position: sticky; top: 105px; display: grid; gap: 20px; }
.apply-steps { display: grid; gap: 8px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); list-style: none; }
.apply-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--muted); }
.apply-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; font-weight: 900; }
.apply-steps strong, .apply-steps small { display: block; }
.apply-steps strong { color: #cbd5e1; font-size: 13px; }
.apply-steps small { margin-top: 2px; font-size: 10px; }
.apply-steps li.is-current { background: rgba(99,102,241,.14); color: #c7d2fe; }
.apply-steps li.is-current > span { border-color: #818cf8; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.apply-steps li.is-current strong { color: #fff; }
.apply-steps li.is-complete > span { border-color: rgba(52,211,153,.45); color: var(--emerald); }
.apply-help { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); font-size: 12px; }
.apply-help a { color: #a5b4fc; }
.application-form { min-width: 0; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.application-progress { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; margin-bottom: 34px; color: #a5b4fc; font-size: 12px; font-weight: 800; }
.application-progress > div { height: 5px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.08); }
.application-progress i { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width .25s ease; }
.application-panel { display: none; }
.application-panel.is-active { display: block; }
.application-panel h2 { margin: 0; font-size: var(--type-section-title); line-height: var(--line-section); letter-spacing: -.035em; }
.panel-copy { margin: 10px 0 28px; color: var(--muted); }
.choice-field { margin: 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 8px; color: #0f172a; font-size: 13px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafc; color: #334155; font-size: 13px; cursor: pointer; }
.choice input { accent-color: var(--primary); }
.logo-field[hidden] { display: none; }
.field small { color: var(--muted); font-size: 11px; }
.application-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.application-actions button[hidden] { display: none; }
.application-review { display: grid; gap: 10px; margin: 24px 0; }
.application-review > div { display: grid; grid-template-columns: 150px 1fr; gap: 15px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.035); }
.application-review strong { color: #cbd5e1; font-size: 12px; }
.application-review span { color: var(--muted); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.application-consent { display: flex; gap: 10px; padding: 16px; border: 1px solid rgba(129,140,248,.25); border-radius: 12px; background: rgba(99,102,241,.08); color: #cbd5e1; font-size: 13px; }
.application-consent input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--primary); }
.application-status { min-height: 24px; margin: 16px 0 0; font-size: 13px; text-align: right; }
.application-status.is-success { color: var(--emerald); }
.application-status.is-error { color: #fda4af; }
.contact-meta { display: grid; gap: 16px; }
.contact-meta .card { padding: 24px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { color: #334155; font-size: var(--type-label); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: var(--input-height); padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: var(--button-radius); outline: none; background: #ffffff; color: #0f172a; }
.field select option { color: #111827; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { min-height: 24px; margin: 14px 0 0; color: #a5b4fc; font-size: 13px; }

.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 44px; border: 1px solid rgba(129,140,248,.28); border-radius: 26px; background: linear-gradient(135deg, #eef2ff, #f5f3ff 50%, #ffffff); box-shadow: 0 10px 30px rgba(79,70,229,.07); }
.cta-panel h2 { margin: 0 0 8px; color: #0f172a; font-size: var(--type-section-title); line-height: var(--line-section); }
.cta-panel p { margin: 0; color: var(--muted); }
.site-footer { padding: 55px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 30px; }
.site-footer__brand { color: #0f172a; font-size: 18px; font-weight: 900; }
.site-footer p { margin: 8px 0 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__links a:hover { color: #0f172a; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); }
.mobile-action-bar { display: none; }

@media (max-width: 980px) {
  .desktop-nav, .desktop-contact { display: none; }
  .menu-toggle { display: block; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .visual-panel { min-height: 360px; }
  .name-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-sidebar { position: static; }
  .apply-steps { grid-template-columns: repeat(5, 1fr); }
  .apply-steps li { display: grid; grid-template-columns: 1fr; justify-items: center; padding: 8px 4px; text-align: center; }
  .apply-steps li div { display: none; }
}

@media (max-width: 680px) {
  :root {
    --nav-height: 70px;
    --section-space: 66px;
    --card-padding: 24px;
    --type-home-title: clamp(1.925rem, 9.1vw, 2.7125rem);
    --type-page-title: clamp(2rem, 10vw, 2.75rem);
  }
  .site-shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header__inner { min-height: var(--nav-height); }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 19px; }
  .brand__tag { display: none; }
  .page-hero { padding: 112px 0 42px; text-align: left; }
  .page-hero .page-lead { margin-left: 0; }
  .home-hero { min-height: 660px; padding: 125px 0 70px; }
  .trust-badges { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4, .form-grid { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .visual-panel { min-height: 300px; }
  .mock-browser { width: 90%; }
  .mock-browser__body { padding: 20px; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 28px; }
  .cta-panel .button { width: 100%; }
  .contact-form { padding: 24px; }
  .simple-contact-form { padding: 26px 18px; }
  .application-form { padding: 24px 18px; }
  .choice-grid { grid-template-columns: 1fr; }
  .application-actions { flex-direction: column-reverse; }
  .application-actions .button { width: 100%; }
  .application-review > div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer__inner, .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { padding-bottom: 92px; }
  .name-steps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mobile-action-bar { position: fixed; inset: auto 0 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 8px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: 0 -4px 20px rgba(0,0,0,.05); }
  .mobile-action-bar a { display: flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 11px; background: #f1f5f9; color: #0f172a; font-size: 14px; font-weight: 800; }
  .mobile-action-bar a:last-child { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
