
:root {
  --blue: #2878F0;
  --blue-light: #93C5FD;
  --yellow: #FFCC15;
  --yellow-pale: #FFF7CF;
  --navy: #0F172A;
  --white: #FFFFFF;
  --surface: #F6FAFF;
  --border: #DCE8F6;
  --text-muted: #475569;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow: 0 8px 28px rgba(15,23,42,.07);
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 16px/1.65 var(--font-body); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 800; line-height: 1.17; letter-spacing: -.025em; margin: 0 0 .65em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--soft { background: var(--surface); }
.text-blue { color: var(--blue); }
.eyebrow { color: var(--blue); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; font-weight: 700; line-height: 1.25; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: #F4BF00; }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--border); }
.btn--blue { background: var(--blue); color: var(--white); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow); }
.card--blue { background: #EAF4FF; }
.card--yellow { background: var(--yellow-pale); }
.card--peach { background: #FFF0E9; }
.badge { display: inline-flex; padding: .3rem .75rem; border-radius: 999px; background: #EAF4FF; color: var(--blue); font-size: .8rem; font-weight: 700; }
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { font: 900 1.35rem var(--font-heading); text-decoration: none; color: var(--navy); }
.site-logo span { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.hero { padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(125deg,#fff 45%,#eaf4ff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.hero__image { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; background: #EAF4FF; color: var(--blue); border-radius: 50%; }
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; }
.cta-strip { padding: 24px; background: var(--yellow-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-field { width: 100%; padding: .85rem 1rem; border: 1px solid #B8C9DD; border-radius: var(--radius-sm); background: var(--white); color: var(--navy); }
.form-field:focus { outline: 3px solid #93C5FD; border-color: var(--blue); }
label { display: block; font-weight: 600; margin-bottom: .4rem; }
.site-footer { padding: 42px 0; background: var(--navy); color: var(--white); }
.site-footer a { color: var(--blue-light); }
@media (max-width: 850px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid--4, .grid--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header__inner { align-items: flex-start; padding-block: 16px; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Design system additions */
:root {
  --success: #16835D;
  --warning: #B76B00;
  --error: #C93636;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
}
.btn--small { padding: .55rem 1rem; font-size: .875rem; }
.btn--large { padding: 1rem 1.65rem; font-size: 1.05rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.form-group { margin-bottom: 20px; }
.form-help { color: var(--text-muted); font-size: .875rem; margin-top: 5px; }
.form-error { color: var(--error); font-size: .875rem; margin-top: 5px; }
.form-field[aria-invalid="true"] { border-color: var(--error); }
.tag { display: inline-block; border-radius: 999px; padding: .35rem .7rem; background: var(--yellow-pale); color: var(--navy); font-size: .8rem; font-weight: 700; }
.alert { border-radius: var(--radius-sm); padding: 14px 18px; border-left: 4px solid var(--blue); background: #EAF4FF; }
.alert--success { border-color: var(--success); background: #E8F7F0; }
.alert--error { border-color: var(--error); background: #FFF0F0; }
.price { font: 900 2rem/1.2 var(--font-heading); color: var(--navy); }
.course-card { display: flex; flex-direction: column; gap: 10px; }
.course-card .btn { align-self: flex-start; margin-top: auto; }
.ds-swatch { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ds-swatch__color { height: 70px; }
.ds-swatch__label { padding: 10px; font-size: .85rem; }
.ds-demo { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.ds-stack { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
