/* Shared palette for the page and its static contrast checks. The dark
   values follow in the prefers-color-scheme block. */
:root {
  --bg: #f8fbfc;
  --surface: #ffffff;
  --text: #223039;
  --muted: #5d6b74;
  --accent: #2962ff;
  --accent-hover: #1749d1;
  --accent-text: #ffffff;
  --focus: #2962ff;
  --field-line: #74848c;
  --ok: #286540;
  --cta: #d64214;
  --cta-hover: #bf360c;
  --cta-text: #ffffff;
  --cta-edge: #a53210;
  --cta-edge-hover: #92290a;
  --cta-glow: #d8431520;
  --cta-glow-hover: #d8431530;
  --line: #cfdfe6;
  --hover-fill: #e8f1f6;
  --brand-purple: #5342bc;
  --grad-1: #2962ff;
  --grad-2: #aa00ff;
  --grad-3: #ff1744;
  --grad-4: #ff5722;
  --stage-blue: #2962ff;
  --stage-purple: #aa00ff;
  --stage-red: #d50000;
  --stage-orange: #d14114;
  --stage-track: #dfe3ed;
  --purple-surface: #efedfa;
  --purple-soft: #eae7fc;
  --blue-soft: #e8edfc;
  --frame: #d8e5ea;
  --frame-phone: #d5e1ea;
  --frame-bg: #f5f5f7;
  --bar-bg: #eaf1f5;
  --bar-line: #deddeb;
  --bar-text: #62627a;
  --bar-dots: #aaa7bf;
  --address-bg: #ffffff;
  --glow-1: #c9e5ec;
  --glow-2: #d9ddf3;
  --shadow: #34305b18;
  --shadow-contact: #34305b20;
  --shadow-soft: #34305b0c;
  --panel: #f0f1f6;
  --panel-line: #d5e1e8;
  --sample-line: #dadde6;
  --pill-bg: #e9eddf;
  --pill-text: #4b5a39;
  --check-line: #36623f;
  --aside-glyph: #8b987c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12;
    --surface: #1c1d23;
    --text: #e6e8ee;
    --muted: #a3a9b6;
    --focus: #82b1ff;
    --field-line: #7a8890;
    --ok: #5fbf82;
    --cta-glow: #d8431533;
    --cta-glow-hover: #d8431547;
    --line: #2a2f3a;
    --hover-fill: #1d2129;
    --brand-purple: #b9a8ff;
    --grad-1: #448aff;
    --grad-2: #e040fb;
    --grad-3: #ff5252;
    --grad-4: #ff6e40;
    --stage-blue: #448aff;
    --stage-purple: #e040fb;
    --stage-red: #ff5252;
    --stage-orange: #ff6e40;
    --stage-track: #262a33;
    --purple-surface: #17142a;
    --purple-soft: #221e3a;
    --blue-soft: #1a1f33;
    --frame: #2a2f3a;
    --frame-phone: #2a2f3a;
    --frame-bg: #17181d;
    --bar-bg: #1d2028;
    --bar-line: #2a2d36;
    --bar-text: #a3a9b6;
    --bar-dots: #5d6372;
    --address-bg: #121419;
    --glow-1: #12303a;
    --glow-2: #1f2347;
    --shadow: #00000066;
    --shadow-contact: #00000066;
    --shadow-soft: #00000040;
    --panel: #15161b;
    --panel-line: #2a2d36;
    --sample-line: #2a2f3a;
    --pill-bg: #232a1c;
    --pill-text: #b5c79a;
    --check-line: #7fcf98;
    --aside-glyph: #8f9c80;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}
body {
  margin: 0;
}
p {
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  font: inherit;
  cursor: pointer;
}
button {
  color: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
.container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 20px;
  background: var(--surface);
  padding: 16px;
}
.skip:focus {
  top: 12px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 28px;
}
.brand {
  display: flex;
  align-items: center;
  width: 148px;
  min-height: 44px;
}
.brand svg {
  width: 100%;
  height: auto;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
}
nav a,
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.button {
  display: inline-flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 15px 24px;
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.button--access {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow:
    0 3px 0 var(--cta-edge),
    0 6px 14px var(--cta-glow);
}
.button--access:hover {
  background: var(--cta-hover);
  box-shadow:
    0 3px 0 var(--cta-edge-hover),
    0 8px 18px var(--cta-glow-hover);
}
/* The sample is the customer's app. It has one palette, so it stays light. */
.preview-app,
.flashcards-page {
  --text: #202323;
  --muted: #606464;
  --surface: #ffffff;
  --focus: #2962ff;
  color: var(--text);
  color-scheme: light;
}
.button--secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}
.button--secondary:hover {
  background: var(--hover-fill);
}
.button--small {
  min-height: 44px;
  padding: 10px 18px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.5;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-purple);
  margin-right: 8px;
}
/* The hero eyebrow. Every phrase sits in the centre of one grid cell, so the
   cell takes the size of the largest phrase and the lines below it never
   move. The script slides the dot towards a shorter phrase, which keeps the
   dot and the phrase centred as one group. The dot's 24px box overlaps the
   line by its negative margins, which keeps the line height and the optical
   centre of the plain eyebrow. */
.eyebrow--rotating {
  display: flex;
  justify-content: center;
  align-items: center;
}
.eyebrow__dot {
  flex: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin: -4px 4px -4px -8.5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
}
.eyebrow__dot .status-dot {
  margin: 0;
}
.eyebrow__dot:focus-visible {
  outline-offset: 0;
}
button.eyebrow__dot {
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
button.eyebrow__dot .status-dot {
  transition: transform 0.2s;
}
button.eyebrow__dot:hover .status-dot {
  transform: scale(1.3);
}
.eyebrow__phrases {
  display: grid;
  min-width: 0;
  text-align: center;
}
.eyebrow__phrase {
  grid-area: 1 / 1;
  justify-self: center;
  visibility: hidden;
}
.eyebrow__phrase.is-active {
  visibility: visible;
}
.eyebrow__phrase.is-leaving {
  animation: eyebrow-out 0.1s ease-in both;
}
.eyebrow__phrase.is-entering {
  animation: eyebrow-in 0.17s cubic-bezier(0.23, 1, 0.32, 1) 0.08s both;
}
/* At rest the eyebrow is as wide as its first phrase. */
@media (scripting: none), (prefers-reduced-motion: reduce) {
  .eyebrow__phrase:not(:first-child) {
    display: none;
  }
}
@keyframes eyebrow-out {
  from {
    visibility: visible;
    opacity: 1;
  }
  to {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes eyebrow-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -0.055em;
  font-weight: 500;
}
h1 {
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.07;
  margin: 20px 0 25px;
}
h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  margin-bottom: 22px;
}
h3 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.gradient {
  color: var(--brand-purple);
  background: linear-gradient(
    105deg,
    var(--grad-1) 0%,
    var(--grad-2) 34%,
    var(--grad-3) 68%,
    var(--grad-4) 100%
  );
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 12s ease-in-out infinite alternate;
}
.hero {
  overflow: hidden;
}
.hero__text {
  text-align: center;
  padding-top: 58px;
}
.hero .lead {
  max-width: 650px;
  margin-inline: auto;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* The early access form, in the hero and the closing section. */
.access-form {
  position: relative;
  max-width: 540px;
  margin: 30px auto 0;
  text-align: left;
}
.access-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.access-form__row {
  display: flex;
  gap: 12px;
}
.access-form__field {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.access-form__field:focus-visible {
  outline-offset: 2px;
}
.access-form__field::placeholder {
  color: var(--muted);
  opacity: 1;
}
.access-form .button {
  flex: none;
}
.access-form__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.access-form__note a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* A field for bots only. People never see or reach it. */
.access-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hero__more {
  margin: 18px 0 0;
}
/* The short pages after the form, and the 404 page. */
.notice {
  min-height: 60vh;
  max-width: 720px;
  padding-block: 80px 100px;
  text-align: center;
}
.notice p {
  color: var(--muted);
}
.notice .lead,
.notice .text-link {
  color: var(--text);
}
.hero__stage {
  position: relative;
  padding: 58px 80px 20px 18px;
  margin-top: 12px;
}
.stage-glow {
  position: absolute;
  inset: 4% -20% -8%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 60%, var(--glow-1) 0, transparent 48%),
    radial-gradient(ellipse at 80% 50%, var(--glow-2) 0, transparent 53%);
  filter: blur(35px);
}
.device {
  border: 6px solid var(--frame);
  background: var(--frame-bg);
  overflow: hidden;
  box-shadow:
    0 25px 70px var(--shadow),
    0 2px 5px var(--shadow-contact);
}
.hero__desktop {
  border-radius: 16px;
  width: 93%;
}
.browser-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--bar-text);
  font-size: 10px;
  border-bottom: 1px solid var(--bar-line);
  background: var(--bar-bg);
}
.browser-bar > :first-child {
  letter-spacing: 3px;
  color: var(--bar-dots);
}
picture {
  display: block;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.hero__desktop img {
  width: 100%;
}
.hero__phone {
  position: absolute;
  width: 23%;
  right: 2%;
  top: 20%;
  border: 7px solid var(--frame-phone);
  border-radius: 34px;
}
.hero__phone img {
  width: 100%;
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px 4px;
  font-size: 10px;
  font-weight: bold;
}
figcaption span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.section {
  padding-block: 110px;
}
.section-heading {
  max-width: 580px;
}
.section-heading > p:last-child,
.section-heading > .section-intro {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  gap: 44px;
  margin: 55px 0 0;
}
.steps > li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-number {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.steps h3 {
  margin: 22px 0 15px;
}
.steps > li > p {
  color: var(--muted);
  font-size: 14px;
}
.idea-note {
  background: var(--purple-soft);
  padding: 24px;
  border-radius: 4px 20px 20px 20px;
  margin-top: 25px;
  transform: rotate(-2deg);
}
.idea-note > span {
  font-size: 9px;
  letter-spacing: 0.08em;
}
.idea-note p {
  margin-top: 12px;
  font-size: 16px;
}
.note-project {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.activity {
  margin-top: 28px;
  font-size: 13px;
}
.activity p {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.activity p span {
  color: var(--brand-purple);
  margin-right: 10px;
}
.mini-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 58px;
  padding: 18px;
  background: var(--blue-soft);
  border-radius: 10px;
  margin: 32px 0 14px;
  font-size: 13px;
}
.mini-preview > :last-child {
  margin-left: auto;
}
.small {
  font-size: 12px !important;
  color: var(--muted);
}
.graph-section {
  background: var(--purple-surface);
  padding-block: 100px 60px;
}
.graph-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 55px;
  align-items: center;
}
.graph-layout > div > p:not(.eyebrow) {
  color: var(--muted);
}
.graph-figure {
  margin: 0;
}
/* The screens are crops of single cards. The radius follows each card's own
   12px corner as the image scales, and the frame is drawn around it. */
.graph-shots {
  --ring: 6px;
  display: grid;
  grid-template-columns: 57fr 43fr;
  align-items: center;
  padding: var(--ring);
}
.graph-shot img {
  width: 100%;
  box-shadow:
    0 0 0 var(--ring) var(--frame),
    0 25px 70px var(--shadow),
    0 2px 5px var(--shadow-contact);
}
.graph-shot--graph {
  margin-right: -5.3%;
}
.graph-shot--graph img {
  border-radius: 2.18% / 4.29%;
}
.graph-shot--reader {
  position: relative;
}
.graph-shot--reader img {
  border-radius: 3.3% / 2.4%;
}
/* The sections from the plan to the previews share the page background, so
   one block of padding separates each pair. */
.workflow,
.proposals,
.preview-section {
  padding-top: 0;
}
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
/* Under a screenshot, the points need no rule above them. */
.proposals .points {
  padding-top: 0;
  border-top: 0;
}
.points h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.points p {
  font-size: 13px;
  color: var(--muted);
}
.preview-section .section-heading {
  margin: 0 auto 45px;
  text-align: center;
}
.preview-section .section-heading p {
  margin-inline: auto;
}
.preview-section .section-heading .preview-status {
  margin-top: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}
.preview-demo {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  padding: 45px;
  gap: 45px;
  border: 1px solid var(--panel-line);
  border-radius: 22px;
  background: var(--panel);
}
.preview-context {
  min-width: 0;
  background: var(--surface);
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 12px 28px var(--shadow-soft);
}
.pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.preview-context h3 {
  margin-bottom: 10px;
}
.preview-context > p {
  font-size: 13px;
  color: var(--muted);
}
.check-line {
  font-size: 11px;
  color: var(--check-line);
  padding-block: 15px 24px;
}
summary {
  list-style: none;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
.preview-demo:has(details[open]) {
  grid-template-columns: 1fr;
}
.preview-demo:has(details[open]) .preview-aside {
  display: none;
}
.demo-content {
  margin-top: 22px;
}
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  padding-bottom: 14px;
}
.device-controls {
  display: flex;
  gap: 5px;
}
.device-controls button,
#reset-demo {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 10px;
  min-height: 44px;
  font-size: 11px;
}
#reset-demo {
  border-color: #d2d6d0;
}
.device-controls button[aria-pressed="true"] {
  background: var(--purple-soft);
  border-color: var(--field-line);
}
.preview-app {
  background: #f5f6f9;
  border: 1px solid var(--sample-line);
  border-radius: 12px;
  padding: 24px;
  margin-inline: auto;
  width: 100%;
  transition: max-width 0.3s;
}
.preview-app[data-device="mobile"] {
  max-width: 360px;
}
.app-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e3eb;
}
.app-top span {
  font-size: 10px;
}
.deck-heading {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.deck-heading h3 {
  font-size: 22px;
}
.deck-heading .eyebrow {
  font-size: 8px;
}
#export-csv {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #c6cad8;
  border-radius: 7px;
  background: #e9ebf3;
  font-size: 12px;
}
.flashcard {
  margin-top: 25px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e3eb;
  border-radius: 14px;
  padding: 30px 18px;
}
.flashcard > span {
  font-size: 9px;
  color: #656b7b;
}
.flashcard p {
  font-size: 23px;
  margin: 25px 0;
}
#flip-card {
  border: 0;
  border-radius: 6px;
  background: #374151;
  color: white;
  padding: 12px 20px;
  min-height: 44px;
  font-size: 12px;
}
.demo-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}
.demo-bottom p {
  margin: 0;
  font-size: 10px;
  color: #5e6677;
}
.preview-aside {
  align-self: center;
}
.preview-aside > span:first-child {
  font-size: 46px;
  color: var(--aside-glyph);
}
.preview-aside p {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin-top: 25px;
}
/* Pricing. Two flat cards of equal weight. Nothing is for sale yet, so the
   cards hold no button, and the closing form below stays the one action. */
.pricing {
  padding-bottom: 60px;
}
.pricing .section-heading {
  max-width: 720px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin-top: 56px;
}
.plan {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.plan h3 {
  margin-bottom: 8px;
}
.plan__status {
  display: flex;
  align-items: center;
  min-height: 18px;
  margin-bottom: 22px;
  color: var(--muted);
}
.plan__cost {
  margin-bottom: 22px;
}
.plan__price {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.plan__amount {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}
.plan__note,
.plan__lead {
  font-size: 13px;
  color: var(--muted);
}
.plan__note {
  margin-bottom: 0;
}
.plan strong {
  font-weight: 600;
}
.plan__founding strong {
  white-space: nowrap;
}
.plan__founding {
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--purple-surface);
}
.plan__lead {
  margin-bottom: 10px;
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan__features li {
  font-size: 14px;
  line-height: 1.5;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.pricing-note,
.pricing-legal {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.pricing-legal {
  margin-top: 4px;
}
.pricing-legal .text-link {
  display: inline;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 800px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
}
@media (max-width: 560px) {
  .plan {
    padding: 22px 18px;
  }
}
.closing {
  text-align: center;
  padding: 50px 0 100px;
}
.closing h2 {
  font-size: clamp(48px, 6vw, 80px);
}
.closing > p {
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.footer p {
  margin: 0;
  color: var(--muted);
}
@keyframes gradient-flow {
  to {
    background-position: 100% 50%;
  }
}
/* Narrower screens show the two screens one at a time, as slides that swipe
   sideways and snap. */
@media (max-width: 1023px) {
  .graph-shots {
    --ring: 4px;
    display: flex;
    gap: 24px;
    padding: 12px var(--ring) 40px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .graph-shots::-webkit-scrollbar {
    display: none;
  }
  .graph-shot {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
  }
  .graph-shot--graph {
    margin-right: 0;
  }
  .graph-shot img {
    max-width: 358px;
  }
}
.shot-figure {
  max-width: 880px;
  margin: 56px auto 0;
  padding: 6px;
}
.shot-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 0 0 6px var(--frame),
    0 25px 70px var(--shadow),
    0 2px 5px var(--shadow-contact);
}
.sample-note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
@media (min-width: 1600px) {
  .container {
    width: min(1320px, calc(100% - 120px));
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .header {
    padding-block: 18px;
  }
  nav {
    gap: 16px;
  }
  nav > a:not(.button) {
    display: none;
  }
  .hero__text {
    padding-top: 40px;
  }
  .hero__stage {
    padding: 35px 28px 10px 0;
  }
  .hero__desktop {
    width: 96%;
    border-width: 4px;
  }
  .hero__phone {
    width: 26%;
    right: 0;
    top: 25%;
    border-width: 4px;
    border-radius: 20px;
  }
  .phone-bar {
    font-size: 7px;
    padding: 7px;
  }
  .browser-bar {
    font-size: 7px;
    padding: 7px;
  }
  .section {
    padding-block: 75px;
  }
  .steps {
    gap: 24px;
  }
  .steps h3 {
    font-size: 20px;
  }
  .idea-note {
    padding: 16px;
  }
  .graph-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .points {
    gap: 25px;
  }
  .graph-section {
    padding-block: 70px 40px;
  }
  .preview-demo {
    padding: 25px;
    gap: 25px;
  }
  .preview-aside p {
    font-size: 25px;
  }
}
@media (max-width: 560px) {
  .container {
    width: calc(100% - 36px);
  }
  .brand {
    width: 124px;
  }
  h1 {
    font-size: 42px;
  }
  .hero__text {
    padding-top: 30px;
  }
  .access-form {
    margin-top: 24px;
  }
  .access-form__row {
    flex-direction: column;
    gap: 10px;
  }
  .notice {
    padding-block: 50px 70px;
  }
  .hero .lead {
    font-size: 16px;
    max-width: 330px;
  }
  .hero__stage {
    margin-top: 20px;
    padding-top: 20px;
    padding-right: 22px;
  }
  .hero__desktop {
    width: 92%;
    border-radius: 9px;
  }
  .hero__phone {
    width: 30%;
    top: 25%;
    border-radius: 14px;
  }
  .phone-bar {
    font-size: 5px;
    padding: 5px 8px 2px;
  }
  .section {
    padding-block: 65px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 35px;
  }
  .steps > li {
    display: grid;
    grid-template-columns: 1fr;
  }
  .idea-note {
    max-width: 320px;
    margin-top: 8px;
  }
  .activity {
    margin-top: 8px;
  }
  .mini-preview {
    margin-top: 12px;
  }
  .points {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 20px;
  }
  .preview-demo {
    padding: 12px;
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .preview-context {
    padding: 20px 14px;
  }
  .preview-aside {
    display: none;
  }
  .demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .preview-app {
    padding: 14px;
  }
  .flashcard p {
    font-size: 20px;
  }
  .demo-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .closing {
    padding-block: 20px 65px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer .brand {
    flex-basis: 100%;
  }
  .footer .brand svg {
    width: 124px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The product capture and the resulting application remain distinct. */
.preview-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
  padding: 35px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 22px;
}
.preview-source img {
  width: 100%;
  height: auto;
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  box-shadow: 0 10px 25px var(--shadow-soft);
}
.preview-source .small {
  margin-top: 14px;
}
.preview-result {
  min-width: 0;
}
/* The visitor's browser around the sample app. It follows the page theme;
   the app inside keeps its own light palette. */
.sample-window {
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  background: var(--bar-bg);
  box-shadow: 0 10px 25px var(--shadow-soft);
}
.sample-window__bar {
  display: grid;
  grid-template-columns: 1fr minmax(0, auto) 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--bar-line);
}
.sample-window__dots {
  display: flex;
  gap: 6px;
}
.sample-window__dots > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bar-dots);
}
.sample-window__address {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--address-bg);
  color: var(--bar-text);
  font-size: 12px;
  line-height: 1.3;
}
.sample-window__address svg {
  flex: none;
}
.sample-window__host {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sample-window .preview-app {
  border: 0;
  border-radius: 0;
}
.preview-flow h3 {
  font-size: 22px;
}
.preview-source figcaption .eyebrow,
.preview-result > .eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  color: var(--muted);
}
.preview-source {
  margin: 0;
  min-width: 0;
}
.preview-explanation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.preview-explanation p {
  font-size: 13px;
  color: var(--muted);
}
.preview-explanation strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.flashcards-page {
  min-height: 100vh;
  background: #f5f6f9;
}
.sample-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: auto;
  padding: 20px 24px;
  font-size: 12px;
}
.sample-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.sample-header p {
  margin: 0;
  color: var(--muted);
}
.standalone-preview {
  max-width: 900px;
  margin: 15px auto 60px;
  padding-inline: 24px;
}
.standalone-preview .preview-app {
  padding: 32px;
}
.standalone-preview .deck-heading h2 {
  font-size: 30px;
}
.standalone-preview .flashcard {
  padding-block: 70px;
}
@media (max-width: 800px) {
  .preview-flow {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 35px;
  }
  .preview-source img {
    max-width: 600px;
    margin-inline: auto;
  }
  .preview-explanation {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 560px) {
  .preview-flow {
    padding: 14px;
  }
  .sample-window__bar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding-inline: 10px;
  }
  .sample-window__address {
    justify-self: center;
    padding-inline: 10px;
    font-size: 11px;
  }
  .sample-header {
    flex-wrap: wrap;
    gap: 0;
  }
  .standalone-preview {
    padding-inline: 16px;
  }
  .standalone-preview .preview-app {
    padding: 18px;
  }
}

.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.workflow-stage {
  --stage-color: var(--stage-blue);
  position: relative;
  padding: 28px 12px 0 0;
}
.workflow-stage--purple {
  --stage-color: var(--stage-purple);
}
.workflow-stage--red {
  --stage-color: var(--stage-red);
}
.workflow-stage--orange {
  --stage-color: var(--stage-orange);
}
.workflow-stage::before,
.workflow-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 4px;
  background: var(--stage-track);
}
.workflow-stage::after {
  background: var(--stage-color);
  transform-origin: left;
  transform: scaleX(var(--fill, 1));
}
.workflow-stage__who {
  color: var(--stage-color);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 650;
}
.workflow-stage h3 {
  font-size: 20px;
  margin: 12px 0 8px;
}
.workflow-stage p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.workflow-note {
  color: var(--muted);
  margin: 30px 0 0;
  font-size: 13px;
}
/* A stage's heading stays dim until the rail reaches it. The dim heading
   keeps 4.5:1 contrast in both themes. The label and the description are
   small text, so they stay at full strength. */
.workflow-timeline.is-scrubbed .workflow-stage h3 {
  opacity: 0.7;
  transition: opacity 0.3s ease-out;
}
.workflow-timeline.is-scrubbed .workflow-stage.is-reached h3 {
  opacity: 1;
}
@media (max-width: 1000px) {
  .workflow-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .workflow-stage {
    padding: 0 0 28px 24px;
  }
  .workflow-stage::before,
  .workflow-stage::after {
    inset: 0 auto 8px 0;
    width: 4px;
    height: auto;
    transform-origin: top;
  }
  .workflow-stage::after {
    transform: scaleY(var(--fill, 1));
  }
  .workflow-stage:last-child {
    padding-bottom: 0;
  }
  .workflow-stage h3 {
    margin-top: 8px;
  }
  .workflow-stage p {
    max-width: 440px;
  }
}
