:root {
  --bg: #f2f5f2;
  --white: #fff;
  --ink: #14211e;
  --muted: #4f5e5a;
  --lagoon: #0b6e66;
  --lagoon-dark: #074c46;
  --mist: #dde8e4;
  --line: #d5deda;
  --dash: #b9c8c3;
  --on-lagoon: #ddf0ec;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 "Figtree", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--lagoon-dark); }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; }
::selection { background: var(--lagoon); color: var(--white); }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 em, h2 em { color: var(--lagoon); }
h1 { font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.02em; }
h2 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; }
h2.big { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon); }
.label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--lagoon-dark); color: var(--bg); }
.btn.ghost { background: none; border: 1px solid currentColor; color: var(--ink); font-weight: 500; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 16px; font-weight: 500; }

.top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 24px; }
.brand { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); text-decoration: none; }
.brand em { color: var(--lagoon); }

section { padding-block: 112px; }
.white { background: var(--white); }
.split { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.split > :first-child { flex: 1 1 320px; }
.split > :last-child { flex: 2 1 560px; min-width: 0; }
.intro { display: flex; flex-wrap: wrap; gap: 24px 80px; align-items: flex-end; margin-bottom: 56px; }
.intro > * { flex: 1 1 380px; }

/* Home hero: the breathing pacer sits behind the headline. The script in index.html sets each step's duration and scale. */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 48px 72px; overflow: hidden; }
.pacer { position: relative; width: min(92vw, 640px); aspect-ratio: 1; display: grid; place-items: center; }
.orb { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #cde9e3 40%, #9fd3c8 75%, var(--bg) 100%); transform: scale(.85); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.pacer-text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-inline: 24px; }
.hero .lead { margin: 8px 0 28px; }
.patterns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.patterns button { display: grid; gap: 2px; min-height: 52px; padding: 10px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.patterns small { font-size: 13px; font-weight: 400; color: var(--muted); }
.patterns button:hover { border-color: var(--lagoon); }
.patterns button[aria-pressed="true"] { background: var(--lagoon); border-color: var(--lagoon); color: var(--white); }
.patterns button[aria-pressed="true"] small { color: var(--on-lagoon); }

/* Ways to practise: free first, then paid */
.ladder { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ladder li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.ladder h3 { font-size: 34px; line-height: 1.05; }
.ladder p:not(.label) { color: var(--muted); font-size: 16px; flex: 1; }
.ladder a { font-weight: 600; }
.change { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.change dt { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--lagoon); }

/* Ruled rows: research findings and the day-by-day week */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; padding-block: 32px; border-bottom: 1px solid var(--line); }
.rows .n { flex: 0 0 72px; font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--lagoon); }
.rows .day { flex: 0 0 96px; }
.rows h3 { flex: 1 1 340px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.rows .body { flex: 1 1 380px; min-width: 0; font-size: 17px; color: var(--muted); }
.rows .src { display: block; margin-top: 6px; font-size: 14px; }
.kicker { margin-top: 40px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; color: var(--lagoon); }

.teach { margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.teach dt { font-weight: 600; margin-bottom: 4px; }
.teach dd { margin: 0; color: var(--muted); font-size: 16px; }
.for { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }

.teacher { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.teacher > div { flex: 1 1 420px; min-width: 0; }
.arch { flex: 1 1 320px; max-width: 440px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 300px 300px 24px 24px; background: var(--mist); }
.teacher h2 { margin-bottom: 20px; }
.teacher .say { font-size: 20px; margin-bottom: 16px; }

/* Ticket: a row of facts with dashed tear lines */
.ticket { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0; border-radius: 24px; background: var(--bg); color: var(--ink); overflow: hidden; text-decoration: none; }
.ticket > div { padding: 28px; border-right: 1px dashed var(--dash); }
.ticket > div:last-child { border-right: 0; }
.ticket dd, .ticket .v { margin: 4px 0 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.ticket .go { background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
a.ticket:hover .go { background: var(--lagoon-dark); }
.ticket.float { position: relative; margin: -48px 24px 0; background: var(--white); box-shadow: 0 20px 48px -24px rgb(20 33 30 / .35); }

/* Lagoon band */
.band { background: var(--lagoon); color: var(--bg); }
.band a:not(.btn):not(.ticket) { color: var(--bg); }
.band .eyebrow { color: #cde9e3; }
.band h2 em { color: inherit; }
.band .lead { color: var(--on-lagoon); font-size: 19px; max-width: 36em; margin: 24px 0 48px; }
.band h2 { margin-bottom: 0; }
.band .btn { background: var(--bg); color: var(--ink); }
.band .btn:hover { background: var(--white); }
.band .btn.ghost { background: none; color: var(--bg); border-color: #cde9e3; }

.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin: 48px 0 56px; }
.pay > div { padding: 36px; border-radius: 24px; }
.pay .in { background: var(--bg); color: var(--ink); }
.pay .out { border: 1px solid #5fa9a0; }
.pay .out .label { color: #cde9e3; margin-bottom: 20px; }
.price { font-family: var(--serif); font-size: 72px; line-height: 1; margin: 4px 0 20px; }
.pay ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 17px; }
.pay .out p { margin-top: 20px; color: var(--on-lagoon); font-size: 16px; }
.reserve { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: 40px; border-top: 1px solid #3e8f86; }
.reserve > div { flex: 1 1 420px; min-width: 0; }
.reserve h3 { font-size: 36px; line-height: 1.1; margin-bottom: 12px; }
.reserve p { color: var(--on-lagoon); }
.reserve .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.reserve .terms { font-size: 15px; }
.reserve .terms strong { display: block; margin-bottom: 8px; color: var(--bg); }

/* Mexico page */
.page-head { padding-top: 56px; }
.page-head .back { margin-bottom: 20px; font-size: 16px; font-weight: 500; }
.page-head h1 { max-width: 12em; margin: 16px 0 28px; }
.page-head .row { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; margin-bottom: 48px; }
.page-head .lead { flex: 1 1 480px; }
.cover { width: 100%; height: clamp(260px, 38vw, 520px); object-fit: cover; object-position: 50% 60%; border-radius: 32px; background: #cde9e3; }
.tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.rhythm { list-style: none; margin: 40px 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rhythm li { padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.rhythm li.free { background: var(--mist); border-color: var(--mist); }
.rhythm b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--lagoon); }
.rhythm .free b { color: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px 56px; font-size: 17px; color: var(--muted); }
.cols strong { color: var(--ink); }

/* Safety */
.safety > :last-child { display: flex; flex-direction: column; gap: 20px; font-size: 16px; color: var(--muted); }
.warn { padding: 24px 28px; border-radius: 20px; background: #fcebdd; color: #5a2a12; font-weight: 600; font-size: 18px; }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-block: 40px 56px; font-size: 14px; color: var(--muted); }

@media (max-width: 600px) {
  section { padding-block: 72px; }
  .ticket.float { margin-inline: 0; }
  .ticket > div { border-right: 0; border-bottom: 1px dashed var(--dash); }
  .ticket > div:last-child { border-bottom: 0; }
  .price { font-size: 56px; }
}
