/* Scrollrama's page, in Scrollrama's own brand: violet #6A35FF, dark violet #1E0B5C and yellow #FFD60A for the word
   that matters and the small marks. Since 2026-11-16 it is a sales page: a violet hero with both stores and the price
   beside the browser that scrolls a long page by itself, what it is for, the editor's six tools, privacy, prices,
   where it works, questions and a last call. The name and the titles are in Fredoka, round like the icon; the rest
   in Archivo. Paths are relative, so the page also opens on the local nginx (/fly/scrollrama.app/). Contrast (WCAG)
   noted against the surface each color sits on. The guide and legal pages use the same file (.legal, .guide, .get). */

/* Archivo variable (width 62-125%, weight 100-900), Latin only. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fredoka variable (weight 300-700, width 75-125%), Latin only: the name and the titles, round like the icon. */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --text: #17122B;    /* 16.3:1 on the page */
  --text-2: #5A5570;  /* 6.3:1 on the page, 7.1:1 on a tile, 5.7:1 on --bg-alt */
  --bg: #F4F1FC;
  --bg-alt: #E9E3FA;
  --tile: #FFFFFF;
  --hair: #D9D2EE;
  --button: #6A35FF;  /* white on violet, 5.9:1 */
  --button-text: #FFFFFF;
  --button-hover: #5524E0;
  --mark: #FFD60A;    /* the marker under a word, and the dot of the name */
  --ring: #6A35FF;
  --nav: rgb(244 241 252 / .8);
  --stage: radial-gradient(ellipse 70% 60% at 50% 30%, #FFFFFF 0%, var(--bg) 70%);
  --picture: linear-gradient(180deg, #FFFFFF 0%, #ECE6FB 100%);
  --violet: #6A35FF;
  --violet-deep: #1E0B5C;
  --accent: #6A35FF;  /* violet as text and marks: 5.3:1 on the page, 4.6:1 on --bg-alt */
  --hero: radial-gradient(ellipse 90% 70% at 50% 0%, #7A47FF 0%, #6A35FF 55%, #5A2BEA 100%);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --display: "Fredoka", "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 980px;
  --section: clamp(64px, 8vw, 96px);
  --gap: 16px;
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #F4F2FA;    /* 17.4:1 on the page */
    --text-2: #A9A4BD;  /* 8.0:1 on the page, 6.8:1 on a tile */
    --bg: #0F0D16;
    --bg-alt: #191622;
    --tile: #221E2E;
    --hair: #332E44;
    --ring: #A98BFF;
    --nav: rgb(15 13 22 / .8);
    --stage: radial-gradient(ellipse 70% 60% at 50% 30%, #26213A 0%, var(--bg) 70%);
    --picture: linear-gradient(180deg, #2A2540 0%, #191622 100%);
    --accent: #B39BFF;  /* 7.6:1 on the page, 6.4:1 on a tile */
    --hero: radial-gradient(ellipse 90% 70% at 50% 0%, #6A35FF 0%, #5224E0 55%, #3B17B0 100%);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 52px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
/* the brand's dot, the one that ends "scrollrama.": a rounded block, like the yellow one in the icon */
.pt { display: inline-block; width: .26em; height: .22em; margin-left: .05em; border-radius: .07em; background: var(--pt, currentColor); }

.in { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
@media (max-width: 600px) { .in { padding: 0 16px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 .35em;
  margin: 0 1px;
  border: 1px solid var(--hair);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--tile);
  color: var(--text);
  font: 500 .8em/1 var(--font);
  vertical-align: .08em;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--button);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pill:hover { background: var(--button-hover); text-decoration: none; }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 60%, transparent);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 52px; }
.nav-brand { --pt: var(--mark); display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 600px) { .nav-links { display: none; } .nav .pill { margin-left: auto; } }

/* Hero: violet from edge to edge, the headline, both stores with the price, then the browser that takes the
   screenshot by itself. White on the lightest violet of the gradient (#7A47FF) is 5.0:1; the yellow word, 4.8:1 on
   #6A35FF at a title's size. */

.hero { position: relative; overflow: hidden; padding: 52px 0 var(--section); background: var(--hero); color: #fff; text-align: center; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { padding: 6px 14px; border-radius: 999px; background: rgb(30 11 92 / .45); font-size: 14px; font-weight: 600; }
.hero h1 { max-width: 15ch; margin-top: 20px; font-size: clamp(40px, 6.6vw, 72px); line-height: 1.02; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--mark); }
.hero-sub { max-width: 600px; margin-top: 18px; color: #EFE9FF; font-size: clamp(17px, 2vw, 21px); line-height: 1.4; }
.hero .stores { margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; background: var(--mark); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }

/* From 900px up, two columns: the headline and the stores on the left, the browser on the right. */
.hero-demo { min-width: 0; }
@media (min-width: 900px) {
  .hero { padding-top: 64px; text-align: left; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
  .hero-in { align-items: flex-start; }
  .hero h1 { max-width: none; font-size: clamp(44px, 5.4vw, 56px); }
  .hero .stores { justify-content: flex-start; }
  .hero-points { flex-direction: column; gap: 8px; }
  .hero .demo { margin-top: 0; }
}

/* The two stores, side by side, each with its price under it. Both stores ask for their badges untouched; Apple also
   asks for a clear space of a quarter of the badge's height and at least 40px of height. On iPhone and iPad the
   Chrome one goes away (site.js): Chrome there takes no extensions. */
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px 24px; }
.store { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.store a { display: block; border-radius: 9px; transition: transform .2s var(--ease); }
.store a:hover { transform: translateY(-2px); }
.store img { display: block; width: auto; height: 50px; }
[data-os="ios"] .store-chrome { display: none; }

/* The demo: a drawing of a browser, not a video, so it stays sharp and light. demo.js runs it; without it (or with
   reduced motion) the browser just shows the top of the page. */
.demo { position: relative; width: min(760px, 100%); margin: 40px auto 0; text-align: left; }
.browser {
  --view: clamp(300px, 46vw, 430px);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #FFFDF8;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 30px 60px -24px rgb(0 0 0 / .35), 0 12px 24px -12px rgb(0 0 0 / .18);
}
@media (prefers-color-scheme: dark) { .browser { box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 60px -24px rgb(0 0 0 / .8); } }
.browser-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 14px; background: #F4F3EF; border-bottom: 1px solid #E2E0DA; }
.browser-lights { display: flex; gap: 6px; }
.browser-lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser-lights i:nth-child(2) { background: #FEBC2E; }
.browser-lights i:nth-child(3) { background: #28C840; }
.browser-url { flex: 1; display: grid; place-items: center; max-width: 360px; height: 26px; margin: 0 auto; border-radius: 7px; background: #E8E6E0; color: #5E5E5A; font-size: 12px; }
.browser-button { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; transition: box-shadow .2s, background-color .2s; }
.browser-button img { width: 18px; height: 18px; }
.demo[data-step="click"] .browser-button { background: rgb(106 53 255 / .14); box-shadow: 0 0 0 2px #6A35FF; }
.browser-view { position: relative; height: var(--view); overflow: hidden; }

/* The site being captured: a made-up recipe page, long enough for five screens. */
.site { position: absolute; inset: 0 0 auto; background: #FFFDF8; color: #2A2622; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; will-change: transform; }
.site-head { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; background: #FFFDF8; border-bottom: 1px solid #EFE8DC; }
.site-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #B8481A; color: #fff; font-size: 12px; font-weight: 700; }
.site-name { font: 700 15px Georgia, "Times New Roman", serif; }
.site-menu { display: flex; gap: 14px; margin-left: auto; color: #6E655C; font-size: 11px; }
.site-hero { display: grid; place-items: center; height: 230px; background: linear-gradient(160deg, #F2A23C, #E0662A); }
.site-hero svg { width: 220px; height: auto; }
.site-body { padding: 20px 22px 8px; }
.site-kicker { color: #A9440B; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.site-title { margin: 4px 0 10px; font: 700 26px/1.15 Georgia, "Times New Roman", serif; }
.site-tags { display: flex; gap: 6px; }
.site-tags span { padding: 2px 9px; border-radius: 999px; background: #F6E9D8; color: #8A5A2B; font-size: 11px; font-weight: 600; }
.site .site-h { margin: 22px 0 8px; font: 700 17px Georgia, "Times New Roman", serif; }
.site ul, .site ol { margin: 0; padding: 0; list-style: none; }
.site li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: #4A443D; font-size: 13px; }
.site ul li::before { content: ""; flex: none; width: 13px; height: 13px; margin-top: 3px; border: 1.5px solid #C9BBA8; border-radius: 3px; }
.site ol { counter-reset: step; }
.site ol li::before { counter-increment: step; content: counter(step); flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #F4C9A9; color: #9A4613; font-size: 11px; font-weight: 700; }
.site-tip { margin: 20px 0 0; padding: 12px 14px; border-radius: 10px; background: #FFF1C2; color: #5A4A1E; font-size: 13px; }
.site-tip b { display: block; font-family: Georgia, serif; }
.site-comment { display: flex; gap: 10px; padding: 8px 0; font-size: 13px; color: #4A443D; }
.site-comment i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #E9A23B; }
.site-comment:nth-of-type(2) i { background: #7FAE6B; }
.site-comment:nth-of-type(3) i { background: #C96B5B; }
.site-comment b { display: block; color: #2A2622; font-size: 12px; }
.site-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 18px 22px 22px; background: #2B211B; color: #E9DFD3; font-size: 11px; }
.site-foot b { display: block; color: #fff; font: 700 13px Georgia, serif; }
.site-foot strong { display: block; margin-top: 4px; color: #fff; font-size: 14px; }

/* The cookie notice the site shows: Scrollrama hides it before the first screen. */
.site-cookies {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #2B2722;
  color: #EEE6DA;
  font: 12px/1.35 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / .5);
  transition: opacity .3s, transform .3s var(--ease);
}
.site-cookies span { flex: 1; }
.site-cookies b { flex: none; padding: 6px 12px; border-radius: 7px; background: #fff; color: #2B2722; }
.demo[data-cookies="off"] .site-cookies { opacity: 0; transform: translateY(12px); }

/* The flash of each screenshot. */
.browser-flash { position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.browser-flash.on { animation: flash .35s ease-out; }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }

/* Scrollrama's progress pill, as the extension draws it on the page. */
.progress {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgb(106 53 255 / .96);
  border: 1px solid rgb(255 255 255 / .1);
  color: #F4F4F0;
  font: 600 12px/1 var(--font);
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgb(0 0 0 / .5);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity .25s, transform .3s var(--ease);
}
/* the icon in its own small ink square, as the extension draws it (app commit a8a71ff) */
.progress img { box-sizing: content-box; width: 14px; height: 14px; padding: 4px; border-radius: 6px; background: #4A1FD6; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.progress-bar { width: 84px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .3); overflow: hidden; }
.progress-bar i { display: block; width: 0; height: 100%; background: #FFD60A; transition: width .35s var(--ease); }
.demo[data-step="capture"] .progress { opacity: 1; transform: translate(-50%, 0); }

/* The editor, in a new tab: the whole page in one image. */
.editor {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  background: #1A1724;
  color: #F4F4F0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility 0s .45s;
}
.demo[data-step="editor"] .editor { opacity: 1; visibility: visible; transition: opacity .45s; }
.editor-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 12px 0 14px; background: #6A35FF; color: #FFFFFF; font-size: 12px; }
.editor-name { --pt: #FFD60A; font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.editor-tools { display: flex; gap: 4px; color: #FFFFFF; }
.editor-tools span { padding: 4px 8px; border-radius: 6px; }
.editor-save { margin-left: auto; padding: 6px 12px; border-radius: 7px; background: #FFD60A; color: #141414; font-weight: 700; transition: transform .15s; }
.demo[data-saved] .editor-save { transform: scale(.94); }
.editor-canvas { position: relative; flex: 1; display: flex; justify-content: center; padding: 14px 0; overflow: hidden; }
.editor-shot { position: relative; overflow: hidden; border-radius: 3px; box-shadow: 0 10px 30px rgb(0 0 0 / .5); transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease) .1s, opacity .5s .1s; }
.demo[data-step="editor"] .editor-shot { transform: none; opacity: 1; }
.editor-shot .site { transform-origin: 0 0; position: absolute; top: 0; left: 0; will-change: auto; }
.editor-toast {
  position: absolute;
  left: 50%;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #332E44;
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .25s, transform .3s var(--ease);
}
.editor-toast::before { content: "✓ "; color: #FFD60A; }
.demo[data-saved] .editor-toast { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) {
  .editor-tools span:nth-child(3), .site-menu { display: none; }
  .site-hero { height: 180px; }
}

/* Sections: a header, then one grid of cards. */

.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }
.head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.head h2 { font-size: clamp(28px, 3.8vw, 40px); line-height: 1.1; letter-spacing: -.01em; }
.head p { margin-top: 10px; color: var(--text-2); font-size: clamp(17px, 1.8vw, 19px); line-height: 1.4; }

.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.card { padding: 20px; border-radius: var(--radius); background: var(--bg-alt); }
.section-alt .card { background: var(--tile); }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.card p { margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* Where it works: a drawing of each browser's bar, with Scrollrama's button marked. */
.mock { position: relative; display: flex; align-items: center; height: 112px; margin-bottom: 16px; padding: 0 14px; border-radius: 14px; background: var(--picture); overflow: hidden; }
.mock:has(.mock-menu) { align-items: flex-end; padding-bottom: 14px; }
.mock-bar { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 6px 0 10px; border-radius: 10px; background: var(--tile); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 8px 20px -10px rgb(0 0 0 / .3); }
.mock-phone .mock-bar { height: 36px; padding: 0 6px; border-radius: 18px; }
.mock-lights { display: flex; gap: 4px; }
.mock-lights i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.mock-lights i:nth-child(2) { background: #FEBC2E; }
.mock-lights i:nth-child(3) { background: #28C840; }
.mock-url { flex: 1; display: grid; place-items: center; height: 22px; border-radius: 6px; background: var(--bg-alt); color: var(--text-2); font-size: 11px; }
.mock-phone .mock-url { border-radius: 11px; }
.mock-button, .mock-reload { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; }
.mock-button { background: color-mix(in srgb, var(--ring) 8%, transparent); box-shadow: 0 0 0 2px var(--ring); }
.mock-phone .mock-button { border-radius: 50%; }
.mock-button img { width: 16px; height: 16px; }
.mock-button svg, .mock-reload svg { width: 16px; height: 16px; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock-menu { position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--tile); box-shadow: 0 0 0 2px var(--ring), 0 8px 20px -10px rgb(0 0 0 / .3); font-size: 13px; font-weight: 600; }
.mock-menu img { width: 16px; height: 16px; }
.mock-menu-right { left: auto; right: 14px; }
.card .howto-setup { margin-top: 10px; font-size: 13px; }

/* What it is for: four short reasons, the mark in ink on yellow (13.1:1). */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.use { padding: 22px 20px 24px; border-radius: var(--radius); background: var(--tile); }
.use-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; background: var(--mark); }
.use-icon svg, .promise-icon svg { width: 24px; height: 24px; fill: none; stroke: #17122B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.use h3 { font: 600 20px/1.2 var(--display); }
.use p { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .uses { grid-template-columns: 1fr; }
  .use { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px; }
  .use-icon { grid-row: span 2; margin: 0; }
}

/* The editor: its own bar, opened up. One violet panel with the six tools, each with the icon the editor uses, in
   violet on white like the chosen tool there. White on the violet is 5.9:1; the lilac text, 5.2:1. */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 10px; border-radius: 28px; background: var(--violet); color: #fff; list-style: none; }
.tool { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-content: start; padding: 18px 16px; border-radius: 20px; }
.tool-icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; box-shadow: 0 8px 16px -8px rgb(10 0 50 / .6); }
.tool-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-icon svg .solid { fill: var(--violet); stroke: none; }
.tool h3 { font: 600 20px/1.2 var(--display); }
.tool p { margin-top: 3px; color: #EFE9FF; font-size: 15px; line-height: 1.4; }
@media (max-width: 860px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tools { grid-template-columns: 1fr; gap: 0; padding: 8px; border-radius: 24px; } .tool { padding: 14px 12px; } }

/* The list with a check, in the prices. */
.ticks { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.4; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; background: var(--accent); -webkit-mask: var(--check) center / 16px no-repeat; mask: var(--check) center / 16px no-repeat; }

/* Privacy: the dark violet band. White on #1E0B5C is 16.3:1; the lilac text, 12.6:1. */
.band { padding: var(--section) 0; background: var(--violet-deep); color: #fff; }
.band h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(28px, 3.8vw, 40px); line-height: 1.1; letter-spacing: -.01em; text-align: center; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.promise-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; background: var(--mark); }
.promise h3 { font: 600 21px/1.2 var(--display); }
.promise p { margin-top: 6px; color: #E9E1FF; font-size: 16px; line-height: 1.45; }
.band-more { margin-top: 36px; text-align: center; font-size: 15px; }
.band-more a { color: #fff; }
.band :focus-visible, .hero :focus-visible, .cta :focus-visible { outline-color: #fff; }
@media (max-width: 720px) {
  .promises { grid-template-columns: 1fr; gap: 24px; }
  .promise { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .promise-icon { grid-row: span 2; margin: 0; }
}

/* Prices: one card per store, the App Store's marked as the complete one. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 820px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 24px; background: var(--tile); }
.plan-main { box-shadow: 0 0 0 2px var(--accent); }
.plan-tag { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--mark); color: #17122B; font-size: 13px; font-weight: 700; }
.plan h3 { font: 700 24px/1.15 var(--display); }
.plan h3 span { display: block; margin-top: 3px; color: var(--text-2); font: 400 15px/1.3 var(--font); }
.plan-price { margin-top: 18px; color: var(--text-2); font-size: 16px; }
.plan-price b { display: block; color: var(--text); font: 700 46px/1 var(--display); letter-spacing: -.01em; }
.plan .ticks { margin-bottom: 26px; font-size: 15px; }
.plan-store { align-self: flex-start; margin-top: auto; border-radius: 9px; }
.plan-store img { display: block; width: auto; height: 46px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; gap: 26px; } }

/* The last call: violet again, with both stores. */
.cta { padding: var(--section) 0; background: var(--hero); color: #fff; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 64px; height: 64px; margin-bottom: 18px; border-radius: 15px; box-shadow: 0 0 0 2px rgb(255 255 255 / .22), 0 14px 26px -10px rgb(10 0 50 / .7); }
.cta h2 { max-width: 16ch; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.06; letter-spacing: -.01em; }
.cta p { margin-top: 10px; color: #EFE9FF; font-size: clamp(17px, 1.8vw, 19px); }
.cta .stores { margin-top: 28px; }

.faq { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Download: a card of its own, right under the hero. Both stores ask for their badges untouched; Apple also asks for
   a clear space of a quarter of the badge's height and at least 40px of height. */
.get { padding-bottom: var(--section); }
.get-card { display: flex; justify-content: space-between; align-items: center; gap: 24px 32px; padding: 28px 32px; border-radius: var(--radius); background: var(--bg-alt); }
.get-text { display: flex; align-items: center; gap: 16px; }
.get-text > img { flex: none; width: 56px; height: 56px; }
.get-text h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.get-text p { margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.4; }
.get-badges { display: flex; flex: none; flex-wrap: wrap; justify-content: center; gap: 16px 22px; }
.get-badge { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.get-badge img { display: block; width: auto; height: 44px; }
.get-badge span { color: var(--text-2); font-size: 13px; }
@media (max-width: 720px) {
  .get-card { flex-direction: column; padding: 28px 20px; text-align: center; }
  .get-text { flex-direction: column; gap: 12px; }
}

/* Legal pages: one column of 60 characters. */
.legal { max-width: 60ch; margin: 0 auto; padding: 48px 22px var(--section); }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -.01em; }
.legal .intro { margin-top: 24px; }
.legal .updated { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.legal h2 { margin: 40px 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 8px; }

/* The guide pages (full-page screenshots on iPhone, Mac, Chrome; webpage as PDF): the legal page's column, with steps,
   a comparison table and the questions. The download card follows the column. */
.legal ol { margin: 12px 0 0; padding-left: 22px; }
.legal ol + p, .legal ul + p, .legal .table-wrap + p { margin-top: 12px; }
.legal h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.legal code { font-size: .92em; }
.legal .note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); }
.legal .table-wrap { margin-top: 16px; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.legal td { color: var(--text-2); }
.legal th { font-weight: 600; }
.legal thead th { font-family: var(--display); font-size: 16px; }
.guide { padding-bottom: 48px; }
.nav-brand + .pill { margin-left: auto; }
.guide .crumbs { margin-bottom: 14px; color: var(--text-2); font-size: 14px; }
.guide .crumbs a { color: var(--text-2); }
.guide .intro { font-size: 18px; color: var(--text); }
.card .howto-more { margin-top: 10px; font-size: 14px; }
.footer-guides a[aria-current] { color: var(--text); }

.footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, var(--hair) 60%, transparent); color: var(--text-2); font-size: 13px; }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); text-decoration: none; }
.footer-brand:hover { text-decoration: none; }
.footer-brand span { color: var(--text-2); }
.footer-brand svg { width: 113px; height: 22px; }
.footer-links, .footer-languages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.footer-links a, .footer-languages a { display: inline-flex; align-items: center; min-height: 28px; color: var(--text-2); }
.footer-languages a[aria-current] { color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
  .footer-links, .footer-languages { gap: 0 18px; }
  .footer-links a, .footer-languages a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
