:root {
  --bg: #f3f4f6;
  --bg-elevated: #ffffff;
  --ink: #1a222c;
  --muted: #5a6572;
  --line: #d9dee6;
  --accent: #2a5a4a;
  --accent-deep: #1d4337;
  --accent-soft: #e6efeb;
  --warn: #8a3b2c;
  --ok: #1f6a4b;
  --shadow: 0 18px 40px rgba(26, 34, 44, 0.08);
  --radius: 10px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #e8eee9 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #e7ebf2 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inline-error {
  background: #f8e8e4;
  color: var(--warn);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e7c4bb;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 244, 246, 0.88);
  border-bottom: 1px solid rgba(217, 222, 230, 0.9);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), #3d7a66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--accent-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-microsoft {
  background: #111827;
  color: #fff;
}

.btn-microsoft:hover {
  background: #000;
  color: #fff;
}

.hero-panel {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f7f8fa;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 22, 28, 0.25) 0%, rgba(14, 22, 28, 0.72) 70%),
    url("https://images.unsplash.com/photo-1568667256549-094345857637?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 40rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}

.hero-copy p {
  font-size: 1.15rem;
  color: rgba(247, 248, 250, 0.9);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.8rem 0;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img,
.media-frame img,
.course-media img,
.blog-cover img,
.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  animation: fadeSlide 1s ease both;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile-body {
  padding: 1.25rem 1.3rem 1.5rem;
}

.tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.tile p,
.muted {
  color: var(--muted);
}

.course-media,
.blog-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe4ea;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.quote {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--accent-soft);
  font-weight: 650;
}

.tiers .tile {
  padding: 1.5rem;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0 1rem;
}

.tier-price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: var(--warn);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--warn);
}

.address-block {
  font-style: normal;
  color: var(--muted);
  white-space: pre-wrap;
}

.modules {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.module-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  align-items: center;
  margin: 1.5rem 0;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.cta-band {
  background: linear-gradient(135deg, var(--accent), #3a6f5d);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.cta-band .btn-microsoft,
.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #eceef2;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-address,
.footer-tag,
.footer-disclaimer,
.footer-contact {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-banner-inner {
  width: min(100%, 720px);
  margin-left: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.case-study {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-study article {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.07) translateY(-1.5%);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 960px) {
  .proof-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .footer-grid,
  .split,
  .contact-layout,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #f7f8fa;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

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

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