:root {
  color-scheme: light dark;
  --bg: #f4f7f6;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #10211d;
  --muted: #5d6c67;
  --line: rgba(16, 33, 29, 0.12);
  --brand: #0b8b6f;
  --brand-strong: #076a56;
  --brand-soft: #d9f5ec;
  --accent: #765ee8;
  --warning: #8a5b00;
  --shadow: 0 24px 70px rgba(20, 54, 45, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --page: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07100e;
    --surface: rgba(16, 29, 26, 0.88);
    --surface-strong: #101d1a;
    --text: #eef8f4;
    --muted: #a4b5af;
    --line: rgba(223, 244, 236, 0.13);
    --brand: #62e0bb;
    --brand-strong: #8aecd0;
    --brand-soft: #123a31;
    --accent: #ab9cff;
    --warning: #f0c46d;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--brand) 17%, transparent), transparent 34rem),
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:hover { color: var(--brand-strong); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(calc(100% - 32px), var(--page));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #042119;
  background: linear-gradient(145deg, #7be9ca, #45caa4);
  box-shadow: 0 9px 24px rgba(49, 188, 148, 0.26);
  font-weight: 900;
}
.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: block;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 9px 24px rgba(49, 188, 148, 0.26);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.main-nav a:hover { color: var(--text); }
.language-switcher {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.language-switcher button[aria-pressed="true"] {
  color: var(--text);
  background: var(--brand-soft);
}

.page-shell { width: min(calc(100% - 32px), var(--page)); margin: 0 auto; }
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  align-items: center;
  gap: 68px;
  padding: 88px 0 78px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.045em; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.025em; }
.hero-copy { max-width: 680px; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  font-weight: 800;
}
.button.primary {
  border-color: transparent;
  color: #042119;
  background: linear-gradient(135deg, #75e7c6, #4acba6);
}
.phone-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface-strong) 92%, var(--brand) 8%), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 22%, transparent);
  filter: blur(4px);
}
.wallet-label { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.wallet-value { margin: 7px 0 26px; font-size: 3.25rem; font-weight: 900; letter-spacing: -0.06em; }
.line-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}
.line-card small { color: var(--muted); }
.line-number { margin: 6px 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.035em; }
.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-size: 0.75rem;
  font-weight: 900;
}
.section { padding: 82px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-size: 1.15rem;
  font-weight: 900;
}
.feature-card p { color: var(--muted); font-size: 0.94rem; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}
.trust-strip div { padding: 24px; background: var(--surface-strong); }
.trust-strip strong { display: block; margin-bottom: 6px; }
.trust-strip span { color: var(--muted); font-size: 0.86rem; }

.legal-hero { padding: 76px 0 36px; }
.legal-hero h1 { max-width: 780px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.legal-meta { max-width: 780px; color: var(--muted); }
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  align-items: start;
  gap: 58px;
  padding: 20px 0 100px;
}
.legal-toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.legal-toc strong { display: block; margin-bottom: 10px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 0.86rem; }
.legal-content article {
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.legal-content article:target { border-color: var(--brand); }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--brand-strong); }
.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 10px 16px 16px 10px;
  background: var(--brand-soft);
}
.notice.warning { border-left-color: var(--warning); }
.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.site-footer { border-top: 1px solid var(--line); }
.footer-shell {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto;
  padding: 36px 0 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .language-switcher { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; padding: 64px 0; }
  .phone-card { max-width: 520px; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
}

@media (max-width: 560px) {
  .nav-shell { min-height: 64px; }
  .brand-mark, .brand-logo { width: 34px; height: 34px; flex-basis: 34px; }
  .hero { padding-top: 48px; }
  h1 { font-size: 3.1rem; }
  .phone-card, .legal-content article, .contact-card { padding: 22px; border-radius: 22px; }
  .trust-strip { grid-template-columns: 1fr; }
  .legal-hero { padding-top: 54px; }
}

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