:root {
  --cream: #fbf8f2;
  --paper: #ffffff;
  --terracotta: #e67a5f;
  --terracotta-dark: #c65f49;
  --peach: #fff0e8;
  --sage: #83b9a2;
  --sage-pale: #e9f3ee;
  --sage-dark: #356b57;
  --charcoal: #303044;
  --muted: #676979;
  --line: #e9e1d7;
  --amber: #f4bd64;
  --shadow: 0 22px 70px rgba(48, 48, 68, .1);
  --radius: 30px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--charcoal); }
body, button, a { font: inherit; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; border-radius: 12px; background: var(--charcoal); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 10; display: flex; width: min(1180px, calc(100% - 40px)); min-height: 84px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: -.03em; }
.brand img { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 8px 25px rgba(230, 122, 95, .2); }
.site-header nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: .92rem; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--terracotta-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-button { display: grid; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 14px; place-items: center; background: white; color: var(--charcoal); font-size: .76rem; font-weight: 950; cursor: pointer; }
.language-button:hover, .language-button:focus-visible { border-color: rgba(230, 122, 95, .5); color: var(--terracotta-dark); }

.button { display: inline-flex; min-height: 54px; padding: 0 25px; border: 0; border-radius: 18px; align-items: center; justify-content: center; background: var(--terracotta); box-shadow: 0 12px 28px rgba(230, 122, 95, .22); color: white; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { background: var(--terracotta-dark); box-shadow: 0 15px 36px rgba(198, 95, 73, .27); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 0 19px; border-radius: 15px; font-size: .88rem; }
.button-secondary { border: 1px solid var(--line); background: white; box-shadow: none; color: var(--charcoal); }
.button-secondary:hover, .button-secondary:focus-visible { background: #f5f1eb; color: var(--charcoal); }
.button-light { background: white; box-shadow: none; color: var(--charcoal); }
.button-light:hover, .button-light:focus-visible { background: var(--peach); color: var(--charcoal); }
.button-centred { width: fit-content; margin: 32px auto 0; }

.hero { position: relative; display: grid; width: min(1180px, calc(100% - 40px)); min-height: 700px; margin: 24px auto 70px; grid-template-columns: minmax(0, .94fr) minmax(360px, .7fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.hero::before { position: absolute; z-index: -1; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 122, 95, .13), transparent 66%); content: ""; inset: -120px auto auto -240px; }
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 15px; color: var(--terracotta-dark); font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3.2rem, 6.3vw, 6rem); line-height: .96; letter-spacing: -.065em; }
h1 em { display: block; color: var(--terracotta); font-style: normal; }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.3rem); line-height: 1.6; }
.hero-actions { display: flex; margin-top: 32px; align-items: center; gap: 23px; }
.text-link { color: var(--charcoal); font-weight: 850; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 6px; color: var(--terracotta); }
.trust-list { display: flex; margin: 28px 0 0; padding: 0; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .78rem; font-weight: 700; list-style: none; }
.trust-list li { position: relative; padding-left: 19px; }
.trust-list li::before { position: absolute; left: 0; color: var(--sage-dark); content: "✓"; font-weight: 950; }

.demo-shell { position: relative; width: min(100%, 430px); padding: 15px; justify-self: end; border: 1px solid rgba(230, 122, 95, .2); border-radius: 42px; background: rgba(255, 255, 255, .88); box-shadow: var(--shadow); backdrop-filter: blur(15px); }
.demo-shell::before, .demo-shell::after { position: absolute; z-index: -1; border-radius: 50%; content: ""; filter: blur(1px); }
.demo-shell::before { width: 140px; height: 140px; top: -38px; right: -50px; background: rgba(131, 185, 162, .23); }
.demo-shell::after { width: 120px; height: 120px; bottom: -38px; left: -44px; background: rgba(244, 189, 100, .18); }
.demo-label { display: flex; min-height: 34px; padding: 0 10px 10px; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; font-weight: 850; }
.demo-label span { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px rgba(131, 185, 162, .14); }
.demo-shell video { width: 100%; max-height: 620px; border-radius: 30px; background: #f5f2ed; object-fit: contain; }
.demo-shell video::cue { padding: 4px 8px; background: rgba(48,48,68,.88); color: white; font: 800 15px/1.4 system-ui, sans-serif; }
.demo-control { position: absolute; right: 29px; bottom: 28px; min-height: 38px; padding: 0 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 13px; background: rgba(48,48,68,.82); color: white; font-size: .72rem; font-weight: 850; cursor: pointer; backdrop-filter: blur(8px); }

.steps { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 105px; }
.section-heading { max-width: 720px; margin: 0 auto 45px; text-align: center; }
.section-heading h2, .final-cta h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -.05em; }
.section-heading > p:last-child { margin: 20px auto 0; color: var(--muted); line-height: 1.65; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-grid article { min-height: 265px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 38px rgba(48,48,68,.05); }
.step-grid article > span { display: inline-grid; width: 48px; height: 48px; border-radius: 16px; place-items: center; background: var(--peach); color: var(--terracotta-dark); font-size: .72rem; font-weight: 950; }
.step-grid article:nth-child(2) > span { background: var(--sage-pale); color: var(--sage-dark); }
.step-grid article:nth-child(3) > span { background: #fff5dc; color: #805000; }
.step-grid h3 { margin: 25px 0 11px; font-size: 1.35rem; letter-spacing: -.025em; }
.step-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.62; }

.inside { padding: 105px max(20px, calc((100vw - 1180px) / 2)); background: var(--charcoal); color: white; }
.section-heading-light .eyebrow { color: #ffad98; }
.section-heading-light { max-width: 830px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { display: grid; min-height: 390px; padding: 32px; grid-template-columns: minmax(0, 1.08fr) minmax(180px, .92fr); gap: 24px; align-items: end; overflow: hidden; border-radius: 34px; background: #3a3a50; }
.feature > div { align-self: center; }
.feature-kicker { display: inline-block; margin-bottom: 14px; color: #ffb7a5; font-size: .72rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.feature h3 { margin: 0; font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.04; letter-spacing: -.045em; }
.feature p { margin: 16px 0 0; color: #d2d2da; font-size: .9rem; line-height: 1.58; }
.feature img { width: 100%; height: 260px; border-radius: 26px; object-fit: cover; }
.feature-academy { background: #315b50; }
.feature-academy .feature-kicker { color: #aee0cd; }
.feature-profile { background: #765642; }
.feature-photo { background: #4d4665; }
.feature-photo img { object-position: center 25%; }

.final-cta { display: grid; width: min(1180px, calc(100% - 40px)); min-height: 420px; margin: 0 auto 90px; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); overflow: hidden; border-radius: 42px; background: var(--terracotta); color: white; }
.final-cta img { width: 100%; height: 100%; object-fit: cover; }
.final-cta > div { display: flex; padding: clamp(40px, 7vw, 80px); flex-direction: column; align-items: flex-start; justify-content: center; }
.final-cta .eyebrow { color: #ffe2d9; }
.final-cta .button { margin-top: 30px; }

footer { display: grid; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 45px; grid-template-columns: 1fr auto; gap: 20px; align-items: center; color: var(--muted); font-size: .78rem; }
footer .brand { color: var(--charcoal); font-size: .95rem; }
footer .brand img { width: 38px; height: 38px; }
footer > div { display: flex; flex-wrap: wrap; gap: 18px; }
footer > div a, footer > div button { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
footer p { margin: 0; grid-column: 1 / -1; }

.consent-banner { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: grid; width: min(680px, calc(100% - 44px)); padding: 24px; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.97); box-shadow: 0 25px 85px rgba(48,48,68,.2); backdrop-filter: blur(18px); }
.consent-banner[hidden] { display: none; }
.consent-banner h2 { margin: 0; font-size: 1.1rem; }
.consent-banner p { margin: 9px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.48; }
.consent-actions { display: flex; gap: 9px; }
.consent-actions .button { min-height: 44px; padding: 0 17px; border-radius: 14px; font-size: .75rem; white-space: nowrap; }
.noscript { position: fixed; z-index: 60; right: 20px; bottom: 20px; max-width: 420px; padding: 15px; border-radius: 15px; background: var(--charcoal); color: white; font-size: .8rem; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; margin-top: 38px; grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 740px; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .demo-shell { justify-self: center; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article { min-height: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr 1.25fr; }
}

@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 72px; }
  .site-header .brand span { font-size: .9rem; }
  .site-header .brand img { width: 39px; height: 39px; }
  .site-header .button { min-height: 41px; padding: 0 15px; font-size: .77rem; }
  .header-actions { gap: 7px; }
  .language-button { width: 38px; height: 38px; border-radius: 12px; font-size: .7rem; }
  .hero { width: min(100% - 28px, 1180px); margin-top: 24px; margin-bottom: 35px; gap: 36px; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.3rem); }
  .hero-lead { margin-top: 21px; font-size: 1rem; }
  .hero-actions { display: grid; margin-top: 25px; gap: 15px; }
  .hero-actions .button { min-width: 210px; }
  .trust-list { display: grid; justify-content: start; width: fit-content; margin-inline: auto; text-align: left; }
  .demo-shell { width: min(100%, 390px); padding: 10px; border-radius: 32px; }
  .demo-shell video { max-height: 530px; border-radius: 24px; }
  .demo-control { right: 22px; bottom: 21px; }
  .steps { width: min(100% - 28px, 1180px); padding: 70px 0 80px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .final-cta h2 { font-size: 2.4rem; }
  .step-grid article { padding: 25px; border-radius: 25px; }
  .inside { padding: 80px 14px; }
  .feature { min-height: 0; padding: 24px; grid-template-columns: 1fr; border-radius: 27px; }
  .feature img { height: 250px; order: -1; }
  .final-cta { width: min(100% - 28px, 1180px); margin-bottom: 65px; grid-template-columns: 1fr; border-radius: 30px; }
  .final-cta img { height: 250px; }
  .final-cta > div { padding: 35px 26px 40px; }
  footer { width: min(100% - 28px, 1180px); grid-template-columns: 1fr; }
  footer > div { gap: 13px 17px; }
  .consent-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; grid-template-columns: 1fr; border-radius: 20px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

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