:root {
  --ink: #13212a;
  --muted: #5d6f79;
  --soft: #f2f6f7;
  --panel: #ffffff;
  --line: #d7e2e6;
  --solar: #f29c08;
  --solar-soft: #fff5df;
  --teal: #0d857a;
  --teal-dark: #076259;
  --dark: #121c24;
  --blue: #2468a2;
  --shadow: 0 18px 48px rgba(16, 32, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body,
button,
select {
  letter-spacing: 0;
}

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

a {
  color: 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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 62px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 222px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a,
.topbar__link {
  color: #314851;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal-dark);
  background: #eaf4f2;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#languageSelect {
  min-height: 38px;
  padding: 0 34px 0 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd9de;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
}

.topbar__link {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: min(70vh, 700px);
  display: flex;
  align-items: center;
  padding: 58px clamp(24px, 7vw, 118px) 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 20, 28, 0.95), rgba(10, 20, 28, 0.78) 50%, rgba(10, 20, 28, 0.28)),
    url("../assets/screenshots/ide-r-3d-university.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--solar) 0 34%, var(--teal) 34% 100%);
}

.hero__copy {
  width: min(940px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--solar);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(43px, 5.4vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 830px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.button--primary {
  color: #fff;
  background: var(--teal);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--teal-dark);
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.62);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button--wide {
  width: 100%;
  margin-top: auto;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-band div {
  min-height: 112px;
  padding: 24px clamp(20px, 2.5vw, 38px);
  background: #fff;
}

.signal-band strong {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
}

.signal-band span {
  color: var(--muted);
}

.section {
  padding: 82px clamp(24px, 7vw, 118px);
}

.section--alt {
  background: #fff;
  border-block: 1px solid var(--line);
}

.section--desktop {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 246, 247, 0.95)),
    var(--soft);
}

.section__intro {
  max-width: 940px;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section__intro > p:not(.eyebrow),
.split > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.desktop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1240px;
}

.product-panel {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-panel--windows {
  border-top-color: var(--blue);
}

.product-panel__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-mark {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dark);
  border-radius: 6px;
  font-size: 22px;
  font-weight: 900;
}

.product-panel--windows .platform-mark {
  background: var(--blue);
}

.product-kicker {
  margin: 0 0 3px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-panel h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.15;
}

.product-panel > p {
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.availability-note {
  max-width: 1240px;
  margin: 22px 0 0;
  padding: 16px 20px;
  color: #40545e;
  background: var(--solar-soft);
  border-left: 4px solid var(--solar);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.feature-lines,
.security-list {
  display: grid;
  gap: 1px;
  margin: 28px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-lines div,
.security-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 16px 18px;
  background: #fff;
}

.feature-lines span,
.security-list span {
  color: var(--muted);
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-underline-offset: 4px;
}

.image-feature {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.image-feature figcaption {
  padding: 15px 18px;
  color: var(--muted);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.use-grid article {
  min-height: 220px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.58);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.use-grid article > span {
  color: var(--solar);
  font-size: 13px;
  font-weight: 900;
}

.use-grid h3 {
  margin: 24px 0 8px;
  font-size: 21px;
}

.use-grid p {
  margin: 0;
  color: var(--muted);
}

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

.showcase {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.showcase a {
  display: block;
  overflow: hidden;
  background: #eaf0f2;
}

.showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  transition: transform 180ms ease;
}

.showcase a:hover img,
.showcase a:focus-visible img {
  transform: scale(1.012);
}

.showcase figcaption {
  display: grid;
  gap: 3px;
  padding: 16px 18px 18px;
}

.showcase figcaption strong {
  font-size: 18px;
}

.showcase figcaption span {
  color: var(--muted);
}

.split--security {
  align-items: start;
}

.security-list {
  margin: 0;
}

.pilot {
  padding: 80px clamp(24px, 7vw, 118px);
  color: #fff;
  background: var(--dark);
}

.pilot .eyebrow {
  color: var(--solar);
}

.pilot h2 {
  max-width: 900px;
  color: #fff;
}

.pilot__copy > p:not(.eyebrow) {
  max-width: 900px;
  color: #cdd8dd;
  font-size: 18px;
}

.pilot__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pilot__steps > div {
  min-height: 130px;
  display: flex;
  gap: 13px;
  padding: 22px;
  background: #182731;
}

.pilot__steps > div > span {
  color: var(--solar);
  font-size: 18px;
  font-weight: 900;
}

.pilot__steps p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.pilot__steps small {
  color: #aebdc5;
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 28px clamp(24px, 7vw, 118px);
  color: #536670;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer > div {
  display: flex;
  gap: 10px;
}

.footer strong {
  color: var(--ink);
}

.footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(242, 156, 8, 0.75);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    order: 3;
  }

  .topbar__actions {
    justify-self: end;
  }

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

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

  .image-feature {
    max-width: 900px;
  }

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

@media (max-width: 760px) {
  .topbar {
    position: relative;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 18px;
  }

  .brand img {
    width: 190px;
    height: 32px;
  }

  .topbar__actions {
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
  }

  .nav {
    grid-row: 3;
  }

  .topbar__link {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    align-items: flex-end;
    padding: 44px 22px 54px;
    background:
      linear-gradient(180deg, rgba(10, 20, 28, 0.48), rgba(10, 20, 28, 0.96) 61%),
      url("../assets/screenshots/ide-r-3d-university.jpg") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .hero__lead {
    font-size: 17px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .signal-band,
  .desktop-grid,
  .use-grid,
  .showcase-grid,
  .pilot__steps {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    min-height: auto;
  }

  .section,
  .pilot {
    padding: 62px 20px;
  }

  .product-panel {
    min-height: auto;
  }

  .feature-lines div,
  .security-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .use-grid article {
    min-height: auto;
  }

  .footer,
  .footer > div {
    flex-direction: column;
  }

  .footer {
    padding: 26px 20px;
  }
}

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

  .showcase img {
    transition: none;
  }
}
