:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --border: #d9e3f2;
  --text: #0f172a;
  --muted: #5b6b83;
  --primary: #2358ff;
  --primary-strong: #173fbc;
  --danger: #dc2626;
  --success: #0f9f63;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(35, 88, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(15, 159, 99, 0.1), transparent 24%),
    var(--bg);
  color: var(--text);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 252, 0.88);
  border-bottom: 1px solid rgba(217, 227, 242, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy small {
  color: var(--muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-lang-select {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0 14px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(35, 88, 255, 0.22);
}

.button-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.button-ghost {
  background: transparent;
  color: var(--primary);
}

.hero {
  padding: 72px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.panel,
.feature-card,
.step-card,
.faq-item,
.contact-card,
.policy-card,
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero p,
.page-hero p,
.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.panel {
  padding: 26px;
}

.panel h3,
.feature-card h3,
.step-card h3,
.contact-card h3,
.policy-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.panel p,
.feature-card p,
.step-card p,
.contact-card p,
.policy-card p,
.faq-item p,
.policy-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.stats-grid,
.feature-grid,
.guide-grid,
.screenshot-grid,
.steps-grid,
.faq-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 18px;
}

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

.stat-box {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.stat-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
}

.section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.feature-card,
.step-card,
.screenshot-card,
.faq-item,
.contact-card,
.policy-card {
  padding: 24px;
}

.screenshot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.screenshot-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.screenshot-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.guide-shot-image {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 1px solid #cfe0ff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.screenshot-frame {
  border-radius: 22px;
  border: 1px solid #cfe0ff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  padding: 18px;
  min-height: 340px;
  overflow: hidden;
}

.shot-topbar,
.warning-shot-head,
.shot-row,
.shot-actions,
.warning-pill-row,
.shot-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shot-topbar.compact {
  justify-content: flex-start;
}

.shot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shot-brand img,
.warning-shot-head img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.shot-brand strong,
.warning-shot-head strong,
.warning-fact strong,
.shot-row strong {
  display: block;
  font-size: 14px;
}

.shot-brand span,
.shot-row span,
.shot-copy,
.shot-safe,
.shot-label,
.warning-fact span,
.warning-domain,
.shot-input,
.shot-feedback,
.shot-stats span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.shot-status,
.warning-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: #e9f8f1;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.warning-pill.danger {
  background: #fff0f0;
  color: var(--danger);
}

.shot-copy {
  margin: 14px 0 0;
}

.shot-block,
.warning-facts {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.shot-row,
.warning-fact {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(207, 224, 255, 0.95);
}

.shot-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cfd8e6;
  flex: 0 0 auto;
}

.shot-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.shot-toggle.on {
  background: #4e7cff;
}

.shot-toggle.on::after {
  left: 21px;
}

.shot-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.shot-domain,
.warning-domain {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}

.shot-safe {
  display: block;
  margin-top: 6px;
}

.shot-actions {
  margin-top: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.shot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.shot-button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
}

.shot-button.secondary {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
}

.shot-button.danger {
  background: #fff2f2;
  color: var(--danger);
  border: 1px solid #ffd5d5;
}

.warning-shot-head {
  justify-content: flex-start;
}

.warning-domain {
  padding: 12px 14px;
  border-radius: 16px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 214, 214, 0.95);
}

.shot-input {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.shot-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.shot-feedback.success {
  color: var(--success);
  background: #eefbf5;
  border-color: #ccefdc;
}

.shot-stats {
  margin-top: 14px;
  align-items: stretch;
}

.shot-stats div {
  flex: 1;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(207, 224, 255, 0.95);
}

.shot-stats strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef4ff, #f8fbff);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-badge img {
  width: 28px;
  height: 28px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

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

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

.contact-grid,
.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card a,
.policy-card a,
.footer-links a {
  color: var(--primary);
}

.cta-panel {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
}

.page-hero {
  padding: 64px 0 20px;
}

.page-hero-card {
  padding: 34px;
}

.footer {
  padding: 24px 0 48px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-note {
  color: var(--muted);
  font-size: 14px;
}

.highlight {
  color: var(--primary-strong);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .guide-grid,
  .screenshot-grid,
  .steps-grid,
  .faq-grid,
  .contact-grid,
  .policy-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    order: 3;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-card,
  .panel,
  .feature-card,
  .step-card,
  .faq-item,
  .contact-card,
  .policy-card,
  .cta-panel,
  .page-hero-card {
    padding: 22px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero p,
  .page-hero p,
  .section-copy {
    font-size: 16px;
  }

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