:root {
  --bg: #eef5ff;
  --bg-soft: #f7fbff;
  --surface: #ffffff;
  --ink: #09090a;
  --ink-75: rgba(47, 47, 48, 0.75);
  --ink-50: rgba(47, 47, 48, 0.5);
  --line: rgba(47, 47, 48, 0.1);
  --line-blue: rgba(51, 92, 255, 0.1);
  --brand: #3485ff;
  --brand-hover: #01a4ff;
  --brand-active: #066be0;
  --footer: #2a3447;
  --footer-ink: rgba(242, 242, 247, 0.68);
  --footer-line: rgba(242, 242, 247, 0.08);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --shadow-sm: 0 8px 24px rgba(11, 46, 85, 0.06);
  --shadow-md: 0 24px 60px rgba(11, 46, 85, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink-75);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button,
summary {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(52, 133, 255, 0.24);
}

:focus-visible {
  outline: 2px solid var(--brand-active);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

section[id] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand-active);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  color: var(--brand-active);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-head .eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(47, 47, 48, 0.07);
  backdrop-filter: saturate(180%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}

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

.brand:hover {
  opacity: 0.82;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
  background:
    radial-gradient(900px 520px at 82% 14%, rgba(1, 164, 255, 0.14), transparent 62%),
    radial-gradient(760px 440px at 4% 94%, rgba(52, 133, 255, 0.1), transparent 64%),
    linear-gradient(180deg, #f8fcff 0%, var(--bg) 62%, #ffffff 100%);
}

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

.hero-copy h1 {
  max-width: 14ch;
  margin-top: 14px;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1.06;
}

.hero-sub {
  max-width: 34em;
  margin-top: 24px;
  color: var(--ink-75);
  font-size: 18px;
  line-height: 1.7;
}

.icon-check {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--brand);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-75);
  font-size: 14px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(0, 123, 221, 0.9);
  border-radius: var(--radius-sm);
  background: linear-gradient(to bottom, #3485ff, #00a3ff);
  box-shadow: 0 4px 12px rgba(11, 46, 85, 0.2);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #52a8ff, #2ebcff);
  box-shadow: 0 8px 18px rgba(11, 46, 85, 0.24);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: linear-gradient(to bottom, #256be6, #138beb);
  box-shadow: 0 2px 6px rgba(11, 46, 85, 0.2);
  transform: translateY(0);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  color: var(--brand-active);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.btn-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

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

.btn-link:hover svg {
  transform: translateX(3px);
}

.btn-link:active {
  color: var(--brand-active);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  position: absolute;
  top: 8%;
  right: 2%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 133, 255, 0.18), transparent 68%);
  content: "";
  filter: blur(38px);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(11, 46, 85, 0.12));
}

/* Sections */
.section-head {
  max-width: 720px;
  margin: 0 auto 62px;
  text-align: center;
}

.section-head-left {
  max-width: 860px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.14;
}

.section-sub {
  margin-top: 16px;
  color: var(--ink-75);
  font-size: 17px;
  line-height: 1.7;
}

/* Steps */
.steps {
  padding: 112px 0 120px;
  background: var(--surface);
}

.step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-grid::before {
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 133, 255, 0.28), transparent);
  content: "";
  pointer-events: none;
}

.step {
  position: relative;
  padding: 0;
}

.step-num {
  position: relative;
  display: inline-block;
  padding-right: 18px;
  background: var(--surface);
  color: var(--brand);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step h3 {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.35;
}

.step p {
  margin-top: 10px;
  color: var(--ink-75);
  font-size: 16px;
  line-height: 1.7;
}

.flow-figure {
  max-width: 1040px;
  margin: 76px auto 0;
}

.flow-figure img {
  width: 100%;
  height: auto;
}

/* Features */
.features {
  padding: 112px 0 120px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: rgba(52, 133, 255, 0.09);
  color: var(--brand-active);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 18px;
  line-height: 1.4;
}

.feature p {
  margin-top: 7px;
  color: var(--ink-75);
  font-size: 15px;
  line-height: 1.7;
}

.feature-quote {
  max-width: 760px;
  margin: 64px auto 0;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  text-align: center;
}

/* FAQ */
.faq {
  padding: 112px 0 120px;
  background: var(--bg-soft);
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(221, 220, 237, 0.5);
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--brand-active);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--ink);
  transition:
    transform 0.35s cubic-bezier(0.76, 0, 0.24, 1),
    color 0.2s ease;
}

.faq-item[open] .faq-chevron {
  color: var(--brand);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 26px;
  color: var(--ink-75);
  font-size: 16px;
  line-height: 1.75;
  animation: faq-in 0.3s ease both;
}

.faq-answer ol {
  margin: 10px 0 0;
  padding-left: 20px;
}

.faq-answer li + li {
  margin-top: 10px;
}

.faq-answer strong {
  color: var(--ink);
  font-weight: 600;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.site-footer {
  padding: 80px 0 40px;
  background: var(--footer);
  color: var(--footer-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(110px, 1fr));
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}

.footer-logo img {
  width: 180px;
  height: auto;
}

.footer-logo:hover {
  opacity: 0.82;
}

.footer-tagline {
  max-width: 260px;
  margin-top: 18px;
  color: var(--footer-ink);
  font-size: 14px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.social-link {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-link:active {
  opacity: 0.6;
  transform: translateY(0);
}

.social-facebook {
  background-image: url("/mobile/assets/social-facebook.png");
}

.social-facebook:hover {
  background-image: url("/mobile/assets/social-facebook-hover.png");
}

.social-discord {
  background-image: url("/mobile/assets/social-discord.png");
}

.social-discord:hover {
  background-image: url("/mobile/assets/social-discord-hover.png");
}

.social-youtube {
  background-image: url("/mobile/assets/social-youtube.png");
}

.social-youtube:hover {
  background-image: url("/mobile/assets/social-youtube-hover.png");
}

.social-reddit {
  background-image: url("/mobile/assets/social-reddit.png");
}

.social-reddit:hover {
  background-image: url("/mobile/assets/social-reddit-hover.png");
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-title {
  margin-bottom: 16px;
  color: rgba(242, 242, 247, 0.96);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: var(--footer-ink);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand-hover);
}

.footer-col a:active {
  color: var(--brand-active);
}

.footer-company {
  max-width: 220px;
  color: var(--footer-ink);
  font-size: 14px;
  line-height: 1.7;
}

.footer-company + .footer-company {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
}

.footer-bottom-brand {
  color: rgba(242, 242, 247, 0.68);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-bottom-note {
  color: rgba(242, 242, 247, 0.72);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  }

  .step-grid {
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: minmax(210px, 1.4fr) repeat(4, minmax(96px, 1fr));
    gap: 24px;
  }

  .footer-logo img {
    width: 160px;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    height: 64px;
  }

  section[id] {
    scroll-margin-top: 80px;
  }

  .brand img {
    width: 146px;
  }

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

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

  .hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-points {
    gap: 8px 18px;
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .btn-primary,
  .btn-link {
    width: 100%;
    justify-content: center;
  }

  .hero-visual img {
    max-width: 520px;
  }

  .steps {
    padding: 76px 0 84px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .step-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .step-grid::before {
    display: none;
  }

  .step-num {
    padding-right: 14px;
    font-size: 46px;
  }

  .step h3 {
    margin-top: 16px;
  }

  .flow-figure {
    margin: 52px -20px 0;
    max-width: none;
  }

  .features {
    padding: 76px 0 84px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .feature {
    padding-top: 22px;
  }

  .feature-quote {
    margin-top: 44px;
    font-size: 20px;
  }

  .faq {
    padding: 76px 0 84px;
  }

  .faq-item summary {
    gap: 16px;
    padding: 20px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 20px 22px;
    font-size: 15px;
  }

  .site-footer {
    padding: 56px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 40px;
  }
}

@media (max-width: 520px) {
  .eyebrow {
    font-size: 12px;
  }

  .footer-logo img {
    width: 160px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Google user data */
.google-data {
  padding: 112px 0 120px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.google-data-body {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.google-data-body p {
  color: var(--ink-75);
  font-size: 16px;
  line-height: 1.75;
}

.google-data-body a {
  color: var(--brand-active);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .google-data {
    padding: 76px 0 84px;
  }
}
