:root {
  --ink: #171a17;
  --ink-soft: #545c53;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #dfe3db;
  --blue: #2156cf;
  --blue-dark: #173f9e;
  --green: #16825d;
  --coral: #d65f4b;
  --amber: #c38420;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(223, 227, 219, .82);
  background: rgba(247, 247, 242, .92);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; width: 100px; height: 58px; align-items: center; overflow: hidden; text-decoration: none; }
.brand img { width: 104px; height: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a, .text-link {
  color: #4f574e;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover, .text-link:hover { color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(33, 86, 207, .21);
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 14px 30px rgba(33, 86, 207, .26); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid rgba(33, 86, 207, .28);
  outline-offset: 3px;
}
.button-small { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.button-quiet { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); box-shadow: none; }
.button-quiet:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.62); }

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 22px));
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  background: #121512;
  color: #fff;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 21, 18, .5);
}
.hero-product {
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: 0;
  width: max(100%, 1480px);
  height: auto;
  transform: translateX(-50%) scale(1.03);
  filter: contrast(1.06) saturate(.86);
  opacity: .78;
}
.hero-copy {
  width: min(850px, calc(100% - 40px));
  margin: clamp(70px, 11vh, 120px) auto 0;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #8eafff; }
.hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 12vw, 9.4rem);
  line-height: .9;
  letter-spacing: 0;
  font-weight: 790;
}
.hero-lead {
  max-width: 680px;
  margin: 28px auto 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 2.2vw, 1.34rem);
  line-height: 1.62;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { margin: 16px 0 0; color: rgba(255,255,255,.54); font-size: .84rem; }

.signal-band {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.signal-band span {
  padding: 22px clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--line);
  color: #5b625a;
  font-size: .82rem;
  font-weight: 730;
}
.signal-band span:last-child { border-right: 0; }

.product-section, .security-section, .faq-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 138px) 0;
}
.section-heading { max-width: 710px; }
.section-heading h2, .pricing-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.section-heading > p:last-child, .pricing-copy > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.workflow-list { margin-top: 72px; border-top: 1px solid #cfd4ca; }
.workflow-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid #cfd4ca;
}
.workflow-list h3 { margin: 0 0 7px; font-size: 1.1rem; }
.workflow-list p { margin: 0; color: var(--ink-soft); line-height: 1.62; }
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33, 86, 207, .28);
  border-radius: 7px;
  background: rgba(33, 86, 207, .07);
  color: var(--blue);
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-icon.green { color: var(--green); border-color: rgba(22,130,93,.28); background: rgba(22,130,93,.07); }
.feature-icon.coral { color: var(--coral); border-color: rgba(214,95,75,.28); background: rgba(214,95,75,.07); }
.feature-icon.amber { color: var(--amber); border-color: rgba(195,132,32,.3); background: rgba(195,132,32,.08); }

.operations-band {
  padding: clamp(80px, 10vw, 130px) max(20px, calc((100vw - 1180px) / 2));
  background: #1b1f1b;
  color: #fff;
}
.section-heading.light .eyebrow { color: #8eafff; }
.section-heading.light { max-width: 820px; }
.service-steps { list-style: none; margin: 68px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.17); }
.service-steps li {
  display: grid;
  grid-template-columns: 90px 1fr 1.5fr;
  gap: 26px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.17);
}
.service-steps span { color: #8eafff; font-size: .8rem; font-weight: 800; }
.service-steps strong { font-size: 1.14rem; }
.service-steps p { margin: 0; color: rgba(255,255,255,.61); line-height: 1.6; }

.security-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.security-copy { padding-top: 34px; }
.security-copy > p { margin: 0; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.75; }
.security-copy ul, .price-panel ul { list-style: none; margin: 32px 0 0; padding: 0; }
.security-copy li, .price-panel li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--line); line-height: 1.45; }
.security-copy li::before, .price-panel li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 500px);
  gap: clamp(50px, 10vw, 150px);
  align-items: center;
  padding: clamp(80px, 10vw, 130px) max(20px, calc((100vw - 1180px) / 2));
  background: #e9edf7;
}
.price-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #c9d2e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(39, 51, 78, .12);
}
.price-line { display: flex; align-items: baseline; gap: 12px; }
.price { font-size: clamp(3.8rem, 7vw, 5.8rem); font-weight: 820; line-height: 1; }
.price-line > span:last-child { color: var(--ink-soft); font-weight: 700; }
.price-panel .button { width: 100%; margin-top: 26px; }
.price-panel small { display: block; margin-top: 16px; color: #6a7269; text-align: center; line-height: 1.5; }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 140px); }
.faq-list { border-top: 1px solid #cfd4ca; }
.faq-list details { border-bottom: 1px solid #cfd4ca; }
.faq-list summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; font-weight: 760; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 21px; color: var(--blue); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -5px 48px 24px 0; color: var(--ink-soft); line-height: 1.7; }

footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-brand { font-size: 1.3rem; font-weight: 840; text-decoration: none; }
footer p { color: var(--ink-soft); font-size: .88rem; }
footer div { justify-self: end; display: flex; gap: 22px; }
footer div a { color: var(--ink-soft); font-size: .85rem; font-weight: 650; }

.registration-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(820px, calc(100svh - 28px));
  margin: auto;
  padding: 0;
  border: 1px solid #cfd4ca;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(15, 20, 16, .34);
  overflow: auto;
}
.registration-dialog::backdrop { background: rgba(17, 20, 17, .72); backdrop-filter: blur(7px); }
.registration-dialog form { padding: clamp(24px, 5vw, 42px); }
.registration-dialog header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.registration-dialog h2 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.25rem); line-height: 1.15; }
.icon-button, .password-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f7f2;
  color: var(--ink);
  cursor: pointer;
}
.icon-button svg { width: 20px; height: 20px; }
.form-intro { margin: 16px 0 26px; color: var(--ink-soft); line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 8px; color: #3e453d; font-size: .84rem; font-weight: 760; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #cfd4ca;
  border-radius: 7px;
  background: #fbfcf9;
  color: var(--ink);
}
.form-grid input:focus { border-color: var(--blue); background: #fff; }
.form-grid small { color: #737a72; font-weight: 540; line-height: 1.45; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 54px; }
.password-toggle { position: absolute; right: 4px; top: 3px; width: 42px; height: 42px; border: 0; background: transparent; color: #657064; }
.password-toggle svg { width: 19px; height: 19px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); }
.form-message { min-height: 22px; margin: 16px 0 0; color: #aa2c20; font-size: .86rem; font-weight: 650; }
.form-message.success { color: var(--green); }
.checkout-button { width: 100%; margin-top: 6px; }
.checkout-button svg { width: 18px; height: 18px; }
.checkout-button[disabled] { opacity: .66; cursor: wait; transform: none; }
.secure-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 14px 0 0; color: #6c746b; font-size: .78rem; }
.secure-note svg { width: 15px; height: 15px; }

.welcome-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; background: #1b1f1b; }
.welcome-panel { width: min(560px, 100%); padding: 42px; border-radius: 8px; background: #fff; text-align: center; }
.welcome-panel img { width: 180px; height: auto; }
.welcome-panel h1 { margin: 18px 0 12px; font-size: 2.2rem; }
.welcome-panel p { color: var(--ink-soft); line-height: 1.65; }
.welcome-panel .button { width: 100%; margin-top: 16px; }
.welcome-help { display: inline-block; margin-top: 22px; }

.legal-page { background: #f7f7f2; }
.legal-header, .legal-footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.legal-header img { width: 112px; height: auto; display: block; }
.legal-header a:last-child, .legal-footer a { color: var(--ink-soft); font-size: .86rem; font-weight: 700; }
.legal-content { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.legal-content h1 { margin: 0 0 24px; font-size: clamp(3rem, 8vw, 5.8rem); line-height: .98; }
.legal-lead { margin: 0 0 60px; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.7; }
.legal-content h2 { margin: 46px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.18rem; }
.legal-content p { color: #50584f; line-height: 1.78; }
.legal-content a { color: var(--blue); font-weight: 650; }
.legal-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.legal-footer span { font-weight: 820; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 700px; }
  .hero-copy { margin-top: 86px; }
  .hero-product { width: 1280px; }
  .security-section, .pricing-section, .faq-section { grid-template-columns: 1fr; }
  .service-steps li { grid-template-columns: 50px 1fr; }
  .service-steps p { grid-column: 2; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer div { justify-self: center; }
}

@media (max-width: 560px) {
  :root { --header-height: 64px; }
  .site-header { padding: 0 16px; }
  .brand { width: 78px; height: 50px; }
  .brand img { width: 82px; }
  .header-actions .text-link { display: none; }
  .hero { min-height: 660px; }
  .hero-copy { width: calc(100% - 30px); margin-top: 68px; }
  .hero h1 {
    max-width: 100%;
    font-size: 3.9rem;
    line-height: .92;
    overflow-wrap: anywhere;
  }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-product { width: 1000px; bottom: 10px; }
  .signal-band { display: grid; grid-template-columns: 1fr 1fr; }
  .signal-band span { padding: 16px; border-bottom: 1px solid var(--line); text-align: center; }
  .product-section, .security-section, .faq-section { width: min(100% - 30px, 1180px); }
  .workflow-list { margin-top: 46px; }
  .workflow-list article { grid-template-columns: 44px 1fr; gap: 14px; }
  .service-steps li { grid-template-columns: 38px 1fr; gap: 14px; }
  .pricing-section { padding-left: 15px; padding-right: 15px; }
  .price-panel { padding: 25px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .registration-dialog form { padding: 22px 18px; }
  .welcome-panel { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
