/* AgendaX Social landing page. Concept: "folhas lúdicas" (playful sheets): every section is a
   rounded sheet laid on a vermilion table, with posts running past, piling up and lying around.
   Palette: cool paper, blue-black ink, saturated cobalt, a pale cobalt tint, one vermilion accent.
   Type: Bricolage Grotesque (variable, width 75–100) and IBM Plex Mono, both self-hosted. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-standard.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f2f4f8;
  --paper-2: #e6e9f0;
  --sky: #d9e1ff;
  --ink: #0b1020;
  --ink-2: #3c4458;
  --cobalt: #2350e6;
  --cobalt-deep: #1638b0;
  --signal: #ff5a36;
  --white: #ffffff;
  --line: rgba(11, 16, 32, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);

  --sans: "Bricolage", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sheet-r: clamp(22px, 3.2vw, 44px);
  --sheet-pad: clamp(80px, 10vw, 150px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* On the landing page the sheets lie on a vermilion table that shows at their corners. */
body.home { background: var(--signal); }
/* Paper grain over the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sheet--cobalt :focus-visible, .sheet--ink :focus-visible, .sheet--photo :focus-visible, .foot :focus-visible { outline-color: var(--white); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}
.eyebrow::before { content: ""; flex: none; width: 18px; height: 2px; margin-top: 0.62em; background: currentColor; }

/* Type */
.title {
  font-size: clamp(42px, 6.6vw, 104px);
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.015em;
}
.lead { margin-top: 18px; font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 52ch; }
.kicker { margin-bottom: 16px; font-size: 13px; letter-spacing: 0.03em; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.btn--signal { background: var(--signal); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn--signal:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { box-shadow: 4px 4px 0 var(--signal); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--line-light:hover { box-shadow: 4px 4px 0 var(--white); }
/* Kept for the privacy page. */
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }

.round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.round:hover { background: var(--ink); color: var(--paper); }
.round:disabled { opacity: 0.35; cursor: default; background: var(--paper); color: var(--ink); }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.top__logo img { width: 128px; }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.top__nav a { text-decoration: none; position: relative; padding: 6px 0; }
.top__nav a::after, .top__login::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--cobalt); transition: right 0.3s var(--ease); }
.top__nav a:hover::after, .top__login:hover::after { right: 0; }
.top__nav-login { display: none; }
.top__login { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.top__toggle { display: none; }

/* Sheets: every section of the landing page. */
.sheet {
  position: relative;
  background: var(--paper);
  border-radius: var(--sheet-r);
  padding: var(--sheet-pad) 0;
  overflow-x: clip;
}
.sheet--first { border-radius: 0 0 var(--sheet-r) var(--sheet-r); }
.sheet--cobalt { background: var(--cobalt); color: var(--white); }
.sheet--sky { background: var(--sky); }
.sheet--ink { background: var(--ink); color: var(--paper); }
.sheet--photo { background: var(--ink); color: var(--white); overflow: clip; isolation: isolate; }
.sheet__bg, .foot__bg { position: absolute; inset: 0; z-index: -1; }
.sheet__bg img, .foot__bg img { width: 100%; height: 100%; object-fit: cover; }
.sheet__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0.45), rgba(11, 16, 32, 0.78)); }

/* Hero */
.hero { padding-top: 22px; padding-bottom: clamp(80px, 9vw, 130px); text-align: center; }
.parade {
  overflow: hidden;
  padding: 26px 0 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.parade__track { display: flex; width: max-content; animation: run 80s linear infinite; }
.parade:hover .parade__track { animation-play-state: paused; }
.parade__set { display: flex; gap: 22px; padding-right: 22px; }
.post {
  --c: var(--cobalt);
  width: clamp(132px, 13vw, 188px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid var(--c);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-3deg);
  transition: transform 0.35s var(--ease);
}
.post:nth-child(4n + 2) { transform: rotate(2deg) translateY(10px); }
.post:nth-child(4n + 3) { transform: rotate(-1.5deg) translateY(-4px); }
.post:nth-child(4n) { transform: rotate(3deg) translateY(6px); }
.post:hover { transform: rotate(0) scale(1.06); }
.post--signal { --c: var(--signal); }
.post--ink { --c: var(--ink); }
.post--white { --c: var(--white); }
@keyframes run { to { transform: translateX(-50%); } }

.hero__copy { margin-top: clamp(20px, 3vw, 40px); }
.hero__title {
  font-size: clamp(54px, 8.6vw, 132px);
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 auto;
}
.mark {
  background: var(--signal);
  padding: 0 0.12em;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__lead { margin: 28px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 20px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hero__note strong { color: var(--ink); font-weight: 500; font-size: 15px; }

/* The posts that never went out */
.pain__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pain__photo { margin: 0; }
.pain__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); transform: rotate(-2deg); }
.pain .title { font-size: clamp(40px, 5.2vw, 82px); }
.pain__list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-light); }
.pain__list li { display: flex; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: clamp(18px, 1.6vw, 22px); }
.pain__list .mono { font-size: 13px; color: rgba(255, 255, 255, 0.65); flex: none; }
.pain__close { margin-top: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

/* Features */
.features__head { text-align: center; }
.features__head .title { max-width: 14ch; margin: 0 auto; }
.features__head .lead { margin-left: auto; margin-right: auto; }
.rail { margin-top: clamp(40px, 5vw, 64px); }
.rail__track {
  --inset: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  list-style: none;
  margin: 0;
  padding: 8px var(--inset) 26px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__nav { display: flex; justify-content: flex-end; gap: 10px; }
.feat {
  position: relative;
  flex: 0 0 clamp(264px, 29vw, 352px);
  min-height: 330px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  scroll-snap-align: start;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.rail__progress { display: none; width: min(320px, 60%); height: 6px; margin: 4px auto 0; border-radius: 99px; background: var(--line); overflow: hidden; }
.rail__progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); border-radius: inherit; }

/* Scroll-linked rail (main.js adds .is-pinned): the section is as tall as the sideways distance,
   its content stays under the header and the cards move with the scroll. */
.features.is-pinned { padding: 0; height: calc(100vh - var(--pin-top, 72px) + var(--hs-distance, 0px)); }
.features.is-pinned .features__pin {
  position: sticky;
  top: var(--pin-top, 72px);
  height: calc(100vh - var(--pin-top, 72px));
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow: hidden;
  padding: clamp(16px, 3.5vh, 48px) 0;
}
.features.is-pinned .features__head .title { font-size: clamp(36px, min(6.6vw, 9vh), 104px); max-width: none; }
.features.is-pinned .lead { margin-top: min(18px, 2vh); }
.features.is-pinned .rail { margin-top: clamp(20px, 4vh, 56px); }
.features.is-pinned .rail__track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-bottom: 14px; }
.features.is-pinned .feat { min-height: min(330px, 36vh); padding: 22px; gap: 20px; }
.features.is-pinned .feat h3 { font-size: clamp(24px, min(2.5vw, 4.4vh), 36px); }
.features.is-pinned .feat p { font-size: 15px; }
.features.is-pinned .feat__video { width: min(84px, 9vh); }
.features.is-pinned .feat--ink h3 { padding-right: calc(min(84px, 9vh) + 12px); }
.features.is-pinned .rail__nav { display: none; }
.features.is-pinned .rail__progress { display: block; }
.features.is-pinned .features__cta { margin-top: clamp(16px, 3.5vh, 44px); }

.feat h3 { font-size: clamp(28px, 2.5vw, 36px); font-stretch: 78%; text-transform: uppercase; line-height: 0.95; max-width: 11ch; }
.feat p { font-size: 16px; line-height: 1.5; }
.feat--sky { background: var(--sky); }
.feat--line { background: var(--paper); }
.feat--signal { background: var(--signal); }
.feat--cobalt { background: var(--cobalt); color: var(--white); }
.feat--ink { background: var(--ink); color: var(--paper); }
.feat--ink h3 { padding-right: 96px; }
.feat--photo { color: var(--white); background: var(--ink); }
.feat__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.feat--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 16, 32, 0.15), rgba(11, 16, 32, 0.82)); }
.feat__video { position: absolute; top: 20px; right: 20px; width: 84px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; border: 2px solid var(--paper); transform: rotate(4deg); }

/* How it works: on wide screens the cards stay in the middle and pile up while the steps go by. */
.how__head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.how__grid {
  --card-h: 400px;
  --row: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) minmax(0, 1fr);
  grid-template-rows: repeat(6, var(--row));
  column-gap: clamp(24px, 5vw, 80px);
  margin-top: calc(var(--row) / -4);
}
.how__step { display: contents; }
.how__text { grid-row: var(--i); grid-column: 1; align-self: center; max-width: 32ch; }
.how__step:nth-child(even) .how__text { grid-column: 3; }
.how__num { font-size: 12px; color: var(--ink-2); }
.how__text h3 { margin-top: 8px; font-size: clamp(26px, 2.4vw, 34px); font-stretch: 85%; color: var(--cobalt); letter-spacing: -0.01em; }
.how__text p { margin-top: 12px; color: var(--ink-2); }
.how__card {
  grid-column: 2;
  grid-row: var(--i) / -1;
  align-self: start;
  position: sticky;
  top: calc(50vh - var(--card-h) / 2 + (var(--i) - 1) * 10px);
  margin-top: calc(var(--row) / 2 - var(--card-h) / 2);
  height: var(--card-h);
  transform: rotate(-3deg);
}
.how__step:nth-child(even) .how__card { transform: rotate(2.5deg); }

/* The little illustrations on those cards. */
.mock {
  --bg: var(--white);
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.mock__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.mock--cobalt { --bg: var(--cobalt); color: var(--white); align-items: center; justify-content: center; }
.mock__url { position: absolute; top: 18px; left: 22px; font-size: 12px; opacity: 0.8; }
.mock__pill { background: var(--signal); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 16px 30px; font-weight: 800; font-size: 22px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-4deg); }
.mock__cursor { position: absolute; left: 60%; top: 57%; animation: nudge 2.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -8px); } }
.mock--paper { --bg: var(--paper); }
.mock__field { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 14px; font-weight: 600; font-size: 16px; }
.mock__field em { font-style: normal; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.mock__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.mock__chips b { font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--sky); border: 1.5px solid var(--ink); }
.mock__templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 6px; }
.mock__templates img { border-radius: 10px; border: 2px solid var(--line); opacity: 0.55; }
.mock__templates img.is-on { opacity: 1; border-color: var(--signal); transform: translateY(-6px); box-shadow: 4px 4px 0 var(--ink); }
.mock__swatches { display: flex; gap: 10px; }
.mock__swatches i { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.mock--sky { --bg: var(--sky); }
.mock__drop { border: 2px dashed var(--ink); border-radius: 16px; padding: 24px 16px; text-align: center; font-weight: 700; background: rgba(255, 255, 255, 0.65); }
.mock__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock__thumbs img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.mock__bar { height: 12px; border-radius: 99px; background: var(--white); border: 1.5px solid var(--ink); overflow: hidden; margin-top: auto; }
.mock__bar i { display: block; height: 100%; width: 64%; background: var(--cobalt); }
.mock--ink { --bg: var(--ink); color: var(--white); }
.mock__note { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 18px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); font-size: 14px; line-height: 1.3; }
.mock__note img { border-radius: 9px; }
.mock__note strong { display: block; font-size: 14px; }
.mock__note small { font-size: 11px; color: var(--ink-2); align-self: start; }
.mock__cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.mock__cal i { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, 0.08); position: relative; }
.mock__cal i.d::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--cobalt); }
.mock__cal i.s::after { background: var(--signal); }
.mock__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mock__grid img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.mock__report { margin-top: auto; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; background: var(--paper); }
.mock__report .mono { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.mock__bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.mock__bars i { width: 14px; height: var(--h); background: var(--cobalt); border-radius: 4px 4px 0 0; }
.mock__bars i:last-child { background: var(--signal); }

/* Compare */
.compare__head { text-align: center; }
.compare__head .title { max-width: 17ch; margin: 0 auto; font-size: clamp(38px, 5.4vw, 84px); }
.switch { display: flex; width: max-content; max-width: 100%; margin: clamp(32px, 4vw, 48px) auto 28px; padding: 5px; gap: 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.switch button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s; }
.switch button[aria-selected="true"] { background: var(--signal); box-shadow: inset 0 0 0 2px var(--ink); }
.board { max-width: 1000px; margin: 0 auto; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); padding: clamp(14px, 3vw, 32px); }
.board__scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table--practical { min-width: 680px; }
.table th, .table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.table thead th { font-size: 14px; font-weight: 800; border-bottom: 2px solid var(--ink); }
.table tbody th { text-align: left; font-weight: 600; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .us { color: var(--cobalt); font-weight: 700; background: rgba(35, 80, 230, 0.07); }
.table--practical th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); min-width: 150px; }
.table .yes, .table .no { font-size: 0; }
.table .yes::before { content: "✓" / ""; font-size: 20px; font-weight: 800; }
.table .no::before { content: "✕" / ""; font-size: 16px; color: var(--ink-2); }
.table--heart th, .table--heart td { text-align: left; padding: 15px 12px; font-size: 16px; }
.table--heart td:first-child { width: 40%; font-weight: 600; }
.table--heart td:last-child { color: var(--ink-2); }

/* Plans */
.plans__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.plans .lead { color: rgba(255, 255, 255, 0.88); margin-left: auto; margin-right: auto; }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.ticket {
  --notch: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Two notches on the sides, like a ticket stub. */
  -webkit-mask: radial-gradient(circle var(--notch) at 0 124px, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 124px, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 124px, transparent 98%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle var(--notch) at 100% 124px, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform 0.35s var(--ease);
}
.ticket:hover { transform: translateY(-6px) rotate(-0.6deg); }
.ticket--pro { background: var(--white); }
.ticket__tag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--signal); color: var(--ink); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 0 0 12px 12px; }
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 26px; border-bottom: 2px dashed var(--line); min-height: 96px; flex-wrap: wrap; }
.ticket__name { font-size: 34px; font-stretch: 80%; text-transform: uppercase; }
.ticket__price { display: flex; align-items: baseline; gap: 4px; }
.ticket__amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.ticket__price .mono { font-size: 13px; color: var(--ink-2); }
.ticket__big { display: flex; align-items: flex-end; gap: 12px; margin-top: 22px; }
.ticket__num { font-size: clamp(96px, 11vw, 150px); font-weight: 800; font-stretch: 75%; line-height: 0.8; letter-spacing: -0.04em; color: var(--cobalt); }
.ticket--pro .ticket__num { color: var(--signal); }
.ticket__unit { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; padding-bottom: 6px; }
.ticket__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.ticket__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticket__list li::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 2px; background: var(--signal); flex: none; }
.ticket__desc { margin-top: 16px; color: var(--ink-2); flex: 1; }
.ticket__cta { margin-top: 26px; width: 100%; }
.plans__note { margin-top: 32px; text-align: center; font-size: 13px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.88); }

/* Examples: a pile of posts to push around. */
.collage { padding: clamp(60px, 7vw, 100px) 0; }
.collage__board { position: relative; max-width: var(--wrap); height: 900px; margin: 0 auto; }
.collage__copy { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(540px, 88%); text-align: center; z-index: 1; }
.collage__copy .title { font-size: clamp(40px, 4.6vw, 66px); }
.collage__copy .lead { margin-left: auto; margin-right: auto; font-size: 17px; }
.chip {
  position: absolute;
  left: min(var(--x), calc(100% - var(--w) - 16px));
  top: var(--y);
  width: var(--w);
  border-radius: 14px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r));
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2;
  transition: box-shadow 0.2s, transform 0.25s var(--ease);
}
.chip:hover { box-shadow: 10px 10px 0 var(--ink); }
.chip.is-dragging { cursor: grabbing; box-shadow: 16px 16px 0 var(--ink); transition: none; }

/* Questions */
.faq__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq .title { position: sticky; top: 110px; font-size: clamp(42px, 5.6vw, 88px); }
.faq__list { border-top: 2px solid var(--paper); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { font-size: 13px; font-weight: 400; color: var(--signal); flex: none; width: 28px; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); color: var(--ink); }
.faq details p { padding: 0 54px 24px 46px; color: rgba(242, 244, 248, 0.78); max-width: 64ch; }
.faq details a { color: var(--signal); }

/* The running strip */
.strip { overflow: hidden; padding: 16px 0; color: var(--ink); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 34px); line-height: 1; }
.strip__track { display: flex; width: max-content; animation: run 40s linear infinite; }
.strip__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.strip__track span::after { content: "✦"; font-size: 0.7em; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 56px 0 40px; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; }
.foot__logo { width: 150px; filter: brightness(0) invert(1); }
.foot__brand p { margin-top: 14px; color: rgba(242, 244, 248, 0.75); }
.foot__nav { display: flex; flex-direction: column; gap: 10px; font-size: 13px; letter-spacing: 0.04em; align-items: flex-start; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--signal); }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid var(--line-light); padding-top: 24px; font-size: 12px; line-height: 1.7; color: rgba(242, 244, 248, 0.7); }
.foot--photo { position: relative; isolation: isolate; overflow: clip; border-radius: var(--sheet-r) var(--sheet-r) 0 0; padding-top: clamp(100px, 13vw, 180px); color: var(--white); }
.foot__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0.5) 0%, rgba(11, 16, 32, 0.72) 45%, rgba(11, 16, 32, 0.96) 80%); }
.foot__cta { text-align: center; margin-bottom: clamp(90px, 11vw, 150px); }
.foot__cta .title { max-width: 13ch; margin: 0 auto; }
.foot__cta p { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, 0.9); }

/* Privacy page */
.legal { padding: clamp(56px, 8vw, 110px) 0; }
.legal__body { max-width: 72ch; }
.legal h1 { font-size: clamp(44px, 7vw, 96px); font-stretch: 78%; text-transform: uppercase; }
.legal .updated { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.legal h2 { font-size: 26px; font-stretch: 85%; text-transform: uppercase; margin-top: 48px; line-height: 1.05; }
.legal p, .legal li { margin-top: 14px; color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--cobalt); }

/* Reveal on scroll (only when JS is on). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pain__photo.reveal:not(.is-in) { transform: translateY(26px) rotate(-4deg); }

/* Responsive */
@media (max-width: 1080px) {
  .plans__grid { gap: 16px; }
  .ticket { padding: 28px 22px; }
}

@media (max-width: 900px) {
  .top__nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 8px var(--gutter) 20px;
    font-size: 15px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .top__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top__nav a::after { display: none; }
  .top.is-open .top__nav { opacity: 1; transform: none; visibility: visible; }
  .top__cta { margin-left: auto; }
  .top__login { display: none; }
  .top__nav .top__nav-login { display: block; font-weight: 700; }
  .top__toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer;
  }
  .top__toggle span[aria-hidden] { width: 16px; height: 2px; background: var(--ink); position: relative; transition: background-color 0.2s; }
  .top__toggle span[aria-hidden]::before, .top__toggle span[aria-hidden]::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
  .top__toggle span[aria-hidden]::before { transform: translateY(-5px); }
  .top__toggle span[aria-hidden]::after { transform: translateY(5px); }
  .top.is-open .top__toggle span[aria-hidden] { background: transparent; }
  .top.is-open .top__toggle span[aria-hidden]::before { transform: rotate(45deg); }
  .top.is-open .top__toggle span[aria-hidden]::after { transform: rotate(-45deg); }

  .pain__inner { grid-template-columns: 1fr; }
  .pain__photo { max-width: 420px; }

  .how__grid { display: flex; flex-direction: column; gap: 64px; margin-top: 0; }
  .how__step { display: grid; gap: 26px; }
  .how__text, .how__step:nth-child(even) .how__text { grid-column: auto; grid-row: auto; max-width: 46ch; }
  .how__card { grid-column: auto; grid-row: auto; position: relative; top: auto; margin: 0 auto; width: min(100%, 340px); height: 360px; transform: rotate(-2deg); }
  .how__step:nth-child(even) .how__card { transform: rotate(2deg); }

  .plans__grid { grid-template-columns: 1fr; max-width: 440px; }

  .faq__inner { grid-template-columns: 1fr; gap: 28px; }
  .faq .title { position: static; }

  .foot__inner { grid-template-columns: 1fr; }
}

/* Below 1024px the pile becomes a loose grid that cannot be dragged. */
@media (max-width: 1023px) {
  .collage__board { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; padding: 0 var(--gutter); }
  .collage__copy { position: static; transform: none; width: auto; grid-column: 1 / -1; margin: 0 auto 16px; }
  .chip { position: static; width: 100%; transform: rotate(calc(var(--r) / 2)); cursor: default; touch-action: auto; }
  .chip:hover { box-shadow: 6px 6px 0 var(--ink); }
  .chip:nth-of-type(n + 10) { display: none; }
}

@media (max-width: 760px) {
  .collage__board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .chip:nth-of-type(n + 7) { display: none; }
  .pain__photo img { box-shadow: 8px 8px 0 var(--ink); }
}

@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__lead br, .foot__cta p br { display: none; }
  .switch button { padding: 10px 12px; font-size: 11px; white-space: nowrap; }
  .faq details p { padding-left: 0; padding-right: 0; }
  .feat { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .parade__track, .strip__track, .mock__cursor { animation: none; }
  .parade { overflow-x: auto; }
  .js .reveal, .js .pain__photo.reveal:not(.is-in) { opacity: 1; transform: none; transition: none; }
  .js .pain__photo.reveal img { transition: none; }
  .post, .btn, .ticket, .chip { transition: none; }
}
