:root {
  --plum: #55235c;
  --plum-dark: #34123b;
  --purple: #932f93;
  --yellow: #ffff2d;
  --cream: #fffdf1;
  --ink: #211924;
  --muted: #655c67;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--plum-dark);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 5px solid var(--yellow);
  box-shadow: 0 4px 18px rgb(37 10 44 / 12%);
}

.header-inner,
.footer-inner,
.support {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: block;
  width: min(310px, 58vw);
  height: auto;
}

.header-login {
  padding: 13px 23px;
  color: #fff;
  background: var(--plum);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.header-login:hover,
.header-login:focus-visible {
  background: var(--purple);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-photo {
  background: url("assets/hero.jpg") center 42% / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(43 12 49 / 94%) 0%, rgb(55 18 63 / 88%) 44%, rgb(55 18 63 / 52%) 76%, rgb(30 9 34 / 42%) 100%),
    linear-gradient(0deg, rgb(23 4 28 / 30%), transparent 55%);
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 88px 0 96px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.intro {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary { color: var(--plum-dark); background: var(--yellow); }
.button-secondary { color: #fff; border-color: rgb(255 255 255 / 70%); }

.button:hover,
.button:focus-visible { transform: translateY(-3px); }
.button-primary:hover,
.button-primary:focus-visible { background: #fff; }
.button-secondary:hover,
.button-secondary:focus-visible { color: var(--plum-dark); background: #fff; }

.portal-note {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: 0.94rem;
}

.support {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  padding-block: 72px;
}

.support .section-label { color: var(--purple); }

h2 {
  margin: 0;
  color: var(--plum);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.support p:not(.section-label) {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-links { display: grid; gap: 12px; align-content: center; }

.contact-links a {
  display: grid;
  gap: 5px;
  padding: 19px 22px;
  background: #fff;
  border-left: 5px solid var(--yellow);
  box-shadow: 0 10px 28px rgb(55 18 63 / 10%);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateX(4px);
  box-shadow: 0 13px 32px rgb(55 18 63 / 16%);
}

.contact-links span { color: var(--purple); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-links strong { font-size: 1.04rem; overflow-wrap: anywhere; }

footer {
  padding: 26px 0;
  color: rgb(255 255 255 / 78%);
  background: var(--plum-dark);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p { margin: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 760px) {
  .header-inner { min-height: 78px; }
  .header-login { padding: 11px 15px; font-size: 0.88rem; }
  .hero { min-height: 590px; }
  .hero-content { padding-block: 72px; }
  .hero-shade { background: rgb(45 13 52 / 84%); }
  .support { grid-template-columns: 1fr; gap: 34px; padding-block: 56px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .header-inner,
  .hero-content,
  .footer-inner,
  .support { width: min(100% - 28px, 1120px); }
  .logo { width: 190px; }
  .header-login { padding: 10px 12px; }
  .header-login { font-size: 0; }
  .header-login::after { content: "Log in"; font-size: 0.88rem; }
  .actions { display: grid; }
  .button { width: 100%; }
}

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