:root {
  --bg: #fff7f1;
  --bg-soft: #ffefe3;
  --surface: #ffffff;
  --ink: #2f2a26;
  --ink-soft: #5c534c;
  --muted: #8a7f75;
  --line: #edd9c8;
  --accent: #e07a45;
  --accent-deep: #c45f2c;
  --accent-soft: #ffe0cc;
  --teal: #2a9d8f;
  --teal-soft: #d7f1ec;
  --sand: #f6d7b8;
  --shadow: 0 12px 32px rgba(84, 52, 28, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --radius-pill: 999px;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(224, 122, 69, 0.14), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(42, 157, 143, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #fffaf6 48%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--teal);
}

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

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

ul, ol {
  color: var(--ink-soft);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 241, 0.88);
  border-bottom: 1px solid rgba(237, 217, 200, 0.8);
}

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

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

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, var(--accent), #f4a261),
    var(--accent);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.4rem;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(18deg);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(224, 122, 69, 0.28);
}

.nav-cta:hover {
  background: var(--accent-deep);
  color: #fff !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(224, 122, 69, 0.28);
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

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

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

.btn-teal:hover {
  color: #fff;
  filter: brightness(0.95);
}

/* Layout blocks */
.section {
  padding: 4.5rem 0;
}

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

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

.section-lead {
  max-width: 40rem;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Home hero — statement + route visual, not two-CTA default */
.hero-home {
  padding: 3.5rem 0 2rem;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy {
  padding: 1rem 0;
}

.hero-brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.hero-line {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--ink-soft);
  font-weight: 700;
  max-width: 28rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  max-width: 32rem;
  font-size: 1.05rem;
}

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

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: gentle-zoom 14s ease-in-out infinite alternate;
}

.hero-route {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.55rem;
  animation: rise-in 0.8s ease both;
}

.route-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}

.route-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.route-dot.teal { background: var(--teal); }
.route-dot.ink { background: #264653; }

/* Proof strip early on home */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.proof-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  text-align: center;
}

.proof-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
}

.proof-label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

/* Featured course */
.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.featured-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.chip {
  background: var(--teal-soft);
  color: #1a6f65;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
}

/* Benefits */
.benefit-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  animation: fade-up 0.6s ease both;
}

.benefit-item:nth-child(2) { animation-delay: 0.08s; }
.benefit-item:nth-child(3) { animation-delay: 0.16s; }

.benefit-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  font-weight: 900;
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 1.15rem;
}

.card-meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card-link {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent-deep);
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 1rem;
}

.quote {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow);
}

.quote p {
  font-size: 1.02rem;
  color: var(--ink);
}

.quote footer {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.quote.wide {
  grid-column: 1 / -1;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, #fff4eb 100%);
  transform: translateY(-0.4rem);
}

.price-name {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0.4rem 0;
}

.price-amount span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.price-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 1.4rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
}

.price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Forms */
.form-panel {
  padding: 1.6rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.92rem;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(224, 122, 69, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 1.1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  font-weight: 700;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--teal-soft);
  color: #145a52;
}

.form-status.error {
  display: block;
  background: #fde8e6;
  color: #8a1f14;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.contact-aside {
  padding: 1.5rem;
}

.contact-aside h2 {
  font-size: 1.3rem;
}

.address-block {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 1rem 0;
}

/* Page heroes */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.08rem;
}

.page-hero.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.page-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

/* Content prose */
.prose {
  max-width: 48rem;
}

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

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-soft);
}

/* Modules / FAQ */
.module-list,
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.module,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.faq-item p {
  margin: 0.75rem 0 0;
}

.instructor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
}

.instructor img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

/* Case studies */
.case-grid {
  display: grid;
  gap: 1.25rem;
}

.case-study {
  padding: 1.5rem;
}

.case-study h3 {
  font-size: 1.3rem;
}

.rating {
  color: var(--accent-deep);
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: #2f2a26;
  color: #f7ebe1;
  padding: 3rem 0 1.5rem;
}

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

.footer-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-address,
.footer-contact,
.site-footer p {
  color: #d9c7b8;
}

.footer-heading {
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.7rem;
}

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

.footer-links a,
.footer-contact a {
  color: #f0dccb;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(47, 42, 38, 0.18);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.35s ease both;
}

.cookie-banner p {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

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

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #fde8e6;
  color: #8a1f14;
  font-weight: 700;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}

/* Flow canvas custom page */
.canvas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.canvas-tile {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.canvas-tile h3 {
  font-size: 1.1rem;
}

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  background: linear-gradient(120deg, #fff 0%, var(--accent-soft) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Animations */
@keyframes gentle-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero-stage,
  .featured-grid,
  .contact-layout,
  .page-hero.media,
  .quote-grid,
  .split-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .price-grid,
  .proof-strip,
  .canvas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.35rem);
    left: 1rem;
    right: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.75rem;
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 0.7rem;
  }

  .nav-cta {
    text-align: center;
  }

  .card-grid,
  .price-grid,
  .proof-strip,
  .canvas-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 280px;
  }
}
