/* Brim — website design system.
   Warm cream pages, big tight system type, dark pill buttons with a soft glow; the FAQ,
   changelog and admin pages use the dark variant. No framework, no web fonts. */

/* ───────────── Tokens ───────────── */
:root {
  --bg: #fff2e4;
  --bg-2: #f9e6d2;
  --bg-3: #f2d9bf;
  --card: #fffaf4;
  --ink: #292524;
  --ink-2: #57534e;
  --ink-3: #8b7f75;
  --line: rgba(41, 37, 36, .1);
  --line-2: rgba(41, 37, 36, .16);
  --btn: #292524;
  --btn-ink: #fff7ee;
  --glow: 0 16px 34px -12px rgba(120, 58, 16, .55), 0 2px 4px rgba(41, 37, 36, .12);
  --brand: #7b6cff;
  --brand-2: #4fb6ff;
  --mark: rgba(142, 124, 255, .42);
  --good: #23a35a;
  --warn: #c2410c;
  --bad: #dc2626;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --page: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  color-scheme: light;
}

.theme-dark,
:root.theme-dark {
  --bg: #1c1917;
  --bg-2: #292524;
  --bg-3: #34302c;
  --card: #231f1d;
  --ink: #fff1e2;
  --ink-2: #d9cfc4;
  --ink-3: #a39a92;
  --line: rgba(255, 241, 226, .1);
  --line-2: rgba(255, 241, 226, .16);
  --btn: #fff1e2;
  --btn-ink: #1c1917;
  --glow: 0 16px 34px -14px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .06) inset;
  --mark: rgba(142, 124, 255, .5);
  --good: #4ade80;
  --warn: #fb923c;
  --bad: #f87171;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) {
    --bg: #1c1917;
    --bg-2: #292524;
    --bg-3: #34302c;
    --card: #231f1d;
    --ink: #fff1e2;
    --ink-2: #d9cfc4;
    --ink-3: #a39a92;
    --line: rgba(255, 241, 226, .1);
    --line-2: rgba(255, 241, 226, .16);
    --btn: #fff1e2;
    --btn-ink: #1c1917;
    --glow: 0 16px 34px -14px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .06) inset;
    --mark: rgba(142, 124, 255, .5);
    --good: #4ade80;
    --warn: #fb923c;
    --bad: #f87171;
    color-scheme: dark;
  }
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--mark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--btn); color: var(--btn-ink); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.narrow { max-width: 760px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
[hidden] { display: none !important; }
.lang-wait body { opacity: 0; }
body { transition: opacity .12s; }

/* ───────────── Icons ───────────── */
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 0; border-radius: var(--radius);
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .i { width: 19px; height: 19px; }
.btn-dark { background: var(--btn); color: var(--btn-ink); box-shadow: var(--glow); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 22px 40px -14px rgba(120, 58, 16, .6), 0 2px 4px rgba(41, 37, 36, .14); }
.theme-dark .btn-dark:hover { box-shadow: var(--glow); }
.btn-tan { background: var(--bg-2); color: var(--ink); }
.btn-tan:hover { background: var(--bg-3); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: 15px; border-radius: 12px; gap: 8px; }
.btn-sm .i { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.price-chip {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 8px;
  background: var(--btn); color: var(--btn-ink);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.badge-ok { display: inline-flex; width: 22px; height: 22px; color: #b69c86; }
.theme-dark .badge-ok { color: #8f7f71; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.fine { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.fine > span { display: inline-flex; align-items: center; gap: 6px; }
.fine .i { width: 15px; height: 15px; }

/* ───────────── Header ───────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1480px; margin: 0 auto; padding: 18px 28px; min-height: 84px; transition: padding .3s; }
.scrolled .header-in { padding-top: 12px; padding-bottom: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; border-radius: 14px; padding: 4px; margin: -4px; }
.logo img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 8px rgba(41, 37, 36, .18); }
.logo b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.version { align-self: flex-start; margin-top: -2px; padding: 1px 6px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn), .nav button.link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 11px; border: 0; background: none;
  font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink);
  transition: background .2s;
}
.nav a:not(.btn):hover, .nav button.link:hover { background: var(--bg-2); }
.nav a .i, .nav button.link .i { width: 18px; height: 18px; }
.nav .btn { margin-left: 10px; }
.lang-switch { font-size: 14px !important; letter-spacing: .02em; color: var(--ink-2) !important; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav .hide-sm { display: none !important; }
}
@media (max-width: 560px) {
  .header-in { padding: 14px 16px; min-height: 70px; }
  .logo b { font-size: 20px; }
  .logo img { width: 34px; height: 34px; }
  .nav { gap: 2px; }
  .nav .btn { margin-left: 4px; }
  .nav .btn .label-long { display: none; }
}
@media (min-width: 561px) { .nav .btn .label-short { display: none; } }

/* ───────────── Hero ───────────── */
.hero { padding-top: 172px; text-align: center; }
.hero h1 {
  font-size: clamp(46px, 8.2vw, 112px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  word-spacing: .06em;
  margin: 0 auto;
  max-width: 11em;
  text-wrap: balance;
}
.hero h1 .line { display: block; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 20px; padding: 7px 14px; border-radius: 999px; font-size: clamp(15px, 1.6vw, 17px); font-weight: 700; letter-spacing: -.01em; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent); }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::before {
  content: ""; position: absolute; z-index: -1;
  left: -.08em; right: -.08em; bottom: .02em; height: .5em;
  background: var(--mark);
  border-radius: .08em .14em .1em .16em;
  transform: skewX(-8deg) scaleX(0); transform-origin: left center;
  animation: mark-in .9s .45s var(--ease) forwards;
}
@keyframes mark-in { to { transform: skewX(-8deg) scaleX(1); } }
.hero .sub { margin: 26px auto 0; max-width: 36em; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.45; color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.hero .cta-row { margin-top: 38px; }
.rise { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .mark::before { animation: none; transform: skewX(-8deg); }
}
@media (max-width: 560px) {
  .hero { padding-top: 124px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* ───────────── Sections ───────────── */
.section { padding-top: 128px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--brand); }
.eyebrow .i { width: 17px; height: 17px; }
.section h2, .h2 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--ink-2); line-height: 1.5; text-wrap: balance; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────────── Feature grid ───────────── */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 28px; max-width: 1040px; margin: 0 auto; }
.feature { text-align: center; display: flex; flex-direction: column; align-items: center; }
.feature .glyph { width: 64px; height: 64px; margin-bottom: 20px; color: var(--ink); }
.feature .glyph svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.feature .glyph .f { fill: currentColor; stroke: none; }
.feature h3 { font-size: 23px; font-weight: 700; letter-spacing: -.03em; line-height: 1.18; max-width: 8.4em; }
.feature p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-3); max-width: 15.5em; }
.pro-tag { display: inline-block; vertical-align: 3px; margin-left: 4px; padding: 2px 6px 1px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #8e7cff, #4fb6ff); }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -12%; top: -18%; width: 124%; height: 140%; overflow: visible; fill: none; stroke: #a78bfa; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.scribble svg path { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.1s .3s var(--ease); }
.in .scribble svg path, .scribble.in svg path { stroke-dashoffset: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); gap: 52px 20px; } }
@media (max-width: 420px) { .feature h3 { font-size: 21px; } }
.center-cta { display: flex; justify-content: center; margin-top: 72px; }

/* ───────────── Demo (hero Mac) ───────────── */
.demo { margin: 72px auto 0; max-width: 1120px; padding: 0 24px; }
.screen {
  position: relative; width: 100%;
  border-radius: clamp(18px, 3.2vw, 40px);
  overflow: hidden; isolation: isolate;
  background: #1a1030;
  box-shadow: 0 50px 90px -40px rgba(92, 44, 20, .55), 0 0 0 1px rgba(0, 0, 0, .06);
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
}
.theme-dark .screen, .screen.dark-shadow { box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.screen:focus-visible { outline-offset: 6px; border-radius: 40px; }
.demo-note { margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.demo-note .i { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 900px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 0 14px; border-radius: 12px; border: 0;
  background: var(--bg-2); color: var(--ink);
  font-size: 14.5px; font-weight: 600;
  transition: background .2s, color .2s, transform .15s var(--ease);
}
.chip:hover { background: var(--bg-3); }
.chip:active { transform: scale(.96); }
.chip .i { width: 16px; height: 16px; }
.chip.on { background: var(--btn); color: var(--btn-ink); }
@media (max-width: 640px) {
  .demo { padding: 0 12px; margin-top: 52px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 12px 8px; margin: 18px -12px 0; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ───────────── Gallery (real screenshots) ───────────── */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shot { margin: 0; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -34px rgba(92, 44, 20, .5); }
.shot img { width: 100%; height: auto; aspect-ratio: 1640 / 584; object-fit: cover; background: #241a3a; }
.shot figcaption { padding: 16px 20px 18px; }
.shot figcaption b { display: block; font-size: 17px; letter-spacing: -.02em; }
.shot figcaption span { display: block; margin-top: 3px; font-size: 15px; color: var(--ink-3); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ───────────── Trust row ───────────── */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust > div { padding: 28px; border-radius: 24px; background: var(--bg-2); }
.trust .i { width: 30px; height: 30px; margin-bottom: 16px; }
.trust b, .trust h3 { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.trust p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* ───────────── Pricing ───────────── */
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: 30px; background: var(--bg-2); }
.plan h3 { font-size: 26px; letter-spacing: -.035em; }
.plan .price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.plan .price b { font-size: 60px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.plan .lead { color: var(--ink-2); font-size: 16px; }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.plan li .i { width: 20px; height: 20px; margin-top: 1px; color: var(--good); stroke-width: 2.6; }
.plan li.plus { font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan-pro { background: #1c1917; color: #fff1e2; box-shadow: 0 40px 80px -40px rgba(92, 44, 20, .75); overflow: hidden; }
.plan-pro::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 108, 255, .45), transparent 65%); pointer-events: none; }
.plan-pro .lead, .plan-pro .price span { color: #cfc4b8; }
.plan-pro li .i { color: #a78bfa; }
.plan-pro .btn-dark { background: #fff1e2; color: #1c1917; box-shadow: 0 16px 34px -14px rgba(123, 108, 255, .7); }
.plan-pro .ribbon { position: absolute; top: 26px; right: 26px; padding: 5px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: #1c1917; background: #fff1e2; }
.theme-dark .plan-pro, .plan-pro.on-dark { background: #0f0d0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.plan-note { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); }
.plan-note > span { display: inline-flex; align-items: center; gap: 7px; }
.plan-note .i { width: 16px; height: 16px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } .plan { padding: 30px 24px; } }

/* ───────────── Accordions (FAQ, changelog) ───────────── */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 2px; list-style: none; cursor: pointer;
  font-size: 20px; font-weight: 700; letter-spacing: -.02em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { position: relative; width: 16px; height: 16px; flex: none; color: var(--ink-3); transition: transform .3s var(--ease); }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.8px; margin: -.9px 0 0 -8px; border-radius: 2px; background: currentColor; }
.acc summary .plus::after { transform: rotate(90deg); }
.acc details[open] summary .plus { transform: rotate(45deg); }
.acc summary .q { flex: 1; }
.acc summary .aside { font-size: 15px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.acc summary .aside .i { width: 20px; height: 20px; }
.acc .a { padding: 0 2px 26px 34px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.acc .a p + p, .acc .a ul, .acc .a p + ol { margin-top: 12px; }
.acc .a ul, .acc .a ol { padding-left: 20px; margin: 10px 0 0; }
.acc .a li + li { margin-top: 6px; }
.acc .a a { text-decoration-color: color-mix(in srgb, var(--brand) 70%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.acc .a code, .doc code { font: 500 .9em var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--bg-2); }
@media (max-width: 560px) { .acc summary { font-size: 18px; padding: 19px 2px; } .acc .a { padding-left: 2px; font-size: 16px; } }

/* ───────────── Final CTA ───────────── */
.final { padding-top: 150px; padding-bottom: 40px; text-align: center; }
.final h2 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; letter-spacing: -.045em; word-spacing: .05em; line-height: 1; max-width: 12em; margin: 0 auto; text-wrap: balance; }
.final p { margin: 20px auto 36px; max-width: 32em; font-size: 19px; color: var(--ink-2); }
.final .links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 15px; font-weight: 600; }
.final .links a { color: var(--ink-3); text-decoration: none; }
.final .links a:hover { color: var(--ink); }

/* ───────────── Footer ───────────── */
.site-footer { position: relative; margin-top: 110px; padding: 0 0 0; overflow: hidden; text-align: center; }
.foot-icons { display: flex; justify-content: center; gap: 10px; }
.foot-icons a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--bg-2); color: var(--ink-2); transition: background .2s, color .2s; }
.foot-icons a:hover { background: var(--bg-3); color: var(--ink); }
.foot-icons .i { width: 18px; height: 18px; }
.foot-links { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-company { margin: 18px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.foot-company > * + *::before { content: "·"; margin: 0 8px; opacity: .7; }
.foot-company a { color: inherit; text-decoration: none; }
.foot-company a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin: 10px auto 0; max-width: 720px; padding: 0 24px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); opacity: .85; }
.wordmark {
  margin: 34px 0 -.24em; font-size: clamp(120px, 26vw, 360px); font-weight: 800; letter-spacing: -.06em; line-height: .9;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 11%, transparent) 20%, transparent 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; -webkit-user-select: none; user-select: none;
}

/* ───────────── Doc pages (FAQ, changelog, legal, license) ───────────── */
.page-head { padding-top: 176px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(52px, 8vw, 92px); font-weight: 800; letter-spacing: -.045em; word-spacing: .05em; line-height: .98; }
.page-head .updated { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink-3); }
.page-head .updated .i { width: 16px; height: 16px; }
.page-head .intro { margin-top: 22px; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
@media (max-width: 560px) { .page-head { padding-top: 128px; } }
.more-q { margin-top: 64px; }
.more-q h2 { font-size: 22px; letter-spacing: -.02em; }
.more-q p { margin-top: 8px; color: var(--ink-2); }
.more-q a { text-underline-offset: 3px; text-decoration-color: #5eead4; text-decoration-thickness: 1.5px; }
.release { padding-top: 36px; }
.release + .release { padding-top: 72px; }
.release h2 { font-size: 34px; font-weight: 700; letter-spacing: -.035em; }
.release > p { margin: 16px 0 26px; font-size: 18px; color: var(--ink-2); line-height: 1.55; }
.doc { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc h2 { margin: 44px 0 12px; font-size: 24px; color: var(--ink); letter-spacing: -.025em; }
.doc p + p, .doc ul, .doc ol { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.doc .tldr { padding: 20px 22px; border-radius: 18px; background: var(--bg-2); color: var(--ink); font-size: 17px; }

/* ───────────── Cards, forms, status ───────────── */
.card { padding: 30px; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(92, 44, 20, .45); }
.theme-dark .card { box-shadow: 0 0 0 1px var(--line); }
.card h2, .card h3 { letter-spacing: -.03em; }
.card h2 { font-size: 26px; }
.card h3 { font-size: 20px; }
.card .lead { margin-top: 8px; color: var(--ink-2); }
.stack { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 0; border-radius: 13px; outline: 0;
  background: var(--bg-2); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 17px; transition: box-shadow .2s, background .2s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { box-shadow: inset 0 0 0 2px var(--brand); background: var(--card); }
textarea.input { min-height: 96px; padding: 13px 16px; resize: vertical; line-height: 1.45; }
select.input { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.input.mono { font-family: var(--mono); letter-spacing: .04em; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 200px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 15.5px; line-height: 1.45; background: var(--bg-2); color: var(--ink); }
.msg .i { width: 19px; height: 19px; margin-top: 1px; }
.msg.ok { background: color-mix(in srgb, var(--good) 14%, var(--bg-2)); }
.msg.ok .i { color: var(--good); }
.msg.err { background: color-mix(in srgb, var(--bad) 13%, var(--bg-2)); }
.msg.err .i { color: var(--bad); }
.keybox {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 18px 18px 22px; border-radius: 18px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.keybox code { flex: 1 1 250px; font: 600 clamp(14px, 2.4vw, 20px)/1.25 var(--mono); letter-spacing: .03em; overflow-wrap: anywhere; color: var(--ink); user-select: all; -webkit-user-select: all; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--ink) 18%, transparent); border-top-color: var(--ink); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps > li { counter-increment: step; position: relative; padding-left: 48px; min-height: 34px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--btn); color: var(--btn-ink); font-weight: 700; font-size: 16px; }
.steps b { display: block; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: var(--btn); color: var(--btn-ink); font-size: 15px; font-weight: 600; box-shadow: var(--glow); transition: opacity .25s, transform .35s var(--spring); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border-radius: 6px; font: 600 .86em var(--font); text-align: center; background: var(--card); box-shadow: 0 1px 0 var(--line-2), inset 0 0 0 1px var(--line-2); }

/* Page-specific layouts */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.page-main { padding-bottom: 20px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; opacity: .95; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--r)); opacity: 1; } }

/* ───────────── Download page ───────────── */
.dl-hero { padding-top: 168px; padding-bottom: 10px; text-align: center; }
.dl-hero .app-icon { width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 26px; box-shadow: 0 24px 48px -18px rgba(41, 37, 36, .55), 0 0 0 1px rgba(0, 0, 0, .1); }
.dl-hero h1, .dl-hero .dl-title { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.045em; word-spacing: .05em; line-height: 1; text-wrap: balance; }
.dl-hero .sub { margin: 18px auto 0; max-width: 34em; font-size: 19px; color: var(--ink-2); text-wrap: balance; }
.dl-hero .status { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: var(--bg-2); font-weight: 600; font-size: 16px; }
.dl-hero .status .i { width: 20px; height: 20px; color: var(--good); }
.dl-hero .again { margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.dl-hero .again a { color: var(--ink-2); font-weight: 600; }
.guide { display: grid; gap: 18px; max-width: 880px; margin: 64px auto 0; text-align: left; }
.guide-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px; border-radius: 26px; background: var(--bg-2); }
.guide-step .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--btn); color: var(--btn-ink); font-weight: 800; font-size: 19px; }
.guide-step h2 { font-size: 22px; letter-spacing: -.03em; }
.guide-step p { margin-top: 6px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.guide-step p + p { margin-top: 10px; }
.guide-step .visual { margin-top: 18px; }
.guide-step strong { color: var(--ink); }
@media (max-width: 600px) { .guide-step { grid-template-columns: 1fr; gap: 12px; padding: 22px; } }

/* Drag-to-Applications illustration */
.dmg { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 26px; border-radius: 20px; background: linear-gradient(160deg, #fbf3ea, #f2e2cf); box-shadow: inset 0 0 0 1px var(--line); color: #292524; }
.theme-dark .dmg { background: linear-gradient(160deg, #2c2724, #221e1b); color: var(--ink); }
.dmg figure { margin: 0; text-align: center; font-size: 13.5px; font-weight: 600; }
.dmg img { width: 80px; height: 80px; margin: 0 auto 6px; }
.dmg .arrow { width: 90px; height: 24px; color: var(--ink-3); }

/* A miniature System Settings window (for the "Open Anyway" step) */
.mock-settings { display: grid; grid-template-columns: 170px 1fr; overflow: hidden; border-radius: 16px; font-size: 13px; color: #1d1d1f; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 18px 40px -22px rgba(41, 37, 36, .6); }
.mock-settings .ms-side { padding: 12px 8px; background: #efeae6; display: grid; gap: 2px; align-content: start; }
.mock-settings .ms-dots { display: flex; gap: 6px; padding: 2px 6px 12px; }
.mock-settings .ms-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-settings .ms-dots i:nth-child(2) { background: #febc2e; }
.mock-settings .ms-dots i:nth-child(3) { background: #28c840; }
.mock-settings .ms-item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; color: #3a3a3c; }
.mock-settings .ms-item img { width: 20px; height: 20px; flex: none; }
.mock-settings .ms-item.on { background: #0a84ff; color: #fff; }
.mock-settings .ms-main { padding: 16px 18px 18px; }
.mock-settings .ms-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.mock-settings .ms-label { font-size: 11px; font-weight: 700; color: #86868b; margin: 0 0 6px 2px; }
.mock-settings .ms-group { border-radius: 10px; background: #f5f3f1; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.mock-settings .ms-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; }
.mock-settings .ms-row + .ms-row { border-top: 1px solid rgba(0, 0, 0, .06); }
.mock-settings .ms-row span { color: #3a3a3c; }
.mock-settings .ms-btn { flex: none; padding: 4px 11px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 1px 1px rgba(0, 0, 0, .08); font-weight: 600; position: relative; }
.mock-settings .ms-btn.hl { box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 4px rgba(123, 108, 255, .55); animation: hl 1.6s ease-in-out infinite; }
@keyframes hl { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 7px rgba(123, 108, 255, .25); } }
.mock-settings .ms-muted { color: #86868b; }
@media (max-width: 600px) { .mock-settings { grid-template-columns: 1fr; } .mock-settings .ms-side { display: none; } }
.dialog-mock { display: flex; gap: 14px; align-items: flex-start; max-width: 420px; padding: 16px; border-radius: 16px; background: #f6f4f2; color: #1d1d1f; font-size: 13px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 18px 40px -22px rgba(41, 37, 36, .6); }
.dialog-mock img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.dialog-mock b { display: block; font-size: 13.5px; }
.dialog-mock p { margin: 4px 0 10px; color: #3a3a3c; line-height: 1.4; }
.dialog-mock .btns { display: flex; gap: 8px; }
.dialog-mock .btns span { padding: 4px 12px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); font-weight: 600; }
.dialog-mock .btns .good { background: #0a84ff; color: #fff; box-shadow: 0 0 0 4px rgba(123, 108, 255, .45); }
.dialog-mock .btns .bad { color: #a1a1a6; text-decoration: line-through; }

/* ───────────── Buy / success ───────────── */
.center-page { padding: 168px 0 0; }
.center-page .narrow { max-width: 620px; }
.order { display: grid; gap: 18px; }
.order .line { display: flex; align-items: center; gap: 16px; }
.order .line img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 24px -12px rgba(41, 37, 36, .6); }
.order .line b { display: block; font-size: 20px; letter-spacing: -.03em; }
.order .line span { color: var(--ink-3); font-size: 15px; }
.order .line .amount { color: var(--ink); margin-left: auto; font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .i { width: 19px; height: 19px; margin-top: 2px; color: var(--good); stroke-width: 2.6; }
.hr { height: 1px; background: var(--line); border: 0; margin: 4px 0; }
.big-title { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -.045em; word-spacing: .05em; line-height: 1.02; text-wrap: balance; }
.lead-lg { margin-top: 14px; font-size: 19px; color: var(--ink-2); line-height: 1.5; text-wrap: balance; }
.state { display: grid; gap: 22px; }
.wait { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.small-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.small-links a { color: var(--ink-3); font-weight: 600; text-decoration: none; }
.small-links a:hover { color: var(--ink); }
.ref { font: 500 13px var(--mono); color: var(--ink-3); word-break: break-all; }

/* ───────────── License page ───────────── */
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.lic-grid .card { display: grid; gap: 18px; align-content: start; }
.lic-grid .card .icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-2); }
.lic-grid .card .icon-tile .i { width: 24px; height: 24px; }
@media (max-width: 860px) { .lic-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .card { padding: 22px; border-radius: 22px; } }

/* ───────────── Utilities (no inline styles: the CSP has no 'unsafe-inline') ───────────── */
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }
.mt-30 { margin-top: 30px; }
.mt-36 { margin-top: 36px; }
.mt-72 { margin-top: 72px; }
.jc-center { justify-content: center; }
.jc-between { justify-content: space-between; }
.gap-14 { gap: 14px; }
.flex-wrap { flex-wrap: wrap; }
.section-head-tight { margin-bottom: 34px; }
.page-head.tight { padding-bottom: 28px; }
.h2-sm { font-size: 34px; margin-bottom: 18px; }
.plan-vat { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* ───────────── Lock Screen section ───────────── */
.ls-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.ls-copy .eyebrow { margin-bottom: 14px; }
.ls-copy h2 { font-size: clamp(34px, 4.6vw, 56px); text-wrap: balance; }
.ls-copy .lead { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.ls-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.ls-list li { display: flex; gap: 14px; align-items: flex-start; }
.ls-list .i { width: 24px; height: 24px; margin-top: 1px; color: var(--brand); }
.ls-list h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.ls-list p { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 980px) { .ls-section { grid-template-columns: 1fr; gap: 40px; } }

/* ───────────── "What is" prose ───────────── */
.prose { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose h3 { margin: 34px 0 10px; font-size: 24px; letter-spacing: -.025em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 70%, transparent); text-decoration-thickness: 1.5px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #8e7cff, #4fb6ff); }
.muted-note { margin-top: 30px; font-size: 16px; color: var(--ink-3); }

/* ───────────── Legal notice, comparison ───────────── */
.facts { display: grid; grid-template-columns: minmax(170px, 34%) 1fr; margin: 18px 0 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-right: 18px; font-weight: 600; color: var(--ink); }
.facts dd { color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 3px; }
}
.doc address { font-style: normal; }
.table-wrap { margin-top: 18px; overflow-x: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 16px; color: var(--ink); background: var(--bg-2); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.cmp td { color: var(--ink-2); }
.cmp .us { background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--ink); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.source-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.ls-pro { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ls-pro .pro-tag { margin-left: 0; vertical-align: 0; }
.notch-404 { margin: 0 auto 34px; width: 220px; height: 44px; border-radius: 0 0 22px 22px; background: #000; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); }

/* ───────────── Hero title: “Dynamic Island. Now for your  Mac” ───────────── */
.hero h1 { max-width: none; }
.hero h1 .apple { display: inline-block; width: .8em; height: .8em; margin: 0 .05em 0 .02em; vertical-align: -.02em; fill: currentColor; }

/* ───────────── Feature tiles: one glyph that moves, a two-line name ───────────── */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 56px 20px; max-width: 1140px; margin: 0 auto; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: default; -webkit-tap-highlight-color: transparent; }
.tile .glyph { width: 72px; height: 72px; margin-bottom: 20px; color: var(--ink); }
.tile .glyph svg { width: 72px; height: 72px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.tile .glyph svg * { transform-box: view-box; }
.tile .f { fill: currentColor; stroke: none; }
.tile .cut { fill: var(--bg); stroke: none; }
.tile h3 { font-size: clamp(21px, 2.1vw, 27px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; hyphens: manual; }
.tile * { transition: transform .45s var(--ease), opacity .35s var(--ease), stroke-dashoffset .5s var(--ease); }

/* Now Playing: the equalizer dances. */
.tile-music .bar { transform-origin: center 31px; }
.tile-music:hover .bar, .tile-music.play .bar { animation: t-eq .9s var(--ease) 2; }
.tile-music .b2 { animation-delay: .1s !important; } .tile-music .b3 { animation-delay: .2s !important; }
@keyframes t-eq { 0%, 100% { transform: scaleY(1); } 30% { transform: scaleY(.4); } 60% { transform: scaleY(1.25); } }
/* Volume: the sound waves come out one by one. */
.tile-hud .w3 { opacity: 0; transform: translateX(-4px); }
.tile-hud:hover .w, .tile-hud.play .w { animation: t-wave .8s var(--ease) both; }
.tile-hud:hover .w2, .tile-hud.play .w2 { animation-delay: .1s; } .tile-hud:hover .w3, .tile-hud.play .w3 { animation-delay: .2s; }
@keyframes t-wave { 0% { opacity: 0; transform: translateX(-5px); } 100% { opacity: 1; transform: none; } }
/* Lock Screen: the padlock opens. */
.tile-lock .shackle { transform-origin: 42px 30px; }
.tile-lock:hover .shackle, .tile-lock.play .shackle { transform: translateY(-5px) rotate(28deg); }
/* AirPods: the buds lean apart. */
.tile-airpods .l { transform-origin: 21px 52px; } .tile-airpods .r { transform-origin: 43px 52px; }
.tile-airpods:hover .l, .tile-airpods.play .l { transform: rotate(-12deg) translateX(-2px); }
.tile-airpods:hover .r, .tile-airpods.play .r { transform: rotate(12deg) translateX(2px); }
/* Charging: the battery fills up. */
.tile-charge .lvl { transform-origin: 9px center; transform: scaleX(.38); transition-duration: .9s; }
.tile-charge .bolt { fill: currentColor; stroke: var(--bg); stroke-width: 2.4; paint-order: stroke; }
.tile-charge:hover .lvl, .tile-charge.play .lvl { transform: scaleX(1); }
.tile-charge:hover .bolt, .tile-charge.play .bolt { animation: t-pop .6s var(--ease); }
@keyframes t-pop { 50% { transform: scale(1.18); } }
.tile-charge .bolt { transform-origin: 30px 33px; }
/* AirDrop: rings ripple outwards. */
.tile-airdrop:hover .ring, .tile-airdrop.play .ring { animation: t-ring 1s var(--ease) both; }
.tile-airdrop .r2 { animation-delay: .12s !important; } .tile-airdrop .r3 { animation-delay: .24s !important; }
@keyframes t-ring { 0% { opacity: .15; } 60% { opacity: 1; } }
/* Downloads: the arrow drops into the tray. */
.tile-dl:hover .arrow, .tile-dl.play .arrow { animation: t-drop .8s var(--ease); }
@keyframes t-drop { 45% { transform: translateY(9px); } 70% { transform: translateY(5px); } }
/* Meetings: a check draws itself. */
.tile-cal .check { stroke-dasharray: 32; stroke-dashoffset: 32; }
.tile-cal:hover .check, .tile-cal.play .check { stroke-dashoffset: 0; }
/* Timers: the hand goes round. */
.tile-timer .hand { transform-origin: 32px 36px; transition-duration: 1.1s; }
.tile-timer:hover .hand, .tile-timer.play .hand { transform: rotate(360deg); }
.tile-timer:hover .button, .tile-timer.play .button { transform: translateY(1.5px); }
/* Clipboard: the copy underneath slides out. */
.tile-clip .sheet { opacity: .35; stroke-width: 3; }
.tile-clip .board { fill: var(--bg); }
.tile-clip:hover .sheet, .tile-clip.play .sheet { transform: translate(5px, -4px) rotate(7deg); opacity: .6; }
.tile-clip:hover .board, .tile-clip.play .board { transform: rotate(-3deg); }
.tile-clip .board, .tile-clip .lines, .tile-clip .clipbar { transform-origin: 29px 60px; }
.tile-clip:hover .lines, .tile-clip.play .lines, .tile-clip:hover .clipbar, .tile-clip.play .clipbar { transform: rotate(-3deg); }

@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 44px 12px; } .tile .glyph, .tile .glyph svg { width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .tile * { animation: none !important; transition: none !important; } }

/* ───────────── One price ───────────── */
.plans-solo { grid-template-columns: minmax(0, 460px); justify-content: center; }
.plans-solo .plan { text-align: left; }
.btn-light { background: #fff1e2; color: #1c1917; box-shadow: 0 16px 34px -14px rgba(123, 108, 255, .7); }
.btn-light:hover { transform: translateY(-1px); }
.btn-link { margin-top: 10px; min-height: 40px; background: none; color: #cfc4b8; font-size: 15px; font-weight: 600; }
.btn-link:hover { color: #fff1e2; }
