:root {
  --ink: #11131a;
  --muted: #646a78;
  --mist: #f4f6f8;
  --line: #dfe3e8;
  --blue: #1859ff;
  --blue-dark: #1149d5;
  --yellow: #ffc83d;
  --white: #ffffff;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgb(17 19 26 / 9%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 10%, rgb(24 89 255 / 7%), transparent 25rem),
    var(--white);
  font-family: var(--font-geist), "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1424px, calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  height: 94px;
  border-bottom: 1px solid rgb(223 227 232 / 76%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}

.brand-mark::before {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.brand-mark span {
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #4f5562;
  font-size: 14px;
  font-weight: 630;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 96px;
  align-items: center;
  min-height: 570px;
  padding: 74px 0 80px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 790;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgb(255 200 61 / 19%);
  content: "";
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(64px, 6.4vw, 102px);
  line-height: 0.92;
  font-weight: 830;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 12px 28px rgb(24 89 255 / 22%);
}

.button.primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgb(24 89 255 / 27%);
}

.button.secondary {
  background: rgb(255 255 255 / 78%);
}

.arrow {
  margin-left: 18px;
  font-size: 17px;
}

.hero-art {
  position: relative;
  height: 350px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgb(223 227 232 / 90%);
  border-radius: var(--radius-lg);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.hero-art::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(17 19 26 / 5.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(17 19 26 / 5.5%) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  content: "";
}

.tile {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 26px;
  font-weight: 850;
  letter-spacing: -0.07em;
  box-shadow: 0 22px 44px rgb(17 19 26 / 14%);
}

.tile-a {
  top: 70px;
  left: 70px;
  width: 178px;
  height: 178px;
  color: var(--white);
  background: var(--blue);
  font-size: 80px;
  transform: rotate(-7deg);
}

.tile-b {
  right: 64px;
  bottom: 50px;
  width: 136px;
  height: 136px;
  background: var(--yellow);
  font-size: 60px;
  transform: rotate(8deg);
}

.orbit {
  position: absolute;
  top: 25px;
  right: 40px;
  z-index: -1;
  width: 290px;
  height: 290px;
  border: 1px solid rgb(24 89 255 / 25%);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  top: 34px;
  right: 32px;
  width: 18px;
  height: 18px;
  border: 6px solid var(--mist);
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.art-note {
  position: absolute;
  right: 28px;
  bottom: 22px;
  margin: 0;
  color: #737986;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apps-band {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f8fa, #f1f3f6);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.studio-intro h2,
.next h2 {
  margin: 14px 0 0;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 0.98;
  font-weight: 790;
  letter-spacing: -0.06em;
}

.section-heading > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.app-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 330px;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 0 20px 48px rgb(17 19 26 / 12%);
}

.app-copy {
  padding: 56px 60px 52px;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aab0bd;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 4px rgb(110 231 168 / 12%);
}

.app-card h3 {
  margin: 25px 0 13px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.app-card p {
  max-width: 650px;
  margin: 0;
  color: #b9bec8;
  font-size: 18px;
  line-height: 1.5;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
  color: #aeb4c1;
  font-size: 13px;
  font-weight: 680;
}

.app-links a {
  transition: color 180ms ease;
}

.app-links a:hover {
  color: var(--white);
}

.app-links .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.course-pattern {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--blue);
}

.course-pattern::before,
.course-pattern::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.course-pattern::before {
  top: -48px;
  right: -20px;
  width: 250px;
  height: 250px;
  border: 50px solid var(--yellow);
}

.course-pattern::after {
  bottom: -32px;
  left: 56px;
  width: 146px;
  height: 146px;
  border: 28px solid rgb(255 255 255 / 95%);
  background: var(--ink);
}

.pattern-word {
  position: absolute;
  top: 54px;
  left: 44px;
  color: rgb(255 255 255 / 92%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
}

.studio {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 110px;
  padding: 120px 0;
}

.studio-intro h2 {
  max-width: 640px;
  font-size: clamp(42px, 4.6vw, 64px);
}

.studio-intro > p:not(.section-label):not(.founded) {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.founded {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #f5f7f2;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founded span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8ff2e;
  box-shadow: 0 0 0 4px rgb(200 255 46 / 10%);
}

.course-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.course-hero-art::before {
  display: none;
}

.art-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: #f5f7f2;
  background: rgb(7 9 18 / 76%);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 25px 0 13px;
}

.app-title .app-icon {
  flex: 0 0 auto;
  border-radius: 22px;
  box-shadow: 0 18px 36px rgb(0 0 0 / 32%);
}

.app-title h3 {
  margin: 0;
}

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

.principles article {
  display: grid;
  grid-template-columns: 54px 0.72fr 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.principles span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.principles h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  overflow: hidden;
  margin-top: 120px;
  margin-bottom: 120px;
  padding: 65px 72px;
  border-radius: var(--radius-lg);
  background: var(--yellow);
}

.next-copy {
  max-width: 780px;
}

.next .section-label {
  color: var(--ink);
}

.next h2 {
  margin-top: 16px;
}

.next p:last-child {
  max-width: 660px;
  margin: 23px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.next-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: 36px;
  color: var(--white);
  background: var(--blue);
  font-size: 72px;
  font-weight: 350;
  transform: rotate(7deg);
  box-shadow: 0 20px 40px rgb(17 19 26 / 14%);
}

footer {
  color: #b9bec8;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px 90px;
  align-items: start;
  padding: 62px 0 36px;
}

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

.footer-inner > div:first-child > p {
  margin: 17px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--white);
  font-size: 13px;
  font-weight: 620;
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 25px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 12px;
}

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

  .hero {
    gap: 55px;
    padding-top: 64px;
  }

  .studio {
    gap: 60px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principles article {
    grid-template-columns: 50px 0.72fr 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 680px);
  }

  .site-header {
    height: 78px;
  }

  .nav-links {
    gap: 20px;
  }

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

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

  h1 {
    font-size: clamp(55px, 16vw, 76px);
  }

  .hero-copy {
    font-size: 18px;
  }

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

  .button {
    width: 100%;
  }

  .hero-art {
    height: 300px;
  }

  .tile-a {
    top: 68px;
    left: 34px;
    width: 150px;
    height: 150px;
  }

  .tile-b {
    right: 34px;
    width: 110px;
    height: 110px;
  }

  .apps-band {
    padding: 72px 0;
  }

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

  .app-copy {
    padding: 42px 30px 40px;
  }

  .course-pattern {
    min-height: 190px;
  }

  .studio {
    gap: 48px;
    padding: 88px 0;
  }

  .principles article {
    grid-template-columns: 42px 1fr;
    gap: 9px 15px;
  }

  .principles p {
    grid-column: 2;
  }

  .next {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 72px;
    margin-bottom: 72px;
    padding: 48px 30px;
  }

  .next-mark {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    font-size: 52px;
  }

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

  .copyright {
    grid-column: 1;
  }
}

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

  * {
    transition: none !important;
  }
}

/* Dark studio direction */
:root {
  --ink: #f5f7f2;
  --muted: #a6adbd;
  --mist: #10131f;
  --line: #292e3c;
  --blue: #8b5cf6;
  --blue-dark: #7447e8;
  --yellow: #c8ff2e;
  --white: #070912;
  --shadow: 0 28px 90px rgb(0 0 0 / 38%);
}

html {
  background: #070912;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 6%, rgb(139 92 246 / 18%), transparent 30rem),
    radial-gradient(circle at 12% 37%, rgb(51 214 255 / 8%), transparent 24rem),
    #070912;
}

.site-header {
  border-color: rgb(255 255 255 / 10%);
  background: rgb(7 9 18 / 70%);
  backdrop-filter: blur(18px);
}

.brand-mark {
  color: #070912;
  background: #f5f7f2;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 12%);
}

.brand-mark::before {
  background: #c8ff2e;
}

.brand-mark span {
  background: #8b5cf6;
}

.nav-links {
  color: #a6adbd;
}

.nav-links a:hover,
.footer-links a:hover {
  color: #c8ff2e;
}

.eyebrow,
.section-label {
  color: #c8ff2e;
}

.eyebrow::before {
  background: #33d6ff;
  box-shadow: 0 0 0 5px rgb(51 214 255 / 13%);
}

h1 {
  max-width: 900px;
  font-weight: 840;
}

.hero-copy {
  color: #b3bac9;
}

.button {
  border-color: rgb(255 255 255 / 16%);
}

.button.primary {
  color: #070912;
  border-color: #c8ff2e;
  background: #c8ff2e;
  box-shadow: 0 13px 32px rgb(200 255 46 / 16%);
}

.button.primary:hover {
  color: #070912;
  background: #d6ff65;
  box-shadow: 0 17px 40px rgb(200 255 46 / 21%);
}

.button.secondary {
  color: #f5f7f2;
  background: rgb(255 255 255 / 4%);
}

.hero-art {
  border-color: rgb(255 255 255 / 10%);
  background: #10131f;
  box-shadow: 0 32px 90px rgb(0 0 0 / 36%);
}

.hero-art::before {
  background-image:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
}

.tile-a {
  color: #f5f7f2;
  background: #8b5cf6;
  box-shadow:
    0 24px 55px rgb(139 92 246 / 26%),
    inset 0 0 0 1px rgb(255 255 255 / 13%);
}

.tile-b {
  color: #070912;
  background: #c8ff2e;
  box-shadow: 0 24px 55px rgb(200 255 46 / 18%);
}

.orbit {
  border-color: rgb(51 214 255 / 32%);
}

.orbit::after {
  border-color: #10131f;
  background: #33d6ff;
}

.art-note {
  color: #858d9d;
}

.apps-band {
  border-color: rgb(255 255 255 / 10%);
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    #0c0f19;
  background-size: 52px 52px;
}

.section-heading > p,
.studio-intro > p:not(.section-label):not(.founded),
.principles p {
  color: #a6adbd;
}

.app-card {
  color: #f5f7f2;
  border: 1px solid rgb(255 255 255 / 10%);
  background: #151925;
  box-shadow: 0 26px 72px rgb(0 0 0 / 28%);
}

.app-copy {
  background:
    radial-gradient(circle at 10% 100%, rgb(139 92 246 / 13%), transparent 24rem),
    #151925;
}

.app-meta {
  color: #9da5b6;
}

.status-dot {
  background: #c8ff2e;
  box-shadow: 0 0 0 4px rgb(200 255 46 / 12%);
}

.app-card p {
  color: #b3bac9;
}

.app-links {
  color: #9da5b6;
}

.app-links a:hover,
.app-links .text-link {
  color: #f5f7f2;
}

.course-pattern {
  background: #8b5cf6;
}

.course-pattern::before {
  border-color: #c8ff2e;
}

.course-pattern::after {
  border-color: #f5f7f2;
  background: #070912;
}

.principles {
  border-color: rgb(255 255 255 / 11%);
}

.principles article {
  border-color: rgb(255 255 255 / 11%);
}

.principles span {
  color: #33d6ff;
}

.next {
  color: #070912;
  background: #c8ff2e;
  box-shadow: 0 28px 70px rgb(200 255 46 / 12%);
}

.next .section-label {
  color: #070912;
}

.next-mark {
  color: #f5f7f2;
  background: #8b5cf6;
}

footer {
  color: #a6adbd;
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: #05060c;
}

.footer-brand,
.footer-links {
  color: #f5f7f2;
}
