:root {
  color-scheme: light;
  --accent: #2563eb;
  --accent-dark: #1746a2;
  --accent-soft: #eaf1ff;
  --ink: #111827;
  --body: #475569;
  --muted: #64748b;
  --line: #dce3ed;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --dark: #111827;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 227, 237, 0.84);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1140px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

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

.nav-links svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--accent) 16%, transparent) 0, transparent 32%),
    linear-gradient(135deg, #f7f9fc 0%, #ffffff 54%, var(--accent-soft) 140%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  bottom: -350px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px color-mix(in srgb, var(--accent) 5%, transparent),
    0 0 0 104px color-mix(in srgb, var(--accent) 4%, transparent);
}

.hero-grid {
  min-height: 570px;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  align-items: center;
  gap: 86px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.intro {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--body);
  font-size: 1.16rem;
}

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

.primary-button,
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  border: 1px solid var(--dark);
  background: var(--dark);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
}

.primary-button svg,
.secondary-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.response-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.app-panel {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid rgba(220, 227, 237, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.selected-app {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.selected-app img {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.19);
}

.selected-app span,
.selected-app small {
  display: block;
  color: var(--muted);
}

.selected-app span {
  margin-bottom: 2px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-app strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
}

.selected-app small {
  margin-top: 4px;
  font-weight: 700;
}

.app-panel label,
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid #cfd8e5;
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

select,
input {
  min-height: 50px;
  padding: 11px 14px;
}

select {
  appearance: none;
  padding-right: 42px;
}

textarea {
  min-height: 140px;
  padding: 13px 14px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.selector-help {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.quick-help,
.platform-help,
.faq-section,
.contact-section {
  padding: 92px 0;
}

.quick-help {
  background: var(--surface);
}

.platform-help,
.contact-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section-heading {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 460px;
  margin-bottom: 5px;
  color: var(--body);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.help-card {
  min-height: 245px;
  position: relative;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.help-card::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  right: -46px;
  bottom: -46px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.step-number {
  position: absolute;
  top: 25px;
  right: 24px;
  color: #a3afbf;
  font-size: 0.76rem;
  font-weight: 900;
}

.help-card p {
  margin-bottom: 0;
  color: var(--body);
  font-size: 0.94rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.platform-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.platform-title {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.platform-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.platform-icon.android {
  background: #e8f8ef;
  color: #08783e;
}

.platform-icon.apple {
  background: #eef1f5;
  color: #111827;
}

.platform-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.platform-icon.apple svg {
  fill: currentColor;
  stroke: none;
}

.platform-title span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.platform-title h3 {
  margin: 0;
  font-size: 1.35rem;
}

.platform-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-card li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid #edf1f5;
  color: var(--body);
}

.platform-card li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 90px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro > p:not(.section-kicker) {
  color: var(--body);
}

.faq-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.faq-intro > a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 3px;
  color: var(--accent-dark);
  font-size: 1.55rem;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 720px;
  margin: -6px 46px 24px 0;
  color: var(--body);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
  align-items: start;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 430px;
  color: var(--body);
}

.contact-email {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-email > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.contact-email svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-email small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.contact-email a {
  font-weight: 900;
}

.support-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.field {
  margin-bottom: 18px;
}

.field label span {
  color: var(--muted);
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.submit-button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

footer {
  padding: 34px 0;
  background: var(--dark);
  color: #d6deea;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner strong {
  color: #ffffff;
}

.footer-inner span,
.footer-inner p {
  color: #94a3b8;
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
  font-size: 0.87rem;
  font-weight: 800;
}

.footer-inner a {
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .app-panel {
    max-width: 580px;
  }

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

  .faq-layout,
  .contact-grid {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links span,
  #nav-app-link {
    display: none;
  }

  .hero-grid {
    min-height: 0;
    padding: 58px 0;
  }

  .quick-help,
  .platform-help,
  .faq-section,
  .contact-section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .platform-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .container,
  .nav {
    width: min(100% - 28px, 1140px);
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .app-panel,
  .platform-card,
  .support-form {
    padding: 22px;
  }

  .selected-app img {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .help-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .help-card {
    min-height: 220px;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
