@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #141c63;
  --navy-dark: #080d2b;
  --navy-ink: #0c143f;
  --teal: #2fa7a0;
  --teal-bright: #53d1c7;
  --cream: #f5f2eb;
  --paper: #fbfaf7;
  --ink: #111a2d;
  --muted: #626b7b;
  --line: #dedbd2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
  width: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 0 clamp(24px, 4vw, 68px);
  border-bottom: 1px solid rgba(20, 28, 99, 0.09);
  background: rgba(251, 250, 247, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: fit-content;
}

.brand img {
  width: clamp(176px, 16vw, 220px);
  height: auto;
  background: transparent;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  font-size: 14px;
  font-weight: 600;
  color: #293248;
}

.desktop-nav a {
  position: relative;
  padding: 34px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(20, 28, 99, 0.28);
  border-radius: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 92px));
  overflow: hidden;
  background: var(--navy-dark);
  color: white;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 9, 31, 0.98) 0%, rgba(5, 10, 33, 0.88) 38%, rgba(7, 13, 40, 0.13) 68%, rgba(7, 13, 40, 0.06) 100%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.13;
  background-image: linear-gradient(rgba(83, 209, 199, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(83, 209, 199, 0.2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 62%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  bottom: -260px;
  left: 15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(47, 167, 160, 0.14);
  filter: blur(110px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  min-height: inherit;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(88px, 10vh, 136px) clamp(24px, 5vw, 76px) 110px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(690px, 51vw);
  animation: hero-enter 700ms cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--teal-bright);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 span {
  color: #b9e9e4;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: #b6c0d2;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

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

.button.primary {
  background: linear-gradient(135deg, #35b8af, #2b9b96);
  box-shadow: 0 15px 35px rgba(47, 167, 160, 0.25);
  color: #07102c;
}

.button.primary:hover {
  box-shadow: 0 18px 42px rgba(47, 167, 160, 0.36);
}

.button.ghost {
  border-color: rgba(111, 226, 217, 0.45);
  background: rgba(8, 17, 50, 0.45);
  color: white;
  backdrop-filter: blur(8px);
}

.button.ghost:hover {
  border-color: var(--teal-bright);
  background: rgba(47, 167, 160, 0.12);
}

.button.navy {
  width: fit-content;
  background: var(--navy);
  color: white;
  box-shadow: 0 14px 28px rgba(20, 28, 99, 0.16);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 34px;
  padding: 0;
  color: #a8b4c9;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 17px;
  color: var(--teal-bright);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/hero-production.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 230px;
  padding: 15px 18px;
  border: 1px solid rgba(105, 228, 219, 0.28);
  border-radius: 14px;
  background: rgba(8, 16, 47, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  color: white;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(16px);
  animation: card-enter 620ms 280ms cubic-bezier(.2,.7,.2,1) both;
}

.floating-card small {
  display: block;
  margin-bottom: 3px;
  color: #9aa8bd;
  font-size: 10px;
  font-weight: 600;
}

.float-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(47, 167, 160, 0.15);
  color: var(--teal-bright);
}

.float-icon svg {
  width: 20px;
}

.card-service {
  top: 22%;
  right: 5%;
  animation: card-enter 620ms 280ms cubic-bezier(.2,.7,.2,1) both, float-card 5.2s 1.1s ease-in-out infinite;
}

.card-history {
  right: 30%;
  bottom: 13%;
  animation: card-enter 620ms 400ms cubic-bezier(.2,.7,.2,1) both, float-card 5.8s 1.4s ease-in-out infinite reverse;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8290a6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 38px;
  height: 1px;
  background: var(--teal);
}

.platform-section,
.service-section,
.about-section {
  padding: clamp(88px, 10vw, 150px) clamp(24px, 6vw, 92px);
}

.platform-section {
  background: var(--cream);
}

.section-intro {
  display: grid;
  width: min(1320px, 100%);
  margin: 0 auto 70px;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.section-intro h2,
.how-copy h2,
.record-copy h2,
.service-copy h2,
.about-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-intro > p,
.body-copy,
.service-copy > p,
.about-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  width: min(1320px, 100%);
  margin: auto;
  grid-template-columns: 1.08fr 1fr 1fr;
  border-top: 1px solid #cbc7bd;
  border-bottom: 1px solid #cbc7bd;
}

.feature-card {
  position: relative;
  min-height: 410px;
  padding: 44px 38px 40px;
  border-right: 1px solid #cbc7bd;
  background: rgba(255, 255, 255, 0.26);
  transition: background 220ms ease, transform 220ms ease;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-6px);
}

.feature-card.featured {
  background: var(--navy);
  color: white;
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #8f958f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.featured .feature-number {
  color: rgba(255, 255, 255, 0.45);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 52px;
  place-items: center;
  border: 1px solid rgba(47, 167, 160, 0.28);
  border-radius: 16px;
  background: rgba(47, 167, 160, 0.09);
  color: var(--teal);
}

.feature-icon svg {
  width: 27px;
}

.featured .feature-icon {
  border-color: rgba(88, 222, 212, 0.32);
  background: rgba(88, 222, 212, 0.12);
  color: var(--teal-bright);
}

.feature-card h3 {
  max-width: 310px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.feature-card.featured h3 {
  color: white;
}

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

.featured p {
  color: #b4bdd2;
}

.feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--teal-bright);
  font-size: 13px;
  font-weight: 800;
}

.how-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(70px, 9vw, 150px);
  padding: clamp(100px, 12vw, 170px) clamp(24px, 8vw, 120px);
  background: var(--paper);
}

.how-copy {
  align-self: start;
  position: sticky;
  top: 145px;
}

.how-copy .body-copy {
  max-width: 480px;
  margin-top: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps > li > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #e8f3f1;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.steps h3 {
  margin: 2px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.record-section {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--navy-dark);
  color: white;
}

.record-visual {
  display: grid;
  place-items: center;
  padding: 80px clamp(24px, 5vw, 80px);
  background: radial-gradient(circle at 50% 45%, rgba(47, 167, 160, 0.19), transparent 44%), linear-gradient(135deg, #0b1240, #060b24);
}

.record-panel {
  width: min(610px, 100%);
  overflow: hidden;
  border: 1px solid rgba(86, 218, 208, 0.2);
  border-radius: 22px;
  background: rgba(12, 21, 58, 0.78);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.record-head small,
.record-head strong {
  display: block;
}

.record-head small {
  margin-bottom: 5px;
  color: #6bcfc8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.record-head strong {
  font-size: 14px;
}

.status-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(47, 167, 160, 0.12);
  color: var(--teal-bright);
  font-size: 10px;
  font-weight: 800;
}

.timeline {
  position: relative;
  padding: 12px 28px 28px;
}

.timeline::before {
  position: absolute;
  top: 40px;
  bottom: 58px;
  left: 45px;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(47, 167, 160, 0.1));
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-dot {
  z-index: 1;
  width: 10px;
  height: 10px;
  margin-left: 12px;
  border: 2px solid #59d5cc;
  border-radius: 50%;
  background: var(--navy-dark);
  box-shadow: 0 0 0 5px rgba(47, 167, 160, 0.1);
}

.timeline-item small,
.timeline-item strong,
.timeline-item p {
  display: block;
}

.timeline-item small {
  margin-bottom: 5px;
  color: #7c8ba6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.timeline-item strong {
  font-size: 14px;
}

.timeline-item p {
  margin: 4px 0 0;
  color: #8f9bb2;
  font-size: 11px;
}

.timeline-item > svg {
  width: 19px;
  color: var(--teal-bright);
}

.record-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(34px, 7vw, 105px);
  background: var(--navy);
}

.record-copy h2 {
  max-width: 650px;
  color: white;
}

.record-copy > p {
  max-width: 590px;
  margin: 28px 0 0;
  color: #b7c0d4;
  font-size: 16px;
  line-height: 1.85;
}

.record-copy ul {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: #d8ddeb;
  font-size: 13px;
  font-weight: 700;
}

.record-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.record-copy li svg {
  width: 18px;
  color: var(--teal-bright);
}

.service-section {
  display: grid;
  width: min(1500px, 100%);
  margin: auto;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: center;
  background: var(--paper);
}

.service-copy > p {
  max-width: 620px;
  margin-top: 26px;
}

.service-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 36px;
  color: #3d4657;
  font-size: 13px;
  font-weight: 700;
}

.service-list span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list svg {
  width: 17px;
  color: var(--teal);
}

.application-dialog,
.contract-dialog {
  width: min(840px, calc(100% - 32px));
  max-height: min(900px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(20, 28, 99, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 100px rgba(8, 13, 43, 0.28);
  color: var(--ink);
}

.application-dialog::backdrop,
.contract-dialog::backdrop {
  background: rgba(5, 9, 31, 0.72);
  backdrop-filter: blur(8px);
}

.application-dialog__header,
.contract-dialog__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 34px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(14px);
}

.application-dialog__header {
  position: relative;
  display: block;
  padding-top: 44px;
  padding-bottom: 30px;
  text-align: center;
}

.application-dialog__header .dialog-close {
  position: absolute;
  top: 20px;
  right: 22px;
}

.application-dialog__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #238f86, #36b6a9);
  box-shadow: 0 14px 30px rgba(47, 167, 160, 0.2);
  color: white;
}

.application-dialog__icon svg {
  width: 34px;
}

.application-dialog__header .eyebrow {
  margin-bottom: 12px;
}

.application-dialog__header h2,
.contract-dialog__header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.application-dialog__header > p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(20, 28, 99, 0.16);
  border-radius: 50%;
  background: white;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.application-form {
  padding: 30px 34px 34px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #177f77;
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.form-section-title > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 12px;
  letter-spacing: 0;
}

.form-section-title--spaced {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field > span {
  color: #293248;
  font-size: 13px;
  font-weight: 800;
}

.form-field b {
  color: var(--teal);
}

.form-field em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d5d7df;
  border-radius: 10px;
  outline: 0;
  background: #f4f9f8;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phone-input {
  display: grid;
  min-height: 49px;
  grid-template-columns: 64px 1fr;
  overflow: hidden;
  border: 1px solid #d5d7df;
  border-radius: 10px;
  background: #f4f9f8;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phone-input:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 167, 160, 0.14);
}

.phone-input i {
  display: grid;
  place-items: center;
  border-right: 1px solid #d5d7df;
  background: #e7f5f2;
  color: #177f77;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.phone-input input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 167, 160, 0.14);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #a62f3b;
}

.form-field small {
  color: var(--muted);
  font-size: 11px;
}

.contract-panel {
  margin-top: 0;
  padding: 16px 18px;
  border: 1px solid rgba(20, 28, 99, 0.12);
  border-radius: 12px;
  background: #f2f4f8;
}

.contract-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contract-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid #d5d7df;
  border-radius: 12px;
  background: #f4f9f8;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contract-consent-item.is-checked {
  border-color: var(--teal);
  background: #eaf7f4;
  box-shadow: 0 0 0 2px rgba(47, 167, 160, 0.08);
}

.contract-consent-checkbox {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.contract-consent-copy {
  color: #293248;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.contract-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
  margin-right: 3px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  color: #3d4657;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.form-status.is-error {
  color: #982734;
}

.form-status.is-success {
  color: #14726d;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.form-actions .outline {
  border-color: rgba(20, 28, 99, 0.22);
  background: transparent;
  color: var(--navy);
}

.contract-dialog {
  width: min(680px, calc(100% - 32px));
}

.contract-dialog__content {
  padding: 28px 34px 36px;
  color: #3d4657;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.service-dashboard {
  position: relative;
  overflow: visible;
  min-height: 520px;
  border: 1px solid #dbd8cf;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(26, 31, 51, 0.15);
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
  transition: transform 500ms cubic-bezier(.2,.75,.2,1), box-shadow 500ms ease;
}

.service-dashboard:hover {
  box-shadow: 0 44px 110px rgba(26, 31, 51, 0.2);
  transform: perspective(1100px) rotateY(-1deg) rotateX(0deg) translateY(-7px);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid #e8e7e2;
  border-radius: 24px 24px 0 0;
  background: white;
}

.dash-top > div {
  display: flex;
  gap: 7px;
}

.dash-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3d4d8;
}

.dash-top small {
  color: #9aa0aa;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
}

.dash-body {
  display: grid;
  min-height: 468px;
  overflow: hidden;
  grid-template-columns: 82px 1fr;
  border-radius: 0 0 24px 24px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  background: var(--navy);
}

.dash-sidebar b {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--navy-dark);
  font-size: 12px;
  letter-spacing: -.04em;
}

.dash-sidebar i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.48);
  transition: color 180ms ease, background 180ms ease;
}

.dash-sidebar i svg {
  width: 17px;
}

.dash-sidebar i.active {
  background: rgba(83, 209, 199, .16);
  color: var(--teal-bright);
}

.dash-main {
  padding: 30px 26px;
  background: linear-gradient(145deg, #f8fafc, #f2f5f9);
}

.dash-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-title small,
.dash-title strong {
  display: block;
}

.dash-title small {
  margin-bottom: 5px;
  color: #8992a4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.dash-title strong {
  color: var(--navy);
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: -.025em;
}

.dash-title button {
  padding: 10px 13px;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  color: #07102c;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 28px;
}

.dash-cards article {
  min-width: 0;
  min-height: 105px;
  padding: 16px;
  border: 1px solid #e0e3ea;
  border-radius: 13px;
  background: white;
}

.dash-cards article:first-child {
  background: linear-gradient(135deg, #e7f6f4, white);
}

.dash-cards small,
.dash-cards strong,
.dash-cards span {
  display: block;
}

.dash-cards small {
  color: #8c94a4;
  font-size: 8px;
  font-weight: 700;
}

.dash-cards strong {
  margin-top: 9px;
  color: var(--navy);
  font-size: clamp(14px, 1.25vw, 18px);
}

.dash-cards span {
  overflow: hidden;
  margin-top: 5px;
  color: #8992a4;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-table {
  margin-top: 22px;
  border: 1px solid #e0e3ea;
  border-radius: 13px;
  background: white;
  overflow: hidden;
}

.dash-table-head,
.dash-row {
  display: grid;
  grid-template-columns: .6fr 1.5fr .8fr 1fr;
  gap: 12px;
  align-items: center;
}

.dash-table-head {
  padding: 11px 14px;
  border-bottom: 1px solid #edf0f4;
  background: #fbfcfd;
  color: #a0a6b2;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.dash-row {
  position: relative;
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f4;
  color: #667085;
  font-size: 8px;
}

.dash-row:last-child {
  border-bottom: 0;
}

.dash-row.current::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--teal);
  content: "";
  animation: row-pulse 2.6s ease-in-out infinite;
}

.dash-row strong {
  color: var(--navy);
}

.dash-row em {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 999px;
  background: #fff5dc;
  color: #9b6717;
  font-style: normal;
  font-weight: 800;
}

.dash-row em.approved {
  background: #e7f7f3;
  color: #1f8179;
}

.dash-row em.planned {
  background: #edf0ff;
  color: #4f5aa4;
}

.dashboard-toast {
  position: absolute;
  right: -28px;
  bottom: 60px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(47, 167, 160, .22);
  border-radius: 14px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 18px 45px rgba(19, 27, 68, .16);
  color: var(--teal);
  backdrop-filter: blur(14px);
  animation: toast-float 4.5s ease-in-out infinite;
}

.dashboard-toast > svg {
  width: 18px;
}

.dashboard-toast span,
.dashboard-toast small {
  display: block;
}

.dashboard-toast span {
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.dashboard-toast small {
  margin-bottom: 2px;
  color: #8790a1;
  font-size: 7px;
  font-weight: 700;
}

.dashboard-note {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #778090;
  font-size: 9px;
  font-weight: 700;
}

.app-section {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(380px, .95fr) minmax(420px, 1.05fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: center;
  padding: 100px clamp(24px, 8vw, 130px);
  background: linear-gradient(135deg, #0a1036 0%, #141c63 55%, #172775 100%);
  color: white;
}

.app-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.app-content .eyebrow {
  justify-content: flex-start;
}

.app-content h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.app-content > p {
  max-width: 590px;
  margin: 26px 0 0;
  color: #bdc6da;
  font-size: 16px;
  line-height: 1.8;
}

.store-actions {
  display: flex;
  justify-content: flex-start;
  gap: 13px;
  margin-top: 36px;
}

.phone-stage {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 620px;
  place-items: center;
}

.phone-halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83,209,199,.22), transparent 68%);
  filter: blur(4px);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 292px;
  height: 590px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 43px;
  background: linear-gradient(145deg, #48507c, #0b102f 20%, #060a22 75%, #333b69);
  box-shadow: 0 50px 100px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.09);
  transform: rotate(-3deg);
  transition: transform 600ms cubic-bezier(.2,.75,.2,1);
}

.phone-stage:hover .phone-shell {
  transform: rotate(0deg) translateY(-7px);
}

.phone-island {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  width: 86px;
  height: 23px;
  border-radius: 20px;
  background: #030617;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 48px 18px 20px;
  border-radius: 35px;
  background: linear-gradient(180deg, #fbfcfd, #f1f5f7);
  color: var(--ink);
}

.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-head small,
.phone-head strong {
  display: block;
}

.phone-head small {
  color: #8992a2;
  font-size: 8px;
}

.phone-head strong {
  margin-top: 2px;
  color: var(--navy);
  font-size: 15px;
}

.phone-head i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.vehicle-card {
  display: grid;
  grid-template-columns: 42px 1fr 22px;
  gap: 11px;
  align-items: center;
  margin-top: 22px;
  padding: 17px 14px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--navy), #222c7d);
  box-shadow: 0 15px 35px rgba(20,28,99,.2);
  color: white;
}

.vehicle-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(83,209,199,.14);
  color: var(--teal-bright);
}

.vehicle-icon svg {
  width: 23px;
}

.vehicle-card small,
.vehicle-card strong,
.vehicle-card p {
  display: block;
}

.vehicle-card small {
  color: #83d8d1;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .12em;
}

.vehicle-card strong {
  margin-top: 4px;
  font-size: 11px;
}

.vehicle-card p {
  margin: 4px 0 0;
  color: #b9c2da;
  font-size: 7px;
}

.vehicle-status {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(83,209,199,.16);
  color: var(--teal-bright);
}

.vehicle-status svg {
  width: 12px;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 17px;
}

.phone-actions > div {
  display: grid;
  min-height: 75px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid #e4e9ee;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 20px rgba(18,26,58,.04);
  color: var(--teal);
}

.phone-actions svg {
  width: 19px;
}

.phone-actions span {
  color: #4d5668;
  font-size: 7px;
  font-weight: 800;
}

.next-appointment {
  margin-top: 17px;
  padding: 16px;
  border: 1px solid #e3e8ed;
  border-radius: 16px;
  background: white;
}

.appointment-title,
.appointment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.appointment-title small,
.appointment-title strong {
  display: block;
}

.appointment-title small {
  color: #8992a2;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .12em;
}

.appointment-title strong {
  margin-top: 4px;
  color: var(--navy);
  font-size: 11px;
}

.appointment-title em {
  padding: 5px 7px;
  border-radius: 999px;
  background: #e6f6f3;
  color: #237b75;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.appointment-meta {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #edf0f3;
  color: var(--teal);
}

.appointment-meta > svg {
  width: 20px;
}

.appointment-meta strong,
.appointment-meta small {
  display: block;
}

.appointment-meta strong {
  color: #3e4758;
  font-size: 9px;
}

.appointment-meta small {
  margin-top: 2px;
  color: #8b93a1;
  font-size: 7px;
}

.phone-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
  padding: 12px 14px;
  border: 1px solid rgba(83,209,199,.22);
  border-radius: 14px;
  background: rgba(9,15,46,.78);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
  color: var(--teal-bright);
  backdrop-filter: blur(15px);
}

.phone-float > svg {
  width: 20px;
}

.phone-float span,
.phone-float small {
  display: block;
}

.phone-float span {
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.phone-float small {
  margin-bottom: 2px;
  color: #8f9bb4;
  font-size: 7px;
}

.phone-float-one {
  top: 116px;
  left: -24px;
  animation: toast-float 5s ease-in-out infinite;
}

.phone-float-two {
  right: -34px;
  bottom: 100px;
  animation: toast-float 5.6s .8s ease-in-out infinite reverse;
}

.store-actions a {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  transition: transform 180ms ease, filter 180ms ease;
}

.store-actions a:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.store-actions img {
  display: block;
  width: clamp(156px, 12vw, 190px);
  height: auto;
}

.app-orbit {
  position: absolute;
  border: 1px solid rgba(83, 209, 199, 0.17);
  border-radius: 50%;
}

.orbit-one {
  width: 760px;
  height: 760px;
  animation: orbit-rotate 28s linear infinite;
}

.orbit-two {
  width: 1060px;
  height: 430px;
  animation: orbit-rotate-wide 36s linear infinite reverse;
}

.about-section {
  display: grid;
  width: min(1180px, 100%);
  margin: auto;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px 80px;
}

.about-section .eyebrow {
  grid-column: 1;
}

.about-section h2 {
  grid-column: 1 / -1;
  max-width: 1050px;
}

.about-section > p:last-child {
  grid-column: 2;
  max-width: 680px;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 70px clamp(24px, 6vw, 92px) 28px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-main img {
  width: 210px;
  height: auto;
}

.footer-main p {
  max-width: 360px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 12px;
}

.footer-links a {
  width: fit-content;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #d7d3ca;
  color: #8a8e97;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 850ms cubic-bezier(.2,.7,.2,1), transform 850ms cubic-bezier(.2,.7,.2,1);
}

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

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-card {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes toast-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes row-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; box-shadow: 0 0 18px rgba(47,167,160,.4); }
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-rotate-wide {
  from { transform: rotate(-12deg); }
  to { transform: rotate(348deg); }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-copy {
    width: min(680px, 66vw);
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(4, 9, 31, 0.98), rgba(5, 10, 33, 0.86) 56%, rgba(7, 13, 40, 0.28));
  }

  .card-service {
    top: 16%;
    right: 3%;
  }

  .card-history {
    right: 8%;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid #cbc7bd;
  }

  .record-section,
  .service-section {
    grid-template-columns: 1fr;
  }

  .app-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 90px;
    text-align: center;
  }

  .app-content {
    order: -1;
    margin: auto;
  }

  .app-content .eyebrow,
  .store-actions {
    justify-content: center;
  }

  .app-content .eyebrow::before {
    display: none;
  }

  .service-dashboard {
    width: min(760px, 100%);
    margin: auto;
    transform: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand img {
    width: 152px;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(4,9,31,.98) 0%, rgba(4,9,31,.94) 51%, rgba(4,9,31,.36) 77%, rgba(4,9,31,.72) 100%);
  }

  .hero-inner {
    padding: 74px 20px 90px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(42px, 12.7vw, 58px);
  }

  .hero-lead {
    max-width: 520px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    padding: 0 16px;
  }

  .application-dialog,
  .contract-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .application-dialog__header,
  .contract-dialog__header,
  .application-form,
  .contract-dialog__content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 10px 16px;
  }

  .hero-visual {
    background-position: 68% center;
  }

  .floating-card {
    display: none;
  }

  .section-intro,
  .how-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .section-intro {
    margin-bottom: 48px;
    gap: 26px;
  }

  .section-intro h2,
  .how-copy h2,
  .record-copy h2,
  .service-copy h2,
  .about-section h2 {
    font-size: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:last-child {
    min-height: auto;
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid #cbc7bd;
    padding: 36px 28px;
  }

  .feature-icon {
    margin-bottom: 34px;
  }

  .how-section {
    padding-top: 90px;
    padding-bottom: 90px;
    gap: 58px;
  }

  .how-copy {
    position: static;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .steps > li > span {
    width: 44px;
    height: 44px;
  }

  .record-visual {
    padding: 60px 16px;
  }

  .record-copy {
    padding: 80px 24px;
  }

  .service-dashboard {
    min-height: 370px;
    overflow: hidden;
  }

  .dash-body {
    min-height: 330px;
    grid-template-columns: 54px 1fr;
  }

  .dash-main {
    padding: 20px 14px;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }

  .dash-cards article:nth-child(n+2) {
    display: none;
  }

  .dash-table-head,
  .dash-row {
    grid-template-columns: .55fr 1.45fr 1fr;
  }

  .dash-table-head span:nth-child(3),
  .dash-row > span:nth-child(3) {
    display: none;
  }

  .dashboard-toast {
    display: none;
  }

  .app-section {
    min-height: 900px;
    padding: 80px 18px;
  }

  .phone-stage {
    min-height: 540px;
    transform: scale(.9);
    transform-origin: top center;
  }

  .phone-float {
    display: none;
  }

  .store-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-section > p:last-child {
    grid-column: 1;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

/* Premium service application flow */
.application-dialog {
  width: min(1240px, calc(100% - 40px));
  height: min(760px, calc(100dvh - 32px));
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(25, 40, 89, 0.18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 42px 120px rgba(3, 10, 31, 0.42);
}

.application-dialog::backdrop {
  background: rgba(8, 18, 43, 0.78);
  backdrop-filter: blur(12px);
}

.application-shell {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-columns: 292px 164px minmax(0, 1fr);
  overflow: hidden;
}

.application-intro,
.application-stepper {
  color: #fff;
  background: #071846;
}

.application-intro {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 38px 34px 34px;
  background:
    radial-gradient(circle at 98% 45%, rgba(31, 179, 173, 0.13), transparent 34%),
    linear-gradient(155deg, #0a1b50, #061439 72%);
}

.application-intro::after {
  position: absolute;
  right: -130px;
  bottom: 70px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(75, 211, 201, 0.08);
  border-radius: 50%;
  content: "";
}

.application-intro__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid #38c7be;
  border-radius: 15px;
  background: rgba(15, 40, 89, 0.76);
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.application-intro__icon svg {
  width: 30px;
}

.application-intro h2 {
  margin: 18px 0 8px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.application-intro > p {
  margin: 0;
  color: #41c7bd;
  font-size: 13px;
}

.application-route {
  width: calc(100% + 8px);
  height: 150px;
  margin: 12px -4px 12px;
  fill: none;
  stroke: rgba(45, 196, 188, 0.86);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.application-route circle {
  fill: #071846;
  stroke-width: 3;
}

.application-route__car,
.application-route__garage {
  stroke: rgba(55, 187, 180, 0.28);
  stroke-width: 1.2;
}

.application-benefits {
  display: grid;
  gap: 19px;
  margin: 2px 0 24px;
  padding: 0;
  list-style: none;
}

.application-benefits li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
}

.application-benefits li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(63, 207, 198, 0.14);
  border-radius: 11px;
  background: rgba(24, 173, 167, 0.1);
  color: #39c7be;
}

.application-benefits svg {
  width: 20px;
}

.application-benefits strong,
.application-benefits small {
  display: block;
}

.application-benefits strong {
  margin: 1px 0 4px;
  font-size: 12px;
}

.application-benefits small {
  color: #aeb9d1;
  font-size: 10px;
  line-height: 1.45;
}

.application-intro__logo {
  width: 136px;
  max-height: 38px;
  margin-top: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.application-stepper {
  height: 100%;
  min-height: 0;
  padding: 126px 18px 50px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(31, 47, 111, 0.32), transparent 45%),
    #0a1a4b;
}

.application-stepper ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-stepper li {
  position: relative;
  min-height: 164px;
}

.application-stepper li:last-child {
  min-height: 70px;
}

.application-stepper li:not(:last-child)::after {
  position: absolute;
  top: 49px;
  left: 21px;
  width: 1px;
  height: 104px;
  background: rgba(170, 185, 218, 0.38);
  content: "";
}

.application-stepper li.is-complete:not(:last-child)::after,
.application-stepper li.is-active:not(:last-child)::after {
  background: linear-gradient(#38c7be, rgba(56, 199, 190, 0.35));
}

.application-stepper button {
  display: grid;
  width: 100%;
  grid-template-columns: 46px 1fr;
  gap: 9px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c0c9dc;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.application-stepper button:disabled {
  cursor: default;
}

.application-stepper button span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(194, 205, 231, 0.55);
  border-radius: 50%;
  background: #0b1b4d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.application-stepper button strong {
  font-size: 13px;
  font-weight: 600;
}

.application-stepper li.is-active button {
  color: #45cbc2;
}

.application-stepper li.is-active button span {
  border-color: #3bc8bf;
  background: #1ba8a2;
  box-shadow: 0 0 0 6px rgba(42, 194, 185, 0.11);
}

.application-stepper li.is-complete button span {
  border-color: #35bdb5;
  color: #49d1c8;
}

.application-stepper li.is-complete button span::after {
  position: absolute;
  width: 15px;
  height: 15px;
  margin: 29px 0 0 29px;
  border: 2px solid #0a1a4b;
  border-radius: 50%;
  background: #32bdb5;
  color: #071846;
  content: "✓";
  font-size: 9px;
  line-height: 12px;
  text-align: center;
}

.application-form {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.application-step__body {
  min-height: 0;
  overflow-y: auto;
  padding: 50px 52px 30px;
  scrollbar-color: rgba(24, 143, 136, 0.45) transparent;
  scrollbar-width: thin;
}

.application-step__body::-webkit-scrollbar {
  width: 7px;
}

.application-step__body::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(24, 143, 136, 0.45);
}

.application-form > .dialog-close {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-color: transparent;
  border-radius: 11px;
  background: #f5f6f8;
  color: #6e7789;
  font-size: 25px;
}

.application-step[hidden] {
  display: none;
}

.application-step {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.application-step__header {
  margin-bottom: 34px;
  padding-right: 42px;
}

.application-step__eyebrow {
  display: none;
  margin: 0 0 8px;
  color: #208f88;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.application-step__header h2 {
  margin: 0;
  color: #091741;
  font-size: clamp(31px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.application-step__header > p,
.application-step__header > div > p:last-child {
  margin: 10px 0 0;
  color: #687387;
  font-size: 14px;
  line-height: 1.55;
}

.application-step__header--summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.completion-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(33, 164, 156, 0.35);
  border-radius: 10px;
  background: #f5fbfa;
  color: #147f78;
  font-size: 11px;
  font-weight: 750;
}

.completion-pill svg {
  width: 16px;
}

.application-form .form-grid {
  gap: 16px 20px;
}

.application-form .form-field {
  gap: 9px;
}

.application-form .form-field > span {
  color: #17213d;
  font-size: 12px;
}

.application-form .form-field input,
.application-form .form-field textarea,
.application-form .phone-input {
  border-color: #d8dee7;
  border-radius: 10px;
  background: #fff;
}

.application-form .form-field input,
.application-form .form-field textarea {
  padding: 14px 15px;
}

.application-form .form-field textarea {
  min-height: 62px;
}

.application-form .phone-input {
  min-height: 52px;
}

.application-form .phone-input i {
  background: #f1f9f8;
}

.application-form .button.teal {
  min-width: 190px;
  min-height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #238e88, #1bb2aa);
  color: #fff;
  box-shadow: 0 12px 26px rgba(25, 153, 146, 0.2);
}

.application-form .button.teal:hover {
  box-shadow: 0 15px 32px rgba(25, 153, 146, 0.28);
}

.application-form .button-text {
  min-height: 44px;
  padding: 0 4px;
  background: transparent;
  color: #157f79;
}

.application-form .button-text:hover {
  transform: none;
  color: #0b5f5a;
}

.application-form .form-actions {
  z-index: 2;
  margin: 0;
  padding: 16px 52px 24px;
  border-top: 1px solid rgba(218, 224, 233, 0.9);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -14px 34px rgba(15, 28, 62, 0.05);
  backdrop-filter: blur(10px);
}

.form-actions--end {
  justify-content: flex-end;
}

.form-actions--between {
  align-items: center;
  justify-content: space-between;
}

.account-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid #dce8e6;
  border-radius: 13px;
  background: #f4faf9;
}

.account-note > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #e3f4f1;
  color: #188c85;
}

.account-note svg {
  width: 23px;
}

.account-note strong {
  color: #0c1841;
  font-size: 13px;
}

.account-note p {
  margin: 5px 0 0;
  color: #687387;
  font-size: 12px;
  line-height: 1.55;
}

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

.summary-card {
  padding: 20px;
  border: 1px solid #dce1e8;
  border-radius: 12px;
  background: #fff;
}

.summary-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e7e9ee;
}

.summary-card h3 {
  margin: 0;
  color: #0c1841;
  font-size: 15px;
}

.summary-card button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #168b84;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
}

.summary-card dl {
  margin: 0;
}

.summary-card dl > div {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.3fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef0f3;
}

.summary-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-card dt,
.summary-card dd {
  margin: 0;
  font-size: 11px;
}

.summary-card dt {
  color: #1a2542;
  font-weight: 750;
}

.summary-card dd {
  overflow: hidden;
  color: #69758a;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-section {
  margin-top: 25px;
}

.contract-section > h3 {
  margin: 0 0 14px;
  color: #0c1841;
  font-size: 16px;
}

.application-form .contract-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.application-form .contract-list {
  gap: 9px;
}

.application-form .contract-consent-item {
  align-items: center;
  min-height: 54px;
  padding: 12px 15px;
  border-color: #dce1e8;
  border-radius: 10px;
  background: #fff;
}

.application-form .contract-consent-item.is-checked {
  border-color: rgba(28, 161, 153, 0.62);
  background: #f3fbf9;
  box-shadow: none;
}

.application-form .contract-consent-copy {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.application-form .contract-review {
  order: 2;
  color: #168b84;
  font-size: 11px;
  text-decoration: none;
}

.application-form .contract-consent-checkbox {
  width: 19px;
  height: 19px;
}

.application-form .form-status {
  min-height: 20px;
  margin-top: 12px;
}

.form-actions--submit {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  padding-top: 16px;
}

.secure-submit-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #7a8497;
  font-size: 10px;
}

.secure-submit-note svg {
  width: 16px;
}

@media (max-width: 1120px) {
  .application-dialog {
    width: min(960px, calc(100% - 28px));
  }

  .application-shell {
    grid-template-columns: 0 150px minmax(0, 1fr);
  }

  .application-intro {
    display: none;
  }
}

@media (max-width: 760px) {
  .application-dialog {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
    max-height: none;
    border-radius: 16px;
  }

  .application-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .application-stepper {
    min-height: auto;
    padding: 18px 58px 18px 18px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .application-stepper ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .application-stepper li,
  .application-stepper li:last-child {
    min-height: auto;
  }

  .application-stepper li:not(:last-child)::after {
    top: 19px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 1px;
  }

  .application-stepper button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .application-stepper button span {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .application-stepper button strong {
    font-size: 10px;
  }

  .application-stepper li.is-complete button span::after {
    margin: 25px 0 0 25px;
  }

  .application-form {
    padding: 0;
  }

  .application-step__body {
    padding: 32px 20px 24px;
  }

  .application-form > .dialog-close {
    position: fixed;
    top: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
  }

  .application-step__eyebrow {
    display: block;
  }

  .application-step__header {
    margin-bottom: 25px;
    padding-right: 0;
  }

  .application-step__header h2 {
    font-size: 30px;
  }

  .application-step__header--summary {
    display: block;
  }

  .completion-pill {
    margin-top: 14px;
  }

  .application-form .form-grid,
  .application-summary {
    grid-template-columns: 1fr;
  }

  .application-form .form-actions--end,
  .application-form .form-actions--between {
    display: flex;
  }

  .application-form .form-actions {
    margin: 0;
    padding: 14px 20px 18px;
  }

  .form-actions--submit {
    grid-template-columns: auto 1fr;
  }

  .form-actions--submit .secure-submit-note {
    display: none;
  }

  .application-form .button.teal {
    min-width: 160px;
  }
}

@media (max-width: 430px) {
  .application-stepper button strong {
    display: none;
  }

  .application-form {
    padding: 0;
  }

  .application-step__body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .application-form .form-actions {
    padding-right: 16px;
    padding-left: 16px;
  }

  .summary-card dl > div {
    grid-template-columns: .8fr 1.2fr;
  }

  .application-form .contract-consent-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .application-form .contract-review {
    order: 0;
  }
}
