:root {
  color-scheme: dark;
  --bg: #070b18;
  --panel: rgba(14, 20, 39, 0.78);
  --panel-strong: rgba(19, 28, 54, 0.92);
  --text: #f8fbff;
  --muted: #a9b4ca;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff6533;
  --cyan: #4bd6cf;
  --yellow: #ffde5b;
  --pink: #ff5d9f;
  --purple: #9a78ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 101, 51, 0.18), transparent 34rem),
    radial-gradient(circle at 92% 14%, rgba(75, 214, 207, 0.15), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.page-glow-one {
  left: -8rem;
  top: 22rem;
  background: var(--orange);
}

.page-glow-two {
  right: -10rem;
  bottom: 12rem;
  background: var(--purple);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.66);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 38px;
  align-items: center;
  min-height: 100vh;
  padding: 150px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 13vw, 9.4rem);
  line-height: 0.78;
  letter-spacing: -0.095em;
  text-transform: lowercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-lede,
.studio-panel p,
.contact-card p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 101, 51, 0.32);
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 16px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  inset: -40% -18% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 62%);
  content: "";
}

.hero-apps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-content: center;
  min-height: 390px;
}

.hero-apps img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.24);
}

.hero-apps img:nth-child(1),
.hero-apps img:nth-child(2) {
  grid-column: span 3;
}

.hero-apps img:nth-child(n + 3) {
  grid-column: span 2;
}

.ticker {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  gap: 10px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.apps,
.studio,
.contact {
  padding: 88px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent), transparent 72%), transparent 60%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.app-card:nth-child(-n + 2) {
  grid-column: span 3;
}

.app-card:nth-child(n + 3) {
  grid-column: span 2;
}

.app-card::after {
  position: absolute;
  inset: auto 22px 22px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.72;
  content: "";
}

.app-card p {
  color: var(--muted);
  line-height: 1.6;
}

.app-kicker {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--accent), white 28%) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-logo {
  width: 116px;
  height: 116px;
  margin-bottom: 38px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.exam-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 260px;
}

.ales-card {
  grid-template-columns: minmax(0, 1fr) 132px;
}

.exam-card .app-logo {
  width: 132px;
  height: 132px;
  margin-bottom: 0;
}

.ales-card .exam-logo {
  justify-self: end;
}

.exam-card .app-kicker {
  margin-bottom: 12px;
}

.studio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.studio-panel,
.principle,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.studio-panel {
  padding: clamp(28px, 5vw, 52px);
}

.principles {
  display: grid;
  gap: 18px;
}

.principle {
  padding: 24px;
}

.principle span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.principle p,
.identity-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.contact {
  padding-bottom: 56px;
}

.contact-card {
  padding: clamp(28px, 6vw, 60px);
  background:
    linear-gradient(135deg, rgba(255, 101, 51, 0.18), rgba(75, 214, 207, 0.12)),
    var(--panel-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  font-weight: 800;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 680ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .hero,
  .studio {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 420px;
  }

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

  .app-card,
  .app-card:nth-child(-n + 2),
  .app-card:nth-child(n + 3) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 11, 24, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    padding-top: 130px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .exam-card,
  .ales-card {
    grid-template-columns: 1fr;
  }

  .ales-card .exam-logo {
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .section-shell,
  .site-footer,
  .site-header {
    width: min(100% - 22px, 1120px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(3.4rem, 21vw, 5rem);
  }

  .hero-card {
    min-height: 340px;
    padding: 18px;
  }

  .app-card {
    min-height: 320px;
  }

  .hero-apps {
    gap: 10px;
  }

  .app-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 32px;
  }
}
