/* Lorem Club landing page. Values follow the Figma file "Lorem Club (Design System)", frame "Versão G — desktop (1440)". */

@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/fonts/gabarito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-latin.woff2") format("woff2");
}

:root {
  --ink: #16232b;
  --ink-soft: #4a555c;
  --black: #0d0d0d;
  --muted: #5c5852;
  --placeholder: #6b6660;
  --cream: #f5ece5;
  --card: #fffdfb;
  --sand: #ede2d9;
  --blush: #f2e0d8;
  --blue: #8898e5;
  --blue-ink: #4b59ae;
  --blue-tint: rgba(136, 152, 229, 0.16);
  --coral: #ca6362;
  --lilac: #aca5be;
  --rust: #943420;
  --rust-dark: #7a2a19;

  --display: "Gabarito", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", Arial, sans-serif;

  --container: min(1200px, 100% - 40px);
}

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

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

/* Safari 26 tints its toolbars with the body color, so the body carries the hero blue
   (and the footer color once it shows, see header.js) while main keeps the cream page. */
body {
  margin: 0;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.at-footer body {
  background: var(--rust-dark);
}

main {
  display: block;
  background: var(--cream);
}

img {
  display: block;
  max-width: none;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */

/* Sticky over the hero via the negative margin; header.js pushes it up once the footer is on screen. */
.site-header {
  --header-h: 89.27px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  padding: 29.27px 18px 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
}

/* Keeps anchor targets from landing under the sticky header. */
main section[id] {
  scroll-margin-top: 96px;
}

.nav-pill {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(980px, 100%);
  height: 60px;
  padding: 7px 7px 7px 20px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 8px 12px rgba(22, 35, 43, 0.12), 0 1px 1px rgba(22, 35, 43, 0.08);
}

.logo {
  flex: none;
  align-self: center;
}

.logo img {
  width: 151px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 34.555px;
  height: 100%;
}

.nav-links a {
  padding: 10.75px 0 11.25px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
  color: var(--ink);
}

.nav-cta {
  flex: none;
  height: 100%;
  padding: 12px 19.48px 12px 20px;
  border-radius: 23px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
}

.nav-actions {
  display: flex;
  flex: none;
  gap: 8px;
  height: 100%;
}

.nav-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 0 12px;
  border: 1.5px solid rgba(22, 35, 43, 0.18);
  border-radius: 23px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, background-color 0.15s;
}

.nav-lang:hover {
  border-color: var(--ink);
}

/* ---------- Waitlist form (hero and final section) ---------- */

.waitlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist label {
  margin-bottom: -4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}

.waitlist-field {
  display: flex;
  gap: 6px;
  height: 60px;
  padding: 6px;
  border-radius: 30px;
  background: var(--card);
}

.waitlist-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 11px 16px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 26px;
}

.waitlist-field input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.waitlist-field input:focus {
  outline: none;
}

.waitlist-field:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.waitlist-field button {
  flex: none;
  height: 100%;
  padding: 12.75px 22.47px 13.25px;
  border: 0;
  border-radius: 24px;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
}

.waitlist-field button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.waitlist-note {
  font-size: 14px;
  line-height: 20px;
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 149.67px 0 37.43px;
  overflow: hidden;
  /* Clips without becoming a scroll container, so the phone's scroll timeline follows the page. */
  overflow: clip;
  background: linear-gradient(to bottom, var(--blue) 0%, var(--lilac) 48%, var(--cream) 88%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(636px, 100% - 32px);
  text-align: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 83.52px;
  line-height: 80.18px;
  letter-spacing: -2.09px;
  white-space: nowrap;
}

.hero-lead {
  margin-top: 21.2px;
  font-size: 21px;
  line-height: 31.5px;
}

.waitlist--hero {
  width: min(500px, 100%);
  margin-top: 28.25px;
}

.waitlist--hero .waitlist-note {
  margin-inline: -60px;
  white-space: nowrap;
}

.waitlist--hero label {
  padding-left: 22px;
  text-align: left;
}

.waitlist--hero .waitlist-field {
  box-shadow: 0 10px 14px rgba(22, 35, 43, 0.16), 0 1px 1px rgba(22, 35, 43, 0.1);
}

.waitlist--hero button {
  background: var(--rust);
}

.hero-figure {
  width: 100%;
  padding-bottom: 40px;
}

.hero-stage {
  --stage-s: 1;
  position: relative;
  width: 320px;
  height: 654px;
  margin: 0 auto;
}

.hero-phone {
  position: relative;
  width: 320px;
  height: 654px;
  filter: drop-shadow(5px 10px 10px rgba(0, 0, 0, 0.35));
}

/* Decorative objects: positioned from the phone, rotations as in Figma. */
.deco {
  position: absolute;
}

.deco-nota {
  left: 50%;
  top: 269.35px;
  width: 184px;
  height: 186px;
  margin-left: 466.66px;
  transform: rotate(9.93deg);
  filter: drop-shadow(2px 4px 4px rgba(70, 59, 0, 0.35));
}

.deco-polaroide {
  left: 50%;
  top: 14.44px;
  width: 175.13px;
  height: 212.84px;
  margin-left: -395.56px;
  object-fit: cover;
  object-position: top;
  transform: rotate(10.83deg);
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Exported from Figma with its rotation and shadow applied. */
.deco-livro {
  left: 50%;
  top: 59.88px;
  width: 583px;
  height: 661.5px;
  margin-left: -843px;
}

/* Rotates around the card's center, which sits below the image center because of the ribbon. */
.deco-marcador {
  left: 50%;
  top: -9.96px;
  width: 393.7px;
  height: 705.6px;
  margin-left: 153.1px;
  transform: rotate(-12.57deg);
  transform-origin: 197px 402.9px;
  filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.25));
}

.deco-cafe {
  left: 50%;
  top: 45.49px;
  width: 332.24px;
  height: 271.34px;
  margin-left: 317.67px;
  transform: rotate(-48.32deg);
  filter: sepia(0.12) saturate(1.1) drop-shadow(10px 20px 10px rgba(0, 0, 0, 0.35));
}

/* ---------- Shared section layout ---------- */

.section {
  width: var(--container);
  margin: 0 auto;
}

.title-lg {
  font-family: var(--display);
  font-weight: 800;
  font-size: 63.36px;
  line-height: 63.36px;
  letter-spacing: -1.27px;
}

.title-md {
  font-family: var(--display);
  font-weight: 800;
  font-size: 47.52px;
  line-height: 48.47px;
  letter-spacing: -0.95px;
}

/* Small UI mockups inside cards use the system font, like the iOS app. */
.mock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  color: var(--black);
  font-family: var(--ui);
}

.mock-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: var(--black);
}

.mock-label {
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  color: var(--muted);
}

.mock-overline {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.66px;
  color: var(--muted);
}

.mock-input {
  display: block;
  width: 100%;
  padding: 8.75px 12px 9.25px;
  border-radius: 12px;
  background: var(--cream);
  font-size: 14px;
  line-height: 18px;
}

.mock-button {
  display: block;
  width: 100%;
  padding: 11px 0;
  border-radius: 20px;
  background: var(--rust);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
}

.mock-button--black {
  background: var(--black);
  font-weight: 600;
}

.pill {
  display: inline-block;
  flex: none;
  border-radius: 14px;
  font-family: var(--ui);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.pill--blue {
  padding: 5px 12px;
  background: var(--blue-tint);
  color: var(--blue-ink);
  font-weight: 500;
}

.pill--sand {
  padding: 4px 10px;
  border-radius: 13px;
  background: var(--sand);
  color: var(--black);
  font-weight: 500;
}

.pill--rust {
  padding: 5px 14px;
  background: var(--rust);
  color: var(--cream);
  font-weight: 600;
}

.pill--sm {
  border-radius: 12px;
  font-size: 12px;
  line-height: 16px;
}

/* ---------- Como funciona ---------- */

.steps-section {
  padding: 91.82px 0 43.19px;
}

.steps {
  display: flex;
  gap: 20px;
  margin-top: 39.9px;
}

.step {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 420px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 14px 24px -4px rgba(60, 32, 20, 0.12), 0 4px 8px -2px rgba(60, 32, 20, 0.08);
}

.step--blue { padding-top: 44px; background: var(--blue); }
.step--coral { padding-top: 88px; background: var(--coral); }
.step--lilac { padding-top: 64px; background: var(--lilac); }

.mock--step {
  flex: 1 0 auto;
  gap: 10.063px;
  width: 250px;
  padding: 17.75px 16px 20px;
  border-radius: 26px 26px 0 0;
}

.mock--code {
  gap: 14.125px;
}

.mock-book {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 6px;
  border-radius: 12px;
  background: var(--cream);
}

.mock-book-cover {
  width: 26px;
  height: 100%;
  border-radius: 2px 5px 5px 2px;
  background: var(--rust);
}

.mock-book-text {
  display: flex;
  flex-direction: column;
}

.mock-book-text b {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

.mock-book-text small {
  font-size: 11px;
  line-height: 14px;
  color: var(--muted);
}

.code-keys {
  display: flex;
  gap: 5px;
  height: 40px;
}

.code-keys span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32.16px;
  border-radius: 9px;
  background: var(--sand);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 28.8px;
}

.code-keys .code-caret {
  background: var(--blush);
}

.code-caret i {
  width: 2px;
  height: 20px;
  background: var(--rust);
}

.mock-pair {
  display: flex;
  gap: 8px;
}

.mock-pair .mock-input {
  width: 105px;
}

.mock-date {
  padding: 6px 12px;
  border-radius: 14px;
  background: rgba(136, 152, 229, 0.2);
  color: var(--blue-ink);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

.step-text {
  flex: none;
  width: 100%;
  padding: 19.8px 24px 56.14px;
  background: var(--card);
}

.step-text h3,
.extra h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 29.9px;
  color: var(--ink);
}

.step-text p,
.extra p {
  margin-top: 6.06px;
  font-size: 16.5px;
  line-height: 25.58px;
  color: var(--ink-soft);
}

/* ---------- Recursos ---------- */

.features-section {
  padding: 43.02px 0 92px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 39.53px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 57.59px;
  border-radius: 28px;
}

.feature--blue {
  height: 408.22px;
  padding: 39.54px 40px;
  overflow: hidden;
  background: var(--blue);
}

.feature--dark {
  height: 424.22px;
  padding: 47.54px 48px;
  background: var(--ink);
}

.feature-copy {
  display: flex;
  flex: none;
  flex-direction: column;
  align-self: stretch;
  width: 424.34px;
}

.feature--dark .feature-copy {
  width: 388.8px;
}

.feature-copy h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  line-height: 46.92px;
  letter-spacing: -0.92px;
}

.feature-copy p {
  margin-top: 14.14px;
  font-size: 18px;
  line-height: 28.8px;
}

.feature--blue .feature-copy p {
  width: 410px;
}

.feature--dark .feature-copy h3 {
  color: var(--cream);
}

.feature--dark .feature-copy p {
  width: 387px;
  color: #e3d6cc;
}

.chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 15.54px;
}

.chips li {
  padding: 7px 15px;
  border-radius: 17px;
  background: var(--card);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}

.chips--dark li {
  background: rgba(245, 236, 229, 0.14);
  color: var(--cream);
}

.feature-figure {
  position: relative;
  flex: none;
}

.mock--float {
  border-radius: 22px;
  box-shadow: 0 10px 12px rgba(22, 35, 43, 0.12), 0 2px 2px rgba(22, 35, 43, 0.08);
}

.figure-marcos {
  width: 638.06px;
  padding-left: 306.03px;
}

.card-marco {
  position: absolute;
  left: 0;
  top: 0.45px;
  gap: 9.772px;
  width: 290.03px;
  padding: 20px 19.76px 20px 20px;
  --tilt: -2deg;
  transform: rotate(var(--tilt));
}

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 18px;
}

.progress-bar {
  width: 219.27px;
  border-radius: 4px;
  background: rgba(136, 152, 229, 0.2);
}

.progress-bar i {
  display: block;
  width: 50%;
  height: 8px;
  border-radius: 4px;
  background: var(--blue);
}

.progress b {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  color: var(--blue-ink);
}

.card-marco-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 32.1px;
  letter-spacing: -0.3px;
}

.card-proximos {
  gap: 14.083px;
  width: 100%;
  padding: 19.75px 20px 20px;
}

.marco-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: start;
  column-gap: 10px;
  width: 100%;
  height: 38px;
}

.dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 6px;
}

.dot--done { background: var(--black); }
.dot--current { background: var(--rust); }
.dot--next { background: #d3c8be; }

.marco-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.marco-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}

.marco-name--bold {
  font-weight: 700;
}

.marco-row--next .marco-name {
  color: var(--muted);
}

.marco-text small {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

.figure-agenda {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 310px;
  padding-top: 8px;
}

.card-agenda {
  gap: 10px;
  width: 330.8px;
  padding: 20px;
  border-radius: 22px;
}

.agenda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 26px;
}

.agenda-head .pill--blue {
  padding: 4px 12px;
  border-radius: 13px;
}

.agenda-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
}

.agenda-item {
  display: flex;
  gap: 12px;
  width: 100%;
  height: 58px;
  padding: 5.75px 6px 6px;
  border-radius: 14px;
  background: var(--cream);
  white-space: nowrap;
}

.agenda-date {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 44px;
  padding-top: 7.25px;
  border-radius: 10px;
  background: var(--blush);
  color: var(--rust);
  font-weight: 600;
  font-size: 9px;
  line-height: 11px;
}

.agenda-date--blue {
  background: #e6e8f8;
  color: var(--blue-ink);
}

.agenda-date b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 18px;
}

.agenda-text {
  display: flex;
  flex-direction: column;
}

.agenda-text small {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.agenda-text .agenda-kind {
  font-weight: 600;
  font-size: 10px;
  line-height: 12px;
}

.agenda-text b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
}

.card-encontro {
  position: absolute;
  left: 346.8px;
  top: 0;
  gap: 10px;
  width: 310.8px;
  padding: 16px;
  border-radius: 22px;
  --tilt: 2deg;
  transform: rotate(var(--tilt));
}

.encontro-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
}

.encontro-place {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

.encontro-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 24px;
}

.encontro-people {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.avatars {
  display: flex;
  height: 100%;
}

.avatars i {
  width: 24px;
  height: 24px;
  margin-right: -8px;
  border: 2px solid var(--card);
  border-radius: 12px;
  background: var(--rust);
}

.avatars i:nth-child(2) { background: var(--coral); }
.avatars i:nth-child(3) { margin-right: 0; background: var(--lilac); }

.figure-agenda-widget {
  width: 310.8px;
  padding-top: 170px;
}

.figure-agenda-widget img {
  width: 100%;
  height: 132px;
  border-radius: 22px;
  object-fit: cover;
}

/* ---------- E também ---------- */

.extras-section {
  padding-bottom: 92px;
}

.extras {
  display: flex;
  gap: 20px;
  margin-top: 31.71px;
}

.extra {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  height: 305.04px;
  padding: 24px 24px 27.18px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 14px 12px rgba(60, 32, 20, 0.12), 0 4px 4px rgba(60, 32, 20, 0.08);
}

.extra-visual {
  flex: none;
  height: 148px;
  margin-bottom: 17.8px;
  border-radius: 20px;
}

.extra-visual--code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--coral);
}

.extra-visual--code span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  border-radius: 8px;
  background: var(--card);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 27.2px;
}

.extra-visual--clubs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 17px 14px;
  background: var(--blue);
  font-family: var(--ui);
}

.club-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 6px 10px;
  border-radius: 12px;
  background: var(--card);
}

.club-name {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: var(--black);
}

.club-cover {
  width: 16px;
  height: 100%;
  border-radius: 2px 4px 4px 2px;
}

.club-cover--rust { background: var(--rust); }
.club-cover--coral { background: var(--coral); }
.club-cover--lilac { background: var(--lilac); }

.club-row b {
  font-weight: 600;
  font-size: 11px;
  line-height: 17.6px;
  color: var(--blue-ink);
}

.extra-visual--image img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  /* Keeps the app icon and the notification text in view when the card is narrow. */
  object-position: left center;
}

/* ---------- Perguntas ---------- */

.faq-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 91.7px 0 91.99px;
}

.title-faq {
  font-family: var(--display);
  font-weight: 800;
  font-size: 57.6px;
  line-height: 57.6px;
  letter-spacing: -1.15px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 733.09px;
}

.faq details {
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 6px 6px rgba(60, 32, 20, 0.08), 0 2px 2px rgba(60, 32, 20, 0.06);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 20px 26px;
  border-radius: 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 25.92px;
  line-height: 31.1px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.faq details[open] summary {
  padding-bottom: 7px;
}

.faq-chevron {
  flex: none;
  color: var(--ink-soft);
}

.faq details[open] .faq-chevron {
  transform: rotate(180deg);
}

/* faq.js keeps [open] until the answer has slid shut, so turn the chevron back as it starts. */
.faq details.is-closing .faq-chevron {
  transform: none;
}

.faq details p {
  padding: 0 55px 24px 26px;
  font-size: 18px;
  line-height: 28.8px;
  color: var(--ink-soft);
}

/* ---------- Lista de espera ---------- */

.waitlist-section {
  padding: 99.64px 0 86.39px;
  background: var(--rust);
  color: var(--cream);
}

.waitlist-inner {
  position: relative;
  width: var(--container);
  margin: 0 auto;
}

.waitlist-inner h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 86.4px;
  line-height: 81.22px;
  letter-spacing: -2.16px;
}

.waitlist-lead {
  max-width: 563px;
  margin-top: 17.51px;
  font-size: 21px;
  line-height: 32.55px;
}

.waitlist--final {
  width: min(560px, 100%);
  margin-top: 27.37px;
}

.waitlist--final button {
  background: var(--ink);
}

.waitlist-sticker {
  position: absolute;
  left: 837.78px;
  top: 74.75px;
  width: 284px;
  height: 270px;
  --tilt: -6deg;
  transform: rotate(var(--tilt));
  transform-origin: 142px 135px;
  filter: drop-shadow(0 1px 1px rgba(40, 10, 4, 0.35)) drop-shadow(0 12px 9px rgba(40, 10, 4, 0.22));
}

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

.site-footer {
  padding: 60px 0 28px;
  background: var(--rust-dark);
  color: var(--cream);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 413.33px 413.33px 280px;
  min-height: 158px;
}

.footer-logo {
  width: 72px;
  height: 68.5px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  color: #f2d3cc;
}

.footer-col a {
  display: flex;
  gap: 10px;
  height: 44px;
  padding: 11px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}

.footer-col--social a {
  padding: 10.25px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  margin-top: 44px;
}

.footer-bottom p {
  font-size: 15px;
  line-height: 22px;
}

.footer-bottom nav {
  display: flex;
  gap: 28px;
}

.footer-bottom a {
  padding: 11px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}

/* ---------- Tilt on scroll ---------- */

/* tilt.js adds .js-tilt: tilted cards start straight and lean into place once they rise 30% into the screen. */
.js-tilt [data-tilt] {
  transform: none;
  transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-tilt [data-tilt].is-tilted {
  transform: rotate(var(--tilt));
}

@media (prefers-reduced-motion: reduce) {
  .js-tilt [data-tilt] {
    transition: none;
  }
}

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

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* reveal.js marks content with [data-reveal] and adds .is-revealed as it scrolls into view. */
.js-reveal [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition:
    opacity 700ms var(--ease-out) var(--reveal-delay, 0ms),
    translate 900ms var(--ease-out) var(--reveal-delay, 0ms);
}

/* Keeps the tilt's own transition on the cards that both rise and tilt. */
.js-reveal.js-tilt [data-reveal][data-tilt] {
  transition:
    opacity 700ms var(--ease-out) var(--reveal-delay, 0ms),
    translate 900ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  translate: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* The header links glide to their section. */
  html {
    scroll-behavior: smooth;
  }

  .faq-chevron {
    transition: transform 400ms var(--ease-out);
  }

  /* Hero entrance: the header drops in, the copy rises line by line, then the phone and the
     objects around it slide in and keep floating. Uses the individual translate/rotate/scale
     properties so the objects' own transforms and the phone's scroll growth stay untouched. */
  .nav-pill {
    animation: hero-drop 800ms var(--ease-out) both;
  }

  .hero h1 {
    animation: hero-rise-blur 1000ms var(--ease-out) 100ms both;
  }

  .hero-lead {
    animation: hero-rise 900ms var(--ease-out) 250ms both;
  }

  .waitlist--hero {
    animation: hero-rise 900ms var(--ease-out) 380ms both;
  }

  .hero-figure {
    animation: hero-figure-in 1300ms var(--ease-out) 350ms both;
  }

  .deco {
    animation:
      hero-deco-in 1300ms var(--ease-out) var(--deco-delay) both,
      hero-float var(--float-time, 6s) ease-in-out calc(var(--deco-delay) + 1300ms) infinite alternate;
  }

  .deco-polaroide {
    --deco-from: -140px 40px;
    --deco-spin: -14deg;
    --deco-delay: 650ms;
    --float-y: -9px;
    --float-spin: 1.5deg;
    --float-time: 5.5s;
  }

  .deco-livro {
    --deco-from: -180px 60px;
    --deco-spin: -6deg;
    --deco-delay: 550ms;
    --float-y: -5px;
    --float-spin: -0.6deg;
    --float-time: 7s;
  }

  .deco-marcador {
    --deco-from: 160px -30px;
    --deco-spin: 10deg;
    --deco-delay: 600ms;
    --float-y: -7px;
    --float-spin: 0.8deg;
    --float-time: 6.5s;
  }

  .deco-cafe {
    --deco-from: 200px -50px;
    --deco-spin: 18deg;
    --deco-delay: 750ms;
    --float-y: -6px;
    --float-spin: -1.5deg;
    --float-time: 6s;
  }

  .deco-nota {
    --deco-from: 150px 60px;
    --deco-spin: 12deg;
    --deco-delay: 850ms;
    --float-y: -10px;
    --float-spin: -2deg;
    --float-time: 5s;
  }
}

@keyframes hero-drop {
  from {
    opacity: 0;
    translate: 0 -24px;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

@keyframes hero-rise-blur {
  from {
    opacity: 0;
    translate: 0 32px;
    filter: blur(10px);
  }
}

@keyframes hero-figure-in {
  from {
    opacity: 0;
    translate: 0 90px;
    scale: 0.96;
  }
}

@keyframes hero-deco-in {
  from {
    opacity: 0;
    translate: var(--deco-from);
    rotate: var(--deco-spin);
  }
}

@keyframes hero-float {
  to {
    translate: 0 var(--float-y);
    rotate: var(--float-spin);
  }
}

/* ---------- Responsive ---------- */

/* Eases in (slow, then faster); runs on a scroll timeline, see hero-phone.js. */
@keyframes hero-phone-grow {
  from {
    transform: scale(var(--stage-s));
  }

  to {
    transform: scale(var(--stage-end));
  }
}

@media (max-width: 1240px) {
  .footer-top {
    grid-template-columns: 1fr minmax(0, 373px) 280px;
    column-gap: 40px;
  }

  .waitlist-sticker {
    left: auto;
    right: 0;
  }
}

@media (max-width: 1180px) {
  .feature {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    height: auto;
  }

  .feature-copy,
  .feature--dark .feature-copy {
    width: auto;
  }

  .feature-figure {
    align-self: center;
  }

  .waitlist-sticker {
    display: none;
  }
}

@media (max-width: 1000px) {
  .faq-section {
    flex-direction: column;
    gap: 32px;
  }

  .faq {
    width: 100%;
  }

  .scroller {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -20px;
    padding: 0 20px 32px;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }

  .scroller::-webkit-scrollbar {
    display: none;
  }

  .scroller > * {
    flex: 0 0 320px;
    scroll-snap-align: start;
  }

  .steps-section {
    padding-bottom: 11px;
  }

  .extras-section {
    padding-bottom: 60px;
  }
}

@media (max-width: 760px) {
  .site-header {
    --header-h: 80px;
    padding-top: 20px;
  }

  .nav-links {
    display: none;
  }

  /* Leaves room for the language button and the CTA on a 375px-wide phone. */
  .nav-pill {
    padding-left: 14px;
  }

  .logo img {
    width: 120px;
    height: 30px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-lang {
    min-width: 42px;
    padding: 0 10px;
    font-size: 14px;
  }

  .nav-cta {
    padding-inline: 14px;
    font-size: 15px;
  }

  .hero {
    gap: 36px;
    padding: 111.88px 0 20px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 42.24px;
    letter-spacing: -1.1px;
  }

  .hero-lead {
    margin-top: 13.34px;
    font-size: 17px;
    line-height: 25.5px;
  }

  .waitlist--hero {
    width: 100%;
    margin-top: 20.25px;
  }

  .waitlist-field {
    flex-direction: column;
    gap: 4px;
    height: auto;
    padding: 4px;
    border-radius: 18px;
  }

  .waitlist-field input,
  .waitlist-field button {
    height: 42px;
    border-radius: 14px;
  }

  /* 16px is the smallest size that keeps iOS Safari from zooming in on focus. */
  .waitlist-field input {
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .waitlist-field button {
    padding-block: 10px;
    font-size: 16px;
  }

  .waitlist--hero .waitlist-note {
    margin-inline: 0;
    padding: 0 16px;
    white-space: normal;
  }

  .deco {
    display: none;
  }

  .hero-figure {
    padding-bottom: 0;
  }

  .hero-stage {
    --stage-s: 0.5674;
    height: calc(654px * var(--stage-s));
  }

  .hero-phone {
    transform: scale(var(--stage-s));
    transform-origin: top center;
  }

  /* hero-phone.js: room for the grown phone, which scales into it as the stage scrolls up.
     "cover 50%" is the stage's centre on the screen's centre, where the growth stops. */
  .js-grow .hero-stage {
    height: calc(654px * var(--stage-end));
    view-timeline: --hero-stage block;
  }

  .js-grow .hero-phone {
    animation: hero-phone-grow both cubic-bezier(0.55, 0.085, 0.68, 0.53);
    animation-timeline: --hero-stage;
    animation-range: var(--grow-start) cover 50%;
  }

  .title-lg,
  .title-faq {
    font-size: 36px;
    line-height: 37px;
    letter-spacing: -0.72px;
  }

  .title-md {
    font-size: 32px;
    line-height: 34px;
    letter-spacing: -0.64px;
  }

  .steps-section {
    padding-top: 64px;
  }

  .steps,
  .features {
    margin-top: 28px;
  }

  .extras {
    margin-top: 24px;
  }

  .scroller > * {
    flex-basis: 300px;
  }

  .features-section {
    padding-bottom: 60px;
  }

  .extras-section {
    padding-bottom: 0;
  }

  .feature--blue,
  .feature--dark {
    padding: 28px 20px 32px;
  }

  .feature-copy h3 {
    font-size: 34px;
    line-height: 36px;
    letter-spacing: -0.68px;
  }

  .feature-copy p,
  .feature--blue .feature-copy p,
  .feature--dark .feature-copy p {
    width: auto;
    font-size: 17px;
    line-height: 27px;
  }

  .chips li {
    white-space: normal;
  }

  .feature-figure {
    align-self: stretch;
  }

  .figure-marcos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: auto;
    padding-left: 0;
  }

  .card-marco {
    position: static;
    width: 100%;
  }

  .progress-bar {
    flex: 1;
  }

  .figure-agenda {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding-top: 0;
  }

  .card-agenda,
  .figure-agenda-widget {
    width: 100%;
  }

  .card-encontro {
    position: static;
    width: 100%;
  }

  .figure-agenda-widget {
    padding-top: 0;
  }

  .faq-section {
    padding: 64px 0;
  }

  .faq summary {
    padding: 18px 16px 18px 20px;
    font-size: 21px;
    line-height: 26px;
  }

  .faq details[open] summary {
    padding-bottom: 7px;
  }

  .faq details p {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 25px;
  }

  .waitlist-section {
    padding: 40px 0 44px;
  }

  .waitlist-sticker {
    display: block;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 170px;
    height: 162px;
    margin: 0 auto 32px;
    transform-origin: 85px 81px;
  }

  .waitlist-inner h2 {
    font-size: 46px;
    line-height: 43.24px;
    letter-spacing: -1.15px;
  }

  .waitlist-lead {
    font-size: 18px;
    line-height: 27.9px;
  }

  .waitlist--final {
    margin-top: 28px;
  }

  .site-footer {
    padding: 36px 0 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    margin-top: 32px;
  }
}

/* ---------- Launch banner ---------- */

.launch-banner {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 12px 22px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rust);
  box-shadow: 0 12px 30px rgba(122, 42, 25, 0.28), inset 0 0 0 2px rgba(255, 253, 251, 0.35);
  color: var(--card);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-wrap: balance;
  text-decoration: none;
  transition: scale 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.launch-banner:hover {
  scale: 1.04;
  box-shadow: 0 16px 38px rgba(122, 42, 25, 0.36), inset 0 0 0 2px rgba(255, 253, 251, 0.5);
}

.launch-banner:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* The moving gradient: two copies of a gradient three pills wide, slid with a transform so the
   browser composites it on the GPU instead of repainting the pill every frame. */
.launch-banner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 600%;
  background: linear-gradient(110deg, var(--rust) 0%, var(--coral) 25%, var(--blue-ink) 50%, var(--coral) 75%, var(--rust) 100%);
  background-size: 50% 100%;
}

/* A soft light that sweeps across the pill. */
.launch-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 253, 251, 0.35) 50%, transparent 70%);
  translate: -100% 0;
}

.launch-text {
  position: relative;
}

.launch-text strong {
  color: #f2d06b;
  font-weight: 900;
}

.launch-kicker {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--card);
  color: var(--rust);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.launch-emoji {
  flex: none;
  font-size: 26px;
  line-height: 1;
}

.launch-confetti {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.launch-confetti i {
  position: absolute;
  top: -14px;
  left: var(--x);
  width: 6px;
  height: 10px;
  border-radius: 1px;
  background: var(--c);
  opacity: 0.85;
}

.launch-confetti i.is-round {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .launch-banner {
    animation: hero-rise-blur 1000ms var(--ease-out) both;
  }

  .launch-banner::before {
    animation: launch-gradient 4s linear 1000ms infinite;
  }

  /* While the hero is off screen its endless loops stop, so they cost nothing (hero-idle.js). */
  .hero.is-idle :is(.launch-banner, .launch-banner *, .deco),
  .hero.is-idle .launch-banner::before,
  .hero.is-idle .launch-banner::after {
    animation-play-state: paused;
  }

  .launch-banner::after {
    animation: launch-shine 3.6s ease-in-out 1.2s infinite;
  }

  .launch-emoji {
    animation: launch-wiggle 1.4s ease-in-out infinite;
  }

  .launch-emoji--right {
    animation-delay: -0.7s;
  }

  .launch-confetti i {
    animation: launch-fall var(--d) linear var(--delay) infinite;
  }
}

/* Without motion the pieces sit still, scattered across the pill. */
@media (prefers-reduced-motion: reduce) {
  .launch-confetti i {
    top: calc(var(--x) * 0.6);
    rotate: calc(var(--r) * 30deg);
  }
}

@keyframes launch-gradient {
  to { translate: -50% 0; }
}

@keyframes launch-shine {
  0% { translate: -100% 0; }
  45%, 100% { translate: 100% 0; }
}

@keyframes launch-wiggle {
  0%, 100% { rotate: -12deg; scale: 1; }
  50% { rotate: 12deg; scale: 1.15; }
}

@keyframes launch-fall {
  0% { translate: 0 0; rotate: 0deg; }
  50% { translate: calc(var(--r) * 8px) 40px; }
  100% { translate: 0 90px; rotate: calc(var(--r) * 540deg); }
}

@media (max-width: 760px) {
  .launch-banner {
    gap: 10px;
    margin-bottom: 22px;
    padding: 10px 16px;
    border-radius: 22px;
    font-size: 15px;
  }

  .launch-kicker {
    font-size: 12px;
  }

  .launch-emoji {
    font-size: 22px;
  }
}

/* ---------- App Store badge ---------- */

.app-store-badge {
  display: inline-block;
  margin-top: 24px;
  line-height: 0;
}

.app-store-badge img {
  width: auto;
  height: 54px;
}
