:root {
  color-scheme: light;
  --sky: #eef5ff;
  --paper: #fbfdff;
  --ink: #22304a;
  --muted: #64728a;
  --line: #dbe5f2;
  --accent: #6c78d9;
  --accent-soft: #e8eaff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--sky); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(108, 120, 217, .14), transparent 24rem),
    var(--sky);
  font-size: 17px;
  line-height: 1.65;
}

a { color: #4653b7; text-underline-offset: .2em; }
a:hover { color: #303d9e; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.shell { width: min(100% - 32px, 760px); margin: 0 auto; padding: 24px 0 64px; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.02em;
}

.day {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 11px 11px 14px 14px;
  color: white;
  background: var(--accent);
  font-size: 14px;
  box-shadow: inset 0 -3px 0 rgba(31, 42, 113, .16);
}

.links { display: flex; gap: 18px; font-size: 15px; }
.links a { color: var(--muted); text-decoration: none; }
.links a[aria-current="page"] { color: var(--ink); font-weight: 650; }

main {
  padding: clamp(28px, 7vw, 64px);
  border: 1px solid rgba(219, 229, 242, .9);
  border-radius: 30px;
  background: rgba(251, 253, 255, .9);
  box-shadow: 0 24px 70px rgba(50, 70, 110, .10);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.lede {
  max-width: 55ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 21px);
  line-height: 1.55;
}

.meta { margin: 22px 0 0; color: var(--muted); font-size: 14px; }

article { margin-top: 48px; }
section { padding: 28px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
p, ul { margin: 10px 0 0; }
ul { padding-left: 1.2em; }
li + li { margin-top: 7px; }

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 16px;
  color: white;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(108, 120, 217, .24);
}

.contact:hover { color: white; background: #5865c7; }

.cards { display: grid; gap: 14px; margin-top: 34px; }
.card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}
.card strong { display: block; margin-bottom: 3px; }
.card span { color: var(--muted); font-size: 15px; }
.card:hover { border-color: var(--accent); }

footer { padding: 28px 4px 0; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 520px) {
  .shell { width: min(100% - 20px, 760px); padding-top: 12px; }
  nav { margin-bottom: 18px; }
  .links { gap: 12px; font-size: 14px; }
  main { padding: 28px 22px; border-radius: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .contact, .card { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
  .contact:hover, .card:hover { transform: translateY(-1px); }
}

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