/* Folder Tidy — landing page, from canvas C ("Colourful folders"). */

/* Self-hosted variable fonts, Latin subset (from Google Fonts; SIL OFL 1.1, see fonts/OFL-*.txt). */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  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;

  --bg: #F5F5F0;
  --ink: #1D1D1F;
  --ink-2: #3A3A3C;
  --ink-3: #4A4A4F;
  --muted: #5E5E63;
  --display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Motion. Curves from the animate skill; springs are the app's own (FolderCard.swift). */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Fallbacks for browsers without linear(); replaced below. */
  --spring-folder: var(--ease-out);
  --spring-folder-dur: 500ms;
  --spring-paper: var(--ease-out);
  --spring-paper-dur: 550ms;
  --spring-bouncy: var(--ease-out);
  --spring-bouncy-dur: 500ms;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* SwiftUI .spring(duration: 0.5, bounce: 0.25): the folder lifts and its front tilts. */
    --spring-folder: linear(0, 0.0183, 0.0659, 0.1337, 0.2139, 0.3006, 0.389, 0.4757, 0.558, 0.6343, 0.7034, 0.7649, 0.8185, 0.8645, 0.9032, 0.9352, 0.9611, 0.9817, 0.9975, 1.0093, 1.0177, 1.0233, 1.0266, 1.0281, 1.0283, 1.0274, 1.0258, 1.0238, 1.0214, 1.0189, 1.0164, 1.014, 1.0117, 1.0096, 1.0077, 1.0061, 1.0046, 1.0034, 1.0024, 1.0015, 1);
    --spring-folder-dur: 640ms;
    /* SwiftUI .spring(duration: 0.55, bounce: 0.25): the papers fan out. */
    --spring-paper: linear(0, 0.0186, 0.0669, 0.1356, 0.2168, 0.3043, 0.3935, 0.4807, 0.5634, 0.6399, 0.709, 0.7702, 0.8236, 0.8691, 0.9074, 0.9389, 0.9642, 0.9842, 0.9995, 1.0109, 1.0188, 1.024, 1.027, 1.0283, 1.0282, 1.0271, 1.0254, 1.0232, 1.0208, 1.0183, 1.0158, 1.0134, 1.0111, 1.0091, 1.0072, 1.0056, 1.0042, 1.0031, 1.0021, 1.0013, 1);
    --spring-paper-dur: 710ms;
    /* SwiftUI .bouncy (duration 0.5, bounce 0.3): papers dropping into a folder. */
    --spring-bouncy: linear(0, 0.0294, 0.1036, 0.2051, 0.3198, 0.4375, 0.5508, 0.6546, 0.7461, 0.824, 0.8881, 0.9389, 0.9778, 1.0061, 1.0255, 1.0376, 1.044, 1.046, 1.0448, 1.0415, 1.0369, 1.0317, 1.0263, 1.021, 1.0162, 1.012, 1.0083, 1.0054, 1.003, 1.0011, 0.9998, 0.9989, 0.9983, 0.998, 0.9979, 0.9979, 0.9981, 0.9983, 0.9985, 0.9988, 1);
    --spring-bouncy-dur: 820ms;
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  overflow-x: clip;
}

a { color: var(--ink); }

h1, h2, h3, p { margin: 0; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 150ms ease;
}

.btn:active { transform: scale(0.97); }

.btn--dark { background: var(--ink); color: #FFFFFF; }
.btn--outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--small { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--large { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--outline.btn--large { padding: 0 24px; }

.btn:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid #0060C1;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: #000000; color: #FFFFFF; }
  .btn--outline:hover { background: rgba(29, 29, 31, 0.06); }
  .nav__links a:hover,
  .site-footer a:hover { color: #000000; }
}

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

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__spacer { flex: 1 1 auto; }

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  font-size: 15px;
  font-weight: 500;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 150ms ease;
}

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

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero__line { display: block; }

.hero__lede {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Before and after ---------- */

.flow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 12px;
  max-width: 980px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  transform: rotate(var(--r));
}

.chip__swatch {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--kind);
}

.flow__arrow { flex: none; }

.folders {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 28px;
}

.flow__caption {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* File kinds: the colour of the little square on chips and papers. */
[data-kind="PDF"] { --kind: #E5483A; }
[data-kind="PNG"], [data-kind="JPG"], [data-kind="HEIC"] { --kind: #14B3AE; }
[data-kind="SVG"] { --kind: #FF8A3D; }
[data-kind="STL"] { --kind: #6A43F2; }
[data-kind="ZIP"] { --kind: #C64BE0; }
[data-kind="DMG"], [data-kind="PKG"] { --kind: #3B59F2; }
[data-kind="DOCX"] { --kind: #3D93EF; }
[data-kind="XLSX"] { --kind: #55C04B; }
[data-kind="TXT"], [data-kind="P12"] { --kind: #8E8E93; }
[data-kind="MOV"] { --kind: #F2553D; }

/* ---------- The drawn folder (the app's FolderArt) ---------- */

/* Palettes from FolderPalette.swift: highlight, core, glow, base, glass leading, glass trailing.
   Glass colours carry the B8 alpha the app uses. */
.folder[data-palette="lime"]    { --hi: #ECE24A; --core: #55C04B; --glow: #DADDD9; --base: #A4D56A; --gl: #9DEFD3B8; --gt: #F5A9EEB8; }
.folder[data-palette="teal"]    { --hi: #9BF4E6; --core: #14B3AE; --glow: #D7EEF0; --base: #58CDC4; --gl: #B8F0FFB8; --gt: #FFE59AB8; }
.folder[data-palette="violet"]  { --hi: #C9A2FF; --core: #6A43F2; --glow: #F3DDFF; --base: #9A77FA; --gl: #A9C8FFB8; --gt: #FFB3E6B8; }
.folder[data-palette="magenta"] { --hi: #F7B5FF; --core: #C64BE0; --glow: #FCE3FF; --base: #DE84F0; --gl: #FFC9E3B8; --gt: #C2D0FFB8; }
.folder[data-palette="amber"]   { --hi: #FFD86E; --core: #FF8A3D; --glow: #FFEBCB; --base: #FFB158; --gl: #FFF1A0B8; --gt: #FFB8B8B8; }
.folder[data-palette="coral"]   { --hi: #FFB3A1; --core: #F2553D; --glow: #FFE4DA; --base: #F98C72; --gl: #FFD9A8B8; --gt: #FFC2E0B8; }
.folder[data-palette="indigo"]  { --hi: #97B9FF; --core: #3B59F2; --glow: #DEE5FF; --base: #6D8BF9; --gl: #B4F1FFB8; --gt: #D9B8FFB8; }
.folder[data-palette="finder"]  { --hi: #A8D6FF; --core: #3D93EF; --glow: #DDEFFF; --base: #6EB3FA; --gl: #C2E6FFB8; --gt: #E2EEFFB8; }

.folder {
  position: relative;
  flex: none;
  width: 232px;
  height: 196px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif;
  color: var(--ink);
}

.folder__scale {
  width: 232px;
  height: 196px;
}

.folder__art {
  position: relative;
  width: 232px;
  height: 196px;
  transform-origin: 50% 90%;
  transition: transform var(--spring-folder-dur) var(--spring-folder);
}

.folder__back {
  position: absolute;
  inset: 0;
  clip-path: path('M0 18 Q0 0 18 0 L78 0 C88 0 92 3 97 8 C102 13 106 16 116 16 L212 16 Q232 16 232 36 L232 176 Q232 196 212 196 L20 196 Q0 196 0 176 Z');
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(55% 55% at 42% 62%, var(--core) 0%, transparent 100%),
    radial-gradient(55% 60% at 100% 8%, var(--glow) 0%, transparent 100%),
    radial-gradient(60% 60% at 0% 100%, var(--core) 0%, transparent 100%),
    radial-gradient(55% 55% at 100% 100%, var(--base) 0%, transparent 100%),
    linear-gradient(180deg, var(--hi) 0%, var(--base) 55%, var(--core) 100%);
}

/* Papers sit at their closed spot; opening moves them with `transform`,
   dropping in (the reveal) uses the separate `translate` property. */
.paper {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  width: 92px;
  height: 120px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform-origin: 50% 100%;
  transition:
    transform var(--spring-paper-dur) var(--spring-paper),
    translate var(--spring-bouncy-dur) var(--spring-bouncy),
    opacity 250ms var(--ease-out);
}

.paper--left   { left: 12px;  top: 48px; transform: rotate(-8deg); }
.paper--right  { left: 128px; top: 44px; transform: rotate(7deg); }
.paper--center { left: 54px;  top: 32px; width: 124px; height: 130px; transform: none; }

.paper__head { display: flex; align-items: center; gap: 6px; }
.paper__swatch { width: 16px; height: 16px; border-radius: 4px; background: var(--kind); }
.paper__kind { font-size: 10px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-2); }
.paper__line { height: 5px; width: 86%; border-radius: 3px; background: rgba(0, 0, 0, 0.10); }
.paper__line--short { width: 62%; }

.folder__front {
  position: absolute;
  left: 0;
  top: 92px;
  width: 232px;
  height: 104px;
  padding: 0 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform-origin: 50% 100%;
  transform: perspective(700px) rotateX(0deg);
  transition: transform var(--spring-folder-dur) var(--spring-folder);
}

/* Two shadows crossfade instead of animating box-shadow. */
.folder__shadow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  transition: opacity var(--spring-folder-dur) ease;
}
.folder__shadow--closed { box-shadow: 0 9px 14px rgba(0, 0, 0, 0.20); }
.folder__shadow--open { box-shadow: 0 14px 18px rgba(0, 0, 0, 0.26); opacity: 0; }

.folder__glass {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34)),
    linear-gradient(90deg, var(--gl), var(--gt));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.folder__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.folder__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.folder__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #4A4D55;
}

.folder__badge {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 7px;
  border-radius: 999px;
  background: #0060C1;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
}

/* Open on hover: the folder lifts, the papers fan out, the front tilts toward you. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .folder:hover .folder__art { transform: translateY(-5px) scale(1.035); }
  .folder:hover .paper--left { transform: translate(-9px, -10px) rotate(-14deg); }
  .folder:hover .paper--right { transform: translate(9px, -8px) rotate(13deg); }
  .folder:hover .paper--center { transform: translateY(-15px); }
  .folder:hover .folder__front { transform: perspective(700px) rotateX(-12deg); }
  .folder:hover .folder__shadow--closed { opacity: 0; }
  .folder:hover .folder__shadow--open { opacity: 1; }
}

/* Reduced motion keeps a hover cue that doesn't move: the deeper shadow fades in. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .folder:hover .folder__shadow--closed { opacity: 0; }
  .folder:hover .folder__shadow--open { opacity: 1; }
}

/* Phones: two folders per row. Scaling a wrapper keeps the drawing identical. */
@media (max-width: 560px) {
  .folders { gap: 24px 14px; }
  .folder { width: 149px; height: 126px; }
  .folder__scale { transform: scale(0.64); transform-origin: 0 0; }
}

/* ---------- How it works ---------- */

.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px 40px;
}

.section-title {
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: 44px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: 28px;
}
.card--lime { background: #EAF5CF; --accent: #3F6B12; }
.card--violet { background: #ECE5FF; --accent: #4A2BC2; }
.card--amber { background: #FFEBCF; --accent: #9A4A08; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--accent);
}

.card__title {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.card__body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- Screenshots carousel ---------- */

.screens {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}

.screens__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.screens__intro {
  flex: 1 1 520px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.screens__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
}

.screens__arrows { display: flex; gap: 10px; }

.screens__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 160ms var(--ease-out),
    background-color 150ms ease,
    opacity 200ms ease;
}
.screens__arrow:active:not(:disabled) { transform: scale(0.95); }
.screens__arrow:disabled { opacity: 0.35; cursor: default; }

.screens__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* The display values above would otherwise beat the hidden attribute. */
.screens__arrows[hidden],
.screens__tabs[hidden] { display: none; }

.screens__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease;
}
.screens__tab span { opacity: 0.6; }
.screens__tab[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.screens__tab:active { transform: scale(0.97); }

.screens__arrow:focus-visible,
.screens__tab:focus-visible,
.screens__track:focus-visible {
  outline: 2px solid #0060C1;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .screens__arrow:hover:not(:disabled) { background: #EDEDE8; }
  .screens__tab:hover:not([aria-pressed="true"]) { background: rgba(29, 29, 31, 0.06); }
}

.screens__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
}

/* A native scroll-snap row: swipe and trackpad scrolling work without any script. Slides are
   86% wide so a neighbour always peeks in; the middle one centres and the browser keeps the
   first and last against the edges. */
.screens__track {
  position: relative;
  align-self: stretch;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 36px;
}
.screens__track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 86%;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 36px;
  background: var(--slide-bg);
  scroll-snap-align: center;
  transition: opacity 400ms ease;
}
.slide--violet { --slide-bg: #ECE5FF; --accent: #4A2BC2; }
.slide--amber { --slide-bg: #FFEBCF; --accent: #9A4A08; }
.slide--lime { --slide-bg: #EAF5CF; --accent: #3F6B12; }

/* Once main.js tracks the current slide, the others step back and a click brings them forward. */
.screens__track.is-ready .slide:not(.is-active) { opacity: 0.5; cursor: pointer; }

.slide__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px) 0;
}

.slide__step {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.slide__title {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.slide__body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.slide__window { margin: clamp(20px, 3vw, 32px) clamp(8px, 3vw, 36px) 0; }
.slide__window img { display: block; width: 100%; height: auto; }

@media (max-width: 560px) {
  .screens__track { gap: 14px; border-radius: 28px; }
  .slide { flex-basis: 88%; border-radius: 28px; }
  .screens__tab { padding: 0 14px; }
}

/* ---------- Privacy ---------- */

.private {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.private__card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 36px;
  background: #1D1D1F;
  color: #F5F5F7;
}

.private__title {
  max-width: 820px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.private__body {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.6;
  color: #B0B0B5;
}

.private__body strong { font-weight: 600; color: #C9E265; }

.private__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  line-height: 1.5;
  color: #8E8E93;
}

.private__note svg { flex: none; margin-top: 1px; }

/* ---------- Price ---------- */

.price {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 72px;
}

.sticker {
  flex: none;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: radial-gradient(70% 70% at 30% 25%, #ECE24A 0%, #A4D56A 60%, #55C04B 100%);
  box-shadow: 0 24px 50px rgba(85, 192, 75, 0.35);
  transform: rotate(-8deg);
}

.sticker__amount {
  font-family: var(--display);
  font-size: 76px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.sticker__label { font-size: 15px; font-weight: 700; color: var(--ink); }

.price__text {
  flex: 1 1 380px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price__title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.price__body { font-size: 17px; line-height: 1.55; color: var(--ink-3); }

.price__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* What the free download does, and what the license adds. */
.price__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  margin-top: 4px;
}

.plan {
  --tick: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.plan--license { --tick: #3F6B12; background: #EAF5CF; box-shadow: none; }

.plan__title { font-size: 13px; font-weight: 700; color: var(--tick); }

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
}
.plan__list li { display: flex; align-items: flex-start; gap: 8px; }
.plan__list svg { flex: none; margin-top: 1px; color: var(--tick); }

.price__req { font-size: 13px; line-height: 1.5; color: var(--muted); }

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

.site-footer { border-top: 1px solid rgba(0, 0, 0, 0.08); }

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  transition: color 150ms ease;
}

/* =====================================================================
   Entrance motion
   ===================================================================== */

/* Hero: plays once on load, CSS only (stays smooth while the page loads). */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
}

.hero__line,
.hero__lede,
.hero__actions,
.hero__note {
  animation: rise 600ms var(--ease-out) both;
}
.hero__line:nth-child(2) { animation-delay: 70ms; }
.hero__lede { animation-delay: 140ms; }
.hero__actions { animation-delay: 200ms; }
.hero__note { animation-delay: 250ms; }

/* Before and after: the messy files settle and the arrow draws when .flow comes into view
   (main.js adds .is-visible to .flow). The folders land and their papers drop in once the
   folder list itself is on screen (main.js adds .is-visible to .folders). Hidden states apply
   only when JavaScript runs. */

.chip {
  transition:
    opacity 300ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: calc(var(--i) * 32ms);
}
.js .flow:not(.is-visible) .chip {
  opacity: 0;
  transform: translateY(14px) rotate(calc(var(--r) * 2.5));
}

.flow__arrow {
  clip-path: inset(0 0 0 0);
  transition: clip-path 560ms var(--ease-in-out) 380ms;
}
.js .flow:not(.is-visible) .flow__arrow { clip-path: inset(0 0 100% 0); }

.folder {
  --enter: calc(var(--i) * 55ms);
  --drop: calc(var(--enter) + 160ms);
  transition:
    opacity 400ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: var(--enter);
}
.js .folders:not(.is-visible) .folder {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.paper--left { --pd: 0ms; }
.paper--center { --pd: 70ms; }
.paper--right { --pd: 140ms; }
.js .folders:not(.is-visible) .paper {
  opacity: 0;
  translate: 0 -36px;
}

/* The papers' drop waits for its folder. It plays once; after that only `transform` changes
   (the hover fan-out), and that has no delay, so hovering answers at once even mid-sequence.
   transition-delay lists follow .paper's transition list: transform, translate, opacity. */
.paper {
  transition-delay: 0ms, calc(var(--drop) + var(--pd)), calc(var(--drop) + var(--pd));
}

.flow__caption {
  transition:
    opacity 400ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: 800ms;
}
.js .folders:not(.is-visible) + .flow__caption {
  opacity: 0;
  transform: translateY(12px);
}

/* Sections further down: fade up once as they come into view. */
.reveal {
  transition:
    opacity 500ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

/* The price sticker lands like a stamp. */
.sticker {
  transition:
    opacity 300ms var(--ease-out),
    transform var(--spring-bouncy-dur) var(--spring-bouncy);
  transition-delay: var(--d, 0ms);
}
.js .sticker:not(.is-visible) {
  opacity: 0;
  transform: rotate(-18deg) scale(0.9);
}

/* Reduced motion: same moments, opacity only. Nothing slides, drops, draws or opens. */
@keyframes fade {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__line,
  .hero__lede,
  .hero__actions,
  .hero__note { animation-name: fade; }

  .js .flow:not(.is-visible) .chip { transform: rotate(var(--r)); }
  .js .folders:not(.is-visible) .folder { transform: none; }
  .js .folders:not(.is-visible) .paper { translate: none; }
  .js .folders:not(.is-visible) + .flow__caption { transform: none; }
  .js .reveal:not(.is-visible) { transform: none; }
  .js .sticker:not(.is-visible) { transform: rotate(-8deg); }

  .flow__arrow { transition: opacity 300ms var(--ease-out) 380ms; }
  .js .flow:not(.is-visible) .flow__arrow { clip-path: none; opacity: 0; }
}

/* Printing: main.js drops every hidden state on beforeprint. With motion off, they vanish
   at once instead of fading in after the page has been captured. */
@media print {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  /* On paper the carousel becomes a plain list of the three screens. */
  .screens__arrows,
  .screens__tabs { display: none !important; }
  .screens__track { display: block; overflow: visible; }
  .slide { opacity: 1 !important; margin-bottom: 24px; break-inside: avoid; }
}
