/* Ooolala — "Paper stickers & ink" */

:root {
  /* colour */
  --cream: #FFF7EE;
  --paper: #FFFDF8;
  --ink: #43222B;
  --ink-soft: #73434F;
  --rose: #DD8F8F;
  --peach: #F8C9A2;
  --blush: #F4CFCB;
  --err: #B3123F;

  /* type */
  --font: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 2.5vw, 3.25rem);
  --fs-h1: clamp(2.45rem, 1.7rem + 4.2vw, 4.75rem);

  /* spacing */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 7rem);

  /* radii + shadow */
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --sh: 4px 4px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);
  --sh-lg: 8px 8px 0 var(--ink);
  --line: 2px solid var(--ink);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; line-height: 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rose); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.on-ink :focus-visible { outline-color: var(--peach); }
.on-ink .wl :focus-visible { outline-color: var(--ink); }

::selection { background: var(--peach); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--peach);
  border: var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: var(--s3); }

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--s4);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--rose);
  border: var(--line);
  border-radius: 3px;
  transform: rotate(12deg);
}

.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 52ch; }
.muted { color: var(--ink-soft); }

/* reveal */
[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
html.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  html.js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
  background: var(--rose);
  border: var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--peach { background: var(--peach); }
.btn--blush { background: var(--blush); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #5A2E3A; }
.btn--sm { min-height: 44px; padding: 0.4rem 0.9rem; font-size: 0.875rem; box-shadow: var(--sh-sm); }
.btn--block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--peach);
  border: var(--line);
  border-radius: var(--r-pill);
}

.tag-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-ai::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 2px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: var(--line);
}

.bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo { display: block; width: auto; height: 30px; }
.site-footer .brand-logo { height: 38px; }

.header-cta { order: 1; margin-left: auto; padding-inline: 0.7rem; }
@media (min-width: 420px) { .header-cta { padding-inline: 0.9rem; } }

.nav-toggle {
  display: none;
  order: 2;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  cursor: pointer;
}
.nav-toggle:active { transform: translate(3px, 3px); box-shadow: none; }
html.js .nav-toggle { display: inline-flex; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav { order: 5; flex-basis: 100%; padding-bottom: 0.5rem; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--r-pill);
}
.nav a:hover { background: var(--peach); }

html.js .nav {
  display: none;
  position: absolute;
  top: 100%;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  padding: 0.75rem var(--gutter) 1.25rem;
  background: var(--cream);
  border-bottom: var(--line);
}
html.js .nav.is-open { display: block; }
html.js .nav ul { flex-direction: column; }
html.js .nav a {
  width: 100%;
  min-height: 52px;
  padding: 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--r-md);
}


@media (min-width: 960px) {
  .bar { flex-wrap: nowrap; gap: 1.25rem; }
  .nav, html.js .nav {
    display: block;
    position: static;
    order: 1;
    flex-basis: auto;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
  }
  html.js .nav ul { flex-direction: row; }
  html.js .nav a {
    width: auto;
    min-height: 44px;
    padding: 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--r-pill);
  }
  .header-cta { order: 2; margin-left: 0; }
  .nav-toggle, html.js .nav-toggle { display: none; }
}

/* footer */
.site-footer {
  margin-top: auto;
  padding-block: var(--s7) var(--s6);
  background: var(--ink);
  color: var(--cream);
}
.footer-grid { display: grid; gap: var(--s6); }
.footer-brand p { margin-top: var(--s3); max-width: 36ch; color: #F2DCDC; font-size: var(--fs-small); }
.footer-col h2 {
  margin-bottom: var(--s3);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peach);
}
.footer-col ul { display: grid; gap: 0; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-color: var(--rose);
}
.footer-col a:hover { text-decoration-color: var(--peach); }
.footer-base {
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 2px solid #5E3843;
  font-size: 0.875rem;
  color: #F2DCDC;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* forms */
.wl {
  display: grid;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  color: var(--ink);
}
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 52px;
  padding: 0 0.9rem;
  background: var(--cream);
  border: var(--line);
  border-radius: var(--r-md);
  transition: box-shadow 0.15s var(--ease), background-color 0.15s;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2343222B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
}
.field input::placeholder { color: var(--ink-soft); opacity: 1; }
.field input:hover, .field select:hover { background-color: #FFFFFF; }
.field input:focus-visible, .field select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: var(--sh-sm);
}
.field [aria-invalid="true"] { border-color: var(--err); background-color: #FFF1F4; }
.err { font-size: 0.875rem; font-weight: 600; color: var(--err); }
.err[hidden] { display: none; }
.form-status {
  min-height: 0;
  font-size: var(--fs-small);
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status.is-ok {
  padding: 0.75rem 0.9rem;
  background: var(--blush);
  border: var(--line);
  border-radius: var(--r-md);
}

@media (min-width: 600px) {
  .wl { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .wl .btn, .wl .form-status { grid-column: 1 / -1; }
}

.hint { font-size: 0.875rem; color: var(--ink-soft); }

/* icons */
.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* hero */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy .lead { margin-top: var(--s5); }
.hero-form { margin-top: var(--s6); max-width: 560px; }
.hero-note { margin-top: var(--s4); font-weight: 600; }
.hero h1 { max-width: 14ch; }

.stage {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 2.5rem 0.5rem 2rem;
}

.sticker {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--peach);
  border: var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}
.sticker--peach { background: var(--peach); }
.sticker--blush { background: var(--blush); }
.sticker--rose { background: var(--rose); }
.s1 { top: 0.75rem; left: 0; transform: rotate(-6deg); animation: wobble 5s ease-in-out infinite; }
.s2 { top: 42%; right: 0; max-width: 150px; text-align: center; border-radius: var(--r-md); transform: rotate(5deg); animation: wobble 6s ease-in-out -2s infinite; }
.s3 { bottom: 0.5rem; left: 0; transform: rotate(3deg); animation: wobble 5.5s ease-in-out -1s infinite; }

@keyframes wobble {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

.phone {
  position: relative;
  width: min(100%, 320px);
  padding: 10px;
  background: var(--ink);
  border: var(--line);
  border-radius: 34px;
  box-shadow: var(--sh-lg);
  color: var(--ink);
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  border-bottom: var(--line);
}
.avatar-sm { width: 40px; height: 40px; flex: none; }
.phone-name { font-weight: 800; line-height: 1.1; }
.phone-sub { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.3; }

.chat {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 0.9rem 0.75rem 1rem;
  background: var(--cream);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.msg {
  position: relative;
  max-width: 88%;
  padding: 0.6rem 0.8rem;
  border: var(--line);
  border-radius: var(--r-lg);
}
.msg--in { justify-self: start; background: var(--paper); border-bottom-left-radius: 5px; }
.msg--out { justify-self: end; background: var(--blush); border-bottom-right-radius: 5px; }
.msg--voice { background: var(--peach); }

.fix-old { text-decoration: line-through; text-decoration-color: var(--err); text-decoration-thickness: 2px; color: var(--ink); }
.fix-new {
  text-decoration: none;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.35em;
  line-height: 1;
  padding: 0 0.15em;
  background: var(--peach);
  border-radius: 6px;
  transform: rotate(-3deg);
  display: inline-block;
}
.msg--out .fix-new { background: var(--rose); }
.fix-why { margin-top: 0.3rem; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }

.has-pop { padding-bottom: 0.6rem; }
.tapword {
  position: relative;
  padding: 0 0.1em;
  background: none;
  border: 0;
  border-bottom: 2px dashed var(--rose);
  cursor: pointer;
  font-weight: 700;
}
.tapword:hover { background: var(--peach); }
.tapword.is-open { background: var(--peach); }
.pop {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  transform: translateX(-50%) rotate(-2deg);
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-md);
}
.pop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
.tapword.is-open .pop { display: block; }
.tapword:first-of-type .pop { left: 0; transform: rotate(-2deg); }
.tapword:first-of-type .pop::after { left: 18px; margin-left: 0; }
.tapword:last-of-type .pop { left: auto; right: 0; transform: rotate(-2deg); }
.tapword:last-of-type .pop::after { left: auto; right: 18px; margin-left: 0; }

.voice { display: flex; align-items: center; gap: 0.6rem; }
.play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  background: var(--ink);
  border-radius: 50%;
}
.play svg { width: 14px; height: 14px; fill: var(--cream); }
.wave { width: 110px; height: 26px; flex: 1; min-width: 0; }
.wave path { fill: none; stroke-width: 3; stroke-linecap: round; }
.wave-done { stroke: var(--ink); }
.wave-todo { stroke: rgba(67, 34, 43, 0.4); }
.voice-time { font-size: 0.75rem; font-weight: 700; }
.voice-fb { margin-top: 0.35rem; font-size: 0.8125rem; font-weight: 600; }

.msg--typing { padding: 0.7rem 0.9rem; }
.typing { display: flex; gap: 5px; }
.typing i {
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.composer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--paper);
  border-top: var(--line);
  border-radius: 0 0 24px 24px;
}
.composer-field {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  border: var(--line);
  border-radius: var(--r-pill);
}
.composer-mic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--rose);
  border: var(--line);
  border-radius: 50%;
}
.composer-mic .ico { width: 20px; height: 20px; }

@media (min-width: 420px) {
  .s1 { left: 6%; }
  .s2 { right: 2%; }
  .s3 { left: 4%; }
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s6); }
  .stage { padding: 3rem 1rem; }
  .s1 { top: 1.25rem; left: -2%; }
  .s2 { right: -2%; }
  .s3 { left: 0; bottom: 1.5rem; }
}

/* section heads + bands */
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head .lead { margin-top: var(--s4); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink .eyebrow::before { border-color: var(--cream); }
.band-cream { background: #FFEFDC; border-block: var(--line); }

/* why */
.why-grid { display: grid; gap: var(--s7); }
.why-head .lead { margin-top: var(--s4); }
.reasons { display: grid; gap: var(--s5); }
.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s4);
  padding-bottom: var(--s5);
  border-bottom: var(--line);
}
.reason:last-child { border-bottom: 0; padding-bottom: 0; }
.reason-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-weight: 800;
  font-size: 1.25rem;
  background: var(--peach);
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--sh-sm);
}
.reason:nth-child(2) .reason-num { background: var(--blush); }
.reason:nth-child(3) .reason-num { background: var(--rose); }
.reason h3 { margin-bottom: var(--s2); }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
  .why-head { position: sticky; top: 110px; }
}

/* steps */
.steps { display: grid; border-top: 2px solid #5E3843; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s2) var(--s5);
  align-items: start;
  padding-block: var(--s5);
  border-bottom: 2px solid #5E3843;
}
.step-num {
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--peach);
}
.step-body h3 { margin-bottom: var(--s2); }
.step-body p { max-width: 54ch; color: #F8E8E6; }
.step-ico {
  display: none;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--rose);
  color: var(--ink);
  border: 2px solid var(--cream);
  border-radius: 50%;
}
.step:nth-child(even) .step-ico { background: var(--blush); }
@media (min-width: 720px) {
  .step { grid-template-columns: 8rem 1fr auto; align-items: center; }
  .step-ico { display: grid; }
}

/* partners */
.partners { overflow: hidden; }
.partners-head { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
.partners-head .lead { margin-top: var(--s4); }
.rail-ctrls { display: flex; gap: var(--s3); }
.rail-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--peach);
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.rail-btn:hover { background: var(--rose); }
.rail-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.rail-btn:disabled { opacity: 0.4; cursor: default; }
@media (min-width: 800px) {
  .partners-head { grid-template-columns: 1fr auto; align-items: end; }
}

.rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 14px;
  padding-left: max(var(--gutter), calc((100vw - 1200px) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.rail-track { display: flex; gap: var(--s5); width: max-content; padding-right: 6px; }
.pcard {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  width: min(78vw, 290px);
  padding: var(--s5);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  scroll-snap-align: start;
}
.pcard:nth-child(3n+2) { background: #FDF0EE; }
.pcard:nth-child(3n) { background: #FFF1E4; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--s3); }
.avatar { width: 72px; height: 72px; }
.pcard-city { font-size: 0.9375rem; font-weight: 700; color: var(--ink-soft); }
.pcard-talk { flex: 1; font-size: var(--fs-small); line-height: 1.5; }
.pcard-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 2px dashed var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* languages */
.langs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--line); border-left: var(--line); }
.lang {
  display: grid;
  gap: 2px;
  align-content: start;
  padding: var(--s4);
  min-height: 150px;
  border-right: var(--line);
  border-bottom: var(--line);
  transition: background-color 0.2s var(--ease);
}
.lang:hover { background: var(--peach); }
.lang-code { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; color: var(--ink-soft); }
.lang-native {
  margin-top: auto;
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.lang-en { font-size: 0.9375rem; font-weight: 600; }
.lang-who { font-size: 0.8125rem; color: var(--ink-soft); }
@media (min-width: 800px) {
  .langs { grid-template-columns: repeat(4, 1fr); }
}

/* levels */
.levels { background: var(--blush); border-block: var(--line); }
.levels-grid { display: grid; gap: var(--s6); }
.levels-head .lead { margin-top: var(--s4); }
.levels-demo {
  padding: var(--s4);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.tab {
  min-height: 44px;
  padding: 0 1.1rem;
  font-weight: 700;
  background: var(--cream);
  border: var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s var(--ease);
}
.tab:hover { background: var(--peach); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.tab:active { transform: translateY(2px); }
.panel[hidden] { display: none; }
.sample { display: grid; gap: var(--s2); padding: var(--s3) 0; }
.bub {
  max-width: 92%;
  padding: 0.6rem 0.9rem;
  border: var(--line);
  border-radius: var(--r-lg);
  line-height: 1.4;
}
.bub--in { justify-self: start; background: var(--cream); border-bottom-left-radius: 5px; }
.bub--out { justify-self: end; background: var(--blush); border-bottom-right-radius: 5px; }
.panel-note { margin-top: var(--s3); padding-top: var(--s3); border-top: 2px dashed var(--ink); font-size: var(--fs-small); font-weight: 600; }
@media (min-width: 900px) {
  .levels-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s8); align-items: center; }
  .levels-demo { padding: var(--s5); }
}

/* pricing */
.billing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s6); font-weight: 700; }
.save {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.55rem;
  font-size: 0.75rem;
  background: var(--peach);
  border: var(--line);
  border-radius: var(--r-pill);
}
.switch {
  position: relative;
  width: 64px;
  height: 36px;
  padding: 0;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.switch::before { content: ""; position: absolute; inset: -6px -4px; }
.switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  background: var(--rose);
  border: var(--line);
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
}
.switch[aria-checked="true"] { background: var(--blush); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(28px); }

.plans { display: grid; gap: var(--s6); align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s5);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}
.plan--feature { background: var(--peach); box-shadow: var(--sh-lg); }
.plan-badge {
  position: absolute;
  top: -16px;
  right: 16px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 800;
  background: var(--rose);
  border: var(--line);
  border-radius: var(--r-pill);
  transform: rotate(3deg);
}
.plan-for { color: var(--ink-soft); font-size: var(--fs-small); font-weight: 600; }
.plan--feature .plan-for { color: var(--ink); }
.plan-price { margin-top: var(--s3); display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.price-amount { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price-per { font-weight: 600; }
.price-note { min-height: 3em; font-size: 0.875rem; font-weight: 600; }
.plan-list { display: grid; gap: var(--s3); margin: var(--s3) 0 var(--s5); flex: 1; font-size: var(--fs-small); font-weight: 600; align-content: start; }
.plan-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; }
.plan-list .ico { width: 22px; height: 22px; stroke-width: 3; }
.pricing-fine { margin-top: var(--s6); max-width: 60ch; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan--feature { transform: translateY(-14px); }
}

/* faq */
.faq-grid { display: grid; gap: var(--s6); }
.faq-head .lead { margin-top: var(--s4); }
.faq-list { display: grid; gap: var(--s3); }
.faq-list details {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
.faq-list details[open] { background: #FFF1E4; }
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.75rem 3.25rem 0.75rem 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  font-size: 1.25rem;
  line-height: 1;
  background: var(--peach);
  border: var(--line);
  border-radius: 50%;
}
.faq-list details[open] summary::after { content: "\2212"; background: var(--rose); }
.faq-list summary:hover { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.faq-list details p { padding: 0 1.1rem 1.1rem; max-width: 62ch; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); align-items: start; }
  .faq-head { position: sticky; top: 110px; }
}

/* final band */
.join { padding-block: var(--section); background: var(--ink); color: var(--cream); }
.join-grid { display: grid; gap: var(--s6); align-items: center; }
.join h2 { color: var(--cream); }
.join .lead { margin-top: var(--s4); color: #F8E8E6; }
@media (min-width: 900px) {
  .join-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}

/* legal + 404 */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal-inner { width: min(100% - 2 * var(--gutter), 70ch); margin-inline: auto; }
.legal h1 { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 3.75rem); margin-bottom: var(--s3); }
.legal .updated {
  display: inline-block;
  margin-bottom: var(--s6);
  padding: 0.25rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--peach);
  border: var(--line);
  border-radius: var(--r-pill);
}
.legal h2 { margin: var(--s7) 0 var(--s3); font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -0.025em; }
.legal p, .legal li { margin-bottom: var(--s3); }
.legal ul { margin: 0 0 var(--s4); padding-left: 1.25rem; list-style: disc; }
.legal li::marker { color: var(--rose); }
.legal a { text-decoration-color: var(--rose); }

.nf { padding-block: clamp(3rem, 9vw, 7rem); }
.nf-inner { display: grid; gap: var(--s6); justify-items: start; }
.nf-code { font-size: clamp(5rem, 3rem + 14vw, 12rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; }
.nf-bubble { max-width: 38ch; padding: var(--s4) var(--s5); background: var(--peach); border: var(--line); border-radius: var(--r-lg); border-bottom-left-radius: 5px; box-shadow: var(--sh); }
.nf-bubble .fix-old { margin-right: 0.3rem; }

/* paused when off-screen (class set by JS) */
.is-paused .typing i,
.is-paused .sticker { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i, .sticker { animation: none; }
  .btn, .field input, .field select { transition: none; }
}
