:root {
  --navy: #061e5e;
  --blue: #073c97;
  --cyan: #04a5df;
  --green: #00b968;
  --green-dark: #008d61;
  --ink: #071e51;
  --muted: #465b75;
  --line: #d4e6ee;
  --shadow: 0 8px 22px rgba(5, 55, 90, 0.06);
  --rail: 6px;
  --rail-gap: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; color-scheme: light; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; background: #fff; padding: 8px 15px; }
.skip-link:focus { left: 10px; }
.shell { width: min(1150px, calc(100% - 54px)); margin: 0 auto; }

.site-header {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(1, 34, 78, 0.055);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 100%; }
.brand { display: flex; align-items: center; width: 238px; flex-shrink: 0; }
.brand img { width: 238px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 650; }
.nav-links a:hover { color: var(--green-dark); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; background: var(--navy); height: 2px; width: 25px; margin: 5px 0; }

.hero { background: linear-gradient(107deg, #fff 8%, #f6fbff 54%, #edfff6 100%); overflow: hidden; }
.hero-grid { min-height: 420px; display: grid; grid-template-columns: 41% 59%; align-items: center; gap: 10px; }
.hero-copy { padding: 40px 0; position: relative; z-index: 2; }
.eyebrow { display: block; color: var(--green-dark); font-size: 11px; letter-spacing: 0.14em; font-weight: 700; margin-bottom: 15px; }
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 1.05;
  font-size: clamp(40px, 5vw, 67px);
}
.hero-line { display: flex; align-items: center; gap: var(--rail-gap); }
.hero-line-next { padding-left: calc(var(--rail) + var(--rail-gap)); }
.accent-rail {
  display: block;
  width: var(--rail);
  height: 0.92em;
  flex: 0 0 var(--rail);
  background: var(--green);
  border-radius: 4px;
}
.green-word { color: var(--green-dark); }
.hero p { font-size: 16px; max-width: 410px; margin: 0 0 24px; line-height: 1.64; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 40px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: linear-gradient(112deg, #0bca70, #009e8e 48%, #0647a2); box-shadow: 0 4px 10px rgba(0, 124, 114, 0.12); }
.btn-primary:hover { filter: brightness(0.95); }
.btn:disabled { opacity: 0.72; cursor: progress; }
.btn-outline { color: var(--navy); border-color: #2267c0; background: #fff; }
.btn-outline:hover { background: #eef8ff; }
.hero-media { align-self: stretch; min-height: 420px; position: relative; overflow: hidden; }
.hero-media::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 18%; background: linear-gradient(90deg, #fafcff, transparent); z-index: 1; }
.hero-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 52%; position: absolute; inset: 0; }

.section { padding: 34px 0 24px; }
.section-title {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.034em;
  margin: 0 0 16px;
  position: relative;
  padding-left: 18px;
  font-weight: 700;
}
.section-title::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 6px;
  height: 0.92em;
  border-radius: 3px;
  background: var(--green);
}
.section p { margin-top: 0; }
.intro-section { padding-top: 45px; }
.intro-grid { display: grid; grid-template-columns: 47% 1fr; gap: 48px; align-items: center; }
.intro-grid > div > p { max-width: 520px; font-size: 16px; }
.intro-checks { border-left: 1px solid #dce9ee; padding-left: 36px !important; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 0 40px; margin: 0 0 16px; }
.checks li:last-child { margin-bottom: 0; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  background: #16bf43;
  color: #fff;
  font-weight: 700;
  width: 23px;
  height: 23px;
  text-align: center;
  border-radius: 50%;
  line-height: 23px;
}

.applications-section { padding-top: 28px; }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1.5px solid #b7ddf0; background: linear-gradient(135deg, #fff, #f2fbff); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.use-card { text-align: center; min-height: 206px; }
.use-card:nth-child(2) { background: linear-gradient(140deg, #fff, #eafbf3); border-color: #c0e8d3; }
.use-card h3, .response-card h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; margin: 12px 0 8px; }
.use-card p { font-size: 14px; line-height: 1.54; margin: 0; }
.card-icon {
  width: 53px;
  height: 53px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background: #e5f4ff;
  color: #004da8;
}
.card-icon.green { background: #e1fae8; color: #05a749; }
.card-icon.teal { background: #e8f9f0; color: #0a9764; }

.section-heading-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.section-heading-row p { max-width: 730px; margin-bottom: 20px; }
.pill-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 99px;
  background: #e5f8ec;
  color: #073365;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  white-space: nowrap;
  margin-top: 3px;
}
.pill-time svg { width: 16px; height: 16px; color: #073365; }
.process-section { padding-top: 46px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 46px; row-gap: 16px; }
.step-card {
  border: 1px solid #bddbec;
  background: linear-gradient(155deg, #fff, #eef9fd);
  padding: 21px 16px 17px;
  text-align: center;
  border-radius: 19px;
  position: relative;
  min-height: 220px;
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -35px;
  left: auto;
  bottom: auto;
  width: 24px;
  height: 24px;
  margin: 0;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B968' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  pointer-events: none;
  z-index: 1;
}
.step-number {
  position: absolute;
  left: 13px;
  top: 13px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background: #d1f6d9;
  color: #098a47;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
.step-icon { width: 45px; height: 45px; margin: 5px auto 12px; color: #008b84; }
.step-card h3 { font-size: 17px; line-height: 1.24; margin: 0 0 9px; }
.step-card p { font-size: 13px; line-height: 1.45; margin: 0; }
.process-note {
  margin: 15px 0 0;
  padding: 12px 24px;
  background: linear-gradient(90deg, #e6faef, #def6f0);
  text-align: center;
  border-radius: 40px;
  font-size: 13px;
}

.response-section { padding-top: 25px; }
.response-shell { border-radius: 25px; padding: 28px 24px 30px; background: linear-gradient(110deg, #edfdf2, #e4f9eb 60%, #edfcf6); }
.response-section .section-title { margin-bottom: 7px; }
.section-lead { font-size: 14px; max-width: 850px; margin-left: 18px; margin-bottom: 17px; }
.response-card {
  background: #fff;
  border: 1px solid #bdd9e4;
  border-radius: 17px;
  padding: 20px 20px 16px;
  min-height: 214px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 48, 89, 0.04);
}
.response-card .mode-marker { position: absolute; right: 15px; top: 13px; color: #6ba59b; font-size: 15px; font-weight: 700; }
.mode-icon { width: 40px; height: 40px; color: #0476b9; }
.response-card:nth-child(2) .mode-icon,
.response-card:nth-child(3) .mode-icon { color: var(--green-dark); }
.response-card h3 { margin: 5px 0; }
.response-card p { font-size: 13px; line-height: 1.48; min-height: 73px; margin: 0 0 12px; }
.mode-tag { display: inline-block; border-radius: 25px; background: #edf8f7; color: #067d73; padding: 3px 11px; font-size: 11px; font-weight: 700; }
.explain-row { display: flex; align-items: flex-start; gap: 10px; margin: 18px 4px 0; color: #16456e; }
.explain-row .mini-icon { width: 22px; height: 22px; color: #0476b9; margin-top: 1px; flex-shrink: 0; }
.explain-row p { margin: 0; font-size: 13px; }

.trust-section { padding-top: 32px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 5px 13px; min-height: 70px; border-right: 1px solid #d1e2e6; }
.trust-item:last-child { border: none; }
.trust-icon { width: 32px; height: 32px; min-width: 32px; color: #069e67; }
.trust-item p { font-size: 13px; line-height: 1.4; margin: 0; }
.trust-banner {
  padding: 13px 20px;
  border-radius: 15px;
  background: linear-gradient(90deg, #e8faef, #e0f6e9);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
}
.trust-banner .mini-icon { width: 22px; height: 22px; color: var(--green-dark); flex-shrink: 0; }

.icon svg, .mini-icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon svg { width: 100%; height: 100%; }
.card-icon svg { width: 31px; height: 31px; }
.icon svg [fill="currentColor"],
.mini-icon [fill="currentColor"] { fill: currentColor; stroke: none; }

.contact-section { padding: 27px 0 45px; }
.contact-grid {
  background: #fff;
  display: grid;
  grid-template-columns: 44% 56%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(6, 50, 90, 0.07);
}
.contact-art { min-height: 420px; background: #f7e7cf; position: relative; }
.contact-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 31% center; }
.contact-content { padding: 27px 30px; }
.contact-content > p { font-size: 14px; }
.contact-content form { position: relative; }
.contact-content form label { display: flex; flex-direction: column; font-weight: 700; font-size: 13px; margin: 0 0 12px; }
.field-name { display: block; line-height: 1.3; }
.req { color: #cd3045; }
.field-error { display: none; color: #9d2f2f; font-size: 12px; font-weight: 600; line-height: 1.35; margin-top: 4px; }
.field-error.is-visible { display: block; }
input.invalid, textarea.invalid,
input.invalid:focus, textarea.invalid:focus { border-color: #cd3045; outline-color: #f8d0d6; }
.consent-field { margin: 0 0 12px; }
.consent-field .check-consent { margin-bottom: 0; }
#turnstile-error.is-visible { margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input:not([type="checkbox"]), textarea {
  display: block;
  width: 100%;
  border: 1px solid #b0c5db;
  background: #fff;
  border-radius: 9px;
  padding: 10px 12px;
  margin-top: 5px;
  font-weight: 400;
  font-size: 14px;
  color: #07205b;
  resize: vertical;
}
input:focus, textarea:focus { border-color: #008fc4; outline: 2px solid #d3ecfa; }
.check-consent { display: flex !important; align-items: flex-start; flex-direction: row !important; gap: 11px; font-weight: 400 !important; line-height: 1.4; }
.check-consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.check-consent span { color: var(--ink); font-size: 12px; font-weight: 400; }
.check-consent a { color: var(--blue); font-weight: 700; }
.turnstile-slot { margin: 2px 0 12px; }
.turnstile-slot:empty { display: none; }
.btn-submit { width: 100%; margin-top: 3px; }
.form-feedback { font-size: 13px; margin: 10px 0 0; }
.form-feedback:empty { display: none; }
.form-feedback.ok {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #064e32;
  background: #d8f6e6;
  border: 1px solid #6dcea0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 16px;
}
.form-feedback.err { color: #9d2f2f; }
.form-note { font-size: 12px; color: #526a82; margin: 8px 0 0; }
.form-note a { color: var(--blue); font-weight: 700; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: #f4f9fc; color: #5a6f84; border-top: 1px solid #e5eef3; padding: 18px 0; }
.footer-inner { display: flex; gap: 20px; justify-content: space-between; align-items: center; font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-nav a { color: var(--blue); text-decoration: none; font-weight: 650; }
.footer-nav a:hover { text-decoration: underline; }

.legal-shell { width: min(800px, calc(100% - 54px)); }
.legal-main { padding: 28px 0 72px; }
.legal-updated { color: var(--muted); font-size: 13px; margin: 0 0 22px 18px; }
.legal-main h2 { font-size: 22px; margin: 28px 0 8px; letter-spacing: -0.02em; color: var(--navy); }
.legal-main p, .legal-main li { font-size: 15px; }
.legal-main ul { margin: 8px 0 16px; padding-left: 20px; }
.legal-main a { color: var(--blue); }
.legal-id { margin: 12px 0 18px; }
.legal-id div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.legal-id dt { font-weight: 700; color: var(--navy); }
.legal-id dd { margin: 0; }
.table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 18px; }
.legal-table th, .legal-table td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px; vertical-align: top; }
.legal-table th { color: var(--navy); font-size: 13px; }

.result-wrap { padding: 48px 0 72px; }
.result-card { max-width: 560px; margin: 0 auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.result-card.ok { background: #d8f6e6; border-color: #6dcea0; }
.result-card h1 { font-size: 32px; margin: 0 0 12px; }

@media (max-width: 900px) {
  .shell { width: min(100% - 38px, 760px); }
  .legal-shell { width: min(100% - 38px, 760px); }
  .site-header { height: 69px; }
  .brand, .brand img { width: 190px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 14px; }
  .hero-grid { grid-template-columns: 48% 52%; min-height: 365px; }
  .hero-media { min-height: 365px; }
  .hero h1 { font-size: 43px; }
  .hero p { font-size: 14px; }
  .hero-copy { padding: 24px 0; }
  .process-grid { grid-template-columns: 1fr; row-gap: 44px; max-width: 640px; }
  .step-card:not(:last-child)::after {
    top: auto;
    bottom: -34px;
    left: 50%;
    right: auto;
    margin-left: -12px;
    transform: rotate(90deg);
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border: none; }
  .response-card { padding: 18px 13px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .shell, .legal-shell { width: calc(100% - 32px); }
  .site-header { height: 68px; }
  .brand, .brand img { width: 180px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    box-shadow: 0 10px 14px rgba(0, 35, 80, 0.1);
    align-items: stretch;
    padding: 8px 20px 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; padding: 10px 0; border-bottom: 1px solid #edf3f6; }
  .hero-grid { display: flex; flex-direction: column-reverse; gap: 0; }
  .hero-media { width: calc(100% + 32px); min-height: 230px; height: 230px; margin: 0 -16px; flex-shrink: 0; }
  .hero-media::before { background: linear-gradient(0deg, #fff, transparent 35%); left: 0; bottom: 0; top: auto; width: 100%; height: 90px; }
  .hero-copy { padding: 10px 0 30px; width: 100%; }
  .eyebrow { margin-bottom: 10px; }
  .hero h1 { --rail: 5px; --rail-gap: 10px; font-size: 38px; margin-bottom: 12px; }
  .hero p { font-size: 14px; max-width: 550px; }
  .hero-actions { gap: 9px; }
  .btn { font-size: 13px; padding: 12px 16px; }
  .section { padding: 27px 0 16px; }
  .section-title { font-size: 28px; padding-left: 16px; }
  .section-title::before { width: 5px; }
  .intro-grid { display: block; }
  .intro-checks { border: 0; padding-left: 0 !important; padding-top: 8px; }
  .intro-grid > div > p { font-size: 15px; }
  .three-grid { grid-template-columns: 1fr; gap: 12px; }
  .use-card { min-height: 0; padding: 19px; }
  .use-card h3 { margin: 7px 0; }
  .step-card { min-height: 0; text-align: left; padding: 18px 15px 17px 72px; }
  .step-card .step-number { top: 12px; left: 11px; }
  .step-icon { position: absolute; top: 48px; left: 7px; width: 38px; height: 38px; margin: 0; }
  .step-card h3 { font-size: 16px; }
  .step-card p { font-size: 13px; }
  .section-heading-row { display: block; }
  .pill-time { margin: 0 0 14px; }
  .response-shell { padding: 24px 12px; }
  .section-lead { margin-left: 0; }
  .response-card { min-height: 0; }
  .response-card p { min-height: 0; }
  .explain-row { margin: 17px 5px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 1px; }
  .trust-item, .trust-item:nth-child(2) { border: 0; border-bottom: 1px solid #dce8ec; padding: 9px 10px; }
  .trust-item:last-child { border: none; }
  .trust-banner { font-size: 13px; text-align: left; justify-content: flex-start; }
  .contact-grid { display: block; }
  .contact-art { min-height: 240px; }
  .contact-content { padding: 23px 19px; }
  .form-grid { display: block; }
  .footer-inner { display: block; }
  .footer-inner span, .footer-nav { display: flex; margin-bottom: 8px; }
  .legal-id div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
