/* Anki uses the homepage display type, content measure, and blue phone frames. */
.anki-page { max-width: calc(var(--maxw) + 48px); margin: 0 auto; padding: 0 24px; }
.anki-page h1, .anki-page h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.anki-hero { padding: 48px 0 72px; text-align: center; }
.anki-page .anki-hero h1 { font-family: var(--body); font-size: clamp(38px, 6.5vw, 80px); line-height: 1.1; font-weight: 700; letter-spacing: -.045em; color: var(--paper-bright); }
.anki-hero p { max-width: 520px; margin: 24px auto 28px; font-size: 19px; line-height: 1.6; color: var(--paper-dim); text-wrap: balance; }
.anki-platforms { display: flex; justify-content: center; gap: 28px; }
.anki-platform { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 92px; font-size: 15px; font-weight: 700; color: var(--paper-bright); }
.anki-platform-mark { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--card-line); border-radius: 20px; background: var(--ink-soft); }
.anki-flow { display: block; width: 360px; max-width: 100%; height: 48px; margin: 16px auto 20px; stroke: var(--ai-light); stroke-width: 1.5; }
.anki-page h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
.anki-story > h2 { margin-bottom: 32px; text-align: center; color: var(--paper); }
.anki-story figure { margin: 0 0 44px; }
.anki-story .phone-land img { border: 0; border-radius: 30px; }
.anki-mining-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.anki-mining-pair .phone-land { padding: 8px; border-radius: 28px; }
.anki-mining-pair .phone-land img { border-radius: 20px; }
.anki-mining-pair .phone-land::before { left: 16px; width: 6px; }
.anki-story figcaption { margin-top: 16px; text-align: center; font-size: 18px; font-weight: 500; }
.anki-context { padding: 28px 0 32px; text-align: center; }
.anki-context p, .anki-custom p { max-width: 640px; margin: 20px auto 0; font-size: 18px; line-height: 1.65; color: var(--paper-dim); text-wrap: pretty; }
.anki-custom { padding: 40px 0 72px; text-align: center; }
.anki-cta { border-top: 1px solid var(--ink-line); padding: 64px 0 72px; text-align: center; }
.anki-cta h2 { margin-bottom: 28px; color: var(--paper); }
.anki-more { display: block; width: fit-content; margin: 24px auto 0; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.anki-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 36px 0 0; text-align: left; }
.anki-options > div { padding: 32px 0; border-top: 1px solid var(--ink-line); }
.anki-options dt { font-family: var(--display); font-size: clamp(23px, 2.6vw, 28px); font-weight: 600; line-height: 1.25; color: var(--ai-light); }
.anki-options dd { margin: 12px 0 0; font-size: 18px; line-height: 1.65; color: var(--paper-dim); }
.anki-preset-list { margin-top: 36px; }
.anki-preset-list h3 { font-family: var(--display); font-size: clamp(24px, 2.8vw, 30px); font-weight: 600; }
.anki-preset-list ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0; margin: 26px 0 0; }
.anki-preset-list li { padding: 9px 18px; border: 1px solid var(--ai); border-radius: 999px; font-size: 16px; }
@media (max-width: 600px) {
  .anki-page { padding: 0 18px; }
  .anki-hero { padding: 32px 0 48px; }
  .anki-page .anki-hero h1 { font-size: clamp(34px, 8.5vw, 50px); }
  .anki-hero p { font-size: 17px; margin: 20px auto 24px; }
  .anki-platforms { gap: 12px; }
  .anki-platform { width: 80px; gap: 8px; font-size: 14px; }
  .anki-platform-mark { width: 64px; height: 64px; border-radius: 17px; }
  .anki-platform-mark svg { max-width: 44px; max-height: 36px; }
  .anki-flow { width: 276px; margin: 12px auto 16px; }
  .anki-story > h2 { margin-bottom: 28px; }
  .anki-story figure { margin-bottom: 42px; }
  .anki-story .phone-land { padding: 6px; border-radius: 23px; }
  .anki-story .phone-land img { border-radius: 17px; }
  .anki-story .phone-land::before { left: 12px; width: 5px; }
  .anki-mining-pair { gap: 14px; }
  .anki-mining-pair .phone-land { padding: 4px; border-radius: 14px; }
  .anki-mining-pair .phone-land img { border-radius: 10px; }
  .anki-mining-pair .phone-land::before { left: 8px; width: 3px; }
  .anki-mining-pair figcaption { font-size: 16px; }
  .anki-options { grid-template-columns: 1fr; gap: 0; }
  .anki-options > div { padding: 24px 0; }
  .anki-story figcaption { margin-top: 14px; }
  .anki-context { padding: 24px 0 30px; }
  .anki-custom { padding: 24px 0 60px; }
  .anki-cta { padding: 56px 0 64px; }
}
