:root {
  --bg: #f7f4ee;
  --surface: #efe8dc;
  --surface-2: #fbf9f5;
  --surface-3: #f4efe5;
  --text: #182128;
  --muted: #5a666d;
  --line: rgba(24, 33, 40, 0.12);
  --primary: #6fc9cc;
  --primary-dark: #58b7bb;
  --accent: #8a6a42;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(12, 18, 22, 0.08);
  --shadow-soft: 0 12px 28px rgba(12, 18, 22, 0.07);
  --shadow-strong: 0 26px 52px rgba(12, 18, 22, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1120px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.06rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

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

.section {
  padding: clamp(5rem, 8.3vw, 6.9rem) 0;
}

.surface {
  background: var(--surface-3);
}

.reading-block {
  width: min(100%, 890px);
  margin: 0 auto;
  display: grid;
  gap: 0.95rem;
}

.reading-block p {
  max-width: 66ch;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 238, 0.86);
  border-bottom: 1px solid rgba(24, 33, 40, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: block;
  object-fit: contain;
}

.brand-text {
  font-size: 1rem;
}

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

.site-nav a {
  color: var(--muted);
  transition: color var(--transition);
}

.site-nav a.btn-primary {
  color: var(--white);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto 4px;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero {
  padding-top: 7rem;
  padding-bottom: 3.8rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.9rem;
}

.hero h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  margin: 0 0 1.25rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  margin: 0 0 0.95rem;
}

h3 {
  font-size: 1.22rem;
  margin: 0 0 0.75rem;
}

.section p,
.card p,
.step p,
.programme-teaser p,
.contact-card p,
.feature-list li {
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition),
    border-color var(--transition);
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

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

.btn-secondary:hover,
.btn-outline:hover,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  background: var(--white);
}

.btn-sm {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  display: block;
  filter: contrast(1.08) saturate(1.04);
}

.hero-window-dot {
  transition: fill var(--transition);
}

.hero-illustration:hover .hero-window-dot-close {
  fill: #ff5f57;
}

.hero-illustration:hover .hero-window-dot-min {
  fill: #febc2e;
}

.hero-illustration:hover .hero-window-dot-max {
  fill: #28c840;
}

.feature-list {
  padding-left: 1.15rem;
}

.trust-strip {
  padding-top: 0.1rem;
  padding-bottom: 3.35rem;
}

.trust-grid {
  background: var(--white);
  border: 1px solid rgba(24, 33, 40, 0.09);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin-top: -0.85rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.8rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.trust-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.85;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards-3 {
  margin-top: 2rem;
}

.card,
.step,
.contact-card {
  background: var(--white);
  border: 1px solid rgba(24, 33, 40, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 1.5rem;
}

.guiding-principles {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 33, 40, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.guiding-title {
  margin: 0 0 0.9rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.guiding-grid {
  display: grid;
  gap: 0.8rem;
}

.guiding-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(251, 249, 245, 0.72);
  border: 1px solid rgba(24, 33, 40, 0.08);
}

.guiding-icon {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  margin-top: 0;
  align-self: center;
  opacity: 0.82;
}

.guiding-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.guiding-item p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.step {
  padding: 1.4rem;
}

.step-number {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
}

.programme-teaser {
  padding: 2rem;
  display: grid;
  gap: 0;
  align-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(239, 232, 220, 0.92));
  border: 1px solid rgba(138, 106, 66, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.programme-featured {
  position: relative;
  overflow: hidden;
}

.programme-featured::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--accent), rgba(138, 106, 66, 0.4));
}

.programme-layout {
  display: grid;
  gap: 1.5rem;
}

.programme-main,
.programme-includes {
  min-width: 0;
}

.programme-includes {
  position: relative;
  padding-left: 1.6rem;
}

.programme-includes h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.programme-includes .feature-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.programme-includes .feature-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.45;
}

.programme-includes .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 14px;
  height: 14px;
  background: url("assets/tick.svg") no-repeat center / contain;
}

.teaser-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.cta-section {
  padding-top: clamp(4.4rem, 7vw, 5.6rem);
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.65rem;
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

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

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(24, 33, 40, 0.2);
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 120, 102, 0.15);
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(24, 33, 40, 0.07);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-wrap p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-brand-copy p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .programme-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .programme-includes {
    padding-top: 6rem;
  }

  .programme-includes::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5.6rem;
    bottom: 0.15rem;
    width: 1px;
    background: rgba(24, 33, 40, 0.12);
  }

  .footer-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .reading-block {
    padding: 0 0.4rem;
  }
}

@media (max-width: 759px) {
  .programme-includes {
    border-top: 1px solid rgba(24, 33, 40, 0.12);
    padding-left: 0;
    padding-top: 1.25rem;
  }

  .programme-includes::before {
    content: none;
  }
}

@media (max-width: 839px) {
  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(24, 33, 40, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.35rem 0;
  }
}
