:root {
  --ink: #121416;
  --ink-soft: #3f454b;
  --paper: #f5f3ee;
  --surface: #ffffff;
  --surface-dark: #171a1d;
  --line: #d9d6cf;
  --accent: #e84832;
  --accent-dark: #b92c1e;
  --amber: #f2a51f;
  --success: #1c8f60;
  --shadow: 0 22px 60px rgba(21, 22, 24, 0.11);
  --max: 1180px;
  --radius: 14px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(232, 72, 50, 0.35);
  outline-offset: 4px;
}

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

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

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

.topline {
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0 55%, var(--amber) 55% 73%, var(--ink) 73%);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(18, 20, 22, 0.09);
  background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 190px;
  height: auto;
}

.brand-fallback {
  display: none;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #2e3338;
  font-size: 14px;
  font-weight: 720;
}

.main-nav > a:hover,
.main-nav > a[aria-current="page"] {
  background: #fff;
  color: var(--accent-dark);
}

.main-nav .nav-login {
  margin-left: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.main-nav .nav-login:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 20, 22, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 20, 22, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.07fr) minmax(390px, 0.93fr);
  gap: 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 900;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--accent);
}

.lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  font-weight: 820;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button-ghost {
  background: transparent;
}

.button-arrow::after {
  content: "→";
  font-size: 19px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #63686d;
  font-size: 14px;
}

.hero-note::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(28, 143, 96, 0.12);
  content: "";
}

.transaction-panel {
  position: relative;
  padding: 25px;
  border: 1px solid #2b2f33;
  border-radius: 18px;
  background: var(--surface-dark);
  box-shadow: var(--shadow);
  color: #fff;
}

.transaction-panel::after {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -20px;
  width: 74%;
  height: 74%;
  border-radius: 20px;
  background: var(--accent);
  content: "";
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel-title {
  font-weight: 850;
  letter-spacing: -0.02em;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9de0be;
  font-size: 12px;
  font-weight: 750;
}

.panel-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d99a;
  content: "";
}

.panel-row {
  display: grid;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
}

.panel-code {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: rgba(232, 72, 50, 0.16);
  color: #ff8f7f;
  font-size: 12px;
  font-weight: 900;
}

.panel-row strong,
.panel-row small {
  display: block;
}

.panel-row strong {
  font-size: 14px;
}

.panel-row small {
  margin-top: 2px;
  color: #969da4;
  font-size: 12px;
}

.panel-result {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(85, 217, 154, 0.11);
  color: #79e4ad;
  font-size: 11px;
  font-weight: 800;
}

.signal-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

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

.signal {
  padding: 25px 28px;
  border-left: 1px solid var(--line);
}

.signal:last-child {
  border-right: 1px solid var(--line);
}

.signal strong,
.signal span {
  display: block;
}

.signal strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.signal span {
  color: #666b70;
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

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

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 42px;
  grid-template-columns: 1fr minmax(280px, 0.62fr);
  gap: 40px;
}

.section-heading h2 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  color: #62676c;
}

.section-dark .section-heading p {
  color: #b4bac0;
}

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

.service-card {
  position: relative;
  min-height: 285px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card::after {
  position: absolute;
  right: -34px;
  bottom: -45px;
  width: 126px;
  height: 126px;
  border: 24px solid rgba(232, 72, 50, 0.07);
  border-radius: 50%;
  content: "";
}

.service-index {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 13px;
  font-size: 27px;
  font-weight: 880;
}

.service-card p {
  max-width: 540px;
  margin: 0 0 22px;
  color: #62676c;
}

.text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 850;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.process-grid {
  display: grid;
  counter-reset: steps;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #35383c;
}

.process-step {
  min-height: 260px;
  padding: 30px;
  background: var(--ink);
  counter-increment: steps;
}

.process-step::before {
  display: block;
  margin-bottom: 52px;
  color: #ff7c69;
  content: "0" counter(steps);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.process-step p {
  margin: 0;
  color: #aeb4ba;
  font-size: 15px;
}

.split {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 72px;
}

.split h2 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
}

.split-intro {
  color: #5c6268;
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature {
  display: grid;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  grid-template-columns: 38px 1fr;
  gap: 16px;
}

.feature-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(232, 72, 50, 0.1);
  color: var(--accent-dark);
  font-weight: 950;
}

.feature h3 {
  margin: 2px 0 7px;
  font-size: 19px;
}

.feature p {
  margin: 0;
  color: #62676c;
  font-size: 15px;
}

.faq-list {
  display: grid;
  max-width: 900px;
  margin-inline: auto;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.faq-list summary {
  position: relative;
  padding: 21px 58px 21px 22px;
  cursor: pointer;
  font-weight: 830;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 20px;
  color: var(--accent);
  content: "+";
  font-size: 25px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 790px;
  margin: 0;
  padding: 0 22px 22px;
  color: #5d6268;
}

.cta-band {
  position: relative;
  padding: 66px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
}

.cta-band::before {
  position: absolute;
  top: -160px;
  right: -130px;
  width: 420px;
  height: 420px;
  border: 64px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.cta-band h2 {
  position: relative;
  max-width: 750px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
}

.cta-band p {
  position: relative;
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.cta-actions {
  position: relative;
}

.site-footer {
  padding: 66px 0 24px;
  background: #0f1113;
  color: #fff;
}

.footer-grid {
  display: grid;
  padding-bottom: 45px;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: 42px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 18px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75));
}

.footer-brand p,
.footer-address,
.footer-links a {
  color: #aeb4ba;
  font-size: 14px;
}

.footer-brand p {
  max-width: 360px;
}

.footer-title {
  margin-bottom: 17px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-address {
  font-style: normal;
}

.footer-address a {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  border-top: 1px solid #292d31;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #858b91;
  font-size: 13px;
}

.page-hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #ece9e2;
}

.page-hero::after {
  position: absolute;
  top: -150px;
  right: 5%;
  width: 420px;
  height: 420px;
  border: 78px solid rgba(232, 72, 50, 0.08);
  border-radius: 50%;
  content: "";
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  color: #6b7075;
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--accent-dark);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  font-size: clamp(40px, 5vw, 66px);
}

.page-hero .lead {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 0;
}

.article-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
}

.article h2 {
  margin: 54px 0 18px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 900;
}

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

.article h3 {
  margin: 30px 0 12px;
  font-size: 23px;
  font-weight: 850;
}

.article p,
.article li {
  color: #444a50;
}

.article ul,
.article ol {
  padding-left: 22px;
}

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

.notice {
  margin: 34px 0;
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: #fff;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.sidebar-card {
  position: sticky;
  top: 110px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.sidebar-card p {
  margin: 0 0 18px;
  color: #62676c;
  font-size: 14px;
}

.sidebar-links {
  display: grid;
  margin-bottom: 20px;
}

.sidebar-links a {
  padding: 10px 0;
  border-bottom: 1px solid #ece9e2;
  color: #41464b;
  font-size: 14px;
  font-weight: 720;
}

.sidebar-links a:hover {
  color: var(--accent-dark);
}

.sidebar-card .button {
  width: 100%;
}

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

.related-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.related-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.related-card p {
  margin: 0 0 16px;
  color: #62676c;
  font-size: 14px;
}

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

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.contact-card small,
.contact-card strong,
.contact-card a {
  display: block;
}

.contact-card small {
  margin-bottom: 9px;
  color: #71767b;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-card strong {
  margin-bottom: 7px;
  font-size: 21px;
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu > summary {
    padding: 9px 12px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: 52px;
    right: 0;
    display: grid;
    width: min(320px, calc(100vw - 34px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .mobile-menu nav a {
    padding: 11px 10px;
    border-radius: 7px;
    font-weight: 750;
  }

  .mobile-menu nav a:hover {
    background: var(--paper);
  }

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

  .transaction-panel {
    max-width: 680px;
  }

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

  .split,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 155px;
  }

  .hero {
    padding: 58px 0 54px;
  }

  .hero-grid {
    gap: 44px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .transaction-panel {
    padding: 19px;
  }

  .signals,
  .service-grid,
  .related-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .signal,
  .signal:last-child {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    min-height: 0;
    padding: 25px;
  }

  .service-index {
    margin-bottom: 24px;
  }

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

  .process-step {
    min-height: 0;
  }

  .process-step::before {
    margin-bottom: 26px;
  }

  .split {
    gap: 40px;
  }

  .cta-band {
    padding: 38px 25px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

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

  .page-hero {
    padding: 52px 0 46px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
