/* Stickey — marketing site. Tokens mirror the Stickey design system. */

@font-face{font-family:"Fraunces Soft";src:url(/assets/fraunces-soft-700-19a9803c162d642e1b062b7c5dc483c5f6adc0b266286b6e10a85d60886f4952.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces Soft";src:url(/assets/fraunces-soft-900-786b474ac8e5b3277753baaa1c91b321809c9acf9e5346c98a3d6f9aa1137915.woff2) format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces Soft";src:url(/assets/fraunces-soft-400-italic-4c7389d205b9e6c6ffbb9e7c8466072b43629294a318550c42fd31343d402e9d.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url(/assets/nunito-sans-variable-64a62538cbb0b44d8be80969e7e7d6c943a6ddca61d5d0f3ca603b523c1b50c8.woff2) format("woff2");font-weight:200 1000;font-style:normal;font-display:swap}

:root {
	--paper: #FFF8EF;
	--cream: #FDE5C7;
	--honey-100: #FFF3D2;
	--honey-200: #FCDE88;
	--honey-300: #F7BA3A;
	--honey-400: #E28D05;
	--honey-500: #C4770A;
	--caramel: #C68A3F;
	--bark: #8A4E1A;
	--espresso: #4E280A;
	--ink: #17233F;
	--white: #FFFDF9;
	--sand-100: #F6EADA;
	--sand-200: #EBD9C0;
	--sand-300: #DCC3A2;
	--stamp-olive: #5F661A;

	--accent: var(--honey-400);
	--accent-hover: var(--honey-300);
	--accent-press: var(--honey-500);
	--accent-soft: var(--honey-100);

	--font-display: "Fraunces Soft", Georgia, serif;
	--font-editorial: "Fraunces Soft", Georgia, serif;
	--font-body: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;

	--radius-md: 14px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--radius-pill: 999px;
	--hairline: 1.5px solid var(--sand-200);

	--shadow-card: 0 2px 10px rgba(78, 40, 10, .08);
	--shadow-raised: 0 6px 18px rgba(78, 40, 10, .12);
	--ring-focus: 0 0 0 3px rgba(226, 141, 5, .38);

	--ease-out: cubic-bezier(.22, .68, .35, 1);
	--ease-out-expo: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.5, 0, .5, 1);

	--gutter: clamp(20px, 4vw, 48px);
	--section-y: clamp(80px, 10vw, 128px);
	--nav-h: 76px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--espresso);
	font: 400 16px/1.45 var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	text-wrap: pretty;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--espresso); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--espresso); text-decoration: none; }
a:hover { color: var(--bark); }

::selection { background: var(--honey-200); color: var(--espresso); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

section[id] { scroll-margin-top: var(--nav-h); }

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--radius-pill);
	background: var(--espresso);
	color: var(--paper);
	font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.icon { flex: none; }

/* ---------- Buttons: the candy press ---------- */

.btn {
	--depth: 6px;
	--press: 2px;
	--depth-color: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--radius-pill);
	font: 700 16px/1 var(--font-body);
	letter-spacing: .01em;
	white-space: nowrap;
	color: var(--espresso);
	cursor: pointer;
	box-shadow: 0 var(--depth) 0 var(--depth-color);
	transition:
		background-color 160ms var(--ease-out),
		transform 90ms var(--ease-out),
		box-shadow 90ms var(--ease-out);
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}
.btn:hover { color: var(--espresso); }
.btn:active {
	transform: translateY(calc(var(--depth) - var(--press)));
	box-shadow: 0 var(--press) 0 var(--depth-color);
}
.btn:focus-visible { border-radius: var(--radius-pill); }

.btn--primary { background: var(--accent); --depth-color: var(--accent-press); }
.btn--primary:hover { background: var(--accent-hover); }

.btn--secondary {
	background: var(--cream);
	border: 1.5px solid var(--sand-300);
	--depth-color: var(--sand-300);
}
.btn--secondary:hover { background: #FEEEDA; }

.btn--ghost { background: transparent; border: 1.5px solid transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--ghost:active { transform: scale(.96); box-shadow: none; }

.btn--sm { --depth: 4px; --press: 1px; min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 18px; }

/* ---------- Nav ---------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	transition: box-shadow 240ms var(--ease-out);
}
.nav.is-stuck { box-shadow: 0 1px 0 var(--sand-200), 0 8px 24px rgba(78, 40, 10, .06); }

.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px var(--gutter);
}

.nav__brand img { width: 124px; height: auto; }

.nav__links { display: flex; align-items: center; gap: 36px; font: 600 15px/1 var(--font-body); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--honey-300);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 320ms var(--ease-out-expo);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 759px) {
	.nav__links { display: none; }
	.nav__inner { padding-block: 14px; }
	.nav__brand img { width: 108px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; }

.hero__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--sand-100);
}
.hero__frame { position: absolute; inset: 0; }
.hero__image {
	position: absolute;
	left: 0;
	top: -6%;
	width: 100%;
	height: 106%;
	object-fit: cover;
}

.hero__title {
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.hero__word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: .1em;
	margin-bottom: -.1em;
}
.hero__word > span { display: inline-block; }

.hero__lede { text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; }

@media (min-width: 1000px) {
	.hero__copy {
		position: absolute;
		right: 5%;
		top: 7%;
		width: 40%;
		display: grid;
		justify-items: end;
		gap: 1.2vw;
		text-align: right;
	}
	.hero__title { font-size: min(5.2vw, 112px); }
	.hero__lede { max-width: 30ch; font: 600 clamp(15px, 1.35vw, 26px)/1.45 var(--font-body); }
	.hero__actions { flex-wrap: nowrap; justify-content: flex-end; margin-top: .6vw; }
}

@media (max-width: 999px) {
	.hero__copy { display: grid; gap: 16px; padding: 32px var(--gutter) 56px; }
	.hero__title { font-size: clamp(40px, 9vw, 56px); }
	.hero__lede { max-width: 34ch; font-size: 17px; color: var(--bark); }
	.hero__actions { flex-wrap: wrap; margin-top: 4px; }
}

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

.section { padding: var(--section-y) var(--gutter); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

.container { max-width: 1180px; margin: 0 auto; }

.section-head { display: grid; gap: 16px; max-width: 620px; }
.section-head--center { max-width: none; justify-items: center; text-align: center; }

.overline {
	font: 700 11px/1 var(--font-body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--bark);
}

.section-title {
	font: 700 clamp(34px, 4.4vw, 52px)/1.06 var(--font-display);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.section-lede {
	max-width: 52ch;
	font: 400 18px/1.5 var(--font-body);
	color: var(--bark);
	text-wrap: pretty;
}

/* How it works */

.how { display: grid; gap: 56px; }

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 28px 20px;
}

.step { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; }
.step__art { height: 190px; display: flex; align-items: flex-end; justify-content: center; }
.step__art img { height: auto; max-height: 190px; object-fit: contain; }
.step__title { margin-top: 8px; font: 700 20px/1.2 var(--font-display); }
.step__body { max-width: 24ch; font: 400 15px/1.5 var(--font-body); color: var(--bark); }

/* Word lists */

.courses { display: grid; gap: 48px; }

.course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.course-card {
	display: grid;
	gap: 14px;
	justify-items: center;
	align-content: start;
	padding: 20px;
	text-align: center;
	background: var(--white);
	border: var(--hairline);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}
.course-card__stamp { height: 140px; display: flex; align-items: center; justify-content: center; }
.course-card__stamp img, .course-card__stamp svg { height: auto; }
.course-card__text { display: grid; gap: 4px; }
.course-card__text h3 { font: 700 20px/1.2 var(--font-display); }
.course-card__text p { font: 400 14px/1.45 var(--font-body); color: var(--bark); }

.stamp {
	--ink: 1;
	display: inline-block;
	opacity: var(--ink);
	transform: rotate(var(--rot, 0deg));
	transition: transform 480ms var(--ease-out-expo);
}
.stamp--inked { --ink: .92; }
.course-card:hover .stamp { transform: rotate(calc(var(--rot, 0deg) * -.5)) scale(1.04); }

/* Community */

.community {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 56px;
	align-items: center;
}
.community__intro { display: grid; gap: 16px; align-content: start; }
.community__intro .section-lede { max-width: 44ch; }
.community__mascot { width: 170px; height: auto; margin-top: 12px; }

.feed {
	background: var(--white);
	border: var(--hairline);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-raised);
	overflow: hidden;
}
.feed__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: var(--hairline);
}
.feed__head h3 { font: 700 18px/1.2 var(--font-display); }
.feed__head span { font: 600 13px/1 var(--font-body); color: var(--bark); }
.feed__foot { padding: 14px 20px; }

.post {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	border-bottom: var(--hairline);
	transition: background-color 160ms var(--ease-out);
}
.post:hover { background: var(--accent-soft); }
.post__avatar {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	background: var(--cream);
	display: grid;
	place-items: center;
	font: 700 18px/1 var(--font-display);
	color: var(--bark);
}
.post__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.post__who { font: 600 13px/1.3 var(--font-body); color: var(--bark); }
.post__word { font: 700 22px/1.15 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.post__gloss { font: italic 400 14px/1.45 var(--font-editorial); color: var(--bark); }

.badge {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border: 1.5px solid;
	border-radius: var(--radius-pill);
	font: 700 11px/1.3 var(--font-body);
	letter-spacing: .02em;
	white-space: nowrap;
}
.badge--honey { background: var(--honey-200); color: var(--espresso); border-color: #E9C868; }
.badge--olive { background: #E7EAC9; color: var(--stamp-olive); border-color: #C9D19A; }
.badge--cream { background: var(--cream); color: var(--bark); border-color: var(--sand-300); }

/* Get the app */

.section--get { padding-top: 0; padding-bottom: clamp(80px, 10vw, 120px); }

.get {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 32px;
	align-items: center;
	padding: clamp(32px, 5vw, 64px);
	background: var(--cream);
	border-radius: var(--radius-xl);
}
.get__copy { display: grid; gap: 16px; }
.get__copy .section-lede { max-width: 40ch; }
.get__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.get__art { display: flex; justify-content: center; }
.get__art img { width: 280px; height: auto; }

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

.footer { border-top: var(--hairline); padding: 36px var(--gutter); }
.footer__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.footer__brand { display: inline-grid; gap: 6px; justify-items: start; }
.footer__brand img { width: 104px; height: auto; }
.footer__brand span { font: 600 14px/1.3 var(--font-body); color: var(--bark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font: 600 14px/1 var(--font-body); }
.footer__legal { font: 400 13px/1 var(--font-body); color: var(--bark); }

/* ---------- Inner pages (privacy, help) ---------- */

.page {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(48px, 8vw, 96px) var(--gutter) var(--section-y);
}
.page__head { display: grid; gap: 14px; margin-bottom: 40px; }
.page__head h1 {
	font: 900 clamp(40px, 6vw, 64px)/1.02 var(--font-display);
	letter-spacing: -.02em;
	text-wrap: balance;
}
.page__lede { max-width: 48ch; font: 400 18px/1.5 var(--font-body); color: var(--bark); }

.prose h2 { margin: 40px 0 12px; font: 700 22px/1.2 var(--font-display); }
.prose p { max-width: 65ch; font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose a {
	color: var(--honey-500);
	text-decoration: underline;
	text-decoration-color: rgba(196, 119, 10, .4);
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
.prose a:hover { color: var(--bark); text-decoration-color: currentColor; }

.notice {
	display: grid;
	gap: 4px;
	margin-bottom: 32px;
	padding: 18px 20px;
	background: var(--honey-100);
	border: 1.5px solid #E9C868;
	border-radius: var(--radius-lg);
}
.notice strong { font: 700 18px/1.2 var(--font-display); }
.notice p { color: var(--bark); }

.form { display: grid; gap: 20px; }
.form__pair { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__pair { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; }
.field__label { font: 600 14px/1.2 var(--font-body); }
.field__control {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	font: 400 16px/1.4 var(--font-body);
	color: var(--espresso);
	background: var(--white);
	border: 2px solid var(--sand-300);
	border-radius: var(--radius-md);
	transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field__control::placeholder { color: var(--caramel); }
.field__control:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring-focus); }
select.field__control {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238A4E1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}
textarea.field__control { min-height: 150px; resize: vertical; }

.check { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--font-body); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }

.form .btn { justify-self: start; margin-top: 8px; }

/* ---------- Motion ---------- */

@keyframes hero-settle { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

@keyframes stamp-in {
	0% {
		opacity: 0;
		transform: rotate(calc(var(--rot, 0deg) - 14deg)) scale(1.7);
		animation-timing-function: cubic-bezier(.55, 0, .9, .45);
	}
	58% {
		opacity: var(--ink);
		transform: rotate(var(--rot, 0deg)) scale(.93);
		animation-timing-function: var(--ease-out-expo);
	}
	100% { opacity: var(--ink); transform: rotate(var(--rot, 0deg)) scale(1); }
}

@keyframes float { 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }

	/* Hero: the photo develops, then the headline rises word by word. */
	.js .hero__frame { opacity: 0; transform: scale(1.045); }
	.js .hero__word > span { transform: translateY(110%); }
	.js .hero__lede,
	.js .hero__actions { opacity: 0; transform: translateY(14px); }

	.js .hero.is-ready .hero__frame { animation: hero-settle 1800ms var(--ease-out-expo) forwards; }
	.js .hero.is-ready .hero__word > span,
	.js .hero.is-ready .hero__lede,
	.js .hero.is-ready .hero__actions {
		animation: rise 1000ms var(--ease-out-expo) forwards;
		animation-delay: calc(280ms + var(--i, 0) * 90ms);
	}
	.js .hero__image[data-parallax] { will-change: transform; }

	/* Scroll reveals */
	.js [data-reveal] {
		opacity: 0;
		transform: translateY(24px);
		transition:
			opacity 700ms var(--ease-out),
			transform 1000ms var(--ease-out-expo),
			background-color 160ms var(--ease-out);
		transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0ms;
	}
	.js [data-reveal].is-in { opacity: 1; transform: none; }

	/* Course stamps press down once their card lands. */
	.js .course-card .stamp { opacity: 0; }
	.js .course-card.is-in .stamp {
		opacity: var(--ink);
		animation: stamp-in 620ms backwards;
		animation-delay: calc(220ms + var(--i, 0) * 90ms);
	}

	.float { animation: float 3.4s var(--ease-in-out) infinite; }
	.get__art .float { animation-delay: -1.2s; }
}
