:root {
  --bg: #0b0d10;
  --card: #111419;
  --fg: #f5f9ff;
  --muted: #b9c7d4;
  --accent: #59e6ff;
  --line: rgba(255, 255, 255, 0.2);
  --glow: 0 0 28px rgba(94, 224, 255, 0.35), 0 0 90px rgba(94, 224, 255, 0.18);
  --shell-w: 980px;
  --hero-min-h: clamp(560px, 72vh, 720px);
}

/* reset */
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable both-edges;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(
      1200px 640px at 100% -20%,
      rgba(94, 224, 255, 0.12),
      transparent
    ),
    linear-gradient(180deg, #0a0e13 0%, #0b1016 40%, #0a0e13 100%);
  color: var(--fg);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.site-brand .site-logo {
  height: 80px;
  max-height: 80px;
  width: auto;
  filter: brightness(1.2);
}
.wrap {
  min-height: 100svh;
  display: block;
  padding: 20px 18px 10px;
}
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
}

/* nav */

nav.temp {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: none;
  margin-bottom: 40px;
}

nav.temp a {
  color: #d4dee8;
  opacity: 0.9;
}
nav.temp a[aria-current="page"] {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  position: relative;
}
nav.temp a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(94, 224, 255, 0.35));
  box-shadow: var(--glow);
}

/* hero */
.hero {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 44px 34px;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62), var(--glow);
  min-height: var(--hero-min-h);
  display: flex;
  flex-direction: column;
}
.kicker {
  display: inline-block;
  max-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(94, 224, 255, 0.35);
  border-radius: 999px;
  color: #001018;
  background: linear-gradient(180deg, var(--accent), #57d7f4);
  box-shadow: 0 0 0 4px rgba(94, 224, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(42px, 7.2vw, 72px);
  line-height: 1.06;
  margin: 10px 0 10px;
  letter-spacing: 0.05px;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.h-underline {
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(94, 224, 255, 0.2));
  box-shadow: var(--glow);
  margin: 8px 0 18px;
}
.lede {
  font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.35;
  color: #d7e1eb;
  margin: 0 0 24px;
}

/* form (label full row, input full-width left, button right, subnote left) */
.form-wrap {
  max-width: var(--shell-w);
  width: 100%;
  margin: 0; /* align to left, not centered */
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto; /* left = input area, right = button */
  row-gap: 4px;
  padding-bottom: 5px;
  align-items: center;
  justify-items: start;
  width: 100%;
}
.label {
  grid-column: 1;
  text-align: left;
  padding-left: 4px;
  padding-bottom: 5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e7eff8;
  font-size: 14px;
}

/* form spans row, defines its own grid */
.cta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto; /* input | button */
  gap: 10px;
  width: 100%;
}
.cta input[type="email"] {
  grid-column: 1;
  min-width: 0; /* allow grid child to stretch properly */
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: #0a1319;
  color: var(--fg);
  outline: none;
}
.cta input::placeholder {
  color: #9fb0bf;
}
.cta button {
  grid-column: 2;
  justify-self: end;
  padding: 16px 20px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, var(--accent), #57d7f4);
  color: #001018;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: var(--glow), 0 10px 26px rgba(0, 0, 0, 0.38);
}
.cta button:hover {
  filter: saturate(1.08);
  transform: translateY(-1px);
}
.subnote {
  grid-column: 1; /* under the input only */
  justify-self: start;
  text-align: right;
  margin-top: 0;
  color: #9fb0bf;
  font-size: 12px;
}

/* tiles */
.tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
  align-items: stretch;
}
.tile {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.045)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.badge {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  color: #001018;
  background: linear-gradient(180deg, var(--accent), #57d7f4);
  border: 1px solid rgba(94, 224, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(94, 224, 255, 0.1);
  margin-bottom: 8px;
}
.tile-title {
  font-weight: 800;
}
.tile > div {
  margin: 2px 0;
}
.tile-sub {
  color: var(--muted);
}
.tile-meta {
  color: var(--muted);
  font-size: 13px;
  opacity: 0.95;
}

/* footer outside hero */
footer {
  margin-top: 40px;
  color: #9ab0c2;
  font-size: 12px;
  text-align: center;
}
footer .line {
  display: block;
  padding-bottom: 5px;
}

/* a11y */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* small screens */
@media (max-width: 520px) {
  .wrap {
    padding: 56px 14px 40px;
  }
  .hero {
    padding: 32px 20px;
  }
}
