@font-face {
  font-family: Manrope;
  src: url("./fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f2f5ff;
  --soft: #b7c3d9;
  --faint: #9aacc8;
  --blue: #94b4ff;
  --edge: #a8bdeb38;
  --panel: #101e34;
}
/* Align short entry pages with the site's normally scrollable pages. */
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}
@media (min-width: 1101px) {
  html { font-size: clamp(90%, calc(0.5142857vw + 6.9942857px), 126%); }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font: 0.9375rem/1.65 Manrope, "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(#081321, transparent 15rem),
    radial-gradient(ellipse at 76% 28%, #172f56 0, transparent 52%),
    linear-gradient(122deg, #0c172e 0%, #080f20 63%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.12; letter-spacing: -0.045em; }
:is(a, input, button, summary):focus-visible { outline: 3px solid #94b4ff; outline-offset: 3px; }
.trial-shell { width: min(75rem, calc(100% - 5rem)); margin-inline: auto; }

.trial-top {
  height: 6.25rem;
  flex: none;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
  border-bottom: 0.0625rem solid #a8bdeb1a;
}
.trial-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6875rem;
  font-size: 1.6875rem;
  font-weight: 800;
  letter-spacing: -0.06875rem;
}
.trial-brand img { display: block; object-fit: contain; }
.trial-brand span span { color: var(--blue); }
.trial-site-nav { display: flex; gap: 2rem; color: var(--soft); font-size: 0.8125rem; }
.trial-mobile-menu { display: none; }
.trial-header-actions { display: flex; align-items: center; gap: 1rem; }
.trial-header-login, .trial-header-license, .trial-languages summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.trial-header-login, .trial-header-license { font-size: 0.8rem; }
.trial-header-license { color: #c4d3eb; }
.trial-header-login {
  justify-content: center;
  min-height: max(44px, 2.6rem);
  padding: 0.65rem 1rem;
  border-radius: 0.4375rem;
  background: #467bfa;
  color: white;
  font-weight: 700;
  box-shadow: 0 0.3125rem 1.375rem #2e63e52b;
}
.trial-header-login:hover { background: #3269e8; }
.trial-header-license:hover { color: white; }
.trial-languages { position: relative; }
.trial-languages summary, .trial-mobile-menu summary { cursor: pointer; list-style: none; }
.trial-languages summary::-webkit-details-marker, .trial-mobile-menu summary::-webkit-details-marker { display: none; }
.trial-languages summary {
  min-width: 44px;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #a6c4ff30;
  border-radius: 0.75rem;
  background: #9dbfff0a;
  font-size: 0.75rem;
  font-weight: 700;
}
.trial-languages summary:hover, .trial-languages[open] summary { background: #9dbfff20; }
.trial-languages nav {
  position: absolute;
  z-index: 3;
  top: calc(100% + 0.45rem);
  right: 0;
  width: 11.5rem;
  padding: 0.4rem;
  border: 1px solid #719ad65c;
  border-radius: 0.85rem;
  background: #142440;
  box-shadow: 0 1rem 3rem #0005;
}
.trial-languages nav a { display: flex; align-items: center; gap: 0.9rem; min-height: 44px; padding: 0.65rem; border-radius: 0.5rem; font-size: 0.85rem; }
.trial-languages nav a span { color: #9fbdf0; font-size: 0.7rem; }
.trial-languages nav a:is(:hover, [aria-current]) { background: #7fafff22; }
.trial-site-nav a:hover, .trial-footer a:hover { color: var(--blue); }

.trial-layout {
  position: relative;
  flex: 1;
  display: grid;
  grid-template: "intro panel" auto "steps panel" 1fr / minmax(0, 1fr) minmax(0, 0.95fr);
  align-content: start;
  align-items: start;
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 2.25rem;
  padding-block: clamp(3.5rem, 9vh, 7rem);
}
.trial-intro { grid-area: intro; }
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-block-end: 1.1rem;
  color: #b6cbff;
  font-size: 0.735rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.trial-badge::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--blue); }
.trial-intro h1 { max-width: 13ch; font-size: clamp(2.8rem, 5.45vw, 5.15rem); font-weight: 800; }
.trial-intro > p { max-width: 43ch; margin-block-start: 1.2rem; color: var(--soft); font-size: 1rem; }
.trial-intro .trial-account-identity { display: inline-block; color: #aff1d6; overflow-wrap: anywhere; }

.trial-steps {
  grid-area: steps;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--faint);
  font-size: 0.825rem;
}
.trial-steps li { display: flex; align-items: center; gap: 0.45rem; }
.trial-steps span {
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border: 1px solid var(--edge);
  border-radius: 50%;
  font-size: 0.69rem;
  font-weight: 800;
}
.trial-steps li[aria-current] { color: #e8efff; font-weight: 800; }
.trial-steps li[aria-current] span { background: #aac4ff; border-color: #aac4ff; color: #112547; }

.trial-panel {
  grid-area: panel;
  min-width: 0;
  display: grid;
  gap: 1rem;
  padding: clamp(1.375rem, 3vw, 2.5rem);
  border: 1px solid #6586bf66;
  border-radius: 1.35rem;
  background: linear-gradient(155deg, #172945, var(--panel) 56%);
  box-shadow: 0 1.5rem 4rem #03091466;
}
.trial-panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.trial-panel p { color: var(--soft); }
.trial-panel label { font-size: 0.875rem; font-weight: 750; }
.trial-panel form { display: grid; gap: 0.55rem; margin: 0; }
.trial-panel input {
  width: 100%;
  min-width: 0;
  min-height: 3.15rem;
  border: 1px solid #6685b780;
  border-radius: 0.65rem;
  padding: 0.72rem 0.9rem;
  font-size: 1rem;
  color: var(--ink);
  background: #0a1426;
}
.trial-panel button, .trial-download {
  min-height: 3rem;
  border: 1px solid #82a5ff80;
  border-radius: 0.65rem;
  padding: 0.6rem 0.95rem;
  background: #3c66e2;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.trial-panel form:not(.trial-sign-out) button { margin-top: 0.25rem; }
.trial-panel button:hover, .trial-download:hover { background: #3458c8; }
.trial-panel .trial-secondary { background: transparent; color: #cfddff; }
.trial-panel .trial-secondary:hover { background: #243a5e; }
.trial-panel summary { cursor: pointer; color: #c4d7ff; }
.trial-panel details form { padding-top: 0.65rem; }
.trial-key { font-family: ui-monospace, monospace; letter-spacing: 0.02em; }
.trial-download { display: inline-flex; align-items: center; justify-content: center; }
.trial-panel .trial-sign-out { justify-self: start; }
.trial-panel .trial-message { padding: 0.65rem 0.8rem; border: 1px solid var(--edge); border-radius: 0.55rem; color: #e0eaff; background: #243a5e; }
.trial-panel .trial-note { font-size: 0.825rem; color: #c1cdea; }
.trial-alt-download { padding-top: 1rem; border-top: 1px solid var(--edge); font-size: 0.875rem; }
.trial-alt-download a, .trial-footer a { text-decoration: underline; text-underline-offset: 0.2em; }
.trial-alt-download a { color: #c4d7ff; font-weight: 800; }

.trial-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--edge);
  color: var(--soft);
  font-size: 0.825rem;
}
.trial-footer-links { display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem; }

@media (max-width: 1000px) {
  .trial-shell { width: calc(100% - 3rem); }
  .trial-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: auto; gap: 0.65rem 0.5rem; padding-block: 1rem; }
  .trial-top .trial-brand { grid-area: 1 / 1 / 2 / 3; min-height: 44px; }
  .trial-site-nav { display: none; }
  .trial-mobile-menu { display: block; grid-area: 1 / 3 / 2 / 4; justify-self: end; }
  .trial-mobile-menu summary { display: flex; align-items: center; min-height: 44px; padding: 0.5rem; border: 1px solid #49648d; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600; }
  .trial-mobile-menu[open] summary, .trial-mobile-nav a:hover { background: #243f65; }
  .trial-mobile-nav { position: absolute; top: calc(100% - 0.25rem); inset-inline: 0; display: grid; gap: 0.25rem; padding: 0.65rem; border: 1px solid #49648d; border-radius: 0.85rem; background: #102139; box-shadow: 0 1rem 2rem #0004; }
  .trial-mobile-nav a { display: flex; align-items: center; min-height: 44px; padding: 0.6rem 0.75rem; border-radius: 0.5rem; font-size: 0.8125rem; }
  .trial-header-actions { display: contents; }
  .trial-languages { grid-area: 1 / 4 / 2 / 5; justify-self: end; }
  .trial-languages summary { padding-inline: 0.5rem; }
  .trial-header-login { grid-area: 2 / 1 / 3 / 3; }
  .trial-header-license { grid-area: 2 / 3 / 3 / 5; min-width: 0; white-space: normal; text-align: center; }
  .trial-header-login, .trial-header-license { line-height: 1.4; }
}
@media (max-width: 760px) {
  .trial-shell { width: calc(100% - 2.5rem); }
  .trial-brand { font-size: 1.5rem; gap: 0.4375rem; }
  .trial-brand img { width: 2.125rem; height: 2.125rem; }
  .trial-layout {
    grid-template: "intro" auto "panel" auto "steps" auto / minmax(0, 1fr);
    row-gap: 1.5rem;
    padding-block: 2rem;
  }
  .trial-intro h1 { max-width: 17ch; font-size: clamp(2.35rem, 8vw, 3.6rem); }
  .trial-intro > p { margin-block-start: 0.8rem; }
  .trial-steps { gap: 0.55rem 1rem; }
}
@media (max-width: 600px) {
  .trial-brand { font-size: 1.3rem; }
  .trial-brand img { width: 1.8rem; height: 1.8rem; }
  .trial-header-login { font-size: 0.75rem; }
  .trial-header-login { padding: 0.6rem 0.75rem; }
}
@media (max-width: 360px) {
  .trial-shell { width: calc(100% - 1.75rem); }
}
