@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b0b0f;
  --bg-soft: #111118;
  --card: #171720;
  --card-hover: #1d1d28;
  --text: #f7f7fb;
  --muted: #a5a5b4;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #8d7cff;
  --accent-light: #c8c0ff;
  --accent-dark: #6654ee;
  --success: #73e2a7;
  --radius: 28px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 5%, rgba(141, 124, 255, 0.16), transparent 32rem),
    var(--bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

.site-header {
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-mark,
.mini-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 8px 28px rgba(102, 84, 238, 0.35);
}

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

.site-header nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.site-header nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  width: min(calc(100% - 40px), var(--content));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 80px;
  padding: 80px 0 110px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.support-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-copy > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 34px rgba(102, 84, 238, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
}

.hero-note {
  font-size: 0.82rem !important;
}

.phone-wrap {
  display: grid;
  place-items: center;
}

.phone {
  width: min(340px, 90vw);
  aspect-ratio: 0.49;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 52px;
  background: #050507;
  box-shadow: 0 45px 100px rgba(0,0,0,0.55), 0 0 80px rgba(141,124,255,0.16);
  transform: rotate(4deg);
}

.phone-screen {
  height: 100%;
  padding: 52px 20px 20px;
  overflow: hidden;
  border-radius: 43px;
  background:
    radial-gradient(circle at 90% 0%, rgba(141,124,255,0.28), transparent 16rem),
    #111119;
}

.phone-island {
  position: absolute;
  z-index: 2;
}

.phone::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 28px;
  margin: 10px 0 0 108px;
  border-radius: 999px;
  background: #050507;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-weight: 700;
}

.mini-logo {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}

.focus-card,
.circle-card,
.screen-list {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(16px);
}

.focus-card {
  padding: 22px;
  border-radius: 24px;
}

.focus-card small {
  color: var(--success);
}

.focus-card strong {
  display: block;
  margin: 14px 0 5px;
  font-size: 1.45rem;
}

.focus-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px var(--success);
}

.circle-card {
  margin-top: 14px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
}

.circle-card small {
  display: block;
  color: var(--muted);
}

.avatars {
  display: flex;
}

.avatars span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid #171720;
  border-radius: 50%;
  background: #6f61df;
  font-size: 0.66rem;
  font-weight: 700;
}

.avatars span:nth-child(2) {
  background: #3f9b77;
}

.avatars span:nth-child(3) {
  background: #272733;
}

.screen-list {
  margin-top: 14px;
  border-radius: 20px;
  overflow: hidden;
}

.screen-list div {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.screen-list div:last-child {
  border-bottom: 0;
}

.screen-list b {
  color: var(--accent-light);
  font-weight: 600;
}

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.privacy-card h2,
.download h2,
.support-section-title h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading p,
.support-section-title p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141,124,255,0.4);
  background: var(--card-hover);
}

.feature-number {
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
}

.feature-card h3 {
  margin: 70px 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.feature-card p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.compact {
  position: sticky;
  top: 80px;
  align-self: start;
}

.step-list article {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.step-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.step-list article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-light);
  background: rgba(141,124,255,0.12);
  font-weight: 700;
}

.step-list h3 {
  margin: 2px 0 5px;
  font-size: 1.25rem;
}

.step-list p {
  margin: 0;
  color: var(--muted);
}

.privacy-card {
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border: 1px solid rgba(141,124,255,0.35);
  border-radius: 36px;
  background:
    radial-gradient(circle at 10% 0%, rgba(141,124,255,0.18), transparent 26rem),
    var(--card);
}

.privacy-card p {
  margin: 0;
  color: var(--muted);
}

.privacy-card a {
  color: var(--accent-light);
  font-weight: 650;
}

.download {
  padding-bottom: 160px;
  text-align: center;
}

.download h2 {
  max-width: 800px;
  margin: 0 auto;
}

.download p {
  margin: 20px 0 30px;
  color: var(--muted);
}

footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand {
  color: var(--text);
}

footer p {
  margin: 10px 0 0;
}

footer > p {
  grid-column: 1 / -1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Support page */
.support-main {
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
}

.support-hero {
  padding: 120px 0 100px;
}

.support-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.support-hero > p {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.support-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.support-jump-links a {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.support-jump-links a:hover {
  color: var(--text);
  border-color: rgba(141,124,255,0.45);
}

.support-section {
  padding: 100px 0;
  scroll-margin-top: 40px;
}

.support-section + .support-section {
  border-top: 1px solid var(--line);
}

.support-section-title {
  margin-bottom: 42px;
}

.support-section-title h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

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

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

summary {
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 650;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--accent-light);
  font-size: 1.4rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  max-width: 800px;
  margin: -6px 0 26px;
  color: var(--muted);
}

.accent-section {
  margin: 20px 0;
  padding: 58px;
  border: 1px solid rgba(141,124,255,0.28) !important;
  border-radius: 32px;
  background: rgba(141,124,255,0.07);
}

.legal-content {
  color: var(--muted);
}

.legal-content h3 {
  margin: 42px 0 10px;
  color: var(--text);
  font-size: 1.2rem;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content address {
  font-style: normal;
}

.legal-content li {
  margin: 8px 0;
}

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(141,124,255,0.08);
  color: var(--accent-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.contact-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.025);
}

.contact-grid h3 {
  margin-top: 0;
}

.contact-grid p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header nav {
    gap: 14px;
  }

  .site-header nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.5rem);
  }

  .feature-grid,
  .steps,
  .privacy-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 30px;
  }

  .compact {
    position: static;
  }

  .privacy-card {
    padding: 36px;
  }
}

@media (max-width: 560px) {
  :root {
    --radius: 22px;
  }

  .site-header {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero,
  .section,
  footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .support-main {
    width: min(calc(100% - 28px), 980px);
  }

  .hero {
    padding: 60px 0 90px;
  }

  .hero h1,
  .support-hero h1 {
    letter-spacing: -0.065em;
  }

  .section {
    padding: 82px 0;
  }

  .feature-card {
    min-height: 240px;
    padding: 26px;
  }

  .feature-card h3 {
    margin-top: 52px;
  }

  .phone {
    width: 300px;
  }

  .privacy-card {
    padding: 28px;
    border-radius: 26px;
  }

  .support-hero {
    padding: 80px 0 70px;
  }

  .support-section {
    padding: 76px 0;
  }

  .accent-section {
    padding: 28px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > p {
    grid-column: auto;
  }
}
