:root {
  color-scheme: light;
  --ink: #0d1f38;
  --muted: #5b6b80;
  --line: #dbe6f3;
  --canvas: #f6f9fd;
  --white: #ffffff;
  --navy: #07162d;
  --accent: #1769d2;
  --accent-dark: #0d4295;
  --accent-soft: #eaf4ff;
  --accent-rgb: 23, 105, 210;
  --support: #18a77b;
  --shadow: 0 24px 70px rgba(13, 52, 103, 0.13);
}

body.theme-community {
  --accent: #087f68;
  --accent-dark: #055848;
  --accent-soft: #e7f8f3;
  --accent-rgb: 8, 127, 104;
  --support: #1769d2;
}

body.theme-study {
  --accent: #7048d7;
  --accent-dark: #4d2da9;
  --accent-soft: #f0ebff;
  --accent-rgb: 112, 72, 215;
  --support: #ef8f28;
}

body.theme-games {
  --accent: #db5a16;
  --accent-dark: #a93c08;
  --accent-soft: #fff0e6;
  --accent-rgb: 219, 90, 22;
  --support: #7048d7;
}

body.theme-events {
  --accent: #d83f57;
  --accent-dark: #a82138;
  --accent-soft: #ffebef;
  --accent-rgb: 216, 63, 87;
  --support: #1769d2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(219, 230, 243, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner,
.hero-inner,
.benefit-strip,
.section,
.site-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 30px);
}

.site-nav a {
  color: #3c4d64;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-nav .nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.site-nav .nav-cta {
  min-height: 42px;
  padding: 8px 18px;
}

.button {
  padding: 12px 23px;
}

.site-nav .nav-cta:hover,
.button:hover {
  background: var(--accent-dark);
  color: white;
  box-shadow: 0 13px 30px rgba(var(--accent-rgb), 0.22);
  transform: translateY(-1px);
}

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

.button-secondary:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: white;
  color: var(--accent-dark);
  box-shadow: none;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(var(--accent-rgb), 0.2), transparent 26rem),
    radial-gradient(circle at 6% 95%, rgba(var(--accent-rgb), 0.09), transparent 23rem),
    linear-gradient(135deg, #fbfdff, var(--accent-soft));
}

.hero-inner {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(46px, 7vw, 88px);
  padding-block: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.12);
  content: "";
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 950;
}

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 950;
}

.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: #42566f;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.66;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(var(--accent-rgb), 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #4b5d73;
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 780;
}

.product-preview {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.product-preview::after {
  position: absolute;
  z-index: -1;
  right: -32px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: var(--accent);
  opacity: 0.1;
  content: "";
  transform: rotate(17deg);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 4px 16px;
  color: #516176;
  font-size: 0.72rem;
  font-weight: 850;
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4dfeb;
}

.preview-main {
  border-radius: 22px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 25px;
}

.preview-label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-main h2 {
  max-width: 430px;
  margin-top: 8px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

.preview-main p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.preview-card {
  min-height: 115px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--canvas);
  padding: 17px;
}

.preview-card.wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.preview-card .symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 950;
}

.preview-card strong,
.preview-card small {
  display: block;
}

.preview-card strong {
  margin-top: 11px;
  font-size: 0.84rem;
}

.preview-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

.mini-bars {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mini-bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e2eaf4;
  overflow: hidden;
}

.mini-bars span::after {
  display: block;
  width: var(--bar, 70%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  content: "";
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  background: white;
  box-shadow: 0 16px 45px rgba(21, 76, 140, 0.08);
}

.benefit-strip div {
  padding: 24px 27px;
  border-right: 1px solid var(--line);
}

.benefit-strip div:last-child {
  border-right: 0;
}

.benefit-strip strong,
.benefit-strip span {
  display: block;
}

.benefit-strip strong {
  font-size: 0.95rem;
}

.benefit-strip span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.77rem;
}

.section {
  padding-block: 110px;
}

.section-tint {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: var(--canvas);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 65px;
  margin-bottom: 47px;
}

.section-heading h2 {
  max-width: 800px;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.72;
}

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

.feature-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  padding: 28px;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 950;
}

.feature-card h3 {
  margin: 23px 0 0;
  font-size: 1.27rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.steps li {
  position: relative;
  min-height: 250px;
  border-radius: 25px;
  background: var(--navy);
  color: white;
  padding: 31px;
  overflow: hidden;
}

.steps li::after {
  position: absolute;
  right: -17px;
  bottom: -44px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 9rem;
  font-weight: 950;
  line-height: 1;
  content: attr(data-step);
}

.step-number {
  color: #8dc2ff;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steps h3 {
  margin: 28px 0 0;
  font-size: 1.35rem;
}

.steps p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.use-case {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 8vw, 105px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--accent-rgb), 0.24), transparent 25rem),
    var(--navy);
  color: white;
  padding: clamp(42px, 7vw, 76px);
}

.use-case h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}

.use-case-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.use-case .eyebrow {
  color: #a8d1ff;
}

.use-case .eyebrow::before {
  background: #a8d1ff;
  box-shadow: 0 0 0 5px rgba(168, 209, 255, 0.12);
}

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

.audience-list li {
  min-height: 103px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.065);
  padding: 19px;
}

.audience-list strong,
.audience-list span {
  display: block;
}

.audience-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
  padding: 21px 23px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.product-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.product-nav-grid a {
  display: flex;
  min-height: 185px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 21px;
  text-decoration: none;
}

.product-nav-grid a[aria-current="page"] {
  border-color: rgba(var(--accent-rgb), 0.44);
  background: var(--accent-soft);
}

.product-nav-grid b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--canvas);
  color: var(--accent);
}

.product-nav-grid strong {
  margin-top: 17px;
  font-size: 0.92rem;
}

.product-nav-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.73rem;
}

.cta-section {
  text-align: center;
}

.cta-panel {
  border-radius: 32px;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
  color: white;
  padding: clamp(48px, 8vw, 85px) 25px;
}

.cta-panel h2 {
  max-width: 780px;
  margin-inline: auto;
}

.cta-panel p {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-panel .hero-actions {
  justify-content: center;
}

.cta-panel .button {
  background: white;
  color: var(--accent-dark);
}

.cta-panel .button:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.site-footer {
  margin-top: 110px;
  background: var(--navy);
  color: white;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 0.65fr));
  gap: 50px;
  padding-block: 60px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.87rem;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-group h2 {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-group a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-group a:hover {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.74rem;
}

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-preview {
    width: min(100%, 650px);
    transform: none;
  }

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

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

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

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

@media (max-width: 720px) {
  .header-inner,
  .hero-inner,
  .benefit-strip,
  .section,
  .site-footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .hero-inner {
    gap: 42px;
    padding-block: 58px 66px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-preview {
    padding: 12px;
    border-radius: 23px;
  }

  .preview-main {
    border-radius: 17px;
    padding: 21px;
  }

  .preview-grid,
  .benefit-strip,
  .feature-grid,
  .steps,
  .use-case,
  .faq-list,
  .product-nav-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .preview-card.wide {
    grid-column: auto;
  }

  .benefit-strip {
    border-radius: 0 0 20px 20px;
  }

  .benefit-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 22px;
  }

  .benefit-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 80px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }

  .feature-card {
    min-height: 0;
  }

  .use-case {
    gap: 38px;
    padding: 38px 24px;
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .product-nav-grid a {
    min-height: 0;
  }

  .site-footer {
    margin-top: 80px;
  }

  .site-footer-inner {
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
