/* moai.im: one stylesheet, no framework. Sections: tokens, base, buttons, header, hero and its demo, sections and
   cards, the feature mock-ups, pricing, teams, FAQ, final call, footer, documents and notices, motion. */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1220;
  --ink-2: #1f2937;
  --muted: #5b6577;
  --line: #e5e8ef;
  --bg: #ffffff;
  --tint: #f5f7fb;
  --brand: #2563eb;
  --brand-2: #4f46e5;
  --brand-soft: #eef3ff;
  --ok: #16a34a;
  --ok-soft: #e8f7ee;
  --danger: #dc2626;
  --danger-soft: #fdecec;
  --dark: #070b16;
  --dark-card: rgba(255, 255, 255, 0.045);
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-muted: #a3aec2;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.18);
  --shadow-lg: 0 30px 80px -24px rgba(23, 37, 84, 0.35);
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: 16px;
  color-scheme: light;
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  display: block;
}

.icon {
  flex: none;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 800px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

.grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 60%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3b82f6, var(--brand));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 20px -8px rgba(37, 99, 235, 0.65);
}

.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 26px -8px rgba(37, 99, 235, 0.75);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  color: var(--brand);
  background: #fff;
  border-color: #c7d6fb;
}

.btn-outline:hover {
  border-color: var(--brand);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-disabled {
  color: var(--muted);
  background: var(--tint);
  border-color: var(--line);
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.top.scrolled {
  border-bottom-color: var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.top-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.top-nav a:hover {
  background: var(--tint);
  text-decoration: none;
}

/* The routines and connectors links leave the top bar where it is too narrow for them (the footer keeps them). */
@media (min-width: 901px) and (max-width: 1179px) {
  .top-nav .nav-extra {
    display: none;
  }
}

.top-nav .lang {
  margin-left: 4px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Signing in is a button beside the main one; on a phone it moves into the menu, as a link that stands out. */
.top-signin {
  font-weight: 700;
}

.top-nav .nav-signin {
  display: none;
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 600px) {
  .top-signin {
    display: none;
  }

  .top-nav .nav-signin {
    display: block;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .top-cta {
    margin-left: auto;
  }

  .top-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu-open .top-nav {
    display: flex;
  }

  .top-nav a {
    padding: 12px;
    font-size: 16px;
  }

  .top-nav .lang {
    align-self: flex-start;
    margin: 6px 0 0;
  }
}

/* Tablet: the sign-in button opens the right-hand group; on a phone it is in the menu and the main button does. */
@media (max-width: 900px) {
  .top-signin {
    margin-left: auto;
  }

  .top-signin + .top-cta {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .top-signin + .top-cta {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .top-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -200px -10% auto;
  height: 760px;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(59, 130, 246, 0.16), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(124, 58, 237, 0.13), transparent 70%),
    radial-gradient(30% 40% at 65% 75%, rgba(14, 165, 233, 0.1), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1000px) {
  .hero {
    padding: 88px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px 6px 8px;
  border: 1px solid #d7e2fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.pill:hover {
  text-decoration: none;
  border-color: var(--brand);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 4vw + 1.1rem, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.lead {
  margin-top: 18px;
  font-size: clamp(1.05rem, 0.35vw + 1rem, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
}

.hero .lead {
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 520px) {
  .cta-row .btn {
    width: 100%;
  }
}

.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.notes li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notes .icon {
  color: var(--ok);
}

/* The demo: a browser window with a page on the left and Moai's panel on the right. */
.demo {
  margin: 0;
  min-width: 0;
}

.browser {
  border: 1px solid #dfe5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: #f3f5f9;
  border-bottom: 1px solid #e3e8f0;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9dee7;
}

.address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 390px;
}

.page {
  padding: 22px;
  background: linear-gradient(180deg, #fbfcfe, #f6f8fc);
}

.pg-hero {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.pg-hero b {
  height: 12px;
  border-radius: 6px;
  background: #e6eaf2;
}

.pg-hero b:first-child {
  width: 70%;
  height: 16px;
  background: #d7deea;
}

.pg-hero b:last-child {
  width: 45%;
}

.pg-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  background: #fff;
}

.pf-row {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page,
.pg-form {
  min-width: 0;
}

.pf-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.pf-field {
  display: block;
  height: 30px;
  padding: 6px 10px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
}

.typed {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  vertical-align: top;
  animation: type 0.6s steps(18, jump-none) forwards;
  animation-delay: 3.3s;
}

/* One after the other (no inline styles: the content security policy allows none). */
.pf-row:nth-child(2) .typed {
  animation-delay: 3.65s;
}

.pf-row:nth-child(3) .typed {
  animation-delay: 4s;
}

.pf-row:nth-child(4) .typed {
  animation-delay: 4.35s;
}

.pf-submit {
  justify-self: start;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  animation: target 0.4s ease forwards;
  animation-delay: 5s;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-left: 1px solid #e3e8f0;
  background: #fff;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
}

.bubble {
  align-self: flex-end;
  max-width: 92%;
  padding: 9px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.run {
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.run li {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  animation: rise 0.4s ease forwards;
  animation-delay: 0.7s;
}

.run li:nth-child(2) {
  animation-delay: 1.35s;
}

.run li:nth-child(3) {
  animation-delay: 2s;
}

.run li:nth-child(4) {
  animation-delay: 2.65s;
}

.run .icon {
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}

.approval {
  margin-top: auto;
  padding: 12px;
  border: 1px solid #c9d8fb;
  border-radius: 12px;
  background: linear-gradient(180deg, #f5f8ff, #fff);
  box-shadow: 0 8px 20px -12px rgba(37, 99, 235, 0.5);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  animation: rise 0.45s ease forwards;
  animation-delay: 5.1s;
}

.ap-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
}

.ap-title .icon {
  color: var(--brand);
}

.ap-detail {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.ap-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.ap-actions span {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.ap-deny {
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.ap-allow {
  background: var(--brand);
  color: #fff;
  animation: pulse 2s ease-out infinite;
  animation-delay: 5.8s;
}

@media (max-width: 720px) {
  .browser-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page {
    display: none;
  }

  .panel {
    border-left: 0;
    min-height: 360px;
  }
}

/* The models under the hero. */
.models {
  padding: 18px 0 8px;
}

.models-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  text-align: center;
}

.models-label {
  color: var(--muted);
  font-size: 14px;
}

.models-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.models-list li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.models-list .models-own {
  border-style: dashed;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Sections and cards ---------- */
.section {
  padding: 72px 0;
}

@media (min-width: 1000px) {
  .section {
    padding: 104px 0;
  }
}

.tint {
  background: var(--tint);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 28px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.team-band h2,
.final h2 {
  font-size: clamp(1.85rem, 2.4vw + 1rem, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.sub {
  margin: 64px 0 22px;
  font-size: 20px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 680px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d6dded;
}

.card > .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card h3,
.card h4 {
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* The three steps. */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--brand-soft), #fff 75%);
  border: 1px solid #dfe7fb;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.step h3 {
  margin-top: 16px;
  font-size: 21px;
}

.step p {
  margin-top: 6px;
  color: var(--muted);
}

/* The dark security section. */
.dark {
  position: relative;
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(37, 99, 235, 0.28), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(124, 58, 237, 0.22), transparent 70%),
    var(--dark);
  color: #fff;
}

.on-dark h2 {
  color: #fff;
}

.on-dark .eyebrow {
  color: #8db4ff;
}

.on-dark .lead {
  color: var(--dark-muted);
}

.dark-card {
  background: var(--dark-card);
  border-color: var(--dark-line);
}

.dark-card:hover {
  border-color: rgba(141, 180, 255, 0.35);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.dark-card h3 {
  color: #fff;
}

.dark-card p {
  color: var(--dark-muted);
}

.badge-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.16);
  color: #8db4ff;
}

/* Two columns: the copy and a mock-up. */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .split.reverse > :first-child {
    order: 2;
  }
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
}

.checklist .icon {
  margin-top: 3px;
  color: var(--ok);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--ink-2);
  font-weight: 500;
}

.callout .icon {
  margin-top: 2px;
  color: var(--brand);
}

/* ---------- Mock-ups ---------- */
.mock {
  margin: 0;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.mock-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.mock-title .icon {
  color: var(--brand);
}

.mock-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.verdict-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 16px;
}

.verdict-bars i {
  height: 6px;
  border-radius: 3px;
  background: var(--brand);
}

.verdict-badge {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.verdict-reason {
  margin-top: 14px;
  color: var(--ink-2);
}

.verdict-advice {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--danger);
  border-radius: 8px;
  background: #fff7f7;
  color: #8a1c1c;
  font-weight: 600;
  font-size: 15px;
}

.player {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(59, 130, 246, 0.55), transparent 70%),
    radial-gradient(60% 80% at 80% 70%, rgba(124, 58, 237, 0.5), transparent 70%),
    #0d1328;
  color: #fff;
}

.player .icon {
  opacity: 0.92;
}

.progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.progress i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 2px;
  background: #fff;
}

.video-q {
  margin-top: 16px;
  margin-left: auto;
  width: fit-content;
  max-width: 90%;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
}

.chapters {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.chapters li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 14.5px;
  color: var(--ink-2);
}

.time {
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.files {
  position: relative;
  padding: 36px 28px 28px;
  background: linear-gradient(160deg, #f7f9ff, #fff);
}

.deck {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto auto 1fr;
  gap: 10px 16px;
  aspect-ratio: 16 / 9;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.deck.back {
  position: absolute;
  z-index: 0;
  top: 18px;
  left: 46px;
  right: 10px;
  display: block;
  aspect-ratio: auto;
  height: 52%;
  background: var(--brand-soft);
  box-shadow: none;
}

.deck-title {
  height: 16px;
  width: 90%;
  border-radius: 6px;
  background: var(--brand);
}

.deck-line {
  grid-column: 1;
  height: 9px;
  width: 85%;
  border-radius: 5px;
  background: #dbe3f1;
}

.deck-line.short {
  width: 60%;
}

.deck-bars {
  grid-column: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
  min-height: 48px;
  padding-top: 8px;
}

.deck-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #c7d6fb;
}

.deck-bars i:nth-child(1) {
  height: 40%;
}

.deck-bars i:nth-child(2) {
  height: 65%;
}

.deck-bars i:nth-child(3) {
  height: 50%;
  background: var(--brand);
}

.deck-bars i:nth-child(4) {
  height: 85%;
  background: var(--brand-2);
}

.deck-img {
  grid-column: 2;
  grid-row: 1 / 5;
  border-radius: 10px;
  background:
    radial-gradient(60% 70% at 30% 30%, rgba(59, 130, 246, 0.6), transparent 70%),
    radial-gradient(60% 70% at 80% 80%, rgba(124, 58, 237, 0.55), transparent 70%),
    #dfe8ff;
}

.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.kinds li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Routines and connectors ---------- */
.eyebrow .soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}

.routine-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.routine {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.routine-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  color: var(--ink);
  font-size: 15px;
}

.routine-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.routine-text {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.routine-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.mock.plug {
  max-width: 380px;
  width: 100%;
  justify-self: center;
  padding: 10px;
  border-radius: 16px;
  font-size: 14px;
}

.plug-hint {
  padding: 6px 10px 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.plug-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 4px 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--muted);
  font-size: 13px;
}

.plug-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
}

.plug-list li:first-child {
  background: var(--tint);
}

.plug-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.plug-name small {
  overflow: hidden;
  color: var(--ok);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.switch {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #d4d9e3;
}

.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.switch.on {
  background: var(--brand);
}

.switch.on i {
  left: 15px;
}

.plug-connect {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.connector-points {
  margin-top: 48px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.services li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.billing {
  display: flex;
  width: fit-content;
  margin: -12px auto 36px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.billing button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}

.save {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12.5px;
}

.pricing[data-billing='yearly'] [data-monthly],
.pricing[data-billing='monthly'] [data-yearly] {
  display: none;
}

.plans {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 720px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1120px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.plan.featured {
  border: 2px solid var(--brand);
  box-shadow: 0 24px 60px -24px rgba(37, 99, 235, 0.45);
}

.plan.team {
  background: linear-gradient(180deg, #f7f8fc, #fff);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.plan h3 {
  font-size: 20px;
}

.tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14.5px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
}

.amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.unit {
  color: var(--muted);
  font-size: 14px;
}

.billed {
  min-height: 22px;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 13.5px;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features .icon {
  margin-top: 3px;
  color: var(--brand);
}

.footnote {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

/* ---------- Teams ---------- */
#equipes {
  padding-top: 0;
}

.team-band {
  display: grid;
  gap: 36px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(96, 165, 250, 0.35), transparent 70%),
    linear-gradient(135deg, #1d4ed8, #4338ca 60%, #5b21b6);
  color: #fff;
}

@media (min-width: 960px) {
  .team-band {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 64px 56px;
  }
}

.wrap.team-band {
  width: calc(100% - 2 * var(--gutter));
  padding-left: 28px;
  padding-right: 28px;
}

@media (min-width: 960px) {
  .wrap.team-band {
    width: calc(100% - 2 * var(--gutter));
    max-width: 1132px;
    padding: 64px 56px;
  }
}

.team-band .eyebrow {
  color: #c7d8ff;
}

.team-band h2 {
  color: #fff;
}

.team-band .lead {
  color: #dbe5ff;
}

.team-band .btn {
  margin-top: 28px;
}

.team-list {
  display: grid;
  gap: 12px;
}

.team-list li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.team-list .icon {
  margin-top: 2px;
  color: #c7d8ff;
}

.team-list h3 {
  color: #fff;
  font-size: 16.5px;
}

.team-list p {
  margin-top: 2px;
  color: #dbe5ff;
  font-size: 14.5px;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.faq summary .icon {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 4px 22px;
  color: var(--muted);
}

/* ---------- Final call ---------- */
.final {
  padding: 24px 0 96px;
}

.final-box {
  padding-top: 64px;
  padding-bottom: 64px;
  border-radius: 28px;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(96, 165, 250, 0.45), transparent 70%),
    var(--dark);
  color: #fff;
  text-align: center;
}

.wrap.final-box {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1132px;
}

.final h2 {
  color: #fff;
}

.final p {
  max-width: 560px;
  margin: 14px auto 28px;
  color: var(--dark-muted);
  font-size: 18px;
}

.final .final-note {
  margin: 16px auto 0;
  font-size: 14px;
}

/* ---------- Footer ---------- */
.foot {
  padding: 56px 0 28px;
  background: var(--tint);
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.foot-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.foot-brand p {
  max-width: 360px;
  margin: 12px 0 18px;
  color: var(--muted);
}

.foot h2 {
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.foot-grid > div:not(.foot-brand) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.foot-grid a:not(.btn):not(.brand) {
  color: var(--muted);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot-base a {
  color: var(--muted);
}

/* ---------- Documents and notices ---------- */
.doc {
  padding: 56px 0 88px;
}

.doc h1 {
  font-size: clamp(2rem, 2vw + 1.4rem, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.doc-other {
  margin-top: 10px;
  font-size: 15px;
}

.prose {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 22px;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.prose p,
.prose ul {
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 22px;
  list-style: disc;
}

.prose ul ul {
  margin: 6px 0;
  list-style: circle;
}

.prose li {
  margin: 4px 0;
}

.prose code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--tint);
  font-size: 0.92em;
}

.prose mark {
  padding: 1px 6px;
  border-radius: 5px;
  background: #fff3c4;
  color: #7a5200;
}

.notice {
  padding: 80px 0 104px;
}

.notice-box {
  text-align: center;
}

.notice-badge {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

.notice-badge.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.notice-badge.neutral {
  background: var(--brand-soft);
  color: var(--brand);
}

.notice h1 {
  margin-top: 22px;
  font-size: clamp(2rem, 2vw + 1.4rem, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.notice .lead {
  max-width: 560px;
  margin: 14px auto 0;
}

.tips {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 28px auto 0;
  text-align: left;
}

.tips li {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--ink-2);
}

.tips .icon {
  margin-top: 3px;
  color: var(--brand);
}

.notice .btn {
  margin-top: 32px;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.notice-actions .btn {
  margin-top: 0;
}

/* ---------- Motion ---------- */
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes type {
  to {
    max-width: 100%;
  }
}

@keyframes target {
  to {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
  }
}

/* ---------- Blog ---------- */
.blog {
  padding: 56px 0 88px;
}

.blog-head {
  max-width: 720px;
}

.blog-head h1,
.post h1 {
  font-size: clamp(2rem, 2vw + 1.4rem, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.blog-head .eyebrow a {
  color: inherit;
}

.post-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.post-filters a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
}

.post-filters a[aria-current='page'] {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.post-section {
  margin: 48px 0 20px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.post-cards {
  display: grid;
  gap: 40px 24px;
}

.post-cards-top {
  margin-top: 36px;
}

@media (min-width: 760px) {
  .post-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1200 / 630;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  line-height: 1.35;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card h3 a:hover {
  color: var(--brand);
}

.post-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}

.post-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 13.5px;
}

.post-tag {
  color: var(--brand);
  font-weight: 600;
}

.post-draft {
  padding: 1px 8px;
  border-radius: 6px;
  background: #fff3c4;
  color: #7a5200;
  font-weight: 600;
}

.post {
  padding: 40px 0 64px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  color: var(--muted);
}

.post h1 {
  margin-bottom: 14px;
}

.post-hero {
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 16px;
}

.prose ol {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: decimal;
}

.prose blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--brand);
  color: var(--ink);
}

.prose figure {
  margin: 24px 0;
}

.prose figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.prose figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.prose pre {
  margin: 0 0 14px;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--tint);
  font-size: 14px;
  line-height: 1.55;
}

.prose pre code {
  padding: 0;
  background: none;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose .table {
  margin: 20px 0;
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
}

.post-dates {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}

.post-feature {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}

.post-feature h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.post-feature p {
  margin: 8px 0 18px;
  color: var(--ink-2);
}

.post-trial {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.post-next {
  padding: 8px 0 88px;
  border-top: 1px solid var(--line);
}

/* ---------- Blog: the article, laid out for reading (as on Medium) ---------- */
.story {
  --read: 'Charter', 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif;
  --read-ink: #242424;
  padding: 40px 0 64px;
}

.story-column {
  width: 100%;
  max-width: calc(700px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.story h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.2vw + 1.3rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.story-dek {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 0.4vw + 1.05rem, 1.375rem);
  line-height: 1.45;
}

.story-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.story-byline strong,
.story-byline div > span {
  display: block;
}

.story-byline div > span {
  color: var(--muted);
}

.story .doc-other {
  margin-top: 14px;
}

.story-wide {
  width: 100%;
  max-width: calc(1000px + 2 * var(--gutter));
  margin: 36px auto 0;
  padding: 0 var(--gutter);
}

.story-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.story-body {
  margin-top: 36px;
  color: var(--read-ink);
  font-family: var(--read);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .story-body {
    font-size: 18px;
  }
}

.story-body p,
.story-body ul,
.story-body ol {
  margin: 0 0 1.4em;
}

.story-body li {
  margin: 0.4em 0;
}

.story-body h2,
.story-body h3 {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

.story-body h2 {
  margin: 1.9em 0 0.5em;
  font-size: 26px;
  line-height: 1.25;
}

.story-body h3 {
  margin: 1.6em 0 0.4em;
  font-size: 20px;
}

.story-body code {
  font-size: 0.8em;
}

/* A section break: three dots, as on Medium. */
.story-body hr {
  margin: 2.4em 0;
  border: 0;
  text-align: center;
}

.story-body hr::before {
  content: '···';
  color: var(--muted);
  font-size: 28px;
  letter-spacing: 0.6em;
}

/* A plain quote is a pull quote. */
.story-body blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--ink);
  color: var(--ink);
  font-size: 1.2em;
  font-style: italic;
  line-height: 1.45;
}

.story-body blockquote p {
  margin: 0;
}

/* Figures are wider than the text on a wide screen. */
.story-body figure {
  width: min(1000px, calc(100vw - 2 * var(--gutter)));
  margin: 2em 0 2em 50%;
  transform: translateX(-50%);
}

.story-body figure picture,
.story-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px;
}

.story-body figcaption {
  max-width: 700px;
  margin: 10px auto 0;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  text-align: center;
}

.story-body .table {
  font-family: var(--font);
}

/* The teaching boxes: to remember, an example, a warning, a definition. */
.post-box {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--brand-soft);
  font-size: 0.9em;
  line-height: 1.55;
}

.post-box > :last-child {
  margin-bottom: 0;
}

.post-box p,
.post-box ul,
.post-box ol {
  margin: 0 0 0.7em;
}

.post-box ul {
  padding-left: 20px;
  list-style: disc;
}

.post-box ol {
  padding-left: 22px;
  list-style: decimal;
}

.post-box-title {
  color: var(--brand);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-box-exemple {
  background: var(--tint);
}

.post-box-exemple .post-box-title {
  color: var(--ink-2);
}

.post-box-attention {
  background: #fff6e0;
}

.post-box-attention .post-box-title {
  color: #8a5a00;
}

.post-box-definition {
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: transparent;
}

.story .post-dates,
.story .post-feature {
  font-family: var(--font);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
