:root {
  --ink: #17202d;
  --muted: #5d6876;
  --red: #a20d2d;
  --red-dark: #75071f;
  --red-soft: #fae9ed;
  --cream: #f8f5ef;
  --paper: #fffefa;
  --line: #e5e0d7;
  --shadow: 0 18px 50px rgba(37, 27, 27, 0.09);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

svg {
  width: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--red);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(229, 224, 215, 0.8);
  background: rgba(255, 254, 250, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo-full {
  display: block;
  width: 124px;
  height: auto;
}

.brand-icon {
  display: none;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: var(--line);
}

.brand-title {
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: #454d58;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

.nav-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.hero {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: clamp(88px, 11vw, 150px) clamp(24px, 8vw, 124px) 100px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 83% 16%, rgba(209, 71, 102, 0.25), transparent 28%),
    linear-gradient(125deg, #73051d 0%, #9e0c2d 52%, #6f071e 100%);
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.02);
  content: "";
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 70px;
  right: 17%;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-glow-two {
  bottom: -50px;
  left: 38%;
  width: 230px;
  height: 230px;
  background: rgba(255, 176, 194, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f8b3c3;
  box-shadow: 0 0 0 5px rgba(248, 179, 195, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.99;
}

h1 span {
  color: #f2b1c0;
}

.hero-content > p {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--red-dark);
  background: white;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: rgba(255, 255, 255, 0.07);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.hero-note {
  position: absolute;
  right: clamp(24px, 8vw, 124px);
  bottom: 42px;
  z-index: 3;
  display: flex;
  width: min(390px, calc(100% - 48px));
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(72, 1, 18, 0.38);
  backdrop-filter: blur(14px);
}

.note-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  color: #ffd1dc;
  background: rgba(255, 255, 255, 0.1);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.hero-note > div {
  min-width: 0;
}

.hero-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.45;
}

.links-section,
.access-section,
.guidance-section {
  padding: 105px clamp(24px, 7vw, 112px);
}

.links-section {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto 40px;
  gap: 30px;
}

.section-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.6;
}

.link-grid {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.link-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 30px rgba(39, 29, 29, 0.035);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.link-card:hover {
  border-color: #d9c8cc;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.link-card-featured::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--red);
  content: "";
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.card-number {
  color: #9ba1a8;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card-tag {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-icon {
  display: grid;
  width: 53px;
  height: 53px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 16px;
  color: var(--red);
  background: var(--red-soft);
}

.card-icon svg {
  width: 27px;
}

.link-card h3 {
  margin-bottom: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.link-card > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.credential,
.card-tip {
  display: block;
  min-height: 59px;
  padding: 11px 13px;
  border-radius: 11px;
  color: #555d68;
  background: #f7f6f3;
  font-size: 0.76rem;
  line-height: 1.5;
}

.card-actions {
  display: flex;
  margin-top: auto;
  padding-top: 25px;
  gap: 8px;
}

.card-link {
  display: inline-flex;
  min-height: 48px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  color: white;
  background: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease;
}

.card-link:hover {
  background: var(--red-dark);
}

.copy-button {
  display: grid;
  width: 48px;
  flex: 0 0 48px;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #59616c;
  background: white;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.copy-button:hover,
.copy-button.copied {
  border-color: #e8aebe;
  color: var(--red);
  background: var(--red-soft);
}

.copy-button svg {
  width: 19px;
}

.url-label {
  margin-top: 12px;
  overflow: hidden;
  color: #9a9fa5;
  font-size: 0.68rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-section {
  color: white;
  background: var(--ink);
}

.access-section .section-kicker {
  color: #f2a7ba;
}

.access-section .section-heading > p {
  color: rgba(255, 255, 255, 0.6);
}

.tutorial-layout {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.72fr);
  gap: 24px;
}

.tutorial-player {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: #111721;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.player-topbar {
  display: grid;
  min-height: 50px;
  align-items: center;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.62);
  background: #0d121a;
  font-size: 0.72rem;
  grid-template-columns: 1fr auto 1fr;
}

.player-topbar > span:first-child {
  display: flex;
  gap: 6px;
}

.player-topbar i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e4652;
}

.player-topbar i:first-child {
  background: #a20d2d;
}

.player-topbar strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
}

.player-time {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.player-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 15%, rgba(226, 74, 108, 0.17), transparent 34%),
    linear-gradient(140deg, #171e29, #111721);
}

.tutorial-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 320ms ease, transform 320ms ease;
  grid-template-columns: minmax(210px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(25px, 4vw, 55px);
}

.tutorial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.slide-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #efa7b8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.slide-copy h3 {
  margin-bottom: 15px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.slide-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.87rem;
  line-height: 1.65;
}

.slide-copy p strong {
  color: white;
}

.real-screen {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: #f3f3f3;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.real-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.real-screen figcaption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  max-width: calc(100% - 18px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  color: white;
  background: rgba(12, 16, 25, 0.84);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.3;
  backdrop-filter: blur(7px);
}

.screen-highlight {
  position: absolute;
  z-index: 2;
  border: 3px solid #00e56f;
  border-radius: 5px;
  box-shadow: 0 0 0 5px rgba(0, 229, 111, 0.16), 0 0 22px rgba(0, 229, 111, 0.5);
  pointer-events: none;
  animation: screen-pulse 1.5s ease-in-out infinite;
}

.highlight-login {
  top: 49%;
  left: 31%;
  width: 38%;
  height: 22%;
}

.highlight-menu {
  top: 43%;
  left: 1.5%;
  width: 18%;
  height: 13%;
}

.highlight-exam {
  top: 43%;
  left: 11.5%;
  width: 38%;
  height: 10%;
}

@keyframes screen-pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(0, 229, 111, 0.08), 0 0 30px rgba(0, 229, 111, 0.65);
  }
}

.mock-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  color: var(--ink);
  background: #f5f3ef;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transform: rotate(1.5deg);
}

.mock-browser-bar {
  display: flex;
  height: 30px;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  background: #e5e3df;
}

.mock-browser-bar > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a4a6aa;
}

.mock-browser-bar b {
  flex: 1;
  color: #858990;
  font-size: 0.5rem;
  font-weight: 500;
  text-align: center;
}

.mock-login {
  position: relative;
  width: 62%;
  margin: 27px auto;
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 20px rgba(31, 35, 40, 0.08);
}

.mock-logo {
  margin-bottom: 15px;
  color: #4c535d;
  font-size: 0.54rem;
  font-weight: 700;
}

.mock-logo span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: var(--red);
  font-size: 0.48rem;
}

.mock-field {
  height: 17px;
  margin-bottom: 7px;
  border: 1px solid #dddde0;
  border-radius: 4px;
}

.mock-button {
  display: grid;
  height: 20px;
  margin-top: 10px;
  place-items: center;
  border-radius: 4px;
  color: white;
  background: var(--red);
  font-size: 0.42rem;
}

.mock-cursor {
  position: absolute;
  right: 23%;
  bottom: 15px;
  width: 9px;
  height: 13px;
  background: white;
  clip-path: polygon(0 0, 100% 70%, 57% 76%, 40% 100%);
  filter: drop-shadow(0 1px 1px black);
  animation: cursor-pulse 1.2s ease-in-out infinite;
}

@keyframes cursor-pulse {
  50% { transform: translateY(3px); }
}

.login-demo {
  width: min(310px, 100%);
  margin: 0 auto;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.demo-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #f3bac8;
  background: rgba(255, 255, 255, 0.08);
}

.demo-avatar svg {
  width: 23px;
}

.login-demo label {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.login-demo label span {
  display: block;
  margin-top: 5px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.69rem;
  font-weight: 500;
  text-transform: none;
}

.login-demo button,
.exam-card-demo button,
.confirm-demo button {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--red);
  font: 700 0.67rem "DM Sans", sans-serif;
}

.dashboard-demo {
  display: grid;
  min-height: 220px;
  overflow: hidden;
  border-radius: 14px;
  color: var(--ink);
  background: #f5f4f1;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
  grid-template-columns: 42% 1fr;
}

.demo-sidebar {
  display: flex;
  padding: 22px 12px;
  flex-direction: column;
  gap: 7px;
  background: white;
}

.demo-sidebar strong {
  margin: 0 8px 13px;
  color: var(--red);
  font-size: 0.68rem;
}

.demo-sidebar span {
  padding: 9px;
  border-radius: 6px;
  color: #7d838c;
  font-size: 0.52rem;
}

.demo-sidebar span.selected {
  color: var(--red);
  background: var(--red-soft);
  font-weight: 800;
  animation: menu-glow 1.4s ease-in-out infinite;
}

.demo-sidebar svg {
  width: 12px;
  margin-right: 4px;
  vertical-align: middle;
}

@keyframes menu-glow {
  50% { box-shadow: 0 0 0 4px rgba(162, 13, 45, 0.08); }
}

.demo-content {
  display: flex;
  padding: 35px 20px;
  flex-direction: column;
  gap: 13px;
}

.demo-content i {
  display: block;
  height: 34px;
  border-radius: 7px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.demo-content i:first-child {
  width: 60%;
  height: 16px;
  background: #dedbd6;
}

.exam-card-demo {
  position: relative;
  display: grid;
  align-items: center;
  padding: 25px;
  border-radius: 16px;
  color: var(--ink);
  background: white;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  grid-template-columns: auto 1fr;
  gap: 15px;
}

.exam-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #287342;
  background: #e4f4e9;
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exam-book {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: var(--red);
  background: var(--red-soft);
}

.exam-card-demo strong,
.exam-card-demo span {
  display: block;
}

.exam-card-demo strong {
  padding-right: 35px;
  font-size: 0.7rem;
}

.exam-card-demo div > span {
  margin-top: 5px;
  color: #92969d;
  font-size: 0.53rem;
}

.exam-card-demo button {
  grid-column: 1 / -1;
}

.confirm-demo {
  display: flex;
  padding: 27px;
  align-items: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.demo-check {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
}

.demo-check svg {
  width: 25px;
}

.confirm-demo strong {
  font-size: 0.78rem;
}

.confirm-demo small {
  display: flex;
  margin-top: 15px;
  align-items: center;
  gap: 6px;
  color: #efb3c1;
  font-size: 0.57rem;
}

.confirm-demo small svg {
  width: 13px;
}

.player-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.player-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: #d82950;
  transition: width 320ms ease;
}

.player-controls {
  display: flex;
  min-height: 65px;
  align-items: center;
  padding: 0 18px;
  gap: 8px;
  background: #0d121a;
}

.player-control {
  display: grid;
  width: 34px;
  height: 34px;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  color: white;
  background: transparent;
}

.player-control:hover {
  background: rgba(255, 255, 255, 0.08);
}

.player-control-main {
  width: 40px;
  height: 40px;
  border-color: var(--red);
  background: var(--red);
}

.player-control svg {
  width: 18px;
}

.player-control-main .play-icon,
.player-control-main.is-paused .pause-icon {
  display: none;
}

.player-control-main.is-paused .play-icon {
  display: block;
}

.control-status {
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.67rem;
}

.tutorial-steps {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.tutorial-steps button {
  display: grid;
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  color: white;
  background: rgba(255, 255, 255, 0.025);
  font-family: inherit;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  grid-template-columns: 35px 1fr;
  column-gap: 11px;
}

.tutorial-steps button:hover,
.tutorial-steps button.is-current {
  border-color: rgba(232, 85, 118, 0.5);
  background: rgba(162, 13, 45, 0.14);
  transform: translateX(3px);
}

.tutorial-steps button > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #f0a6b7;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  grid-row: 1 / 3;
}

.tutorial-steps button.is-current > span {
  color: white;
  background: var(--red);
}

.tutorial-steps strong {
  align-self: end;
  font-size: 0.78rem;
}

.tutorial-steps small {
  align-self: start;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.65rem;
  line-height: 1.35;
}

.guidance-section {
  background: var(--cream);
}

.guidance-heading {
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.steps {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  display: flex;
  min-height: 160px;
  align-items: flex-start;
  gap: 19px;
  padding: 34px;
  background: var(--paper);
}

.step:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.step:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.step > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  color: var(--red);
  background: var(--red-soft);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 7px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.step-warning {
  background: #fbf3f4;
}

.step-warning > span {
  color: white;
  background: var(--red);
}

.step-warning svg {
  width: 21px;
}

.help-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 220px;
  padding: 54px clamp(24px, 8vw, 124px);
  gap: 40px;
  color: white;
  background: var(--ink);
}

.help-banner .section-kicker {
  color: #f1aabe;
}

.help-banner h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.help-banner > p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 7vw, 112px);
  gap: 28px;
  border-top: 1px solid #292f39;
  color: rgba(255, 255, 255, 0.56);
  background: var(--ink);
  font-size: 0.78rem;
}

.footer-brand {
  color: white;
}

.footer-logo {
  display: block;
  width: 150px;
  height: auto;
}

.footer-brand .brand-divider {
  background: rgba(255, 255, 255, 0.2);
}

footer p {
  margin: 0;
}

footer > a:last-child {
  color: rgba(255, 255, 255, 0.78);
  text-underline-offset: 4px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 13px 18px;
  border-radius: 11px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ec8aa2;
  outline-offset: 3px;
}

@media (max-width: 960px) {
  nav > a:not(.nav-pdf) {
    display: none;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 150px;
  }

  .link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-layout {
    grid-template-columns: 1fr;
  }

  .tutorial-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-card {
    min-height: 0;
  }

  .help-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .site-header .brand-logo-full {
    display: none;
  }

  .site-header .brand-icon {
    display: block;
  }

  .site-header .brand-divider {
    display: none;
  }

  .nav-pdf {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .nav-pdf svg {
    width: 19px;
  }

  .hero {
    min-height: 650px;
    padding: 80px 24px 180px;
  }

  h1 {
    font-size: clamp(2.3rem, 9.5vw, 2.85rem);
  }

  .hero-note {
    right: auto;
    bottom: 28px;
    left: 24px;
    width: calc(100% - 48px);
    max-width: none;
  }

  .links-section,
  .access-section,
  .guidance-section {
    padding: 76px 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .link-card {
    padding: 23px;
  }

  .player-stage {
    min-height: 560px;
  }

  .tutorial-slide {
    align-content: center;
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .slide-copy {
    max-width: 460px;
  }

  .mock-browser,
  .dashboard-demo,
  .exam-card-demo,
  .confirm-demo,
  .real-screen {
    width: 100%;
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  }

  .tutorial-steps {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step:nth-child(odd) {
    border-right: 0;
  }

  .step:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .help-banner {
    padding: 54px 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    flex-wrap: wrap;
  }

  .footer-logo {
    width: 140px;
  }

  footer p {
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
