:root {
  --ink: #12263f;
  --ink-soft: #4d6075;
  --blue: #2f7cff;
  --blue-dark: #1d55be;
  --mint: #a4eee0;
  --mint-dark: #3cbca9;
  --paper: #f7fbff;
  --white: #ffffff;
  --line: #dbe7f1;
  --shadow: 0 18px 45px rgba(18, 38, 63, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:hover {
  color: var(--blue-dark);
}

img,
svg {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-180%);
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(219, 231, 241, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 12px 12px 12px 3px;
  box-shadow: inset -7px -7px 0 rgba(18, 38, 63, 0.08);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-name {
  font-size: 1.04rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--blue-dark);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 999px;
}

.nav-cta:hover {
  color: var(--white) !important;
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 84% 18%, rgba(164, 238, 224, 0.62), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(47, 124, 255, 0.1), transparent 25%),
    var(--paper);
}

.hero::after {
  position: absolute;
  right: -85px;
  bottom: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(47, 124, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 2px;
  background: var(--blue);
  content: "";
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6.1vw, 5.5rem);
  line-height: 0.98;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(47, 124, 255, 0.22);
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 13px 28px rgba(47, 124, 255, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--blue-dark);
  background: var(--white);
  border-color: #b8cfe5;
}

.hero-card {
  position: relative;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  top: -16px;
  right: 29px;
  width: 68px;
  height: 68px;
  border: 11px solid var(--mint);
  border-radius: 50%;
  content: "";
  opacity: 0.8;
}

.card-kicker {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 130px;
  padding: 17px;
  background: linear-gradient(135deg, #eaf1ff, #f0fffb);
  border-radius: 20px;
}

.signal i {
  display: block;
  flex: 1;
  min-width: 10px;
  background: var(--blue);
  border-radius: 7px 7px 2px 2px;
}

.signal i:nth-child(1) { height: 34%; opacity: 0.35; }
.signal i:nth-child(2) { height: 55%; opacity: 0.5; }
.signal i:nth-child(3) { height: 45%; opacity: 0.67; }
.signal i:nth-child(4) { height: 76%; opacity: 0.8; }
.signal i:nth-child(5) { height: 61%; opacity: 0.9; }
.signal i:nth-child(6) { height: 92%; }

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.hero-card-footer strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.15rem;
}

.hero-card-footer small {
  color: var(--ink-soft);
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--mint-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(60, 188, 169, 0.12);
}

.section {
  padding: 98px 0;
}

.section-muted {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 610px;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.service-card,
.info-card,
.legal-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-card {
  min-height: 235px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 23px;
  place-items: center;
  color: var(--blue-dark);
  background: #e9f1ff;
  border-radius: 14px;
}

.service-card:nth-child(2) .service-icon {
  color: #168978;
  background: #e8fbf7;
}

.service-card:nth-child(3) .service-icon {
  color: #8e5c0e;
  background: #fff4da;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.27rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-visual {
  position: relative;
  min-height: 400px;
  padding: 30px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual::before,
.about-visual::after {
  position: absolute;
  border: 1px solid rgba(164, 238, 224, 0.28);
  border-radius: 50%;
  content: "";
}

.about-visual::before {
  width: 310px;
  height: 310px;
  right: -75px;
  bottom: -120px;
}

.about-visual::after {
  width: 205px;
  height: 205px;
  right: -24px;
  bottom: -68px;
}

.visual-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-copy {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 30px;
  left: 30px;
  max-width: 350px;
  color: var(--white);
}

.visual-copy h3 {
  margin-bottom: 11px;
  font-size: 2.1rem;
  line-height: 1.05;
}

.visual-copy p {
  margin-bottom: 0;
  color: #c4d2e1;
}

.about-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.04;
}

.about-copy > p {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list li::before {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 2px;
  color: var(--blue-dark);
  background: #e9f1ff;
  border-radius: 50%;
  content: "✓";
  font-size: 0.8rem;
  font-weight: 900;
}

.company-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 33px;
}

.stat {
  padding: 19px;
  background: #f3f8fd;
  border-radius: var(--radius-sm);
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.18rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.cta {
  padding: 78px 0;
  color: var(--white);
  background: var(--ink);
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta h2 {
  max-width: 650px;
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.cta p {
  max-width: 620px;
  margin-bottom: 0;
  color: #b9c9da;
}

.cta .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.cta .button.secondary:hover {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  padding: 45px 0 26px;
  color: #a7b7c8;
  background: #0c1b2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 40px;
  padding-bottom: 38px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-description {
  max-width: 370px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.footer-title {
  margin: 3px 0 14px;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.footer-links a {
  color: #a7b7c8;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.page-hero {
  padding: 74px 0 62px;
  background:
    radial-gradient(circle at 88% 20%, rgba(164, 238, 224, 0.55), transparent 23%),
    var(--paper);
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 25px;
}

.legal-card {
  padding: clamp(25px, 4vw, 42px);
}

.legal-card h2 {
  margin: 33px 0 10px;
  font-size: 1.5rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card ul,
.legal-card ol {
  padding-left: 21px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a,
.info-card a {
  color: var(--blue-dark);
  font-weight: 700;
}

.toc {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: #eef6ff;
  border: 1px solid #d7e6f6;
  border-radius: var(--radius-md);
}

.toc strong {
  display: block;
  margin-bottom: 13px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue-dark);
}

.notice {
  margin: 24px 0;
  padding: 17px 19px;
  color: #405469;
  background: #f1f7fb;
  border-left: 4px solid var(--mint-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 26px;
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.info-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.form-card {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cdddea;
  border-radius: 11px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.13);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.check-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.form-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  color: #126d5d;
  background: #e9fbf6;
  border: 1px solid #b8ebdf;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.text-center {
  text-align: center;
}

.text-center p {
  color: var(--ink-soft);
}

:focus-visible {
  outline: 3px solid rgba(47, 124, 255, 0.42);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-card {
    max-width: 600px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .navbar {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .section {
    padding: 68px 0;
  }

  .hero-card {
    padding: 21px;
  }

  .section-heading,
  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-3,
  .company-strip,
  .data-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .field.full {
    grid-column: auto;
  }

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

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