:root {
  color-scheme: light;
  --ink: #10233a;
  --muted: #64798f;
  --blue: #2488ff;
  --cyan: #58d9f2;
  --line: rgba(255, 255, 255, .86);
  --shadow: 0 24px 70px rgba(39, 91, 133, .14);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #eff8ff; }

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .98) 0 15%, transparent 42%),
    linear-gradient(135deg, #f9fdff 0%, #ddf3ff 48%, #eef0ff 100%);
}

a { color: inherit; }

.page-shell {
  min-height: 100svh;
  padding: 24px clamp(22px, 4vw, 70px) 28px;
  position: relative;
  overflow: hidden;
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(rgba(42, 103, 153, .14) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(#000, transparent 85%);
}

.ambient {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
}

.ambient-top {
  width: 42vw;
  height: 42vw;
  top: -18vw;
  right: -12vw;
  background: rgba(91, 176, 255, .28);
  box-shadow: inset 28px 28px 80px rgba(255, 255, 255, .9);
}

.ambient-bottom {
  width: 26vw;
  height: 26vw;
  bottom: -14vw;
  left: -9vw;
  background: rgba(108, 228, 255, .22);
  box-shadow: inset -20px -20px 60px rgba(255, 255, 255, .84);
}

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .96), var(--shadow);
  backdrop-filter: blur(28px) saturate(145%);
}

.brand-bar,
.welcome,
footer {
  width: min(1460px, 100%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.brand-bar {
  min-height: 62px;
  padding: 9px 14px;
  border-radius: 21px;
  display: flex;
  align-items: center;
}

.brand-bar img {
  width: 42px;
  height: 42px;
  padding: 3px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 28px rgba(36, 136, 255, .24);
}

.brand-bar > div {
  margin-left: 12px;
  display: grid;
  gap: 2px;
}

.brand-bar span {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.brand-bar strong { font-size: 1rem; }

.brand-bar > a {
  margin-left: auto;
  padding: 9px 13px;
  border-radius: 12px;
  color: #536b81;
  background: rgba(255, 255, 255, .5);
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.brand-bar > a:hover { background: rgba(255, 255, 255, .9); transform: translateY(-1px); }

.welcome {
  min-height: calc(100svh - 150px);
  padding: clamp(38px, 6vh, 72px) 0 28px;
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(620px, 1.28fr);
  gap: clamp(38px, 5vw, 80px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.welcome-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3.25rem, 5vw, 5.1rem);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.06em;
}

.welcome-copy h1 em { color: var(--blue); font-style: normal; }

.welcome-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: #526b81;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}

.primary-link {
  width: min(340px, 100%);
  margin-top: 30px;
  padding: 15px 17px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(105deg, #197ffc, #54d5ef);
  box-shadow: 0 16px 38px rgba(36, 136, 255, .28);
  font-weight: 820;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-link:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(36, 136, 255, .36); }

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

.resource-card {
  min-height: 174px;
  padding: 21px 20px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 12px;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow: inset 0 1px 1px #fff, 0 28px 76px rgba(39, 91, 133, .22);
  outline: none;
}

.resource-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #187efb, #50d2ee);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .48), 0 22px 55px rgba(36, 136, 255, .28);
}

.strategy-card { grid-column: 1 / -1; min-height: 152px; }

.card-index {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
}

.featured .card-index,
.featured small,
.featured p { color: rgba(255, 255, 255, .82); }

.resource-card small {
  color: #6c8295;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.resource-card h2 {
  margin: 7px 0 8px;
  font-size: clamp(1.25rem, 1.6vw, 1.62rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.resource-card p {
  margin: 0;
  color: #60778d;
  font-size: .9rem;
  line-height: 1.36;
}

.card-arrow {
  align-self: start;
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 850;
}

.featured .card-arrow { color: #fff; }

.compact { min-height: 152px; }

footer {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #698095;
  font-size: .78rem;
}

footer span { color: var(--blue); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
footer p { margin: 0; }

@media (max-width: 1080px) {
  .welcome { grid-template-columns: 1fr; align-items: start; }
  .welcome-copy { display: grid; grid-template-columns: 1fr minmax(260px, .75fr); gap: 0 30px; align-items: end; }
  .welcome-copy .eyebrow,
  .welcome-copy h1 { grid-column: 1 / -1; }
  .welcome-copy > p:not(.eyebrow) { margin-top: 22px; }
  .primary-link { margin-top: 22px; }
}

@media (max-width: 700px) {
  .page-shell { padding: 12px 14px 22px; overflow: clip; }
  .brand-bar { min-height: 56px; padding: 7px 10px; }
  .brand-bar img { width: 38px; height: 38px; }
  .brand-bar strong,
  .brand-bar > a { display: none; }
  .welcome { padding-top: 38px; grid-template-columns: 1fr; gap: 34px; }
  .welcome-copy { display: block; }
  .welcome-copy h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .primary-link { margin-top: 24px; }
  .resource-grid { grid-template-columns: 1fr; }
  .strategy-card { grid-column: auto; }
  .resource-card,
  .resource-card.strategy-card,
  .resource-card.compact { min-height: 0; padding: 19px 17px; }
  footer { margin-top: 28px; align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
