
:root {
  --bg: #020617;
  --bg-2: #0a0a0f;
  --card: rgba(28, 28, 46, .42);
  --card-hover: rgba(28, 28, 46, .62);
  --line: rgba(59, 130, 246, .18);
  --text: #f8fafc;
  --muted: #9ca3af;
  --accent: #3b82f6;
  --cyan: #06b6d4;
  --container: 1200px;
  --radius: 24px;
  --header: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--alt { position: relative; background: linear-gradient(180deg, transparent, rgba(30,58,138,.08), transparent); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.section-text { color: var(--muted); margin-top: 18px; font-size: 1.125rem; }

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content > .section-title {
  text-align: center;
}

.section-content > .section-text {
  max-width: 760px;
  margin: 18px auto 56px;
  text-align: center;
}

.text-block > .table-block,
.text-block > .tools {
  margin-top: 0;
}


.text-block {
  width: 100%;
}


.text-block > p {
  max-width: 880px;
  color: #d1d5db;
  font-size: 1.125rem;
  line-height: 1.8;
}

.text-block > p + p {
  margin-top: 20px;
}

.text-block > .section-title {
  margin-bottom: 18px;
  text-align: left;
}

.text-block > .section-text {
  max-width: 820px;
  margin: 0 0 40px;
  text-align: left;
}

.text-block > .table-block,
.text-block > .tools {
  margin-top: 32px;
}

.text { max-width: 880px; margin-inline: auto; color: #d1d5db; font-size: 1.125rem; }
.text p + p { margin-top: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
  box-shadow: 0 12px 38px rgba(37,99,235,.28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(37,99,235,.42); }
.btn svg { width: 20px; height: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(59,130,246,.42); background: var(--card-hover); }
.fade { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade.visible { opacity: 1; transform: none; }

.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(10,10,15,.78); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
}


.nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.nav a:hover { color: #60a5fa; }

.brand-logo {
  width: 119px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 0 rgba(56,189,248,0));
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.brand::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,.8);
  opacity: .8;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(56,189,248,.24));
}

.footer .brand-logo {
  opacity: .92;
}

.header-btn { padding: 10px 20px; border-radius: 999px; font-size: .9rem; }

.hero {
  min-height: 820px; position: relative; overflow: hidden;
  padding: 140px 0 96px; background: #02080d;
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(90deg, rgba(2,8,13,.8) 0%, rgba(2,8,13,.62) 27%, rgba(2,8,13,.25) 44%, transparent 59%);
}
.dot-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 700px; }
.hero-title {
  width: 9.45em;
  max-width: 100%;
  color: #fff;
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff 23%,
    #3b82f6 27%,
    #06b6d4 48%,
    #fff 52%,
    #fff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.35));
}
.hero-text { margin: 34px 0; color: #d1d5db; font-size: 1.125rem; line-height: 1.85; max-width: 760px; }

.steps { display: flex; flex-direction: column; gap: 112px; }
.how-to-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.how-to-step:nth-child(even) .step-media { order: -1; }
.step-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.step-num {
  width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 900; background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 10px 34px rgba(59,130,246,.3);
}
.step-title { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.step-text { color: var(--muted); font-size: 1.15rem; }
.step-media { display: flex; justify-content: center; }
.phone {
  width: 320px; border: 8px solid #1a1a2e; border-radius: 32px; overflow: hidden;
  background:#0a0a0f; box-shadow: 0 25px 80px -12px rgba(59,130,246,.5), 0 0 60px rgba(14,165,233,.25);
}
.phone img { width: 100%; height: auto; }

.table-block {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
}
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
th, td { padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.06); }
thead th { color: #93c5fd; background: rgba(59,130,246,.1); font-weight: 800; }
tbody th { color: #fff; font-weight: 700; }
tbody td { color: #cbd5e1; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.025); }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool { padding: 28px; }
.tool h3 { font-size: 1.45rem; margin-bottom: 12px; }
.tool p { color: var(--muted); }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit { padding: 36px; }
.benefit h2 { font-size: 1.85rem; margin-bottom: 18px; }
.benefit p { color: #d1d5db; font-size: 1.05rem; }
.benefit p + p { margin-top: 18px; }

.notice { padding: 62px 0; border-block: 1px solid rgba(234,179,8,.18); background: linear-gradient(90deg, rgba(234,179,8,.08), rgba(249,115,22,.07), rgba(239,68,68,.07)); }
.notice-box { max-width: 900px; margin-inline:auto; text-align:center; }
.notice h2 { color: #facc15; font-size: 1.35rem; margin-bottom: 14px; }
.notice p { color:#d1d5db; font-size:1.05rem; }

.faq-heading {
  margin-bottom: 40px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.faq__item_question {
  position: relative;
  padding: 22px 58px 22px 26px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.faq__item_title {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.faq__item_question::-webkit-details-marker {
  display: none;
}

.faq__item_question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: #60a5fa;
  font-size: 1.5rem;
  font-weight: 500;
  transition: transform .25s ease;
}

.faq__item[open] .faq__item_question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item_answer {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.final { text-align:center; }
.final-box { max-width: 900px; margin-inline:auto; padding: 40px; }
.final h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; }
.final p { color: var(--muted); margin-bottom: 26px; font-size: 1.08rem; }


.footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 34px;
  border-top: 1px solid rgba(255,255,255,.04);
  background: #02080d;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 86%, rgba(25,92,139,.22) 0 17%, transparent 48%),
    radial-gradient(circle, rgba(15,78,120,.62) 1.45px, transparent 1.7px);
  background-size: auto, 11px 11px;
  background-position: center, 0 0;
  opacity: .72;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
}

.footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  height: 1px;
  background: rgba(148,163,184,.12);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr .9fr;
  gap: 56px;
  align-items: start;
}

.footer h4 {
  margin-bottom: 16px;
  color: #7e8794;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer a {
  color: #c7cdd5;
}

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

.footer-desc { margin-top: 18px; max-width: 430px; color: #68727d; font-size: .95rem; }
.footer h4 { margin-bottom: 14px; font-size: 1rem; }
.footer a { display:block; color: var(--muted); margin: 8px 0; font-size: .92rem; }
.footer a:hover { color:#60a5fa; }


.footer-connect h4 {
  margin-bottom: 16px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social {
  width: 38px;
  height: 38px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  background: rgba(19,29,38,.92);
  color: #dbe2e8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.social:hover {
  transform: translateY(-2px);
  background: #1a2a36;
  color: #fff !important;
}

.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom { margin-top: 58px; padding-top: 30px; color:#6c7680; text-align:left; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.8rem; letter-spacing:.05em; text-transform:uppercase; }


@media (min-width: 1024px) {
  .hero-inner { transform: translateX(-56px); }
}
@media (min-width: 1280px) {
  .hero-inner { transform: translateX(-72px); }
}
@media (max-width: 900px) {
  .nav { display:none; }
  .hero { min-height: 980px; padding: 116px 0 330px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(2,8,13,.84) 0%, rgba(2,8,13,.65) 48%, rgba(2,8,13,.18) 70%, transparent 100%);
  }
  .hero-title {
    width: 9.45em;
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 4rem);
    background: linear-gradient(
      to bottom,
      #fff 0%,
      #fff 23%,
      #3b82f6 27%,
      #06b6d4 48%,
      #fff 52%,
      #fff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-text { font-size: 1.04rem; }
  .how-to-step { grid-template-columns: 1fr; gap: 34px; }
  .how-to-step .step-media { order: -1; }
  .tools { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { gap: 12px; }
  
  .header-btn { padding: 9px 16px; font-size: .82rem; }
  .hero { min-height: 980px; padding-top: 104px; }
  .hero-title { font-size: clamp(2.65rem, 12vw, 3.6rem); }
  .hero-text { line-height: 1.75; }
  .btn { width: 100%; }
  .phone { width: min(320px, 88vw); }
  .step-num { width: 56px; height: 56px; border-radius: 18px; }
  th, td { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 72px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96,165,250,.28);
  border-radius: 14px;
  background: rgba(15,23,42,.86);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, border-color .25s ease;
}
.scroll-top:hover {
  border-color: rgba(96,165,250,.65);
  transform: translateY(-2px);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top svg {
  width: 22px;
  height: 22px;
}


@media (max-width: 560px) {
  .scroll-top { right: 16px; bottom: 92px; }
}

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


.legal-hero {
  padding: 142px 0 52px;
  background:
    radial-gradient(circle at 80% 15%, rgba(14,165,233,.10), transparent 28%),
    #02080d;
  border-bottom: 1px solid rgba(59,130,246,.10);
}

.legal-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #60a5fa;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-title {
  max-width: 900px;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.legal-intro {
  max-width: 820px;
  margin-top: 24px;
  color: #9ca3af;
  font-size: 1.12rem;
  line-height: 1.8;
}

.legal-page {
  padding: 72px 0 104px;
}

.legal-content {
  max-width: 900px;
}

.legal-content section + section {
  margin-top: 54px;
}

.legal-content h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.legal-content h3 {
  margin: 28px 0 12px;
  color: #e5e7eb;
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.35;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: #aeb6c2;
  font-size: 1.04rem;
  line-height: 1.85;
}

.legal-content p + p {
  margin-top: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 14px 0 0 24px;
  display: grid;
  gap: 9px;
}

.legal-content a {
  color: #60a5fa;
  text-decoration: underline;
  text-decoration-color: rgba(96,165,250,.35);
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #93c5fd;
}

.legal-note {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 16px;
  background: rgba(15,23,42,.42);
}

@media (max-width: 560px) {
  .legal-hero { padding: 116px 0 42px; }
  .legal-page { padding: 54px 0 78px; }
  .legal-content section + section { margin-top: 42px; }
}


.tool-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

.tool-icon svg {
  width: 34px;
  height: 34px;
}

.icon-cyan {
  background: linear-gradient(135deg, #2f8cff, #11c1d7);
  box-shadow: 0 14px 32px rgba(17,193,215,.24);
}

.icon-indigo {
  background: linear-gradient(135deg, #2468ff, #5b50ee);
  box-shadow: 0 14px 32px rgba(72,82,239,.24);
}

.icon-blue {
  background: linear-gradient(135deg, #29b9ed, #2f70ef);
  box-shadow: 0 14px 32px rgba(47,112,239,.24);
}

.provider {
  display: flex;
  align-items: center;
  gap: 18px;
}

.provider-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
}

.provider-icon svg {
  width: 32px;
  height: 32px;
}

.provider-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.provider-xstocks {
  background: linear-gradient(135deg, #31cfc7, #0cb6c8);
  box-shadow: 0 10px 28px rgba(18,196,195,.25);
}

.provider-poly {
  background: linear-gradient(135deg, #307ef9, #5451e9);
  box-shadow: 0 10px 28px rgba(61,94,235,.22);
}

.provider-lighter {
  background: linear-gradient(135deg, #1d2734, #05070a);
  border: 1px solid #344050;
}

.provider-near,
.provider-bebop,
.provider-og {
  background: #fff;
  color: #05070a;
}

.provider-og svg {
  width: 48px;
  height: 48px;
}

@media (max-width: 640px) {
  .tool-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    margin-bottom: 22px;
  }

  .tool-icon svg {
    width: 28px;
    height: 28px;
  }

  .provider-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 12px;
  }

  .provider-icon svg {
    width: 26px;
    height: 26px;
  }
}


.confirm-note {
  max-width: 880px;
  margin-top: 28px !important;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: rgba(59,130,246,.08);
  color: #e5e7eb !important;
}
.subheading {
  margin-top: 34px;
  font-size: 1.35rem;
}
.confirm-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  margin-top: 22px;
}
.confirm-card { padding: 24px; }
.confirm-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.confirm-card p { color: var(--muted); }
@media (max-width: 760px) {
  .confirm-grid { grid-template-columns: 1fr; }
}

.hero-title {
  background: linear-gradient(to bottom,
    #f8fafc 0%,
    #f8fafc 31%,
    #06b6d4 35%,
    #06b6d4 58%,
    #3b82f6 65%,
    #f8fafc 69%,
    #f8fafc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Official-style partner marks */
#partners .partner-logo {
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
}
#partners .partner-logo svg { width: 100%; height: 100%; display: block; }


.feature-cards {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  position: relative;
  margin: 0;
  padding: 22px 22px 22px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  line-height: 1.7;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow: 0 0 18px rgba(14,165,233,.28);
}
@media (max-width: 760px) {
  .feature-cards { grid-template-columns: 1fr; }
}


/* Partner marks */
#partners .tools { align-items: stretch; }
#partners .partner-card { min-width: 0; }
#partners .partner-logo {
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
#partners .partner-logo svg { width: 100%; height: 100%; display: block; }
#partners .partner-card h3,
#partners .partner-card p { overflow-wrap: anywhere; }

/* Mobile stability */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
main, header, footer, section { max-width: 100%; }
.container, .header-inner, .hero-inner, .text-block, .section-head,
.steps, .how-to-step, .step-copy, .step-media, .tools, .tool, .card,
.footer-grid, .footer-grid > *, .table-block {
  min-width: 0;
}
.table-block {
  width: 100%;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.phone { max-width: 100%; }
.phone img { max-width: 100%; }
.hero-title, .section-title, .step-title, .tool h3, .faq__item_title {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 900px) {
  .hero-inner { transform: none !important; }
  .how-to-step, .step-copy, .step-media, #partners .tools { width: 100%; }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }
  .header-inner {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }
  .brand-logo { width: 106px; height: auto; }
  .header-btn {
    flex: 0 0 auto;
    width: auto;
    max-width: 47%;
    padding-inline: 13px;
    white-space: nowrap;
  }
  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.3rem, 11.2vw, 3.2rem);
  }
  .hero-text, .section-text, .step-text, .text-block > p { max-width: 100%; }
  .how-to-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .phone { width: min(300px, 82vw); }
  .tool { width: 100%; padding: 24px; }
  #partners .partner-logo { width: 58px; height: 58px; }
  .table-block { margin-inline: 0; }
}


/* Technical mobile overflow fixes */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

main, header, footer, section,
.container, .header-inner, .hero-inner,
.text-block, .section-head, .tools, .tool,
.steps, .how-to-step, .step-copy, .step-media,
.footer-grid, .table-block {
  min-width: 0;
  max-width: 100%;
}

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

.table-block {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.hero-title,
.section-title,
.step-title,
.tool h3,
.faq__item_title {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 900px) {
  .hero-inner {
    transform: none !important;
  }

  .how-to-step {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .header-inner {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .phone,
  .step-picture {
    max-width: 88vw;
  }
}

.section-cta {
  margin-top: 32px;
}

@media (max-width: 560px) {
  .section-cta .btn {
    width: 100%;
  }
}


#benefits .text-heading {
  margin: 34px 0 10px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.35;
}

#benefits .text-heading + p {
  max-width: 900px;
}


/* Italy: varied section layouts */
.market-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.market-item {
  position: relative;
  padding: 30px 28px 32px 64px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.market-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
.market-icon {
  position: absolute;
  top: 31px;
  left: 16px;
  width: 30px;
  height: 30px;
}
.market-icon svg { width: 100%; height: 100%; }
.market-item h3 { margin: 0 0 10px; }
.market-item p { margin: 0; }

.audience-list {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.audience-item {
  display: grid;
  grid-template-columns: minmax(210px,.7fr) minmax(0,1.3fr);
  gap: 36px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.audience-item h3, .audience-item p { margin: 0; }

.wallet-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.wallet-item {
  position: relative;
  padding: 26px 28px 26px 84px;
  border-left: 2px solid rgba(78,159,255,.7);
  background: linear-gradient(90deg, rgba(31,91,174,.12), transparent 70%);
}
.wallet-num {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 13px;
  letter-spacing: .12em;
  color: #64b5ff;
}
.wallet-item h3 { margin-top: 0; }

.regulatory {
  position: relative;
  overflow: hidden;
}
.regulatory::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(31,112,255,.18), transparent 35%),
    linear-gradient(180deg, rgba(11,26,49,.88), rgba(6,10,18,.96));
  pointer-events: none;
}
.regulatory .container { position: relative; }
.regulatory-box {
  max-width: 980px;
  padding: clamp(28px,5vw,58px);
  border: 1px solid rgba(105,174,255,.28);
  border-radius: 28px;
  background: rgba(8,15,28,.72);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}
.regulatory-label {
  margin: 0 0 12px !important;
  color: #6db8ff !important;
  font-size: 12px;
  letter-spacing: .16em;
}
.regulatory-box h2 { margin-top: 0; }
.partners-table { margin-top: 26px; }

@media (max-width: 760px) {
  .market-list { grid-template-columns: 1fr; }
  .market-item:nth-child(odd) { border-right: 0; }
  .audience-item { grid-template-columns: 1fr; gap: 8px; }
  .wallet-item { padding-left: 68px; }
  .regulatory-box { border-radius: 20px; }
}


/* Italy benefits: text left, visual accents right */
.benefit-rows {
  margin-top: 34px;
}
.benefit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  min-height: 250px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.benefit-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}
.benefit-copy p {
  margin: 0;
  max-width: 850px;
}
.benefit-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.benefit-visual::before {
  content: "";
  position: absolute;
  width: 92%;
  height: 92%;
  border-radius: 30px;
  background-image: radial-gradient(circle, rgba(73,145,255,.42) 1.25px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: .38;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 78%, transparent);
}
.benefit-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 290px);
  height: auto;
  border-radius: 26px;
  mix-blend-mode: screen;
}
.benefit-row--text {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 32px 0;
}
@media (max-width: 760px) {
  .benefit-row {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }
  .benefit-visual {
    min-height: 180px;
    order: 2;
  }
  .benefit-visual img {
    width: min(78vw, 280px);
  }
}

/* Final Italian benefits imagery: native 1920x1080 WEBP, scaled only in CSS */
#benefits .benefit-row{grid-template-columns:minmax(0,1fr) clamp(300px,35vw,470px);align-items:center}
#benefits .benefit-visual{min-height:0;overflow:hidden;border-radius:24px}
#benefits .benefit-visual::before{display:none}
#benefits .benefit-visual img{display:block;width:100%;max-width:470px;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:24px;mix-blend-mode:normal}
@media(max-width:760px){#benefits .benefit-row{grid-template-columns:1fr}#benefits .benefit-visual img{width:100%;max-width:560px}}

/* Benefits without decorative images */
#benefits .benefit-row{display:block;max-width:900px}
#benefits .benefit-copy{max-width:900px}
#benefits .benefit-visual{display:none}

/* Requested Italy refinements */
#audience .audience-cards { margin-top: 28px; grid-template-columns: repeat(3,minmax(0,1fr)); }
#audience .audience-card { min-width: 0; }
#wallet .wallet-item { padding: 0; border: 0; background: none; }
#wallet .wallet-item h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 600; color: inherit; }
#wallet .wallet-item p { margin: 0; }
#partners .partner-icon-cell { width: 72px; padding-right: 8px; }
#partners .partner-icon { display:grid; place-items:center; width:44px; height:44px; border:1px solid rgba(255,255,255,.12); border-radius:12px; background:rgba(255,255,255,.035); color:#8bbcff; }
#partners .partner-icon svg { width:24px; height:24px; }
.notice { padding:62px 0; border-block:1px solid rgba(234,179,8,.18); background:linear-gradient(90deg,rgba(234,179,8,.08),rgba(249,115,22,.07),rgba(239,68,68,.07)); }
.notice-box { max-width:900px; margin-inline:auto; text-align:center; }
.notice h2 { color:#facc15; font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:18px; }
.notice p { color:#d1d5db; font-size:1.05rem; }
@media(max-width:760px){#audience .audience-cards{grid-template-columns:1fr}#partners .partner-icon-cell{width:56px}}


/* Partner brand icons — same treatment as Azerbaijan */
#partners .partner-icon-cell {
  width: 86px;
  padding-right: 14px;
  vertical-align: middle;
}
#partners .partner-icon--brand {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
}
#partners .partner-icon--brand svg {
  display: block;
  width: 58px;
  height: 58px;
}
#partners th[scope="row"] {
  white-space: nowrap;
}
@media (max-width: 640px) {
  #partners .partner-icon-cell {
    width: 64px;
    padding-right: 8px;
  }
  #partners .partner-icon--brand,
  #partners .partner-icon--brand svg {
    width: 48px;
    height: 48px;
  }
  #partners th[scope="row"] {
    white-space: normal;
  }
}


/* Wallet section — three cards */
#wallet .wallet-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

#wallet .wallet-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 24px;
  background: rgba(15,18,28,.82);
}

#wallet .wallet-card-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(79,70,229,.95));
  box-shadow: 0 12px 30px rgba(59,130,246,.16);
  color: #fff;
}

#wallet .wallet-card-icon svg {
  width: 28px;
  height: 28px;
}

#wallet .wallet-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}

#wallet .wallet-card p {
  margin: 0;
}

@media (max-width: 900px) {
  #wallet .wallet-cards {
    grid-template-columns: 1fr;
  }
}


/* Additional CTA spacing */
.section-cta {
  margin-top: 32px;
}

@media (max-width: 560px) {
  .section-cta .btn {
    width: 100%;
  }
}

/* Legal page semantic sections */
.legal-section {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.legal-section:first-of-type {
  margin-top: 20px;
}

.legal-section h2 {
  margin: 0 0 14px;
}

.legal-section > :last-child {
  margin-bottom: 0;
}


/* Czech page additions */
.regulatory-czech {
  position: relative;
  overflow: hidden;
}
.regulatory-czech::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,146,43,.18), transparent 34%),
    linear-gradient(180deg, rgba(42,25,9,.72), rgba(7,10,16,.97));
  pointer-events: none;
}
.regulatory-czech .container { position: relative; }
.regulatory-box-czech {
  max-width: 980px;
  padding: clamp(28px,5vw,58px);
  border: 1px solid rgba(255,166,79,.28);
  border-radius: 28px;
  background: rgba(22,14,8,.72);
}
.regulatory-label-czech {
  margin: 0 0 12px !important;
  color: #ffad62 !important;
  font-size: 12px;
  letter-spacing: .16em;
}
.partner-icon-placeholder {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #7dd3fc;
}


/* Czech Markdown synchronization */
#about .text-block > ul,
#security .text-block > ul,
#support .text-block > ul {
  margin: 22px 0 0;
  padding-left: 1.35rem;
}
#about .text-block > ul li,
#security .text-block > ul li,
#support .text-block > ul li {
  margin: 10px 0;
  line-height: 1.65;
}
#agents .text-heading,
#partners .text-heading {
  margin: 30px 0 10px;
}
#comparison .table-block,
#partners .table-block {
  margin-top: 26px;
}




/* H1 stays plain text. The blue stripe is a background layer positioned
   only behind the second visual line ("Aplikace pro"). */
.hero-title {
  position: relative;
  z-index: 0;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  color: #f7f8fb;
}
.hero-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 1.14em;
  width: 5.95em;
  height: .88em;
  border-radius: .08em;
  background: linear-gradient(90deg, #06b6d4 0%, #0284c7 100%);
  pointer-events: none;
}


/* Czech H1/H2 final */
main section h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  width: 9.45em;
  max-width: 100%;
  color: #fff;
  background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff 27%,
    #22d3ee 28%,
    #0284c7 52%,
    #fff 53%,
    #fff 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.hero-title::before,
.hero-title::after {
  content: none !important;
}

@media (max-width: 900px) {
  .hero-title {
    width: 9.45em;
    max-width: 100%;
    background: linear-gradient(
      to bottom,
      #fff 0%,
      #fff 24%,
      #22d3ee 25%,
      #0284c7 49%,
      #fff 50%,
      #fff 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
}

/* Center every H2 on homepage */
main h2 {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Partner icons */
#partners .partner-icon-head,
#partners .partner-icon-cell {
  width: 68px;
  text-align: center;
  vertical-align: middle;
}
#partners .partner-icon-brand {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}
#partners .partner-icon-brand svg {
  display: block;
  width: 38px;
  height: 38px;
}

/* Partner brand tiles */
#partners .partner-icon-cell{width:78px;text-align:center;vertical-align:middle}
#partners .partner-brand-icon{display:inline-flex;width:54px;height:54px;align-items:center;justify-content:center;flex:0 0 54px}
#partners .partner-brand-icon svg{display:block;width:54px;height:54px}
#partners .partner-name-line{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
#partners .coming-soon{display:inline-flex;align-items:center;min-height:22px;padding:3px 9px;border-radius:999px;background:rgba(14,165,233,.16);color:#7dd3fc;font-size:10px;line-height:1;letter-spacing:.08em;white-space:nowrap}
@media (max-width:640px){#partners .partner-icon-cell{width:62px}#partners .partner-brand-icon,#partners .partner-brand-icon svg{width:46px;height:46px}}


/* Semantic H3 sections */
.content-subsection {
  margin-top: 30px;
}

.content-subsection:first-of-type {
  margin-top: 24px;
}

.content-subsection > h3 {
  margin: 0 0 10px;
}

.content-subsection > p:last-child,
.content-subsection > ul:last-child {
  margin-bottom: 0;
}

.faq-section + .faq-section {
  margin-top: 14px;
}


/* Service pages: headings aligned to the left content edge */
body.service-page main h1,
body.service-page main h2,
body.service-page main h3,
body.legal-page main h1,
body.legal-page main h2,
body.legal-page main h3 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
