/* FreeMe Masterclass: "How fast can you bring 2?" After-dark FreeMe: near-black green, marker yellow, mint for go.
   Boarding pass sign-up, a 10-stop route you set the pace for, a golden ticket for the free trip drawing. */
:root {
  color-scheme: dark;
  --night: #08130f;
  --night-2: #0f2019;
  --night-3: #16302a;
  --line: rgba(255, 255, 255, .14);
  --ink: #10201a;
  --text: #f4f7f5;
  --soft: rgba(244, 247, 245, .74);
  --mark: #ffd84a;
  --go: #3ddc84;
  --green: #0b6b48;
  --paper: #fffdf5;
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.6; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--mark); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(46px, 7.4vw, 96px); }
h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-weight: 800; font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
mark { background: none; color: var(--mark); }
.lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--soft); max-width: 58ch; }
.fine { font-size: 14px; color: var(--soft); max-width: 72ch; }
.kicker { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--go); margin-bottom: 14px; }
.kicker--ink { color: var(--ink); opacity: .7; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--go); color: #062a1a; font-family: var(--font-head); font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15.5px; }
.btn--mark { background: var(--mark); color: var(--ink); box-shadow: 0 10px 30px rgba(255, 216, 74, .25); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--mark); color: var(--mark); }

.band { background: var(--mark); color: var(--ink); font-size: 14.5px; line-height: 1.4; text-align: center; padding: 9px 16px; font-weight: 600; }
.band b { font-family: var(--font-head); font-weight: 800; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #0b6b48; margin-right: 8px; vertical-align: 1px; animation: blip 2s infinite; }
@keyframes blip { 50% { opacity: .25; } }

.top { position: sticky; top: 0; z-index: 5; background: rgba(8, 19, 15, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.logo { display: block; width: 140px; }
.logo svg { display: block; width: 100%; height: auto; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 100px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 220, 132, .18), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero__copy { display: grid; gap: 22px; }
.two { display: inline-grid; place-items: center; width: 1.12em; height: 1.12em; border-radius: 50%; background: var(--mark); color: var(--ink); line-height: 1; vertical-align: -0.08em; transform: rotate(-6deg); box-shadow: 0 0 0 8px rgba(255, 216, 74, .18); }
.hero__ticks { display: grid; gap: 10px; }
.hero__ticks li { position: relative; padding-left: 34px; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.hero__ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23062a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* boarding pass */
.pass { display: grid; grid-template-columns: 1fr; background: var(--paper); color: var(--ink); border-radius: 26px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); transform: rotate(1.2deg); scroll-margin-top: 90px; }
@media (min-width: 560px) { .pass { grid-template-columns: 1fr 112px; } }
.pass__main { padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.pass__top { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.pass__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px dashed rgba(16, 32, 26, .18); }
.pass__route small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(16, 32, 26, .55); font-weight: 700; }
.pass__route b { display: block; font-family: var(--font-head); font-weight: 900; font-size: 38px; letter-spacing: -0.03em; line-height: 1; }
.pass__route span { font-size: 13px; color: rgba(16, 32, 26, .6); }
.pass__route .r { text-align: right; }
.pass__plane { width: 34px; height: 34px; color: var(--green); transform: rotate(90deg); }
.pass__form { display: grid; gap: 12px; }
.f2 { display: grid; gap: 12px; }
@media (min-width: 440px) { .f2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 4px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; letter-spacing: .02em; }
.field input { min-height: 50px; padding: 10px 14px; border: 2px solid rgba(16, 32, 26, .16); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--green); outline: 0; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--green); }
.err { font-size: 14px; font-weight: 600; color: #b3261e; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.pass__fine { font-size: 13.5px; color: rgba(16, 32, 26, .65); line-height: 1.45; }
.pass__fine a { color: var(--green); }
.pass__done { display: grid; gap: 12px; }
.pass__done[hidden], .pass__form[hidden] { display: none; }
.pass__hi { font-family: var(--font-head); font-weight: 900; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.pass__note { font-size: 14px; color: rgba(16, 32, 26, .7); }
.pass__note a { color: var(--green); font-weight: 700; }
.pass__stub { display: none; position: relative; border-left: 2px dashed rgba(16, 32, 26, .2); padding: 26px 14px; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; background: var(--mark); border-radius: 0 26px 26px 0; }
@media (min-width: 560px) { .pass__stub { display: flex; } }
.pass__stub::before, .pass__stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); }
.pass__stub::before { top: -12px; } .pass__stub::after { bottom: -12px; }
.pass__stub small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; opacity: .65; }
.pass__stub b { font-family: var(--font-head); font-weight: 900; font-size: 26px; line-height: 1.05; }

/* watch */
.watch { padding-bottom: 40px; }
.watch[hidden] { display: none; }
.watch__frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.watch__frame video { width: 100%; height: 100%; display: block; }

/* sections */
.sec { padding-block: clamp(60px, 8vw, 110px); }
.sec h2 { margin-bottom: 18px; }
.chapters { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .chapters { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .chapters { grid-template-columns: repeat(4, 1fr); } }
.chapters li { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; transition: transform .2s, border-color .2s; }
.chapters li:hover { transform: translateY(-4px); border-color: rgba(255, 216, 74, .5); }
.chapters__n { font-family: var(--font-head); font-weight: 900; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--mark); }
.chapters p { color: var(--soft); font-size: 16.5px; }

/* route */
.sec--route { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); border-block: 1px solid var(--line); }
.controls { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 30px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--night-3); border: 1px solid var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: 15.5px; color: var(--soft); white-space: nowrap; }
.seg small { font-weight: 600; font-size: 12.5px; opacity: .8; }
.seg input:checked + span { background: var(--mark); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.route { position: relative; display: grid; gap: 10px; margin-top: 34px; counter-reset: stop; }
@media (min-width: 900px) { .route { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.stop { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; background: var(--night-3); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; opacity: .35; transform: translateY(6px); transition: opacity .35s, transform .35s, border-color .35s; }
.stop.on { opacity: 1; transform: none; border-color: rgba(61, 220, 132, .45); }
.stop:last-child.on { border-color: var(--mark); box-shadow: 0 0 0 1px var(--mark), 0 12px 40px rgba(255, 216, 74, .18); }
@media (min-width: 900px) { .stop { grid-template-columns: 1fr; text-align: left; padding: 16px 18px; } }
.stop__when { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--go); }
.stop__ppl { font-family: var(--font-head); font-weight: 900; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stop__ppl small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; letter-spacing: 0; color: var(--soft); }
.stop__usd { font-weight: 700; color: var(--mark); font-size: 15.5px; font-variant-numeric: tabular-nums; }
.arrive { margin-top: 30px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--mark); color: var(--ink); display: grid; gap: 8px; }
.arrive__k { font-family: var(--font-head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.arrive__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.arrive__big b { font-weight: 900; font-variant-numeric: tabular-nums; }
.arrive .fine { color: rgba(16, 32, 26, .75); }

/* drawing */
.draw { background: var(--mark); color: var(--ink); padding-block: clamp(60px, 8vw, 110px); }
.draw__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .draw__in { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.draw h2 { color: var(--ink); margin-bottom: 18px; }
.hl { background: var(--ink); color: var(--mark); padding: 0 10px; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.draw__p { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; }
.draw__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.draw__rules { color: var(--ink); font-weight: 700; }
.draw__fine { font-size: 14px; margin-top: 12px; opacity: .75; }
.ticket { background: var(--ink); color: #fff; border-radius: 24px; padding: 30px 28px; display: grid; gap: 6px; transform: rotate(-2.5deg); box-shadow: 0 30px 70px rgba(16, 32, 26, .35); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--mark); }
.ticket::before { left: -15px; } .ticket::after { right: -15px; }
.ticket__k { font-family: var(--font-head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--go); }
.ticket__v { font-family: var(--font-head); font-weight: 900; font-size: clamp(64px, 8vw, 96px); line-height: .95; letter-spacing: -0.04em; color: var(--mark); }
.ticket__s { font-family: var(--font-head); font-weight: 700; color: rgba(255, 255, 255, .8); margin-bottom: 12px; }
.ticket__row { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .25); font-weight: 600; }
.ticket__row b { font-family: var(--font-head); color: var(--mark); }

/* invite */
.invite { display: grid; gap: 30px; align-items: center; }
@media (min-width: 940px) { .invite { grid-template-columns: 1fr 1fr; gap: 56px; } }
.share { background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 32px); }
.share__locked { color: var(--soft); font-weight: 600; }
.share__open[hidden], .share__locked[hidden] { display: none; }
.share__open { display: grid; gap: 16px; }
.share__link { font-family: var(--font-head); font-weight: 700; padding: 14px 16px; border-radius: 12px; background: var(--night-3); color: var(--mark); overflow-wrap: anywhere; }
.share__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* faq */
.sec--faq { border-top: 1px solid var(--line); }
.faq { display: grid; gap: 26px; }
@media (min-width: 900px) { .faq { grid-template-columns: .6fr 1.4fr; gap: 56px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--mark); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; color: var(--soft); max-width: 62ch; }

.foot { border-top: 1px solid var(--line); padding-block: 40px; font-size: 14px; color: var(--soft); }
.foot__in { display: grid; gap: 16px; }
.foot .logo { width: 120px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-head); font-weight: 600; }
.foot a { color: #fff; text-decoration: none; }
.foot p { max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .stop, .chapters li, .btn { transition: none; }
}
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .controls { display: grid; }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seg span { text-align: center; padding: 9px 6px; }
  .seg small { display: block; }
}
.hl { white-space: nowrap; }
.big { color: var(--mark); white-space: nowrap; }
.hero h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.06; }
.hero__math { font-size: 16px; color: var(--soft); max-width: 56ch; padding-left: 16px; border-left: 3px solid var(--mark); }
.hero__math a { color: var(--mark); font-weight: 700; }
.lede b { color: #fff; }
/* Rick's edits, 2026-11-19 PM */
.pass__route b { font-size: clamp(26px, 3vw, 34px); }
@media (min-width: 1000px) { .chapters { grid-template-columns: repeat(6, 1fr); } .chapters li { grid-column: span 2; } .chapters li:nth-child(4) { grid-column: 2 / span 2; } }
@media (min-width: 760px) and (max-width: 999px) { .chapters li:last-child { grid-column: 1 / -1; } }
.sec--tight { padding-top: 0; }
.nb { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 700px) { .nb { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .nb { grid-template-columns: repeat(3, 1fr); } }
.nb li { position: relative; display: grid; gap: 2px; padding: 18px 20px 18px 58px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line); }
.nb li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23062a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.nb b { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.nb span { color: var(--soft); font-size: 16px; }
.ripples { margin-top: 26px; }
.ripples > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 800; color: var(--mark); padding: 10px 18px; border-radius: 999px; border: 1px dashed rgba(255, 216, 74, .5); }
.ripples > summary::-webkit-details-marker { display: none; }
.ripples > summary::after { content: "+"; font-size: 22px; line-height: 1; }
.ripples[open] > summary::after { content: "\2212"; }
.ripples .route { margin-top: 18px; }
.logo { color: #fff; }
.pace-note { margin-top: 16px; font-size: 17px; color: var(--soft); min-height: 1.6em; }
.pace-note b { color: #fff; font-family: var(--font-head); }
@media (max-width: 600px) { .seg:not(.seg--plan) { grid-template-columns: repeat(4, 1fr); } }
/* conversion pass, 2026-11-19 evening */
.hero__what { font-size: 17px; color: #fff; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .35); border-radius: 14px; padding: 12px 16px; max-width: 58ch; }
.hero__what b { color: var(--go); font-family: var(--font-head); }
.founder { border-block: 1px solid var(--line); background: var(--night-2); padding-block: 34px; }
.founder__in { display: grid; gap: 20px; align-items: center; grid-template-columns: 96px 1fr; }
@media (min-width: 760px) { .founder__in { grid-template-columns: 140px 1fr; gap: 32px; } }
.founder__img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--mark); }
.founder__q { font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 1.9vw, 23px); line-height: 1.4; letter-spacing: -0.01em; }
.founder__who { margin-top: 10px; color: var(--soft); font-size: 15.5px; }
.founder__who b { color: #fff; }
.founder__trailer { display: inline-block; margin-top: 8px; font-family: var(--font-head); font-weight: 800; }
.again { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 34px; }
.again span { color: var(--soft); font-size: 15px; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 19, 15, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .dock { display: none !important; } }
/* masterclass3, 4, 5 (2026-11-19 night) */
.friend { display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 216, 74, .14); border: 1px solid rgba(255, 216, 74, .45); color: #fff; font-weight: 600; font-size: 16px; }
.friend b { color: var(--mark); font-family: var(--font-head); }
.friend__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--go); animation: blip 2s infinite; }
.hero__ticks--big li { font-size: clamp(18px, 1.7vw, 21px); padding-left: 38px; }
.hero__ticks--big li::before { top: 5px; width: 24px; height: 24px; }
/* masterclass4: less is more. Light, one screen, headline + bullets + form. */
body.light { background: #fffdf5; color: var(--ink); color-scheme: light; }
.m4 { min-height: calc(100vh - 120px); }
.m4__wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.m4__top { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; }
.logo--ink { color: var(--ink); }
.m4__free { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: #e3f4ea; padding: 6px 12px; border-radius: 999px; }
.m4__grid { display: grid; gap: 34px; align-items: center; padding-block: clamp(20px, 5vw, 64px) 56px; }
@media (min-width: 940px) { .m4__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.m4__copy { display: grid; gap: 24px; }
.m4__friend { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 6px 18px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 6px 24px rgba(16, 32, 26, .1); font-size: 17px; }
.m4__friend b { font-family: var(--font-head); }
.m4__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mark); font-family: var(--font-head); font-weight: 900; font-size: 18px; }
.m4 h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.06; color: var(--ink); }
.m4 h1 mark { background: linear-gradient(transparent 60%, var(--mark) 60%, var(--mark) 92%, transparent 92%); color: inherit; padding-inline: 4px; }
.m4__ticks { display: grid; gap: 12px; }
.m4__ticks li { position: relative; padding-left: 38px; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; }
.m4__ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.m4__host { display: flex; gap: 14px; align-items: center; color: rgba(16, 32, 26, .75); font-size: 16px; }
.m4__host img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px var(--mark); flex: none; }
.m4__host b { color: var(--ink); }
.m4__card { background: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px rgba(16, 32, 26, .14), 0 0 0 1px rgba(16, 32, 26, .06); scroll-margin-top: 20px; }
.m4__card-h { font-family: var(--font-head); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 4px; }
.m4__fine { text-align: center; font-size: 14px; color: rgba(16, 32, 26, .65); }
.m4__card .pass__done { gap: 12px; }
.m4__share { display: grid; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px dashed rgba(16, 32, 26, .2); }
.m4__share-h { font-family: var(--font-head); font-weight: 800; }
.m4 .share__link { background: #f3f6f4; color: var(--green); }
.m4 .chip { color: var(--ink); border-color: rgba(16, 32, 26, .2); }
.m4 .watch__frame { margin-bottom: 40px; }
.m4__foot { padding-block: 26px 34px; border-top: 1px solid rgba(16, 32, 26, .1); font-size: 13.5px; color: rgba(16, 32, 26, .65); }
.m4__foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; font-family: var(--font-head); font-weight: 600; }
.m4__foot a { color: var(--ink); text-decoration: none; }
.m4__foot p { max-width: 90ch; }
/* masterclass5: plan your dream vacation in 3 taps, on a departures board */
.m5__tag { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--mark); padding: 6px 12px; border-radius: 999px; }
.m5 { padding-block: clamp(32px, 5vw, 64px) 56px; background: radial-gradient(90% 60% at 80% 0%, rgba(61, 220, 132, .14), transparent), var(--night); }
.m5__in { display: grid; gap: 18px; max-width: 860px; }
.m5 h1 { font-size: clamp(38px, 5.4vw, 70px); }
.m5__sub { font-size: clamp(18px, 1.7vw, 21px); color: var(--soft); max-width: 50ch; }
.board { margin-top: 14px; border-radius: 26px; background: #050b09; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); overflow: hidden; scroll-margin-top: 90px; }
.board__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: #0d1a15; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--mark); }
.board__dots { display: flex; gap: 8px; }
.board__dots li { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); color: var(--soft); font-size: 12px; letter-spacing: 0; }
.board__dots li.on { background: var(--mark); color: var(--ink); border-color: var(--mark); }
.board__step { border: 0; margin: 0; padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.board__step legend, .m5__plan { font-family: var(--font-head); font-weight: 800; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.2; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.board__step legend + * { clear: both; }
.flights { display: grid; gap: 10px; }
.flight, .pace { position: relative; cursor: pointer; display: block; }
.flight input, .pace input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.flight__row { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #0f1d18; border: 1px solid var(--line); font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, transform .15s; }
@media (min-width: 640px) { .flight__row { grid-template-columns: 90px 1fr 90px auto; } }
.flight__no { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; color: var(--mark); letter-spacing: .06em; font-size: 15px; }
.flight__to { font-family: var(--font-head); font-weight: 800; font-size: clamp(17px, 1.8vw, 20px); }
.flight__t { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--soft); font-size: 14px; }
.flight__go { display: none; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #062a1a; background: var(--go); padding: 6px 12px; border-radius: 999px; }
@media (min-width: 640px) { .flight__go { display: inline-block; } }
.flight:hover .flight__row, .flight input:focus-visible + .flight__row { border-color: var(--mark); transform: translateX(3px); }
.flight input:checked + .flight__row { border-color: var(--mark); background: rgba(255, 216, 74, .08); }
.flight input:focus-visible + .flight__row, .pace input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.paces { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .paces { grid-template-columns: repeat(4, 1fr); } }
.pace span { display: grid; gap: 2px; padding: 18px 16px; border-radius: 14px; background: #0f1d18; border: 1px solid var(--line); text-align: center; transition: border-color .15s; }
.pace b { font-family: var(--font-head); font-weight: 900; font-size: 21px; }
.pace small { color: var(--soft); font-size: 14px; }
.pace:hover span, .pace input:checked + span { border-color: var(--mark); }
.board__back { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--soft); font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer; }
.board__back:hover { color: var(--mark); }
.m5__plan { float: none; }
.m5__plan span { color: var(--mark); }
.m5__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.03em; }
.m5__big b { color: var(--mark); font-weight: 900; }
.m5__how { color: var(--soft); font-size: 18px; }
.m5 .pass__form { background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(18px, 2.6vw, 24px); }
.m5 .pass__done { background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(18px, 2.6vw, 24px); }
.m5__fine { text-align: center; font-size: 14px; color: rgba(16, 32, 26, .65); }
.m5 .share__link { background: #f3f6f4; color: var(--green); }
.m5 .chip { color: var(--ink); border-color: rgba(16, 32, 26, .2); }
.m5__host { display: flex; gap: 14px; align-items: center; color: var(--soft); font-size: 16px; margin-top: 10px; }
.m5__host img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px var(--mark); flex: none; }
.m5__host b { color: #fff; }
.m4 h1 mark { white-space: nowrap; }
