:root {
  --primary: #3066ca;
  --primary-dark: #254fa3;
  --primary-soft: #e8effa;
  --accent: #4cd964;
  --accent-dark: #2fa948;
  --accent-soft: #edf9ef;
  --cta: #268641;
  --cta-dark: #1d6c34;
  --ink: #172033;
  --muted: #5e687b;
  --line: #dfe5ee;
  --surface: #ffffff;
  --background: #f4f6f9;
  --shadow: 0 18px 45px rgba(35, 54, 90, 0.1);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 560px;
  background:
    radial-gradient(circle at 8% 12%, rgba(76, 217, 100, 0.13), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(48, 102, 202, 0.16), transparent 30%),
    linear-gradient(180deg, #f8faff 0%, rgba(244, 246, 249, 0) 100%);
  content: "";
  pointer-events: none;
}

a {
  color: var(--primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-dark);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 4px;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 238, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--primary-dark);
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(48, 102, 202, 0.2);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.button:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 13px 28px rgba(48, 102, 202, 0.26);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: none;
}

.nav-links .nav-cta {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(38, 134, 65, 0.22);
}

.nav-links .nav-cta:hover {
  background: var(--cta-dark);
  color: #fff;
  box-shadow: 0 13px 28px rgba(38, 134, 65, 0.28);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
}

.hero {
  padding: 76px 0 54px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 54px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  box-shadow: 0 0 0 5px var(--accent-soft);
}

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

h1 {
  font-weight: 700;
}

h2,
h3 {
  font-weight: 600;
}

h1 {
  max-width: 750px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 4.7rem);
}

.hero h1 strong {
  color: var(--primary);
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.hero-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-link {
  display: inline-flex;
  border-radius: 11px;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.store-link img {
  width: auto;
  height: 48px;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 48px rgba(28, 52, 94, 0.14);
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% 4% 5%;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(48, 102, 202, 0.18), rgba(76, 217, 100, 0.18));
  content: "";
  filter: blur(2px);
  transform: rotate(-3deg);
}

.hero-visual img {
  width: 100%;
  border-radius: 23px;
}

.trust-bar {
  padding: 18px 0 64px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(42, 61, 94, 0.06);
}

.trust-item {
  padding: 22px 18px;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 1.02rem;
  font-weight: 600;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 78px 0;
}

.section-white {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.cta-panel h2,
.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.section-heading p,
.split-copy > p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature-card,
.mini-card,
.contact-card,
.legal-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(42, 61, 94, 0.06);
}

.feature-card {
  min-height: 242px;
  padding: 27px;
  border-radius: var(--radius-md);
}

.feature-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-card:nth-child(3n + 2) .feature-number {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.feature-card h3,
.mini-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 600;
}

.feature-card p,
.mini-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
}

.check-list,
.plain-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 34px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.14em;
  left: 0;
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

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

.mini-card {
  padding: 22px;
  border-radius: var(--radius-sm);
}

.mini-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #1e4c9f 0%, #3066ca 58%, #3975df 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.report-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.report-table {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.report-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
}

.report-row span {
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.report-row span:last-child {
  border-right: 0;
}

.report-row:last-child span {
  border-bottom: 0;
}

.report-row:first-child {
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 13px;
}

.faq-item {
  border-radius: var(--radius-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--primary);
  content: "+";
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-section {
  padding: 60px 0 90px;
}

.center-action {
  margin: 26px 0 0;
  text-align: center;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e8effa 0%, #f6fbf7 100%);
  box-shadow: var(--shadow);
}

.cta-panel p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 64px 0 38px;
  text-align: center;
}

.page-hero h1 {
  max-width: none;
}

.page-hero p {
  max-width: 720px;
  margin-inline: auto;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.contact-card a {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  padding: 44px 0 90px;
}

.legal-nav {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.legal-nav strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--primary);
}

.legal-card {
  padding: clamp(26px, 6vw, 60px);
  border-radius: var(--radius-md);
}

.legal-card h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.legal-card h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: #444f63;
}

.updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent-dark);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: #285b35;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 0.8fr);
  gap: 40px;
  padding: 54px 0 36px;
}

.footer-brand p {
  max-width: 440px;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-column strong {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 220px);
  place-items: center;
  padding: 70px 20px;
  text-align: center;
}

.not-found h1 {
  max-width: none;
  margin-bottom: 8px;
}

.not-found p {
  margin: 0 0 24px;
  color: var(--muted);
}

@media (max-width: 940px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 30px rgba(35, 54, 90, 0.1);
    flex-direction: column;
    gap: 5px;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 11px 4px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero-grid,
  .split,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-visual {
    max-width: 700px;
    margin: 0 auto;
  }

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

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

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

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

  .nav-shell {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-link {
    font-size: 1.1rem;
  }

  .hero {
    padding-top: 48px;
  }

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

  .hero-visual {
    padding: 8px;
    border-radius: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .feature-grid,
  .support-grid,
  .mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .store-link img {
    height: 44px;
  }

  .trust-item {
    padding: 17px 9px;
  }

  .trust-item strong {
    font-size: 0.9rem;
  }

  .trust-item span {
    font-size: 0.75rem;
  }

  .report-panel,
  .cta-panel {
    padding: 25px;
  }

  .report-row {
    grid-template-columns: 1fr 0.72fr;
  }

  .report-row span:nth-child(3) {
    display: none;
  }

  .legal-card {
    border-radius: 18px;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-bottom {
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
    flex-direction: column;
  }
}

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