@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --ink: #252321;
  --muted: #6c6862;
  --red: #b91c1c;
  --line: #e4e0d8;
  --display: "Manrope", "Avenir Next", Avenir, sans-serif;
  --body: "DM Sans", "Avenir Next", Avenir, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    260px circle at var(--pointer-x, -500px) var(--pointer-y, -500px),
    rgba(185, 28, 28, 0.075),
    transparent 72%
  );
  transition: opacity 240ms ease;
}

body.has-pointer-glow::before { opacity: 1; }

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #d6603a;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 5;
  padding: 10px 16px;
  background: white;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.section-shell,
.site-header {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}

/* ─── Header ─────────────────────────────────── */

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.brand img {
  border-radius: 50%;
}

.main-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a,
.footer-links a {
  color: #55514b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--red);
}

/* ─── Buttons ─────────────────────────────────── */

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.34,1.56,0.64,1), background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--red);
}

.button-outline {
  border-color: #d5d0c7;
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: white;
}

/* ─── Typography ──────────────────────────────── */

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.55px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #649c72;
  box-shadow: 0 0 0 4px #e2ecdf;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--display);
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -4.5px;
  line-height: 1.05;
}

h1 span,
h2 span {
  color: var(--red);
}

.hero-description {
  max-width: 420px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 5px;
  transition: color 200ms ease;
}

.text-link span {
  margin-left: 5px;
  color: var(--red);
}

.platform-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: #79746d;
  font-size: 11px;
  font-weight: 600;
}

.platform-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #504b45;
  font-size: 13px;
}

/* ─── Hero ────────────────────────────────────── */

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  gap: 48px;
  padding-top: 44px;
  padding-bottom: 52px;
}

/* ─── Hero Art ────────────────────────────────── */

.hero-art {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid #e8e0d3;
  border-radius: 50%;
  animation: spin-slow 28s linear infinite;
}

.orbit-two {
  width: 410px;
  height: 410px;
  border-style: dashed;
  opacity: 0.8;
  animation-duration: 44s;
  animation-direction: reverse;
}

.picker-window {
  position: relative;
  z-index: 1;
  width: min(370px, 90%);
  overflow: hidden;
  border: 1px solid rgba(55, 47, 39, 0.1);
  border-radius: 12px;
  background: #fffefa;
  box-shadow: 0 28px 70px rgba(70, 53, 34, 0.15), 0 4px 14px rgba(70, 53, 34, 0.07);
  transform: rotate(-2deg);
  animation: float-window 5s ease-in-out infinite;
}

.window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid #eeeae3;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.window-brand img {
  width: 19px;
  height: 19px;
  border-radius: 50%;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ded8ce;
}

.picker-body {
  padding: 17px 18px 15px;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #e8e4dd;
  border-radius: 5px;
  color: #a19b91;
  font-size: 11px;
}

.mock-search span {
  font-size: 22px;
  line-height: 1;
}

.mock-label {
  margin: 16px 0 8px;
  color: #8d877d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.emoji-grid span {
  display: grid;
  place-items: center;
  height: 50px;
  border-radius: 7px;
  background: #f8f4ec;
  font-size: 24px;
  transition: transform 150ms ease, background-color 150ms ease;
  cursor: default;
}

.emoji-grid span:hover {
  transform: scale(1.12);
  background: #f2eadc;
}

.history-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #f4f1e9;
}

.history-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: white;
  color: var(--red);
  font-size: 18px;
}

.history-card strong,
.history-card small {
  display: block;
}

.history-card strong {
  font-size: 9px;
}

.history-card small {
  margin-top: 2px;
  color: #878177;
  font-size: 8px;
}

.history-arrow {
  margin-left: auto;
  color: #857e73;
  font-size: 12px;
}

.floating-emoji,
.spark,
.art-caption,
.download-star {
  position: absolute;
}

.floating-emoji {
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(60, 50, 40, 0.08);
  border-radius: 16px;
  background: #fffefa;
  box-shadow: 0 14px 30px rgba(70, 53, 34, 0.13);
  font-size: 27px;
}

.floating-sparkle {
  top: 35px;
  right: 10px;
  transform: rotate(9deg);
  animation: float-a 4s ease-in-out infinite;
}

.floating-heart {
  bottom: 30px;
  left: 6px;
  transform: rotate(-9deg);
  animation: float-b 4.8s ease-in-out infinite;
}

.spark {
  color: var(--red);
}

.spark-one {
  top: 10px;
  left: 42px;
  font-size: 22px;
  animation: spin-slow 18s linear infinite;
}

.spark-two {
  right: 25px;
  bottom: 58px;
  color: #d8a83d;
  font-size: 25px;
  animation: spin-slow 22s linear infinite reverse;
}

.art-caption {
  right: 0;
  bottom: -4px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #827b70;
  font-size: 10px;
  font-weight: 600;
}

.art-caption span {
  width: 20px;
  height: 1px;
  background: #c8bbaa;
}

/* ─── Intro Band ──────────────────────────────── */

.intro-band {
  background: #eee9df;
}

.intro-inner {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 60px;
}

.intro-inner .eyebrow {
  flex: 0 0 auto;
  margin: 0;
}

.intro-inner > p:not(.eyebrow) {
  max-width: 490px;
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.intro-doodle {
  position: absolute;
  right: 12px;
  color: #c98153;
  font-size: 38px;
  animation: spin-slow 20s linear infinite;
}

/* ─── Features ────────────────────────────────── */

.features {
  padding-top: 80px;
  padding-bottom: 86px;
}

.section-heading {
  max-width: 520px;
  margin-bottom: 36px;
}

.section-heading h2,
.editions-copy h2,
.download h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.14;
}

.section-heading > p:last-child,
.editions-copy > p:not(.eyebrow),
.download-copy > p:not(.eyebrow, .release-note) {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  padding: 22px 23px;
  border-radius: 7px;
  transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(70,53,34,0.12);
}

.feature-red { background: #f1e5dc; }
.feature-yellow { background: #f1eddb; }
.feature-green { background: #e4ebe1; }

.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--red);
  font-size: 21px;
}

.card-index {
  margin-bottom: 6px;
  color: #80786f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.feature-card h3 {
  margin-bottom: 6px;
  font-size: 17px;
  letter-spacing: -0.5px;
}

.feature-card > p:not(.card-index) {
  max-width: 240px;
  margin: 0;
  color: #69645d;
  font-size: 11px;
  line-height: 1.7;
}

.feature-decoration {
  position: absolute;
  right: 22px;
  bottom: 16px;
  opacity: 0.75;
}

.emoji-trail {
  font-size: 18px;
  transform: rotate(-8deg);
}

.clipboard-stack {
  width: 58px;
  height: 42px;
}

.clipboard-stack i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37px;
  height: 27px;
  border: 1px solid #c3b492;
  border-radius: 4px;
  background: #fdfaf0;
  transform: rotate(10deg);
}

.clipboard-stack i:nth-child(2) {
  right: 8px;
  bottom: 6px;
  transform: rotate(-7deg);
}

.clipboard-stack i:nth-child(3) {
  right: 17px;
  bottom: 12px;
  background: #fffefa;
  transform: rotate(3deg);
}

.theme-swatches {
  display: flex;
  gap: 5px;
}

.theme-swatches i {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #f8f5ed;
}

.theme-swatches i:nth-child(2) { background: #514e54; }
.theme-swatches i:nth-child(3) { background: #d88c68; }

/* ─── Editions ────────────────────────────────── */

.editions-section {
  padding: 76px 0;
  background: #262422;
  color: #f7f5f0;
}

.editions-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 56px;
}

.editions-copy .eyebrow { color: #df9375; }

.editions-copy h2 {
  font-size: clamp(32px, 3.2vw, 42px);
}

.editions-copy h2 span { color: #e7a28a; }

.editions-copy > p:not(.eyebrow) {
  margin-bottom: 20px;
  color: #c0bbb3;
}

.editions-copy .text-link { color: #fffefa; }

.edition-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.edition-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border-radius: 6px;
  color: var(--ink);
  transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 220ms ease;
}

.edition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}

.free-card { background: #f2eee5; }

.full-card {
  background: #b91c1c;
  color: white;
}

.basic-card { background: #e7dfd2; }
.career-card { background: #dce9e2; }

.edition-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.edition-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.15px;
}

.edition-topline > span:last-child {
  color: var(--red);
  font-size: 17px;
}

.full-card .edition-topline > span:last-child { color: #f0bd78; }

.edition-card h3 {
  margin-bottom: 7px;
  font-size: 20px;
  letter-spacing: -0.7px;
}

.edition-card > p {
  min-height: 40px;
  margin-bottom: 14px;
  color: #6c675f;
  font-size: 10px;
  line-height: 1.6;
}

.edition-card > .edition-price {
  min-height: auto;
  margin: -3px 0 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.edition-price span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.full-card > p { color: #f3d7cd; }
.full-card > .edition-price { color: #fff; }

.edition-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.edition-card li {
  display: flex;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
}

.edition-card li span {
  color: var(--red);
  font-size: 11px;
}

.full-card li span { color: #f3c479; }

.edition-card .button {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  font-size: 10px;
}

.free-download-links {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.free-download-links .button {
  margin-top: 0;
}

.edition-card .checkout-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.62;
  cursor: not-allowed;
}

/* ─── Careers (compact teaser) ────────────────── */

.careers-section {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  align-items: center;
  gap: 64px;
  padding-top: 76px;
  padding-bottom: 76px;
  border-bottom: 1px solid var(--line);
}

.careers-copy h2 {
  max-width: 440px;
  margin-bottom: 12px;
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.14;
}

.careers-copy h2 span { color: var(--red); }

.careers-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.careers-apply-btn {
  font-family: var(--body);
}

.touch-bloom { animation: touch-bloom 360ms cubic-bezier(0.2, 0.85, 0.3, 1); }

@keyframes touch-bloom {
  0% { scale: 1; }
  42% { scale: 1.07; }
  100% { scale: 1; }
}

/* Careers decorative art */
.careers-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.careers-blob {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #f1e5dc 0%, #eee9df 100%);
  animation: pulse-blob 5s ease-in-out infinite;
}

.vision-art { min-height: 260px; }

.vision-art .careers-blob {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #f1e5dc 0%, #eee9df 72%, transparent 73%);
}

.vision-statement {
  position: relative;
  z-index: 1;
  width: min(260px, 82%);
  text-align: center;
}

.vision-statement span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.vision-statement strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.3;
}

.careers-stat {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-num {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.stat-big {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  max-width: 160px;
  line-height: 1.4;
}

/* ─── Download ────────────────────────────────── */

.download {
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.download-copy > p:not(.eyebrow, .release-note) {
  margin-bottom: 20px;
}

.download-package-links {
  flex-wrap: wrap;
}

.release-note {
  margin: 14px 0 0;
  color: #817b72;
  font-size: 10px;
}

.release-note a {
  color: #625c53;
  text-underline-offset: 3px;
}

.download-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.download-sun {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #f0e8d6;
  animation: pulse-blob 6s ease-in-out infinite;
}

.download-emoji {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #fffefa;
  box-shadow: 0 20px 50px rgba(72, 57, 35, 0.12);
  font-size: 76px;
  transform: rotate(-9deg);
  animation: float-window 6s ease-in-out infinite;
}

.download-star {
  z-index: 2;
  color: var(--red);
  font-size: 24px;
  position: absolute;
}

.star-left {
  top: 37px;
  left: 47px;
  animation: spin-slow 14s linear infinite;
}

.star-right {
  right: 25px;
  bottom: 39px;
  color: #c49a43;
  font-size: 30px;
  animation: spin-slow 18s linear infinite reverse;
}

.download-note {
  position: absolute;
  right: 8px;
  top: 29px;
  color: #767066;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  transform: rotate(7deg);
}

/* ─── Footer ──────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand { font-size: 18px; }

.footer-inner > p {
  margin: 0;
  color: #817b72;
  font-size: 10px;
}

.footer-inner > p a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.footer-inner > p a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-links { gap: 22px; }

.footer-links a { font-size: 10px; }

.footer-links span { color: var(--red); }

/* ─── Modal ───────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 25, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px 30px;
  background: var(--paper);
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(30,20,10,0.28);
  transform: translateY(24px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.34,1.56,0.64,1);
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -1.8px;
}

.modal-box .eyebrow {
  margin-bottom: 10px;
}

.modal-sub {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #ebe7df;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.modal-close:hover {
  background: #ddd8ce;
  transform: scale(1.08);
}

/* ─── Career Form ─────────────────────────────── */

.career-form {
  display: grid;
  gap: 15px;
}

.career-form label {
  display: grid;
  gap: 6px;
}

.career-form label > span {
  color: #393631;
  font-size: 11px;
  font-weight: 700;
}

.career-form label small {
  color: #858077;
  font-size: 9px;
  font-weight: 500;
}

.career-form input:not([type="file"]) {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #ded9d0;
  border-radius: 3px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.career-form input:focus-visible {
  outline: none;
  border-color: #c7775b;
  box-shadow: 0 0 0 3px rgba(199,119,91,0.15);
}

.form-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.career-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #cfc8bc;
  border-radius: 3px;
  background: #f8f6f0;
  color: #676158;
  font-family: var(--body);
  font-size: 10px;
}

.career-form input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 3px;
  background: #e9e4da;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cv-reminder {
  margin: -7px 0 0;
  color: #79746d;
  font-size: 9px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: var(--body);
}

.form-status {
  min-height: 0;
  margin: -4px 0 0;
  color: #356545;
  font-size: 10px;
  line-height: 1.6;
}

.form-status:not(:empty) { min-height: 17px; }

/* ─── Scroll Reveal ───────────────────────────── */

.reveal {
  --reveal-offset-y: 88px;
  opacity: 0;
  translate: 0 var(--reveal-offset-y);
  scale: 0.94;
  transition:
    opacity 560ms ease,
    translate 720ms cubic-bezier(0.16,1,0.3,1),
    scale 720ms cubic-bezier(0.16,1,0.3,1);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.reveal-delay-1.is-visible { transition-delay: 100ms; }
.reveal-delay-2.is-visible { transition-delay: 200ms; }
.reveal-delay-3.is-visible { transition-delay: 300ms; }

/* ─── Keyframes ───────────────────────────────── */

@keyframes float-window {
  0%, 100% { transform: rotate(-2deg) translateY(0px); }
  50%       { transform: rotate(-2deg) translateY(-10px); }
}

@keyframes float-a {
  0%, 100% { transform: rotate(9deg) translateY(0px); }
  50%       { transform: rotate(9deg) translateY(-8px); }
}

@keyframes float-b {
  0%, 100% { transform: rotate(-9deg) translateY(0px); }
  50%       { transform: rotate(-9deg) translateY(8px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px #e2ecdf; }
  50%       { box-shadow: 0 0 0 7px #c8e3c8; }
}

@keyframes pulse-blob {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

/* ─── Responsive ──────────────────────────────── */

@media (max-width: 900px) {
  .section-shell,
  .site-header {
    width: min(100% - 44px, 700px);
  }

  .site-header { height: 70px; }
  .main-nav { gap: 19px; }
  .main-nav a { font-size: 11px; }
  .header-cta { display: none; }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 12px;
    min-height: 460px;
  }

  h1 { font-size: clamp(42px, 7vw, 60px); }

  .hero-art { transform: scale(0.88); }

  .intro-inner { gap: 24px; }

  .editions-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .careers-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .careers-art { min-height: 140px; }

  .editions-copy { max-width: 570px; }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header {
    width: calc(100% - 38px);
  }

  .site-header { height: 64px; }
  .brand { gap: 7px; font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 10px; }
  .main-nav a:nth-child(3) { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 46px;
    padding-bottom: 38px;
  }

  .hero-copy { position: relative; z-index: 2; }

  h1 {
    font-size: clamp(46px, 14vw, 64px);
    letter-spacing: -3.5px;
  }

  .hero-description {
    max-width: 380px;
    font-size: 13px;
  }

  .platform-note { margin-top: 22px; }

  .hero-art {
    min-height: 320px;
    margin: 0 -15px;
    transform: scale(0.82);
  }

  .orbit { width: 290px; height: 290px; }
  .orbit-two { width: 345px; height: 345px; }

  .intro-inner {
    min-height: 120px;
    display: block;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .intro-inner .eyebrow { margin-bottom: 8px; }

  .intro-inner > p:not(.eyebrow) {
    max-width: 380px;
    padding-right: 30px;
    font-size: 17px;
  }

  .intro-doodle {
    right: 0;
    bottom: 18px;
    font-size: 28px;
  }

  .features {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .section-heading h2,
  .editions-copy h2,
  .download h2 {
    font-size: 37px;
    letter-spacing: -2px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    min-height: 210px;
    padding: 20px;
  }

  .feature-icon { margin-bottom: 16px; }

  .editions-section { padding: 60px 0; }

  .edition-cards { grid-template-columns: 1fr; }
  .edition-card { min-height: 310px; }

  .modal-box { padding: 28px 22px 24px; }
  .form-name-row { grid-template-columns: 1fr; }

  .download {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .download-art {
    min-height: 255px;
    margin: 0 12px;
  }

  .download-sun { width: 190px; height: 190px; }

  .download-emoji {
    width: 124px;
    height: 124px;
    font-size: 66px;
  }

  .footer-inner {
    min-height: 110px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 7px 15px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .footer-inner > p {
    order: 3;
    flex-basis: 100%;
  }

  .footer-links { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
