@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #1d1433;
  --mist: rgba(29, 20, 51, 0.7);
  --faint: rgba(29, 20, 51, 0.5);
  --line: rgba(76, 46, 140, 0.12);
  --violet: #7c3aed;
  --violet-deep: #6d3fd8;
  --glass: rgba(255, 255, 255, 0.72);
  --chip: #ece3ff;
  --headline: linear-gradient(90deg, #8b4dff, #a855f7 45%, #e5609c);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(40rem 30rem at 50% 0%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(30rem 26rem at 0% 8%, rgba(247, 196, 228, 0.75), transparent 70%),
    radial-gradient(30rem 26rem at 100% 22%, rgba(185, 207, 255, 0.7), transparent 70%),
    radial-gradient(34rem 30rem at 10% 70%, rgba(180, 140, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #e3d6ff 0%, #f3dcf1 50%, #dfe8ff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--violet);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(246, 240, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand svg {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--mist);
  text-decoration: none;
}

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

/* Shared bits */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
}

.grad {
  background: var(--headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--mist);
  max-width: 34ch;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
}

.button.ghost {
  background: var(--glass);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(110, 60, 210, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(110, 60, 210, 0.1);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 0 56px;
}

.hero h1 {
  font-size: clamp(54px, 8vw, 96px);
  margin: 22px 0 18px;
}

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

.hero .note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--faint);
}

.fan {
  position: relative;
  height: 470px;
}

.fan img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  border-radius: 12px;
  border: 5px solid #fff;
  box-shadow: 0 22px 44px rgba(60, 30, 120, 0.22);
}

.fan img:nth-child(1) {
  transform: translate(-112%, -46%) rotate(-12deg);
}
.fan img:nth-child(2) {
  transform: translate(-50%, -56%);
  z-index: 1;
}
.fan img:nth-child(3) {
  transform: translate(12%, -46%) rotate(12deg);
}

/* Sections */

section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-top: 16px;
}

.section-head p {
  margin: 14px auto 0;
  color: var(--mist);
  max-width: 52ch;
}

.screens {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
}

.screens img {
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(60, 30, 120, 0.16);
  scroll-snap-align: center;
}

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

.feature {
  padding: 26px;
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  color: var(--violet);
  font-size: 20px;
}

.feature h3 {
  font-size: 28px;
  margin: 16px 0 8px;
}

.feature p {
  margin: 0;
  color: var(--mist);
  font-size: 16px;
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 44px;
}

.promise h2 {
  font-size: clamp(36px, 4.5vw, 54px);
}

.promise ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.promise li {
  padding-left: 30px;
  position: relative;
  color: var(--mist);
}

.promise li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--violet);
}

.care {
  text-align: center;
  color: var(--mist);
  font-size: 15px;
  max-width: 70ch;
  margin: 0 auto;
}

/* Legal and support pages */

.doc {
  max-width: 780px;
  margin: 48px auto 72px;
  padding: clamp(26px, 5vw, 56px);
}

.doc h1 {
  font-size: clamp(46px, 7vw, 72px);
  margin: 18px 0 8px;
}

.doc .updated {
  color: var(--faint);
  font-size: 15px;
  margin: 0 0 28px;
}

.doc h2 {
  font-size: 32px;
  margin: 40px 0 12px;
}

.doc h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 6px;
}

.doc p,
.doc li {
  color: rgba(29, 20, 51, 0.82);
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.doc th {
  font-weight: 600;
  background: var(--chip);
}

.callout {
  background: var(--chip);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 20px 0;
}

.callout p {
  margin: 0;
}

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

summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}

details p {
  margin: 10px 0 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 36px 0 44px;
  font-size: 15px;
  color: var(--mist);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

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

.site-footer a {
  color: var(--mist);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--violet);
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero .actions {
    justify-content: center;
  }
  .fan {
    height: 360px;
  }
  .fan img {
    width: 160px;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .promise {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .nav {
    gap: 14px;
    font-size: 14px;
  }
  .nav .hide-sm {
    display: none;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .fan {
    height: 300px;
  }
  .fan img {
    width: 128px;
    border-width: 4px;
  }
  .doc {
    margin: 24px auto 48px;
  }
  .doc table,
  .doc thead,
  .doc tbody,
  .doc tr,
  .doc th,
  .doc td {
    display: block;
  }
  .doc thead {
    display: none;
  }
  .doc td:first-child {
    font-weight: 600;
    padding-bottom: 0;
    border-bottom: 0;
  }
}

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