/* Skillmori — a long-form class page. Be Vietnam Pro on warm paper, forest green and one sunny yellow. */

:root {
	--bg: #fbf6ec;
	--surface: #f3ead8;
	--card: #ffffff;
	--ink: #13201a;
	--muted: #56605a;
	--line: rgba(19, 32, 26, 0.14);
	--brand: #1d6b45;
	--brand-deep: #0f2a1d;
	--accent: #ffc93c;
	--accent-ink: #13201a;
	--on-dark: #fbf6ec;
	--on-dark-muted: #b9c6bd;
	--error: #b3261e;

	--step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--step-body: clamp(1rem, 0.97rem + 0.2vw, 1.125rem);
	--step-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
	--step-head: clamp(2rem, 1.35rem + 3vw, 3.5rem);
	--step-hero: clamp(2.75rem, 1.6rem + 5.6vw, 6rem);

	--m: clamp(16px, 4vw, 48px);
	--wide: 1180px;
	--section: clamp(72px, 10vw, 136px);
	--radius: 18px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow: 0 1px 2px rgba(19, 32, 26, 0.06), 0 12px 32px -12px rgba(19, 32, 26, 0.22);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 var(--step-body) / 1.6 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
mark { background: var(--accent); color: var(--accent-ink); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 60; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Type ---------- */

.head { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; text-transform: uppercase; }
.eyebrow { margin: 0 0 14px; font-size: var(--step-small); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.small-head { margin: 0 0 14px; font-size: var(--step-small); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sec__lead { max-width: 46ch; margin: 18px 0 0; font-size: var(--step-lead); color: var(--muted); }
.pill {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px;
	background: var(--brand); color: var(--on-dark); border-radius: 999px;
	font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Controls ---------- */

/* WooCommerce styles a.button and button.button on its pages; match its selectors so ours win. */
.button, .woocommerce a.button, .woocommerce button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 52px; padding: 0 26px;
	background: var(--accent); color: var(--accent-ink);
	font: 800 var(--step-body) / 1 "Be Vietnam Pro", sans-serif; letter-spacing: 0.01em; text-transform: uppercase;
	border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand); color: var(--on-dark); }
.button:active { transform: translateY(1px) scale(0.99); }
.button.button--wide { width: 100%; min-height: 58px; }
.button.button--small { min-height: 42px; padding: 0 18px; font-size: var(--step-small); }

.field { margin: 0 0 14px; }
.field label { display: block; margin-bottom: 6px; font-size: var(--step-small); font-weight: 700; }
.field input, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px;
	font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field input::placeholder { color: #8b928d; }
.field input:focus { outline: none; border-color: var(--brand); background: #fff; }
.field.is-wrong input { border-color: var(--error); }
.field__error { display: block; margin-top: 6px; font-size: var(--step-small); color: var(--error); }

.note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fde8e6; color: #7a1a14; font-size: var(--step-small); font-weight: 600; }
.note--ok { background: #e1f2e8; color: #0f4a2d; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; list-style: none; }
.chips li { padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2313201a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Logo and bar ---------- */

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__word { font-weight: 900; font-size: 1.375rem; letter-spacing: -0.04em; }
.logo--big .logo__mark { width: 52px; height: 52px; }
.logo--big .logo__word { font-size: 2.25rem; }
.logo--mark .logo__word { display: none; }
.logo--mark .logo__mark { width: 96px; height: 96px; }

.bar {
	position: sticky; top: 0; z-index: 40;
	display: flex; align-items: center; gap: 24px;
	padding: 12px var(--m);
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
}
.bar__home { text-decoration: none; margin-right: auto; }
.bar__nav { display: flex; gap: 24px; font-size: var(--step-small); font-weight: 600; }
.bar__nav a { text-decoration: none; }
.bar__nav a:hover { color: var(--brand); }
@media (max-width: 860px) { .bar__nav { display: none; } }

/* ---------- Home: the top ---------- */

.top { padding: clamp(32px, 6vw, 72px) var(--m) 0; background:
	radial-gradient(60% 50% at 85% 10%, rgba(255, 201, 60, 0.35), transparent 70%),
	radial-gradient(50% 60% at 0% 100%, rgba(29, 107, 69, 0.14), transparent 70%); }
.top__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 440px); gap: clamp(32px, 5vw, 72px); align-items: start; max-width: var(--wide); margin: 0 auto; }
.top__title { display: grid; gap: 4px; font-size: var(--step-hero); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; text-transform: uppercase; }
.top__title mark { justify-self: start; padding: 0.04em 0.16em 0.1em; margin-left: -0.08em; border-radius: 0.12em; transform: rotate(-1.5deg); }
.top__title-small { margin-top: 14px; font-size: 0.34em; letter-spacing: -0.01em; line-height: 1.15; color: var(--brand); }
.top__lead { max-width: 40ch; margin: 28px 0 0; font-size: var(--step-lead); color: var(--muted); }
.top__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; list-style: none; color: var(--muted); }
.top__facts strong { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.top__form { position: sticky; top: 88px; }

.card-form { padding: clamp(22px, 3vw, 32px); background: var(--card); color: var(--ink);border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--brand); }
.card-form__title { margin: 0 0 4px; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.card-form__lead { margin: 0 0 20px; font-size: var(--step-small); color: var(--muted); }
.card-form__ticks { display: grid; gap: 8px; margin-top: 18px; list-style: none; font-size: var(--step-small); color: var(--muted); }
.card-form__ticks li { position: relative; padding-left: 22px; }
.card-form__ticks li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: var(--brand); }

.sched {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
	max-width: var(--wide); margin: clamp(40px, 6vw, 72px) auto 0; list-style: none;
	background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.sched li { display: grid; gap: 4px; padding: 20px 24px; background: var(--card); }
.sched__when { font-size: var(--step-small); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.sched__what { font-weight: 700; }
.sched__time { background: var(--accent) !important; }
.sched__time .sched__when { color: var(--accent-ink); }

@media (max-width: 900px) {
	.top__inner { grid-template-columns: 1fr; }
	.top__form { position: static; }
	.sched { grid-template-columns: 1fr; }
}

/* Photos and videos the team uploads: never stretched, always rounded. */
.top__photo { margin: 36px 0 0; }
.top__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.video { position: relative; margin: 40px 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--story { margin: 0 0 18px; aspect-ratio: 9 / 16; max-height: 520px; }
.course__video { margin: 32px 0; }

/* ---------- Sections ---------- */

.sec { max-width: calc(var(--wide) + 2 * var(--m)); margin: 0 auto; padding: var(--section) var(--m); }
.sec--soft, .sec--dark { max-width: none; padding-inline: max(var(--m), calc((100% - var(--wide)) / 2)); }
.sec--soft { background: var(--surface); }
.sec--dark { background: var(--brand-deep); color: var(--on-dark); }
.sec--dark .eyebrow { color: var(--accent); }
.sec--dark .sec__lead { color: var(--on-dark-muted); }
.sec__cta { margin: 48px 0 0; }

.sessions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.session { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.session__head { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.session__no { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.session__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.session__head p:last-child { margin: 10px 0 0; color: var(--on-dark-muted); }
.session__items { list-style: none; counter-reset: item var(--start, 0); }
.session__items li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); counter-increment: item; }
.session__items li:last-child { border-bottom: 0; }
.session__items li::before { content: counter(item, decimal-leading-zero); grid-row: span 2; font-size: 1.5rem; font-weight: 900; color: var(--accent); line-height: 1.2; }
.session__items strong { font-weight: 800; }
.session__items span { color: var(--on-dark-muted); }
@media (max-width: 860px) { .sessions { grid-template-columns: 1fr; } }

.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.demo { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.demo__big { margin: 0 0 16px; font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--brand); }
.demo h3 { margin-bottom: 8px; font-size: 1.25rem; font-weight: 800; }
.demo p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .demos { grid-template-columns: 1fr; } }

.stories { columns: 3 280px; column-gap: 20px; margin-top: 48px; }
.story { break-inside: avoid; margin: 0 0 20px; padding: 28px; border-radius: var(--radius); background: var(--card); }
.story blockquote { margin: 0 0 16px; font-size: var(--step-lead); font-weight: 500; line-height: 1.45; }
.story blockquote p::before { content: "“"; }
.story blockquote p::after { content: "”"; }
.story figcaption { font-size: var(--step-small); color: var(--muted); }
.story figcaption strong { color: var(--ink); }

.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; list-style: none; }
.result { padding: 24px; border-radius: var(--radius); border: 1.5px solid var(--line); }
.result__who { margin: 0 0 12px; color: var(--muted); }
.result__who strong { display: block; color: var(--ink); }
.result__change { margin: 0; font-size: 1.25rem; }
.result__change strong { font-weight: 900; color: var(--brand); }

.teacher { display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.teacher__photo img, .teacher__placeholder { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: var(--radius); }
.teacher__placeholder { display: grid; place-items: center; background: var(--bg); border: 1.5px dashed var(--line); }
.teacher__role { margin: 12px 0 24px; font-weight: 700; color: var(--brand); }
.teacher .ticks { margin-top: 24px; }
@media (max-width: 760px) { .teacher { grid-template-columns: 1fr; } .teacher__photo { max-width: 320px; } }

.program__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(280px, 360px); gap: 32px; margin-top: 48px; align-items: start; }
.program__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.sec--dark .ticks li::before { filter: none; }
.price-card { padding: 28px; border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.price-card__label { margin: 0 0 6px; font-size: var(--step-small); font-weight: 700; color: var(--muted); }
.price-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 20px; }
.price-card__price strong { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.03em; }
.price-card__price del { color: var(--muted); }
.price-card__note { margin: 14px 0 0; font-size: var(--step-small); color: var(--muted); }
.more-courses { display: grid; gap: 1px; margin-top: 40px; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.more-courses a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); text-decoration: none; font-weight: 700; }
.more-courses a span:last-child { color: var(--on-dark-muted); font-weight: 500; text-align: right; }
.more-courses a:hover span:first-child { color: var(--accent); }
@media (max-width: 960px) { .program__grid { grid-template-columns: 1fr 1fr; } .program__grid .price-card { grid-column: 1 / -1; } }
@media (max-width: 620px) { .program__grid, .program__grid--two { grid-template-columns: 1fr; } }

.faq__list { display: grid; gap: 12px; max-width: 820px; margin-top: 40px; }
.faq details, .modules details { border-radius: 14px; background: var(--card); border: 1.5px solid var(--line); }
.faq summary, .modules summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker, .modules summary::-webkit-details-marker { display: none; }
.faq summary::after, .modules summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); font-size: 1.25rem; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after, .modules details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p, .modules details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.end {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(32px, 5vw, 72px); align-items: center;
	padding: var(--section) max(var(--m), calc((100% - var(--wide)) / 2));
	background: var(--brand); color: var(--on-dark);
}
.end .eyebrow { color: var(--accent); }
.end .sec__lead { color: #d9e8de; }
.end--short { grid-template-columns: minmax(0, 1fr) auto; padding-block: clamp(56px, 8vw, 96px); }
@media (max-width: 860px) { .end, .end--short { grid-template-columns: 1fr; } }

/* ---------- Course pages ---------- */

.course__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 72px); align-items: start; max-width: calc(var(--wide) + 2 * var(--m)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--m) var(--section); }
.course__photo { margin: 32px 0; }
.course__photo img { border-radius: var(--radius); }
.course__intro .prose { margin-top: 32px; }
.course__buy { position: sticky; top: 88px; }
.price-card--light { border-top: 6px solid var(--accent); }
.facts { display: grid; gap: 0; margin: 0 0 22px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--step-small); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 860px) { .course__head { grid-template-columns: 1fr; } .course__buy { position: static; } }

.modules { display: grid; gap: 12px; max-width: 860px; margin-top: 40px; list-style: none; counter-reset: mod; }
.modules__title { flex: 1; }
.modules__count { flex: none; font-size: var(--step-small); font-weight: 600; color: var(--muted); }

.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; list-style: none; }
.course-card a { display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform 0.25s var(--ease); }
.course-card a:hover { transform: translateY(-3px); }
.course-card h2 { margin-bottom: 12px; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.course-card p { color: var(--muted); }
.course-card .pill { align-self: flex-start; }
.course-card__meta { display: flex; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.course-card__meta strong { color: var(--ink); font-size: 1.25rem; }
.course-card--star a { background: var(--brand-deep); color: var(--on-dark); }
.course-card--star p, .course-card--star .course-card__meta span { color: var(--on-dark-muted); }
.course-card--star .course-card__meta { border-color: rgba(255, 255, 255, 0.14); }
.course-card--star .course-card__meta strong { color: var(--accent); }

/* ---------- Documents ---------- */

.doc { max-width: calc(760px + 2 * var(--m)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--m) var(--section); }
.doc--wide, .doc--shop { max-width: calc(var(--wide) + 2 * var(--m)); }
.doc__head { margin-bottom: 40px; }
.doc__head h1:not(.head) { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.03em; }
.doc__meta { margin-top: 12px; color: var(--muted); }
.prose h2 { margin: 2em 0 0.6em; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.2rem; font-weight: 800; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--brand); }
.posts { list-style: none; display: grid; gap: 32px; }
.post-row h2 { margin-bottom: 8px; font-size: 1.5rem; font-weight: 800; }

/* WooCommerce bits we keep: notices, cart and checkout. */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 auto 24px; max-width: var(--wide); padding: 14px 18px; border-radius: 12px; background: var(--surface); }
.woocommerce-error { background: #fde8e6; color: #7a1a14; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; margin-left: 12px; font-size: var(--step-small); }
.course > .woocommerce-notices-wrapper { padding: 24px var(--m) 0; }
.skm-access { margin: 32px 0; padding: 24px; border-radius: var(--radius); background: #e1f2e8; }
.skm-access h2 { margin-bottom: 12px; font-size: 1.5rem; font-weight: 900; }
.skm-access h3 { margin: 16px 0 6px; font-size: 1.1rem; }

/* ---------- Footer ---------- */

.foot { padding: clamp(56px, 8vw, 96px) max(var(--m), calc((100% - var(--wide)) / 2)) 32px; background: var(--ink); color: var(--on-dark); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.foot__slogan { margin: 0; font-size: var(--step-lead); font-weight: 700; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.foot__col h2 { margin-bottom: 16px; font-size: var(--step-small); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.foot__col ul { list-style: none; display: grid; gap: 10px; color: var(--on-dark-muted); }
.foot address { display: grid; gap: 6px; font-style: normal; color: var(--on-dark-muted); }
.foot address strong { color: var(--on-dark); }
.foot__legal { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; color: var(--on-dark-muted); }
.foot__legal p { max-width: 90ch; margin-bottom: 8px; }
@media (max-width: 860px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr; } }

/* ---------- The dock: a sign-up button on phones while no form is on screen ---------- */

.dock {
	position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
	display: none; align-items: center; justify-content: center; gap: 8px; min-height: 56px;
	background: var(--accent); color: var(--accent-ink); border-radius: 999px; box-shadow: var(--shadow);
	font-weight: 800; text-transform: uppercase; text-decoration: none;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
@media (max-width: 900px) {
	.js .dock { display: flex; }
	.dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
	body.home { padding-bottom: 88px; }
}

/* ---------- Entrances ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}
