/* KT HEALTH ERP introduction page.
   Brand colours and type match the hospital program.
   Layout is deliberately quiet: white ground, hairline rules, one blue. */

:root {
  --bg: #fff;
  --ink: hsl(220 30% 11%);
  --soft: hsl(220 14% 32%);
  --muted: hsl(220 8% 46%);
  --line: hsl(220 14% 90%);
  --primary: hsl(209 78% 46%);
  --primary-dark: hsl(209 78% 38%);
  --navy: hsl(218 42% 11%);
  --navy-2: hsl(218 36% 16%);
  --sheet: #fff;
  --header-h: 76px;
  --wrap: 1080px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --script: "Caveat", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 40;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 6px;
  font-family: var(--script);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  color: #0E8A86;
}

.script {
  font-family: var(--script);
  font-weight: 700;
  letter-spacing: 0;
  color: #E4572E;
  font-size: 1.12em;
  line-height: 0.9;
  position: relative;
  display: inline-block;
}

.script::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 4%;
  bottom: 0.02em;
  height: 0.16em;
  border-radius: 999px;
  background: hsl(38 92% 55% / 0.55);
  transform-origin: left center;
  animation: draw 0.7s 0.45s ease both;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: hsl(0 0% 100% / 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(209 40% 92%);
  box-shadow: 0 8px 24px hsl(209 40% 30% / 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { height: 36px; width: auto; }

.brand-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name span {
  color: var(--primary);
  font-weight: 700;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
  padding: 8px 9px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--primary);
  background: hsl(209 80% 96%);
}

.nav-cta {
  margin-left: 12px;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 8px 16px hsl(209 78% 40% / 0.28);
}

.nav a.nav-cta:hover {
  color: #fff;
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg { width: 18px; height: 18px; }

/* Hero */

.hero {
  position: relative;
  padding: 88px 0 0;
  background:
    radial-gradient(460px 300px at 6% 8%, hsl(199 92% 88% / 0.85), transparent 70%),
    radial-gradient(420px 280px at 96% 0%, hsl(16 95% 88% / 0.75), transparent 68%),
    radial-gradient(360px 240px at 72% 78%, hsl(162 55% 86% / 0.55), transparent 70%);
}

.hero-grid > div:first-child > * {
  animation: rise 0.7s ease both;
}

.hero-grid > div:first-child > *:nth-child(1) { animation-delay: 0.05s; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: 0.12s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: 0.2s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: 0.28s; }
.hero-grid > div:first-child > *:nth-child(5) { animation-delay: 0.36s; }
.hero-grid > div:first-child > *:nth-child(6) { animation-delay: 0.44s; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
}

.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 11em;
}

.hero-lead {
  margin-top: 22px;
  max-width: 42ch;
  color: var(--soft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: hsl(220 14% 70%); background: hsl(210 30% 98%); }

.apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.apps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px hsl(220 20% 20% / 0.04);
  animation: rise 0.55s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apps li:nth-child(1) { animation-delay: 0.32s; }
.apps li:nth-child(2) { animation-delay: 0.4s; }
.apps li:nth-child(3) { animation-delay: 0.48s; }
.apps li:nth-child(4) { animation-delay: 0.56s; }
.apps li:nth-child(5) { animation-delay: 0.64s; }
.apps li:nth-child(6) { animation-delay: 0.72s; }

.apps li:hover {
  animation: none;
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px hsl(220 30% 20% / 0.1);
}

.apps i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.apps i svg {
  width: 18px;
  height: 18px;
}

.apps .c1 { background: var(--primary); }
.apps .c2 { background: #0E8A86; }
.apps .c3 { background: #E4572E; }
.apps .c4 { background: #D4920A; }
.apps .c5 { background: #3D5A80; }
.apps .c6 { background: #2A9D8F; }

/* Secure panel */

.vault {
  background:
    radial-gradient(120% 80% at 100% 0%, hsl(16 80% 48% / 0.35), transparent 50%),
    radial-gradient(90% 80% at 0% 100%, hsl(168 60% 36% / 0.4), transparent 55%),
    linear-gradient(165deg, hsl(209 48% 28%) 0%, hsl(218 42% 14%) 55%, hsl(262 28% 18%) 100%);
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    0 1px 0 hsl(0 0% 100% / 0.06) inset,
    0 24px 50px hsl(218 42% 11% / 0.16);
  animation: rise 0.8s 0.15s ease both;
}

.vault-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 14px;
}

.presence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(152 40% 78%);
}

.presence i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(152 55% 52%);
  animation: pulse 1.8s ease-out infinite;
}

.vault-lock {
  display: inline-flex;
  color: hsl(220 20% 78%);
}

.vault-lock svg { width: 16px; height: 16px; }

.sheet {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 12px;
  overflow: hidden;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.sheet-head strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sheet-head span {
  font-size: 12px;
  color: var(--muted);
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.metric:last-child { border-bottom: 0; }

.metric span { color: var(--soft); }

.metric b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.metric:nth-child(2) b { color: var(--primary); }
.metric:nth-child(3) b { color: #0E8A86; }
.metric:nth-child(4) b { color: #E4572E; }
.metric:nth-child(5) b { color: #3D5A80; }

.vault-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 8px 4px;
  color: hsl(220 18% 78%);
  font-size: 13px;
  line-height: 1.45;
}

.vault-foot svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Assurance */

.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assure article {
  padding: 22px 28px 22px 0;
}

.assure article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.assure h2 {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.assure h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--primary);
  vertical-align: 1px;
}

.assure article:nth-child(2) h2::before { background: #E4572E; }
.assure article:nth-child(3) h2::before { background: #0E8A86; }

.assure p {
  color: var(--soft);
  font-size: 14.5px;
}

/* Sections */

.section { padding: 96px 0; }
.section.flush { padding-top: 0; }
.section.band {
  background: hsl(210 33% 97%);
  padding: 72px 0;
  margin-bottom: 72px;
}

#visit.band { background: linear-gradient(180deg, hsl(168 52% 94%), hsl(168 40% 97%)); }
#place.band { background: linear-gradient(180deg, hsl(28 85% 95%), hsl(36 70% 97%)); }
#pricing.band { background: linear-gradient(180deg, hsl(209 62% 96%), hsl(210 45% 98%)); }
#questions.band { background: linear-gradient(180deg, hsl(262 48% 96%), hsl(220 45% 97%)); }

.section h2 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  max-width: 18ch;
}

.lede {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--soft);
}

/* Indexed coverage */

.catalog {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.catalog article {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px hsl(220 30% 20% / 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px hsl(220 30% 20% / 0.1);
}

.catalog article:nth-child(1) { background: hsl(209 80% 98%); }
.catalog article:nth-child(2) { background: hsl(174 55% 97%); }
.catalog article:nth-child(3) { background: hsl(12 85% 97%); }
.catalog article:nth-child(4) { background: hsl(40 90% 97%); }
.catalog article:nth-child(5) { background: hsl(214 40% 97%); }
.catalog article:nth-child(6) { background: hsl(168 45% 97%); }

.idx {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.catalog article:nth-child(2) .idx { background: #0E8A86; }
.catalog article:nth-child(3) .idx { background: #E4572E; }
.catalog article:nth-child(4) .idx { background: #D4920A; }
.catalog article:nth-child(5) .idx { background: #3D5A80; }
.catalog article:nth-child(6) .idx { background: #2A9D8F; }

.catalog h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.catalog p,
.flow p,
.steps p,
.docs p {
  color: var(--soft);
  font-size: 15px;
}

/* Visit */

.flow {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  gap: 14px;
}

.flow li {
  position: relative;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px hsl(168 30% 20% / 0.08);
}

.flow li:nth-child(1) .idx { background: var(--primary); }
.flow li:nth-child(2) .idx { background: #6C5CE7; }
.flow li:nth-child(3) .idx { background: #0E8A86; }
.flow li:nth-child(4) .idx { background: #E4572E; }

.flow li + li { padding-left: 20px; }

.flow h3 {
  font-size: 1.02rem;
  margin: 10px 0 8px;
}

/* Roles */

.roles {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.roles-head,
.role {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.roles-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.role h3 { font-size: 15px; letter-spacing: -0.02em; }
.role p { color: var(--soft); font-size: 15px; }

/* Place */

.parts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.parts li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps h3 {
  font-size: 1.05rem;
  margin: 8px 0;
}

.note {
  margin-top: 32px;
  max-width: 68ch;
  padding-left: 16px;
  border-left: 2px solid var(--primary);
  color: var(--soft);
}

/* Documents */

.docs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
}

.docs li {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.docs li + li { padding-left: 20px; }

.docs h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* Pricing */

.price-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.price-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.price-tools button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--soft);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.price-tools button:hover { color: var(--primary); border-color: hsl(209 60% 80%); }

.price-tools button.is-on {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mod {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mod:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px hsl(209 40% 30% / 0.08);
}

.mod[aria-pressed="true"] {
  border-color: var(--primary);
  background: hsl(209 80% 99%);
  box-shadow: 0 10px 22px hsl(209 60% 40% / 0.08);
}

.mod-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid hsl(220 12% 74%);
  background: #fff;
}

.mod-check::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mod[aria-pressed="true"] .mod-check {
  border-color: var(--primary);
  background: var(--primary);
}

.mod[aria-pressed="true"] .mod-check::after { border-color: #fff; }

.mod-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.mod-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.mod-desc {
  color: var(--soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.mod-cost {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

.estimate {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px hsl(218 42% 11% / 0.18);
}

.estimate-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(209 70% 78%);
}

.estimate-total {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.estimate-total.is-tick { animation: tick 0.28s ease; }

.estimate-meta {
  margin-top: 8px;
  color: hsl(220 16% 78%);
  font-size: 14px;
}

.estimate-lines {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid hsl(220 20% 28%);
}

.estimate-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
  color: hsl(220 20% 90%);
}

.estimate-lines li.is-empty {
  color: hsl(220 14% 70%);
}

.estimate-lines b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.estimate-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid hsl(220 20% 28%);
  color: hsl(220 14% 72%);
  font-size: 13px;
  line-height: 1.5;
}

@keyframes tick {
  from { transform: translateY(6px); opacity: 0.35; }
  to { transform: none; opacity: 1; }
}

/* FAQ */

.faq {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
}

.faq details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat;
}

.faq details p {
  padding: 0 48px 18px 0;
  max-width: 68ch;
  color: var(--soft);
}

/* Close */

.close {
  background:
    radial-gradient(70% 120% at 100% 0%, hsl(209 70% 52% / 0.35), transparent 46%),
    linear-gradient(165deg, hsl(209 48% 28%) 0%, hsl(209 52% 18%) 100%);
  color: #fff;
  padding: 88px 0;
}

.close h2 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.close .kicker { color: hsl(162 60% 78%); }

.close .script { color: hsl(38 95% 72%); }
.close .script::after { background: hsl(38 95% 72% / 0.45); }

.close p {
  margin-top: 16px;
  max-width: 48ch;
  color: hsl(220 16% 82%);
  font-size: 1.05rem;
}

.close .fine {
  margin-top: 18px;
  font-size: 13px;
  color: hsl(220 12% 64%);
}

.request-form {
  margin-top: 28px;
  max-width: 720px;
  display: grid;
  gap: 14px;
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(210 30% 92%);
}

.request-form input,
.request-form textarea {
  width: 100%;
  margin: 0;
  border: 1px solid hsl(0 0% 100% / 0.2);
  border-radius: 8px;
  background: hsl(0 0% 100% / 0.96);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}

.request-form textarea {
  resize: vertical;
  min-height: 96px;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid hsl(38 95% 72%);
  outline-offset: 2px;
}

.close .request-note,
.close .form-status {
  margin: 0;
  max-width: none;
  font-size: 14px;
  color: hsl(210 24% 82%);
}

.close .form-status.is-ok { color: hsl(152 62% 78%); }
.close .form-status.is-error { color: hsl(12 92% 80%); }

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.request-form button:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.close .request-login {
  color: #fff;
  background: transparent;
  border-color: hsl(0 0% 100% / 0.35);
}

.close .request-login:hover {
  color: #fff;
  background: hsl(0 0% 100% / 0.08);
  border-color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px 28px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner strong {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 12px;
}

@media (max-width: 960px) {
  .hero-grid,
  .catalog,
  .flow,
  .steps,
  .docs,
  .assure,
  .price-layout,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-layout { grid-template-columns: 1fr; }
  .estimate { position: static; }

  .hero h1,
  .section h2,
  .close h2 { max-width: none; }

  .flow li,
  .flow li + li { padding: 20px; }

  .docs li,
  .docs li + li { padding: 20px; }
}

@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; }
  .nav-cta {
    margin: 8px 0 4px;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .section { padding: 72px 0; }
  .hero { padding-top: 40px; }
  .hero-grid { gap: 36px; padding-bottom: 40px; }

  .hero-grid,
  .catalog,
  .flow,
  .steps,
  .docs,
  .assure,
  .roles-head,
  .role,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .assure article,
  .assure article + article {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .assure article:first-child { border-top: 0; }

  .catalog,
  .flow,
  .docs { grid-template-columns: 1fr; }

  .catalog article { padding: 22px; }

  .roles-head { display: none; }

  .docs li,
  .docs li + li { padding: 20px; }

  .section.band { margin-bottom: 0; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .request-grid { grid-template-columns: 1fr; }
}

.docs li:nth-child(1) { background: hsl(209 80% 98%); }
.docs li:nth-child(2) { background: hsl(12 85% 97%); }
.docs li:nth-child(3) { background: hsl(174 55% 97%); }
.docs li:nth-child(4) { background: hsl(262 45% 97%); }

.docs li {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docs li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px hsl(220 30% 20% / 0.08);
}

.parts li:nth-child(3n + 1) { background: hsl(209 70% 96%); border-color: transparent; }
.parts li:nth-child(3n + 2) { background: hsl(168 45% 94%); border-color: transparent; }
.parts li:nth-child(3n) { background: hsl(28 80% 94%); border-color: transparent; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 hsl(152 55% 52% / 0.55); }
  70% { box-shadow: 0 0 0 8px hsl(152 55% 52% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(152 55% 52% / 0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .hero-actions, .menu-toggle { display: none; }
  .faq details p { display: block; }
}
