/* PlicoX AI website - one stylesheet, no external requests.
   Same look as the first site (Tailwind-style tokens, rounded cards, red accent), written by hand.
   Logical properties only (margin-inline, padding-inline, inset-inline, text-align: start),
   so right-to-left languages (Arabic) work by setting <html dir="rtl">. */

/* ---------- Fonts (self-hosted, SIL Open Font License; licence texts in assets/fonts) ----------
   Latin subsets (covers English, Italian, German, Spanish, French). Add other subsets when those languages are added. */
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Montserrat-Regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Montserrat-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Montserrat-Bold.woff2") format("woff2"); }
@font-face { font-family: "Comfortaa"; font-weight: 300 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Comfortaa-var.woff2") format("woff2"); }

:root {
  --red: #F1371B;          /* brand red = the app icon colour (middle of its gradient #F63C1F to #EC3117) */
  --red-btn: #E03319;      /* icon red, 7% darker, for buttons with white text (contrast 4.5:1) */
  --red-dark: #B8260F;
  --red-ink: #D43018;      /* icon red, 12% darker, for small text (contrast 5:1 on white) */
  --red-soft: #FFEDE8;
  --ink: #22252A;
  --ink-strong: #0B0D10;
  --muted: #4B5563;
  --muted-2: #6B7280;
  --line: #E5E7EB;
  --line-soft: #F3F4F6;
  --bg: #FBFBFC;
  --bg-alt: #F4F6F9;
  --dark: #14171A;
  --charcoal: #1E232A;
  --green: #047857;
  --green-soft: #D1FAE5;
  --purple: #7E22CE;
  --purple-soft: #F3E8FF;
  --amber: #B45309;
  --amber-soft: #FEF3C7;
  --blue: #1D4ED8;
  --blue-soft: #DBEAFE;
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --radius-md: .75rem;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Comfortaa", "Montserrat", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 40px -16px rgba(16, 24, 40, .18);
}

*, *::before, *::after { box-sizing: border-box; }
[id] { scroll-margin-top: 5.5rem; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--red-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-brand); font-weight: 700; line-height: 1.2; color: var(--ink-strong); margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding-inline-start: 1.25rem; }
kbd { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; padding: .1rem .4rem; border-radius: .4rem; background: #E5E7EB; color: var(--ink); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: .5rem; z-index: 100; box-shadow: var(--shadow-lg); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }
.container-md { max-width: 56rem; }
.container-sm { max-width: 46rem; }
.center { text-align: center; }
.i { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i-sm { width: 1rem; height: 1rem; }
.i-lg { width: 1.5rem; height: 1.5rem; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Brand name ---------- */
.logo-text { font-family: var(--font-brand); font-weight: 700; letter-spacing: -.01em; }
.logo-text .x, .logo-text .ai { color: var(--red); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.header-inner { height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink-strong); }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: 1rem; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); transition: transform .2s; }
.brand:hover img { transform: scale(1.05); }
.brand .logo-text { font-size: 1.25rem; white-space: nowrap; }
@media (min-width: 480px) { .brand .logo-text { font-size: 1.5rem; } }
.header-actions .btn-sm { display: none; }
@media (min-width: 480px) { .header-actions .btn-sm { display: inline-flex; } }
.nav { display: none; align-items: center; gap: 2rem; font-size: .875rem; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; padding-block: .25rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red-ink); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-btn { display: none; font-size: .75rem; font-weight: 700; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .65rem; background: #fff; }
.lang-btn:hover { color: var(--red-ink); border-color: #FFD2C6; }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.menu-toggle:focus-visible ~ .header-inner .menu-btn { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.menu-btn .i-close { display: none; }
.menu-toggle:checked ~ .header-inner .menu-btn .i-open { display: none; }
.menu-toggle:checked ~ .header-inner .menu-btn .i-close { display: inline-block; }
.mobile-nav { display: none; border-top: 1px solid var(--line-soft); background: #fff; }
.menu-toggle:checked ~ .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; padding: .5rem 1rem 1rem; margin: 0; }
.mobile-nav a { display: block; padding: .75rem .25rem; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a[aria-current="page"] { color: var(--red-ink); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .lang-btn { display: inline-block; }
  .menu-btn, .mobile-nav, .menu-toggle { display: none !important; }
}
.header-wrap { position: relative; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.75rem; border-radius: 1rem; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--red-btn); color: #fff; box-shadow: 0 12px 24px -10px rgba(241, 55, 27, .55); }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-secondary { background: #fff; color: #1F2937; border-color: #D1D5DB; font-weight: 600; box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: #F9FAFB; color: #111827; }
.btn-sm { padding: .6rem 1.2rem; border-radius: 999px; font-size: .875rem; }
.btn-light { background: #fff; color: var(--ink-strong); }
.btn-light:hover { background: #F3F4F6; color: var(--ink-strong); }

/* ---------- Pills, notes ---------- */
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.pill-red { background: #FFF3EF; border: 1px solid #FFD2C6; color: var(--red-ink); }
.pill-green { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.pill-gray { background: #F3F4F6; border: 1px solid var(--line); color: var(--muted); }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-lg); background: var(--amber-soft); border: 1px solid #FDE68A; color: #78350F; font-size: .875rem; line-height: 1.55; }
.notice .i { margin-top: .15rem; color: #B45309; }
.notice-info { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A8A; }
.notice-info .i { color: #1D4ED8; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: 3rem clamp(5rem, 9vw, 8rem); overflow: clip; background: var(--bg) linear-gradient(180deg, rgba(241, 55, 27, .10) 0, rgba(241, 55, 27, .045) 1400px) no-repeat; }
.hero-badges { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); line-height: 1.15; max-width: 56rem; margin-inline: auto; }
.hero h1 .accent { color: var(--red); }
.hero-lead { margin: 1.5rem auto 0; max-width: 46rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.hero-cta { margin-top: 2rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }
.hero-meta { margin-top: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.hero-meta p { font-size: .8125rem; color: var(--muted); max-width: 40rem; }

.pillars { margin: 3.5rem auto 0; max-width: 64rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgba(255, 255, 255, .92); border: 1px solid rgba(209, 213, 219, .9); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.card:hover { border-color: #FFD2C6; }
.card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.card-head h3 { font-size: 1rem; }
.card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.icon-box { width: 2.25rem; height: 2.25rem; border-radius: .75rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-box.lg { width: 3rem; height: 3rem; border-radius: 1rem; }
.tone-red { background: var(--red-soft); color: var(--red); }
.tone-green { background: var(--green-soft); color: var(--green); }
.tone-purple { background: var(--purple-soft); color: var(--purple); }
.tone-blue { background: var(--blue-soft); color: var(--blue); }
.tone-amber { background: var(--amber-soft); color: var(--amber); }

/* Mac window illustration */
@media (min-width: 640px) { .window { padding: 1.25rem; } }
.dots { display: flex; gap: .5rem; }
.dots span { width: .875rem; height: .875rem; border-radius: 50%; display: inline-block; }
.dots span:nth-child(1) { background: #F87171; } .dots span:nth-child(2) { background: #FBBF24; } .dots span:nth-child(3) { background: #4ADE80; }
@media (min-width: 1024px) { .window-body { grid-template-columns: 5fr 7fr; } }
.file-id { display: flex; align-items: center; gap: .75rem; }
.file-badge { width: 2.25rem; height: 2.25rem; border-radius: .75rem; background: var(--red-soft); color: var(--red-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .75rem; flex: none; }
.file-id .file-name { font-size: .875rem; font-weight: 700; color: var(--ink-strong); }
.file-id span { font-size: .75rem; color: var(--muted-2); }
.conf { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .625rem; border-radius: 999px; background: var(--green-soft); color: #065F46; font-size: .75rem; font-weight: 700; }
.field { margin-top: 1rem; }
.field-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.field-value { background: #fff; border: 1px solid #D1D5DB; border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; color: #1F2937; overflow-wrap: anywhere; }
.field-value.mono { font-family: var(--font-mono); font-weight: 600; }
.field-value.folder { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.field-value.folder .i { color: #D97706; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.field-row .field-label { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .625rem; border-radius: .5rem; font-size: .75rem; font-weight: 700; }
.tag-red { background: var(--red-soft); color: var(--red-ink); }
.tag-purple { background: var(--purple-soft); color: var(--purple); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-green { background: var(--green-soft); color: #065F46; }
.tag-amber { background: var(--amber-soft); color: #92400E; }
.tag-gray { background: #F3F4F6; color: #374151; }
.fake-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.25rem; border-radius: .75rem; background: var(--red-btn); color: #fff; font-size: .875rem; font-weight: 700; box-shadow: 0 6px 12px -4px rgba(241, 55, 27, .4); }
.fake-btn kbd { background: rgba(0, 0, 0, .22); color: #fff; }
.illus-note { margin-top: 1rem; font-size: .75rem; color: var(--muted); text-align: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(5.5rem, 10vw, 9rem); }
.section-white { background: #fff; border-block: 1px solid var(--line-soft); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 48rem; margin-inline: auto; text-align: center; margin-bottom: clamp(3.5rem, 6vw, 5rem); }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-top: .5rem; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.0625rem; }

.steps { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 2rem; border-radius: var(--radius-xl); background: #F9FAFB; border: 1px solid rgba(229, 231, 235, .9); transition: border-color .2s; }
.step:hover { border-color: #FFD2C6; }
.step-num { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-brand); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.step p { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.step-foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.step-foot .i { color: var(--red-ink); }

/* Demo */
.demo { max-width: 56rem; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: 0 25px 50px -20px rgba(16, 24, 40, .25); overflow: hidden; }
.demo-banner { background: var(--amber-soft); color: #78350F; font-size: .8125rem; font-weight: 600; padding: .6rem 1.25rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid #FDE68A; }
.demo-tabs { background: #F3F4F6; padding: .5rem; display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--line); }
.demo-tab { font-family: inherit; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: .75rem; font-size: .8125rem; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.demo-tab:hover { background: rgba(255, 255, 255, .7); color: var(--ink-strong); }
.demo-tab[aria-selected="true"] { background: #fff; color: var(--ink-strong); border-color: var(--line); box-shadow: var(--shadow-sm); }
.demo-panel { padding: 1.5rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .demo-panel { padding: 2rem; grid-template-columns: 5fr 7fr; } }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.demo-panel[hidden] { display: none; }
.doc-card { background: #F9FAFB; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.doc-card .file-badge { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.doc-card .file-name { font-size: 1rem; font-weight: 700; }
.doc-card .meta { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.doc-card .snippet { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.doc-card .snippet p { margin-top: .5rem; font-size: .75rem; font-family: var(--font-mono); font-style: italic; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: .5rem; padding: .75rem; line-height: 1.7; }
.demo-out { display: grid; gap: 1.1rem; }
.demo-foot { padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.demo-foot > span { font-size: .75rem; color: var(--muted); }
.demo-btn { font-family: inherit; display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.5rem; border-radius: .75rem; background: var(--red-btn); color: #fff; border: 0; font-size: .875rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 16px -6px rgba(241, 55, 27, .45); transition: background .2s; }
.demo-btn:hover { background: var(--red-dark); }
.demo-btn kbd { background: rgba(0, 0, 0, .22); color: #fff; }
.demo-btn.done { background: var(--green); }
.demo-note { max-width: 56rem; margin: 1.25rem auto 0; }
.badge-ok { font-size: .75rem; font-weight: 600; color: #065F46; background: #ECFDF5; padding: .15rem .55rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .25rem; }

/* Features */
.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 2rem; border-radius: var(--radius-xl); background: #FAFBFD; border: 1px solid var(--line); transition: border-color .2s; }
.feature:hover { border-color: #FFD2C6; }
.feature .icon-box { margin-bottom: 1.5rem; }
.feature h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.feature p { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.feature .foot { margin-top: 1rem; font-size: .75rem; font-weight: 600; }
.foot.c-red { color: var(--red-ink); } .foot.c-purple { color: var(--purple); } .foot.c-green { color: var(--green); } .foot.c-blue { color: var(--blue); } .foot.c-amber { color: var(--amber); }
.section-note { max-width: 56rem; margin: 2.5rem auto 0; }

/* Privacy (dark) */
.dark-section { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding-block: clamp(5.5rem, 10vw, 9rem); }
.dark-section::before, .dark-section::after { content: ""; position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.dark-section::before { top: -8rem; inset-inline-start: -8rem; background: rgba(241, 55, 27, .2); }
.dark-section::after { bottom: -8rem; inset-inline-end: -8rem; background: rgba(241, 55, 27, .15); }
.dark-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .dark-grid { grid-template-columns: 7fr 5fr; } }
.dark-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #FCA5A5; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.5rem; }
.dark-section h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; }
.dark-section .lead { margin-top: 1.5rem; color: #D1D5DB; font-size: 1.0625rem; line-height: 1.75; }
.dark-section .lead strong { color: #fff; }
.dark-section .logo-text .x, .dark-section .logo-text .ai { color: #FF8F78; }
.checks { margin-top: 2rem; display: grid; gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: #E5E7EB; line-height: 1.6; }
.checks .i { color: #F87171; margin-top: .2rem; }
.dark-card { background: rgba(20, 23, 26, .88); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-xl); padding: 2rem; max-width: 28rem; width: 100%; margin-inline: auto; box-shadow: 0 10px 40px -10px rgba(241, 55, 27, .28); }
.dark-card .head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.dark-card .icon-box { background: var(--red-btn); color: #fff; }
.dark-card h3 { color: #fff; font-size: 1.0625rem; }
.dark-card .sub { font-size: .75rem; color: #9CA3AF; }
.dark-card p { font-size: .875rem; color: #D1D5DB; line-height: 1.7; }
.dark-card ul { margin-top: 1rem; padding-inline-start: 1.1rem; font-size: .8125rem; color: #D1D5DB; display: grid; gap: .4rem; }
.dark-card .foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .75rem; color: #9CA3AF; }
.dark-section a { color: #FCA5A5; }
.dark-section a:hover { color: #fff; }
.honest { margin-top: 2rem; padding: 1rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); font-size: .875rem; color: #D1D5DB; line-height: 1.7; }
.honest strong { color: #fff; }

/* Storage cards */
.grid-3x { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3x { grid-template-columns: repeat(3, 1fr); } }
.tile { padding: 2rem; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s; }
.tile:hover { border-color: #FFD2C6; }
.tile .icon-box { margin-bottom: 1.5rem; }
.tile h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.tile p { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.tile .foot { margin-top: 1rem; font-size: .75rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; }

/* Keyboard */
.kbd-grid { max-width: 56rem; margin-inline: auto; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kbd-grid { grid-template-columns: 1fr 1fr; } }
.kbd-row { padding: 1rem; border-radius: var(--radius-lg); background: #F9FAFB; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kbd-row span { font-size: .875rem; font-weight: 600; color: #1F2937; }
.kbd-row kbd { background: #fff; border: 1px solid #D1D5DB; font-size: .75rem; padding: .25rem .6rem; border-radius: .5rem; box-shadow: var(--shadow-sm); white-space: nowrap; }

/* CTA */
.cta { padding-block: clamp(5.5rem, 10vw, 8rem); text-align: center; background: linear-gradient(to bottom, #F9FAFB, rgba(254, 242, 242, .5)); border-top: 1px solid var(--line); }
.cta img.app-icon { width: 5rem; height: 5rem; border-radius: 1.5rem; box-shadow: 0 20px 25px -10px rgba(0, 0, 0, .25); margin: 0 auto 1.5rem; display: block; }
.cta h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.cta .lead { margin: 1rem auto 0; max-width: 40rem; color: var(--muted); font-size: 1.125rem; }
.cta-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: stretch; justify-content: center; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; align-items: center; } }
.reqs { margin: 2rem auto 0; max-width: 40rem; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; font-size: .875rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.reqs h3 { font-family: var(--font-body); font-size: .9375rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.reqs h3 .i { color: var(--red-ink); }
.reqs ul { display: grid; gap: .5rem; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: .875rem; color: var(--muted); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; text-decoration: none; color: var(--ink-strong); }
.footer-brand img { width: 2rem; height: 2rem; border-radius: .6rem; }
.footer-brand .logo-text { font-size: 1.125rem; }
.footer-about { max-width: 22rem; line-height: 1.65; }
.site-footer h2 { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-strong); margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--red-ink); text-decoration: underline; }
.lang-list [aria-current="true"] { color: var(--ink-strong); font-weight: 700; }
.lang-list .soon { color: var(--muted-2); }
.lang-list .soon small { font-size: .7rem; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .75rem; color: var(--muted-2); line-height: 1.7; }
.footer-legal .copy { color: #374151; font-weight: 600; font-size: .8125rem; }

/* ---------- Inner pages (privacy, terms, support, legal, beta) ---------- */
.page-hero { padding-block: 3.5rem 2rem; background: radial-gradient(circle at 50% 0%, rgba(241, 55, 27, .09) 0%, rgba(255, 255, 255, 0) 70%); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.page-hero p.lead { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; max-width: 42rem; }
.page-hero .updated { margin-top: 1rem; font-size: .8125rem; color: var(--muted-2); }
.page-body { padding-block: 2rem 5rem; }
.layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .layout.has-toc { grid-template-columns: 15rem minmax(0, 1fr); } }
.toc { font-size: .8125rem; }
@media (min-width: 960px) { .toc { position: sticky; top: 6.5rem; align-self: start; } }
.toc h2 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.toc ol { list-style: none; padding: 0; display: grid; gap: .1rem; border-inline-start: 2px solid var(--line); }
.toc a { display: block; padding: .3rem .75rem; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--red-ink); }
.prose { font-size: 1rem; line-height: 1.75; color: #1F2937; min-width: 0; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.75rem; scroll-margin-top: 6.5rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; scroll-margin-top: 6.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { display: grid; gap: .5rem; }
.prose li { padding-inline-start: .25rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: start; padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink-strong); background: #F9FAFB; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.table-wrap table { min-width: 34rem; }
.ph { background: #FEF3C7; color: #78350F; border-radius: .3rem; padding: 0 .3rem; font-weight: 600; white-space: nowrap; }
.summary-box { background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--red); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.summary-box p + p { margin-top: .5rem; }

/* Support */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: 1.375rem; margin-bottom: 1rem; scroll-margin-top: 6.5rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; color: var(--muted); }
.faq[open] summary .i { transform: rotate(180deg); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: #374151; font-size: .9375rem; line-height: 1.75; }
.faq .answer > * + * { margin-top: .75rem; }

/* Beta */
.beta-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
.beta-steps li { counter-increment: s; position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
[dir="rtl"] .beta-steps li { padding: 1.25rem 4rem 1.25rem 1.25rem; }
.beta-steps li::before { content: counter(s); position: absolute; inset-inline-start: 1.1rem; top: 1.1rem; width: 2rem; height: 2rem; border-radius: .6rem; background: #FEE2E2; color: var(--red-ink); font-family: var(--font-brand); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.beta-steps strong { display: block; color: var(--ink-strong); }

/* 404 */
.nf { padding-block: 6rem; text-align: center; }
.nf h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.nf p { margin: 1rem auto 0; max-width: 32rem; color: var(--muted); }
.nf .btn { margin-top: 2rem; }

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; padding-block: 1rem; }
}

.site-footer ul.lang-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.notice + .prose, .notice + .layout, .notice + .contact-grid { margin-top: 2rem; }
.beta-steps li p { margin-top: .75rem; }

/* Real screenshots (dark app window on the light site): the PNG/WebP keeps the window's rounded corners and transparency, so the shadow follows the shape */
.shot-wrap { margin: 3rem auto 0; max-width: 64rem; text-align: center; }
.shot { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(16, 24, 40, .28)) drop-shadow(0 2px 6px rgba(16, 24, 40, .18)); }
.shot-pair { display: grid; gap: 2.5rem; align-items: start; max-width: 64rem; margin: 0 auto; }
@media (min-width: 900px) { .shot-pair { grid-template-columns: 7fr 4fr; } }
.shot-card { margin: 0; }
.shot-card .shot { border-radius: 14px; }
.shot-tall .shot { max-width: 22rem; margin-inline: auto; background: #2b2928; }
.shot-card figcaption { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); text-align: start; }

/* Home page: platform line, Autopilot safety line and the three-platforms image (added 10 Nov 2026) */
.hero-platforms { margin: 0 auto 1.5rem; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.hero-safety { margin: 4rem auto 0; max-width: 40rem; font-size: .8125rem; color: var(--muted); }
.platforms-shot { max-width: 75rem; margin: 0 auto 3rem; }
.platforms-shot .shot { height: auto; }
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1180px) { .nav { gap: 1.1rem; } }

.hero-autopilot { margin: 1.1rem auto 0; width: 100%; max-width: 72rem; }
.ap-label { margin: 0 0 .6rem .9rem; text-align: left; font-size: 1.25rem; font-weight: 700; color: var(--ink, #1f2937); }
.ap-pill { position: relative; aspect-ratio: 900 / 33; border-radius: 999px; overflow: hidden; background: #3e3c3c; box-shadow: 0 .375rem 1rem rgba(0,0,0,.16), 0 .0625rem .1875rem rgba(0,0,0,.2); }
.ap-pill img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ap-pill img:nth-child(2) { animation: ap-two 9s ease-in-out infinite; opacity: 0; }
.ap-pill img:nth-child(3) { animation: ap-three 9s ease-in-out infinite; opacity: 0; }
.ap-note { display: grid; text-wrap: balance; margin-top: 1.4rem; font-size: .8125rem; line-height: 1.35; color: var(--muted); text-align: center; }
.ap-note span { grid-area: 1 / 1; opacity: 0; animation: ap-n2 9s ease-in-out infinite; }
.ap-note span:nth-child(1) { animation-name: ap-n1; opacity: 1; }
.ap-note span:nth-child(3) { animation-name: ap-n3; }
@keyframes ap-two { 0%, 30% { opacity: 0 } 37%, 93% { opacity: 1 } 100% { opacity: 0 } }
@keyframes ap-three { 0%, 63% { opacity: 0 } 70%, 93% { opacity: 1 } 100% { opacity: 0 } }
@keyframes ap-n1 { 0%, 28% { opacity: 1 } 36%, 92% { opacity: 0 } 100% { opacity: 1 } }
@keyframes ap-n2 { 0%, 28% { opacity: 0 } 36%, 61% { opacity: 1 } 69%, 100% { opacity: 0 } }
@keyframes ap-n3 { 0%, 61% { opacity: 0 } 69%, 92% { opacity: 1 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .ap-pill img, .ap-note span { animation: none !important; } .ap-pill img:not(:first-child), .ap-note span:not(:first-child) { display: none; } }

.pillars { max-width: 72rem; }
.pillars .card { display: flex; flex-direction: column; }
.card-foot { margin-top: auto; align-self: flex-start; }
.card-shot { display: block; margin-top: 1rem; width: 100%; height: auto; border-radius: 1rem; box-shadow: 0 .375rem 1rem rgba(0,0,0,.16), 0 .0625rem .1875rem rgba(0,0,0,.2); }
.pillars .card p + .card-shot, .pillars .card p + .pill { margin-top: auto; }
.pillars .card p { margin-bottom: 1rem; }
.hero-under { margin: 3.5rem 0 3.5rem; }

/* Apple-style cards: a picture stage on top, then title and text */
.pillars { max-width: 72rem; gap: 1.5rem; align-items: stretch; }
.pillars .pillar { display: flex; flex-direction: column; padding: .75rem .75rem 1.75rem; border-radius: 1.75rem; border: 0; background: #fff; box-shadow: 0 .75rem 2.25rem rgba(0,0,0,.07), 0 .0625rem .1875rem rgba(0,0,0,.05); }
.pillar .card-head, .pillar > p { margin-inline: 1.1rem; }
.pillar .card-head { margin-top: 1.4rem; }
.pillar > p { margin-top: 0; margin-bottom: 0; }
.stage { height: 14.5rem; border-radius: 1.25rem; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow: hidden; }
.stage-indigo { background: radial-gradient(circle at 50% 30%, #ECECFF, #D9D9F7); }
.stage-amber { background: radial-gradient(circle at 50% 30%, #FFF1E0, #FBDDBB); }
.stage-green { background: radial-gradient(circle at 50% 30%, #E6F8EC, #C9EED7); }
.viz { margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.viz figcaption { margin-top: .6rem; font-size: .8125rem; font-weight: 600; color: #3b3b55; }
.viz-eg { display: inline-block; margin-inline-start: .35rem; padding: .05rem .45rem; border-radius: 999px; font-size: .6875rem; font-weight: 600; background: rgba(255,255,255,.7); color: #6b7280; }
.viz-ring svg { width: 9.5rem; height: 9.5rem; filter: drop-shadow(0 .6rem 1rem rgba(60,60,140,.3)); }
.viz-know { width: 100%; max-width: 15rem; align-items: stretch; text-align: left; background: linear-gradient(160deg, #2e2c2b, #1d1b1a); border-radius: 1.25rem; padding: 1.1rem 1.25rem 1rem; color: #fff; box-shadow: 0 1rem 1.75rem rgba(120,70,10,.3); }
.viz-know figcaption { color: rgba(255,255,255,.65); margin-top: .65rem; font-weight: 500; }
.viz-know .viz-eg { background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.know-row { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: rgba(255,255,255,.75); }
.know-dot { width: .8rem; height: .8rem; border-radius: 50%; border: .2rem solid #F59A3A; }
.know-value { font-size: 3rem; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin-top: .3rem; font-family: var(--font-brand), system-ui, sans-serif; }
.know-value span { font-size: 1.5rem; margin-inline-start: .1rem; color: rgba(255,255,255,.7); }
.know-bar { height: .5rem; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: .4rem; }
.know-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F59A3A, #F1371B); }
.viz-privacy { gap: 1rem; }
.shield { width: 5.5rem; height: 5.5rem; border-radius: 1.6rem; display: grid; place-items: center; background: linear-gradient(160deg, #4ADE80, #16A34A); box-shadow: 0 .8rem 1.4rem rgba(22,163,74,.35); }
.shield .i { width: 2.75rem; height: 2.75rem; color: #fff; }
.viz-privacy .pill { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); background: rgba(255,255,255,.85); }
.viz-privacy { gap: .8rem; }
.shield { width: 4.5rem; height: 4.5rem; border-radius: 1.35rem; }
.shield .i { width: 2.25rem; height: 2.25rem; }
.viz-privacy .pill { max-width: 15rem; text-align: left; font-size: .8125rem; line-height: 1.3; padding: .55rem .9rem; }
.viz-privacy .pill { max-width: 18rem; }
.pillars-note { margin: 1rem auto 0; text-align: center; font-size: .6875rem; color: var(--muted); opacity: .6; }
.reqs-min { margin: .25rem 0 .75rem; }

/* How it works: four boxes above the big screenshot */
.how-works { max-width: 72rem; margin: clamp(5rem, 9vw, 8rem) auto 3rem; }
.how-works-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.75rem; }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }
.work-card { background: #fff; border-radius: 1.5rem; padding: 1.5rem 1.35rem 1.6rem; box-shadow: 0 .75rem 2.25rem rgba(0,0,0,.07), 0 .0625rem .1875rem rgba(0,0,0,.05); }
.work-card h3 { font-size: 1.125rem; margin: 1rem 0 .5rem; }
.work-card p { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* Platforms: three blocks with a device picture each */
.pillars-devices { margin-top: 2.5rem; }
.stage-rose { background: radial-gradient(circle at 50% 30%, #FFEBE7, #FBD3CB); }
.stage-sand { background: radial-gradient(circle at 50% 30%, #F7F1EA, #E9DFD2); }
.stage-lilac { background: radial-gradient(circle at 50% 30%, #F3EDFB, #E1D5F4); }
.pillars-devices .stage { position: relative; align-items: flex-end; padding: 0; }
.dev { display: block; position: absolute; height: auto; box-shadow: 0 1rem 2rem rgba(60,30,30,.28); }
.dev-mac { width: 96%; left: 2%; top: 50%; transform: translateY(-50%); border-radius: 1rem; }
.dev-ipad { width: 94%; left: 3%; top: 50%; transform: translateY(-50%); border-radius: 1rem; }
.dev-phone { width: 46%; left: 27%; top: 1.25rem; border-radius: 1.6rem 1.6rem 0 0; }
.viz-know figcaption { font-family: var(--font-brand), system-ui, sans-serif; font-size: 1.0625rem; font-weight: 700; letter-spacing: .01em; color: rgba(255,255,255,.92); margin-top: .75rem; }
.know-row { font-size: .9375rem; color: rgba(255,255,255,.85); }

/* Platforms: three horizontal rows, a layered scene left, text right (Apple-style) */
.feat-rows { max-width: 72rem; margin: 3rem auto 0; display: grid; gap: 1.75rem; }
.feat-row { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 2rem; padding: .85rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.08), 0 .0625rem .1875rem rgba(0,0,0,.05); align-items: center; overflow: hidden; }
@media (min-width: 860px) { .feat-row { grid-template-columns: 1.2fr 1fr; } }
.feat-text { padding: 1.5rem 2rem 1.75rem; }
.feat-text h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.015em; margin: 1rem 0 .75rem; }
.feat-text p { font-size: 1.0625rem; line-height: 1.65; color: var(--muted); margin: 0; }
.scene { position: relative; min-height: 23rem; border-radius: 1.5rem; overflow: hidden; }
.scene-indigo { background: radial-gradient(circle at 30% 20%, #F2F1FF, #D6D5F6 70%, #C7C6F0); }
.scene-sand { background: radial-gradient(circle at 30% 20%, #FFF7EC, #F4E6D2 70%, #EBD7BC); }
.scene-lilac { background: radial-gradient(circle at 30% 20%, #F8F1FF, #E3D6F6 70%, #D6C4F0); }
.glass { position: absolute; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 .75rem 2rem rgba(60,50,120,.22); border-radius: 1.1rem; }
.glass-dark { background: rgba(34,32,32,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1.25rem 2.5rem rgba(50,20,90,.4); }
.ok { display: inline-flex; align-items: center; gap: .25rem; font-style: normal; font-weight: 700; font-size: .8125rem; color: #1E9E57; }
.ok svg { width: .9rem; height: .9rem; }
/* 1 */
.sync-pane { position: absolute; left: 6%; top: 22%; width: 88%; height: auto; border-radius: 1.1rem; box-shadow: 0 1.5rem 3rem rgba(40,30,110,.35); }
.g-cloud { right: 5%; top: 5%; display: flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .45rem; font-weight: 700; font-size: .9375rem; color: #3b3a78; }
.badge-cloud { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #8E8CFF, #5B5BD6); color: #fff; }
.badge-cloud .i { width: 1.2rem; height: 1.2rem; }
.g-joined { left: 8%; bottom: 7%; display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; flex-wrap: wrap; }
.g-joined .dv { font-size: .8125rem; font-weight: 700; color: #3b3a78; background: rgba(255,255,255,.75); border-radius: 999px; padding: .15rem .6rem; }
/* 2 */
.doc-page { position: absolute; left: 4%; top: 50%; transform: translateY(-50%) rotate(-3deg); width: 36%; height: auto; border-radius: 1rem; box-shadow: 0 1.5rem 2.5rem rgba(100,60,20,.32); }
.trail { position: absolute; left: 38%; top: 25%; width: 16%; height: 50%; }
.spark { position: absolute; width: .9rem; height: .9rem; background: radial-gradient(circle, #fff 0 25%, #F59A3A 55%, rgba(241,55,27,0) 72%); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 .4rem #F59A3A); }
.s1 { left: 41%; top: 40%; transform: scale(1.2); } .s2 { left: 46%; top: 53%; transform: scale(.8); } .s3 { left: 49%; top: 44%; transform: scale(1.5); }
.fstack { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 46%; display: grid; gap: .5rem; }
.fcard { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 1rem; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 .4rem 1rem rgba(100,60,20,.14); font-weight: 600; font-size: .9375rem; color: #3b2f2a; white-space: nowrap; }
.fcard .fi { width: 1.3rem; height: 1.3rem; color: var(--c); flex: none; }
.fcard em { margin-inline-start: auto; }
.fcard.on { background: #fff; box-shadow: 0 0 0 2px #2FB36B, 0 .9rem 1.8rem rgba(47,179,107,.3); transform: scale(1.06); }
.fcard:not(.on) { opacity: .85; }
/* 3 */
.phone-app { position: absolute; left: 10%; top: 1.75rem; width: 42%; height: auto; border-radius: 2.2rem 2.2rem 0 0; box-shadow: 0 1.5rem 3rem rgba(50,20,90,.4); }
.ios-menu { position: absolute; right: 5%; top: 24%; width: 52%; border-radius: 1.4rem; padding: .3rem 0; color: #fff; }
.ios-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .75rem 1rem; font-size: .9rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.ios-row:last-child { border-bottom: 0; }
.ios-row .i { order: 2; width: 1.15rem; height: 1.15rem; color: rgba(255,255,255,.85); flex: none; }
@media (max-width: 859px) { .scene { min-height: 21rem; } }

/* Drop it in from anywhere: looping phone animation (CSS only) */
@media (min-width: 860px) { .drop { grid-template-columns: 1fr auto; padding: 2.5rem 3.5rem; gap: 4rem; } }
.phone { --t: 20s; position: relative; width: 15rem; aspect-ratio: 9 / 18.5; border-radius: 2.5rem; background: #f6f6f8; border: .4rem solid #1d1d1f; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.18), 0 0 0 .0625rem rgba(255,255,255,.4) inset; overflow: hidden; font: 500 .625rem/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; color: #1d1d1f; }
.ph-island { position: absolute; z-index: 6; top: .45rem; left: 50%; width: 3.6rem; height: 1rem; margin-left: -1.8rem; border-radius: 999px; background: #1d1d1f; }
.ph-screen { position: absolute; inset: 0; padding: 2.2rem .8rem .8rem; background: #f6f6f8; }
.pdf-bar { display: flex; align-items: center; justify-content: space-between; gap: .3rem; font-size: .5625rem; color: #6e6e73; }
.pdf-bar strong { color: #1d1d1f; font-size: .625rem; }
.pdf-share { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: var(--red-ink); animation: ph-pulse var(--t) ease-in-out infinite; }
.pdf-page { position: relative; margin-top: .8rem; height: 68%; border-radius: .4rem; background: #fff; box-shadow: 0 .25rem .75rem rgba(0,0,0,.1); padding: 1rem .8rem; }
.pdf-page b { position: absolute; left: .8rem; top: 1rem; font-size: .75rem; color: var(--red-ink); }
.pdf-page i { display: block; height: .3rem; margin-top: .55rem; border-radius: .2rem; background: #e6e6ea; }
.pdf-page i.l1 { margin-top: 2.2rem; width: 55%; } .pdf-page i.l2 { width: 90%; } .pdf-page i.l3 { width: 80%; } .pdf-page i.l4 { width: 88%; } .pdf-page i.l5 { width: 45%; }
.s-pdf { animation: ph-pdf var(--t) ease-in-out infinite; }
.s-inbox { opacity: 0; animation: ph-inbox var(--t) ease-in-out infinite; }
.in-title { font-size: 1.25rem; font-weight: 700; margin: .25rem 0 .7rem; }
.sheet { position: absolute; z-index: 4; left: .35rem; right: .35rem; bottom: .35rem; padding: .5rem .7rem .8rem; border-radius: 1.6rem; background: rgba(250,250,252,.88); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 -.5rem 1.5rem rgba(0,0,0,.14), inset 0 .0625rem 0 rgba(255,255,255,.9); transform: translateY(110%); }
.grab { display: block; width: 2rem; height: .2rem; margin: 0 auto .5rem; border-radius: 99px; background: #c7c7cc; }
.sheet-share { animation: ph-share var(--t) ease-in-out infinite; }
.sh-file { display: flex; align-items: center; gap: .5rem; padding-bottom: .5rem; border-bottom: .0625rem solid rgba(0,0,0,.08); }
.sh-file small { display: block; color: #8e8e93; font-size: .5rem; }
.sh-ico { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: .35rem; background: var(--red-soft); color: var(--red-ink); font-size: .45rem; font-weight: 700; }
.sh-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; padding: .6rem 0; }
.sh-app { position: relative; display: grid; justify-items: center; gap: .25rem; font-size: .45rem; color: #3a3a3c; text-align: center; }
.sh-app i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; font-style: normal; }
.g1 { background: linear-gradient(#5ac8fa, #1e88e5); } .g2 { background: linear-gradient(#6fe08a, #28b44c); } .g3 { background: linear-gradient(#5aa9ff, #2b6fe0); }
.sh-app i.plico { background: linear-gradient(#F63C1F, #EC3117); color: #fff; font-weight: 800; font-size: .95rem; }
.sh-act { padding: .45rem .6rem; margin-top: .25rem; border-radius: .6rem; background: #fff; font-size: .55rem; }
.tap { position: absolute; left: 50%; top: 50%; width: 2.2rem; height: 2.2rem; margin: -1.1rem 0 0 -1.1rem; border-radius: 50%; background: rgba(241,55,27,.25); border: .125rem solid rgba(241,55,27,.55); opacity: 0; pointer-events: none; }
.sh-plico .tap { top: 1rem; animation: ph-tap1 var(--t) ease-out infinite; }
.in-title { font-size: 1.25rem; font-weight: 700; margin: .1rem 0 .5rem; }
.fl-nav { display: flex; justify-content: space-between; font-size: .55rem; color: var(--red-ink); }
.fl-search { margin-bottom: .6rem; padding: .35rem .5rem; border-radius: .6rem; background: #e9e9ee; color: #8e8e93; font-size: .55rem; }
.fl-list { position: relative; border-radius: .8rem; background: #fff; box-shadow: 0 .0625rem .25rem rgba(0,0,0,.06); }
.fl-row:first-child { border-radius: .8rem .8rem 0 0; position: relative; z-index: 2; }
.fl-row:last-child { border-radius: 0 0 .8rem .8rem; }
.fl-row { display: flex; align-items: center; gap: .55rem; padding: .5rem .6rem; border-bottom: .0625rem solid rgba(0,0,0,.06); background: #fff; }
.fl-row:last-child { border-bottom: 0; }
.fl-ico { display: inline-grid; place-items: center; flex: none; width: 1.6rem; height: 2rem; border-radius: .3rem; background: linear-gradient(#fff, #f0f0f2); border: .0625rem solid #dcdce0; color: var(--red-ink); font-size: .4rem; font-weight: 700; }
.fl-ico.img { color: #3a8f5a; }
.fl-txt { display: grid; gap: .1rem; } .fl-txt b { font-size: .6rem; } .fl-txt small { color: #8e8e93; font-size: .5rem; }
.fl-new { animation: ph-drop var(--t) cubic-bezier(.3,.7,.4,1) infinite; background: #fff4f1; }
.sh-plico::before { content: ""; position: absolute; inset: -.3rem -.15rem -.2rem; border-radius: .8rem; background: rgba(241,55,27,.14); opacity: 0; animation: ph-sel var(--t) ease-in-out infinite; }
.sh-plico i { position: relative; animation: ph-selicon var(--t) ease-in-out infinite; }
.ap-card { display: grid; gap: .5rem; padding: .7rem .75rem; border-radius: 1rem; background: rgba(255,255,255,.9); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08), inset 0 .0625rem 0 #fff; }
.ap-lab { font-size: .5rem; font-weight: 700; letter-spacing: .03em; color: var(--red-ink); }
.ap-card small { display: block; color: #8e8e93; font-size: .45rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .1rem; }
.ap-card b { font-size: .65rem; }
.ap-name, .ap-folder, .ap-tags { opacity: 0; padding-bottom: .45rem; border-bottom: .0625rem solid rgba(0,0,0,.07); }
.ap-name { animation: ph-a-name var(--t) ease-out infinite; }
.ap-folder { animation: ph-a-folder var(--t) ease-out infinite; }
.ap-folder u { margin-inline-start: .4rem; padding: .05rem .3rem; border-radius: 99px; background: #dff5e5; color: #1b7a37; font-size: .5rem; font-weight: 700; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .pdf-share, .s-pdf, .s-inbox, .sheet-share, .fl-new, .tap, .sh-plico::before, .sh-plico i, .s-app, .ap-name, .ap-folder, .ap-tags, .ap-tags i, .ap-move { animation: none !important; }
  .s-inbox, .sheet-share, .tap { display: none; }
  }

@keyframes g-pulse { 0.0% { background: transparent; transform: scale(1) } 5.0% { background: transparent; transform: scale(1) } 7.86% { background: var(--red-soft); transform: scale(1.3) } 12.86% { background: var(--red-soft); transform: scale(1.3) } 16.43% { background: transparent; transform: scale(1) } 100.0% { background: transparent } }
@keyframes g-pdf { 0.0% { opacity: 1 } 54.29% { opacity: 1 } 58.57% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-files { 0.0% { opacity: 0 } 55.71% { opacity: 0 } 60.0% { opacity: 1 } 95.71% { opacity: 1 } 99.29% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-share { 0.0% { transform: translateY(110%) } 10.0% { transform: translateY(110%) } 18.57% { transform: none } 49.29% { transform: none } 57.14% { transform: translateY(110%) } 100.0% { transform: translateY(110%) } }
@keyframes g-tap1 { 0.0% { opacity: 0; transform: scale(.4) } 23.57% { opacity: 0; transform: scale(.4) } 26.43% { opacity: 1; transform: scale(1) } 32.14% { opacity: 0; transform: scale(1.4) } 100.0% { opacity: 0 } }
@keyframes g-sel { 0.0% { opacity: 0 } 25.0% { opacity: 0 } 27.86% { opacity: 1 } 51.43% { opacity: 1 } 55.71% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-selicon { 0.0% { transform: scale(1) } 25.0% { transform: scale(1) } 27.14% { transform: scale(.88) } 31.43% { transform: scale(1.1) } 51.43% { transform: scale(1.1) } 55.71% { transform: scale(1) } 100.0% { transform: scale(1) } }
@keyframes g-drop { 0.0% { opacity: 0; transform: translateY(-9rem) rotate(-6deg) scale(.9) } 61.43% { opacity: 0; transform: translateY(-9rem) rotate(-6deg) scale(.9) } 62.86% { opacity: 1; transform: translateY(-9rem) rotate(-6deg) scale(.9) } 74.29% { opacity: 1; transform: translateY(.35rem) } 77.86% { transform: translateY(-.2rem) } 81.43% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-docA { 0.0% { opacity: 1 } 60.0% { opacity: 1 } 62.692% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-tapd { 0.0% { opacity: 0; transform: scale(.4) } 29.231% { opacity: 0; transform: scale(.4) } 30.769% { opacity: 1; transform: scale(1) } 33.846% { opacity: 0; transform: scale(1.4) } 100.0% { opacity: 0 } }
@keyframes g-dim { 0.0% { opacity: 0 } 33.462% { opacity: 0 } 36.154% { opacity: 1 } 50.769% { opacity: 1 } 53.462% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-menu { 0.0% { opacity: 0; transform: scale(.7) } 33.462% { opacity: 0; transform: scale(.7) } 36.154% { opacity: 1; transform: scale(1) } 44.231% { opacity: 1; transform: scale(1.05) } 50.769% { opacity: 1; transform: scale(1.05) } 53.462% { opacity: 0; transform: scale(.9) } 100.0% { opacity: 0 } }
@keyframes g-hl { 0.0% { transform: translateY(0) } 39.231% { transform: translateY(0) } 42.308% { transform: translateY(var(--ih)) } 100.0% { transform: translateY(var(--ih)) } }
@keyframes g-tapm { 0.0% { opacity: 0; transform: scale(.4) } 45.385% { opacity: 0; transform: scale(.4) } 46.923% { opacity: 1; transform: scale(1) } 50.769% { opacity: 0; transform: scale(1.4) } 100.0% { opacity: 0 } }
@keyframes g-toast { 0.0% { opacity: 0; transform: translateY(.6rem) } 54.231% { opacity: 0; transform: translateY(.6rem) } 56.154% { opacity: 1; transform: none } 60.385% { opacity: 1; transform: none } 62.308% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-md { 0.0% { opacity: 0 } 60.385% { opacity: 0 } 63.462% { opacity: 1 } 97.692% { opacity: 1 } 99.615% { opacity: 0 } 100.0% { opacity: 0 } }
@keyframes g-mdp { 0.0% { opacity: 0; transform: translateY(.45rem) } 65.385% { opacity: 0; transform: translateY(.45rem) } 68.462% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-name { 0.0% { opacity: 0; transform: translateY(.45rem) } 70.0% { opacity: 0; transform: translateY(.45rem) } 73.077% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-folder { 0.0% { opacity: 0; transform: translateY(.45rem) } 75.385% { opacity: 0; transform: translateY(.45rem) } 78.462% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-tags { 0.0% { opacity: 0; transform: translateY(.45rem) } 80.0% { opacity: 0; transform: translateY(.45rem) } 82.308% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-chip { 0.0% { opacity: 0; transform: scale(.7) } 80.769% { opacity: 0; transform: scale(.7) } 83.077% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-mmove { 0.0% { opacity: 0; transform: translateY(.45rem) } 86.154% { opacity: 0; transform: translateY(.45rem) } 89.231% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-tap3 { 0.0% { opacity: 0; transform: scale(.4) } 92.308% { opacity: 0; transform: scale(.4) } 93.846% { opacity: 1; transform: scale(1) } 96.923% { opacity: 0; transform: scale(1.5) } 100.0% { opacity: 0 } }
@keyframes g-press { 0.0% { transform: none } 93.462% { transform: none } 95.0% { transform: scale(.96) } 96.923% { transform: none } 100.0% { transform: none } }
@keyframes g-r1 { 0% { opacity: 0; transform: translateY(.45rem) } 30.0% { opacity: 0; transform: translateY(.45rem) } 38.0% { opacity: 1; transform: none } 100% { opacity: 1; transform: none } }
@keyframes g-r2 { 0% { opacity: 0; transform: translateY(.45rem) } 50.0% { opacity: 0; transform: translateY(.45rem) } 58.0% { opacity: 1; transform: none } 100% { opacity: 1; transform: none } }
@keyframes g-r3 { 0% { opacity: 0; transform: translateY(.45rem) } 66.0% { opacity: 0; transform: translateY(.45rem) } 74.0% { opacity: 1; transform: none } 100% { opacity: 1; transform: none } }
@keyframes g-note { 0% { opacity: 0; transform: translateY(.45rem) } 84.0% { opacity: 0; transform: translateY(.45rem) } 90.0% { opacity: 1; transform: none } 100% { opacity: 1; transform: none } }
@keyframes g-prop { 0.0% { opacity: 0; transform: translateY(.45rem) } 2.86% { opacity: 0; transform: translateY(.45rem) } 8.57% { opacity: 1; transform: none } 30.0% { opacity: 1; transform: none } 35.71% { opacity: 0; transform: scale(.96) } 100.0% { opacity: 0; transform: scale(.96) } }
@keyframes g-move { 0.0% { opacity: 0; transform: translateY(.45rem) } 5.71% { opacity: 0; transform: translateY(.45rem) } 11.43% { opacity: 1; transform: none } 27.86% { opacity: 1; transform: none } 30.71% { opacity: 1; transform: scale(.96) } 37.14% { opacity: 0; transform: scale(.96) } 100.0% { opacity: 0 } }
@keyframes g-tap4 { 0.0% { opacity: 0; transform: scale(.4) } 24.29% { opacity: 0; transform: scale(.4) } 27.86% { opacity: 1; transform: scale(1) } 37.14% { opacity: 0; transform: scale(1.5) } 100.0% { opacity: 0 } }
@keyframes g-tree { 0.0% { opacity: 0 } 32.86% { opacity: 0 } 41.43% { opacity: 1 } 100.0% { opacity: 1 } }
@keyframes g-fly { 0.0% { opacity: 0; transform: translateY(-8rem) rotate(-8deg) } 42.86% { opacity: 0; transform: translateY(-8rem) rotate(-8deg) } 45.71% { opacity: 1; transform: translateY(-8rem) rotate(-8deg) } 61.43% { opacity: 1; transform: translateY(0) } 65.71% { opacity: 0; transform: translateY(0) } 100.0% { opacity: 0 } }
@keyframes g-target { 0.0% { background: transparent } 61.43% { background: transparent } 65.71% { background: #dff5e5 } 100.0% { background: #dff5e5 } }
@keyframes g-rtoast { 0.0% { opacity: 0; transform: translateY(.45rem) } 68.57% { opacity: 0; transform: translateY(.45rem) } 74.29% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-undo { 0.0% { transform: scale(1) } 81.43% { transform: scale(1) } 85.71% { transform: scale(1.14) } 90.71% { transform: scale(1) } 100.0% { transform: scale(1) } }

/* ---- How it works: four steps in a swipeable gallery (scroll sideways, or use the buttons) ---- */
.gallery { margin: 0 auto; }
.gal-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem calc(50% - min(26rem, 41vw)) 1.5rem; scrollbar-width: none; overflow-y: hidden; overscroll-behavior: auto; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; cursor: grab; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline: .125rem solid var(--red); outline-offset: -.25rem; border-radius: 1.5rem; }
.gal-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.gal-slide { --ps: .82; flex: 0 0 min(52rem, 82vw); scroll-snap-align: center; display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: center; padding: 2rem 1.5rem 1.75rem; border-radius: 2rem; overflow: hidden; background: linear-gradient(165deg, #fff, #f7f3f1); box-shadow: 0 .75rem 2.25rem rgba(0,0,0,.07), 0 .0625rem .1875rem rgba(0,0,0,.05); opacity: .5; transition: opacity .4s ease; }
.gal-slide.is-active { opacity: 1; }
.gal-copy { text-align: center; }
.gal-copy .icon-box { margin-inline: auto; }
.gal-copy h3 { font-size: clamp(1.6rem, 5vw, 2.5rem); line-height: 1.1; margin: .75rem 0 .5rem; }
.gal-copy p { font-size: .9375rem; line-height: 1.6; color: var(--muted); max-width: 32rem; margin: 0 auto; }
.gal-device { display: grid; justify-content: center; align-items: end; }
.phone-wrap { width: calc(15rem * var(--ps)); height: calc(30.9rem * var(--ps)); }
.phone-wrap .phone { transform: scale(var(--ps)); transform-origin: 0 0; }
@media (min-width: 760px) {
  .gal-track { padding-inline: calc(50% - min(26rem, 37vw)); }
  .gal-slide { flex-basis: min(52rem, 74vw); --ps: .92; grid-template-columns: 1fr auto; gap: 3rem; padding: 2.5rem 3rem 2.5rem; }
  .gal-copy { text-align: start; align-self: center; }
  .gal-copy .icon-box { margin-inline: 0; }
  .gal-copy h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
  .gal-copy p { font-size: 1.0625rem; margin: 0; }
}
.gal-controls { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .5rem; }
.gal-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; color: #1d1d1f; background: rgba(0,0,0,.07); cursor: pointer; transition: background .2s, opacity .2s; }
.gal-btn:hover { background: rgba(0,0,0,.12); }
.gal-btn[disabled] { opacity: .35; cursor: default; }
.gal-dots { display: flex; align-items: center; gap: .55rem; padding: .7rem 1rem; border-radius: 999px; background: rgba(0,0,0,.07); }
.gal-dot { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); cursor: pointer; transition: width .3s, background .3s; }
.gal-dot.is-on { width: 1.5rem; border-radius: 99px; background: #1d1d1f; }
.phone { --t: 1s; }
.s-inbox, .s-md { opacity: 0; }
.s-docA { opacity: 1; }
.dm-dim, .dm-menu, .dm-toast { opacity: 0; }
.dc-title { margin-top: .6rem; font-size: .6rem; font-weight: 600; }
.dc-page { position: relative; margin-top: .6rem; height: 8.2rem; border-radius: .5rem; background: #fff; box-shadow: 0 .25rem .75rem rgba(0,0,0,.1); padding: .8rem; overflow: hidden; }
.dc-page b { display: block; font-size: .7rem; color: var(--red-ink); margin-bottom: .5rem; }
.dc-page i, .md-page i { display: block; height: .3rem; margin-top: .45rem; border-radius: .2rem; background: #e6e6ea; }
.dc-page i.l1, .md-page i.l1 { width: 90%; } .dc-page i.l2, .md-page i.l2 { width: 78%; } .dc-page i.l3, .md-page i.l3 { width: 86%; } .dc-page i.l4 { width: 50%; }
.dots-btn { position: relative; display: inline-grid; place-items: center; min-width: 2rem; padding: .1rem .35rem; border-radius: 99px; background: rgba(0,0,0,.06); letter-spacing: .08em; font-weight: 700; color: #1d1d1f; }
.dm-dim { position: absolute; inset: 0; z-index: 2; background: rgba(246,246,248,.55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.dm-menu { --ih: 2.35rem; position: absolute; z-index: 3; top: 3rem; right: .55rem; width: 12rem; padding: .3rem; border-radius: 1rem; transform-origin: top right; background: rgba(252,252,254,.9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 .75rem 2rem rgba(0,0,0,.22), inset 0 .0625rem 0 #fff; }
.dm-item { position: relative; z-index: 1; display: grid; align-content: center; height: var(--ih); padding: 0 .6rem; }
.dm-item b { font-size: .62rem; } .dm-item small { color: #8e8e93; font-size: .45rem; }
.dm-hl { position: absolute; z-index: 0; left: .3rem; right: .3rem; top: .3rem; height: var(--ih); border-radius: .7rem; background: rgba(241,55,27,.14); }
.dm-item .tap { top: 50%; left: 85%; }
.dm-toast { position: absolute; z-index: 4; left: .8rem; right: .8rem; bottom: 1rem; padding: .55rem .75rem; border-radius: 999px; background: rgba(29,29,31,.92); color: #fff; text-align: center; font-size: .5rem; }
.md-page { margin-top: .7rem; padding: .7rem .8rem; border-radius: .5rem; background: #fff; box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); }
.md-page b { display: block; font-size: .7rem; font-family: ui-monospace, Menlo, monospace; }
.md-move, .rp-move { position: absolute; left: .8rem; right: .8rem; bottom: 1.1rem; z-index: 3; padding: .65rem; border-radius: 999px; text-align: center; font-size: .75rem; font-weight: 700; color: #fff; background: linear-gradient(#F63C1F, #E32D14); box-shadow: 0 .5rem 1.1rem rgba(236,49,23,.35); }
.md-move .tap, .rp-move .tap { background: rgba(255,255,255,.35); border-color: rgba(255,255,255,.8); }
.s-md .ap-card { margin-top: .6rem; }
.ap-card { display: grid; gap: .5rem; padding: .7rem .75rem; border-radius: 1rem; background: rgba(255,255,255,.9); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08), inset 0 .0625rem 0 #fff; }
.ap-lab { font-size: .5rem; font-weight: 700; letter-spacing: .03em; color: var(--red-ink); }
.ap-card small { display: block; color: #8e8e93; font-size: .45rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .1rem; }
.ap-card b { font-size: .65rem; }
.ap-name, .ap-folder { padding-bottom: .45rem; border-bottom: .0625rem solid rgba(0,0,0,.07); }
.ap-folder u { margin-inline-start: .4rem; padding: .05rem .3rem; border-radius: 99px; background: #dff5e5; color: #1b7a37; font-size: .5rem; font-weight: 700; text-decoration: none; }
.ap-tags span { display: flex; gap: .3rem; }
.ap-tags i { font-style: normal; padding: .15rem .5rem; border-radius: 99px; background: var(--red-soft); color: var(--red-ink); font-size: .55rem; font-weight: 600; }
.md-page, .s-md .ap-name, .s-md .ap-folder, .s-md .ap-tags, .md-move { opacity: 0; }
.tg-row { display: flex; align-items: flex-start; gap: .55rem; margin-top: .55rem; padding: .6rem .65rem; border-radius: .9rem; background: #fff; box-shadow: 0 .0625rem .25rem rgba(0,0,0,.06); opacity: 0; }
.tg-row i { flex: none; font-style: normal; padding: .15rem .5rem; border-radius: 99px; background: var(--red-soft); color: var(--red-ink); font-size: .6rem; font-weight: 700; }
.tg-row span { display: grid; gap: .1rem; font-size: .52rem; color: #6e6e73; }
.tg-row b { font-size: .45rem; text-transform: uppercase; letter-spacing: .05em; color: #8e8e93; }
.tg-note { margin: .7rem 0 0; text-align: center; font-size: .5rem; color: #8e8e93; opacity: 0; }
.rp-prop { position: absolute; left: .8rem; right: .8rem; top: 3.6rem; display: flex; align-items: center; gap: .55rem; padding: .6rem; border-radius: 1rem; background: #fff; box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.1); opacity: 0; }
.rp-move, .rp-tree, .rp-fly, .rp-toast { opacity: 0; }
.rp-tree { margin-top: 2.2rem; border-radius: .9rem; background: #fff; box-shadow: 0 .0625rem .25rem rgba(0,0,0,.06); }
.rp-row { position: relative; padding: .5rem .75rem; font-size: .62rem; border-bottom: .0625rem solid rgba(0,0,0,.06); }
.rp-row:first-child { border-radius: .9rem .9rem 0 0; } .rp-row:last-child { border-radius: 0 0 .9rem .9rem; border-bottom: 0; }
.rp-row::before { content: "\25B8"; margin-inline-end: .45rem; color: #8e8e93; }
.rp-row.open::before { content: "\25BE"; }
.rp-row.sub { padding-inline-start: 1.8rem; font-weight: 600; }
.rp-fly { position: absolute; right: .6rem; top: -.2rem; z-index: 5; filter: drop-shadow(0 .4rem .6rem rgba(0,0,0,.25)); }
.rp-toast { position: absolute; left: .8rem; right: .8rem; bottom: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .6rem .75rem; border-radius: 999px; background: rgba(29,29,31,.92); color: #fff; font-size: .55rem; }
.rp-toast u { text-decoration: none; color: #ff8a73; font-weight: 700; display: inline-block; }
/* the scenes */
.gal-slide.is-active .scn *, .gal-slide.is-active .scn *::before { animation-duration: var(--d); animation-iteration-count: 1; animation-fill-mode: both; animation-timing-function: ease-in-out; }
html.story-static .gal-slide .scn *, html.story-static .gal-slide .scn *::before, html:not(.story-on) .gal-slide .scn *, html:not(.story-on) .gal-slide .scn *::before { animation-duration: var(--d); animation-iteration-count: 1; animation-fill-mode: both; animation-play-state: paused; animation-delay: var(--poster); animation-timing-function: linear; }
.gal-slide.is-active .scn .pdf-share { animation-name: g-pulse; }
.gal-slide.is-active .scn .s-pdf { animation-name: g-pdf; }
.gal-slide.is-active .scn .s-inbox { animation-name: g-files; }
.gal-slide.is-active .scn .sheet-share { animation-name: g-share; }
.gal-slide.is-active .scn .sh-plico .tap { animation-name: g-tap1; }
.gal-slide.is-active .scn .sh-plico::before { animation-name: g-sel; }
.gal-slide.is-active .scn .sh-plico i { animation-name: g-selicon; }
.gal-slide.is-active .scn .fl-new { animation-name: g-drop; }
.gal-slide.is-active .scn .s-docA { animation-name: g-docA; }
.gal-slide.is-active .scn .dots-btn .tap { animation-name: g-tapd; }
.gal-slide.is-active .scn .dm-dim { animation-name: g-dim; }
.gal-slide.is-active .scn .dm-menu { animation-name: g-menu; }
.gal-slide.is-active .scn .dm-hl { animation-name: g-hl; }
.gal-slide.is-active .scn .dm-item .tap { animation-name: g-tapm; }
.gal-slide.is-active .scn .dm-toast { animation-name: g-toast; }
.gal-slide.is-active .scn .s-md { animation-name: g-md; }
.gal-slide.is-active .scn .md-page { animation-name: g-mdp; }
.gal-slide.is-active .scn .s-md .ap-name { animation-name: g-name; }
.gal-slide.is-active .scn .s-md .ap-folder { animation-name: g-folder; }
.gal-slide.is-active .scn .s-md .ap-tags { animation-name: g-tags; }
.gal-slide.is-active .scn .s-md .ap-tags i { animation-name: g-chip; }
.gal-slide.is-active .scn .md-move .tap { animation-name: g-tap3; }
.gal-slide.is-active .scn .s-tags .r1 { animation-name: g-r1; }
.gal-slide.is-active .scn .s-tags .r2 { animation-name: g-r2; }
.gal-slide.is-active .scn .s-tags .r3 { animation-name: g-r3; }
.gal-slide.is-active .scn .tg-note { animation-name: g-note; }
.gal-slide.is-active .scn .rp-prop { animation-name: g-prop; }
.gal-slide.is-active .scn .rp-move { animation-name: g-move; }
.gal-slide.is-active .scn .rp-move .tap { animation-name: g-tap4; }
.gal-slide.is-active .scn .rp-tree { animation-name: g-tree; }
.gal-slide.is-active .scn .rp-fly { animation-name: g-fly; }
.gal-slide.is-active .scn .rp-target { animation-name: g-target; }
.gal-slide.is-active .scn .rp-toast { animation-name: g-rtoast; }
.gal-slide.is-active .scn .rp-toast u { animation-name: g-undo; }
.gal-slide.is-active .scn .md-move { animation-name: g-mmove, g-press; }
html.story-static .gal-slide .scn .pdf-share, html:not(.story-on) .gal-slide .scn .pdf-share { animation-name: g-pulse; }
html.story-static .gal-slide .scn .s-pdf, html:not(.story-on) .gal-slide .scn .s-pdf { animation-name: g-pdf; }
html.story-static .gal-slide .scn .s-inbox, html:not(.story-on) .gal-slide .scn .s-inbox { animation-name: g-files; }
html.story-static .gal-slide .scn .sheet-share, html:not(.story-on) .gal-slide .scn .sheet-share { animation-name: g-share; }
html.story-static .gal-slide .scn .sh-plico .tap, html:not(.story-on) .gal-slide .scn .sh-plico .tap { animation-name: g-tap1; }
html.story-static .gal-slide .scn .sh-plico::before, html:not(.story-on) .gal-slide .scn .sh-plico::before { animation-name: g-sel; }
html.story-static .gal-slide .scn .sh-plico i, html:not(.story-on) .gal-slide .scn .sh-plico i { animation-name: g-selicon; }
html.story-static .gal-slide .scn .fl-new, html:not(.story-on) .gal-slide .scn .fl-new { animation-name: g-drop; }
html.story-static .gal-slide .scn .s-docA, html:not(.story-on) .gal-slide .scn .s-docA { animation-name: g-docA; }
html.story-static .gal-slide .scn .dots-btn .tap, html:not(.story-on) .gal-slide .scn .dots-btn .tap { animation-name: g-tapd; }
html.story-static .gal-slide .scn .dm-dim, html:not(.story-on) .gal-slide .scn .dm-dim { animation-name: g-dim; }
html.story-static .gal-slide .scn .dm-menu, html:not(.story-on) .gal-slide .scn .dm-menu { animation-name: g-menu; }
html.story-static .gal-slide .scn .dm-hl, html:not(.story-on) .gal-slide .scn .dm-hl { animation-name: g-hl; }
html.story-static .gal-slide .scn .dm-item .tap, html:not(.story-on) .gal-slide .scn .dm-item .tap { animation-name: g-tapm; }
html.story-static .gal-slide .scn .dm-toast, html:not(.story-on) .gal-slide .scn .dm-toast { animation-name: g-toast; }
html.story-static .gal-slide .scn .s-md, html:not(.story-on) .gal-slide .scn .s-md { animation-name: g-md; }
html.story-static .gal-slide .scn .md-page, html:not(.story-on) .gal-slide .scn .md-page { animation-name: g-mdp; }
html.story-static .gal-slide .scn .s-md .ap-name, html:not(.story-on) .gal-slide .scn .s-md .ap-name { animation-name: g-name; }
html.story-static .gal-slide .scn .s-md .ap-folder, html:not(.story-on) .gal-slide .scn .s-md .ap-folder { animation-name: g-folder; }
html.story-static .gal-slide .scn .s-md .ap-tags, html:not(.story-on) .gal-slide .scn .s-md .ap-tags { animation-name: g-tags; }
html.story-static .gal-slide .scn .s-md .ap-tags i, html:not(.story-on) .gal-slide .scn .s-md .ap-tags i { animation-name: g-chip; }
html.story-static .gal-slide .scn .md-move .tap, html:not(.story-on) .gal-slide .scn .md-move .tap { animation-name: g-tap3; }
html.story-static .gal-slide .scn .s-tags .r1, html:not(.story-on) .gal-slide .scn .s-tags .r1 { animation-name: g-r1; }
html.story-static .gal-slide .scn .s-tags .r2, html:not(.story-on) .gal-slide .scn .s-tags .r2 { animation-name: g-r2; }
html.story-static .gal-slide .scn .s-tags .r3, html:not(.story-on) .gal-slide .scn .s-tags .r3 { animation-name: g-r3; }
html.story-static .gal-slide .scn .tg-note, html:not(.story-on) .gal-slide .scn .tg-note { animation-name: g-note; }
html.story-static .gal-slide .scn .rp-prop, html:not(.story-on) .gal-slide .scn .rp-prop { animation-name: g-prop; }
html.story-static .gal-slide .scn .rp-move, html:not(.story-on) .gal-slide .scn .rp-move { animation-name: g-move; }
html.story-static .gal-slide .scn .rp-move .tap, html:not(.story-on) .gal-slide .scn .rp-move .tap { animation-name: g-tap4; }
html.story-static .gal-slide .scn .rp-tree, html:not(.story-on) .gal-slide .scn .rp-tree { animation-name: g-tree; }
html.story-static .gal-slide .scn .rp-fly, html:not(.story-on) .gal-slide .scn .rp-fly { animation-name: g-fly; }
html.story-static .gal-slide .scn .rp-target, html:not(.story-on) .gal-slide .scn .rp-target { animation-name: g-target; }
html.story-static .gal-slide .scn .rp-toast, html:not(.story-on) .gal-slide .scn .rp-toast { animation-name: g-rtoast; }
html.story-static .gal-slide .scn .rp-toast u, html:not(.story-on) .gal-slide .scn .rp-toast u { animation-name: g-undo; }
html.story-static .gal-slide .scn .md-move, html:not(.story-on) .gal-slide .scn .md-move { animation-name: g-mmove, g-press; }

/* scene steps: dots above the phone, and the play / pause button */
.ph-steps { display: grid; justify-items: center; gap: .45rem; margin-bottom: .9rem; }
.ph-dots { display: flex; align-items: center; gap: .35rem; padding: 0; background: none; }
.ph-dot { position: relative; width: .3125rem; height: .3125rem; padding: 0; border: 0; border-radius: 50%; background: rgba(241,55,27,.28); cursor: pointer; overflow: hidden; transition: width .3s, background .3s; }
.ph-dot::after { content: ""; position: absolute; inset: 0; width: var(--fill, 0%); border-radius: inherit; background: var(--red); }
.ph-dot.done { background: var(--red); }
.ph-dot.on { width: .9rem; border-radius: 99px; background: rgba(241,55,27,.28); }
.ph-dot.on::after { width: var(--fill, 0%); }
.ph-dot:focus-visible { outline: .125rem solid var(--red); outline-offset: .15rem; }
.ph-cap { min-height: 1em; font-size: .75rem; line-height: 1.2; font-weight: 600; color: var(--muted); text-align: center; }
.gal-play .ic-play { display: none; }
.gal-play[data-state="paused"] .ic-play { display: block; }
.gal-play[data-state="paused"] .ic-pause { display: none; }
.dc-meta { display: flex; gap: .3rem; margin-top: .45rem; }
.bd { padding: .12rem .45rem; border-radius: 99px; background: #ececf0; color: #3a3a3c; font-size: .5rem; font-weight: 700; }
.bd-pdf { background: var(--red-soft); color: var(--red-ink); }
.bd-md { background: #1d1d1f; color: #fff; }
.bd-en { background: #e3eefc; color: #1a5db0; }
.dc-page p, .md-page p { margin: .35rem 0 0; font-size: .52rem; line-height: 1.3; color: #3a3a3c; }
.md-page p { font-family: ui-monospace, Menlo, monospace; }
.dc-page { height: 6.6rem; }
.md-page { margin-top: .5rem; }
.dc-meta + .md-page, .dc-meta + .dc-page { margin-top: .5rem; }

.tg-h { display: flex; align-items: center; gap: .35rem; margin-top: .75rem; font-size: .45rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8e8e93; opacity: 0; }
.ai-ico { display: inline-grid; place-items: center; width: .95rem; height: .95rem; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff9f43, #ee5a8a 50%, #7a5cff); }
.tg-h + .tg-row { margin-top: .35rem; }
.gal-slide.is-active .scn .tg-h1 { animation-name: g-r1; }
.gal-slide.is-active .scn .tg-h2 { animation-name: g-r2; }
html.story-static .gal-slide .scn .tg-h1, html:not(.story-on) .gal-slide .scn .tg-h1 { animation-name: g-r1; }
html.story-static .gal-slide .scn .tg-h2, html:not(.story-on) .gal-slide .scn .tg-h2 { animation-name: g-r2; }
@keyframes g-read { 0% { opacity: 0 } 3% { opacity: 1 } 28% { opacity: 1 } 32% { opacity: 0 } 100% { opacity: 0 } }
@keyframes g-bar { 0% { width: 0% } 3% { width: 0% } 28% { width: 100% } 100% { width: 100% } }
.tg-read { position: absolute; left: .8rem; right: .8rem; top: 9rem; display: grid; gap: .5rem; justify-items: center; opacity: 0; }
.tg-read small { font-size: .55rem; color: #6e6e73; }
.tg-read i { display: block; width: 0; height: .25rem; border-radius: 99px; background: linear-gradient(90deg, #ff9f43, #ee5a8a, #7a5cff); }
.tg-read { }
.gal-slide.is-active .scn .tg-read { animation-name: g-read; }
.gal-slide.is-active .scn .tg-read i { animation-name: g-bar; }
html.story-static .gal-slide .scn .tg-read, html:not(.story-on) .gal-slide .scn .tg-read { animation-name: g-read; }
html.story-static .gal-slide .scn .tg-read i, html:not(.story-on) .gal-slide .scn .tg-read i { animation-name: g-bar; }
.tg-read i { width: 0; }
.ph-row { display: flex; align-items: center; gap: .6rem; }
.ph-pause { display: grid; place-items: center; width: 1.1rem; height: 1.1rem; padding: 0; border: 0; border-radius: 50%; color: var(--red); background: rgba(241,55,27,.12); cursor: pointer; }
.ph-pause:hover { background: rgba(241,55,27,.2); }
.ph-pause .ic-play { display: none; }
.ph-pause[data-state="paused"] .ic-play { display: block; }
.ph-pause[data-state="paused"] .ic-pause { display: none; }
.ph-cap { font-weight: 400; color: var(--red-ink); }

.ap-section { margin: 1rem auto 4.5rem; }
.ap-intro { margin: 6rem auto 0; max-width: 40rem; font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.5; color: var(--muted); }
.ap-section .hero-autopilot { margin-top: 1.75rem; }

.ap-section .hero-autopilot { width: min(52rem, 82vw); max-width: none; }
@media (min-width: 760px) { .ap-section .hero-autopilot { width: min(52rem, 74vw); } }

/* device picker */
.dev-pick { display: flex; justify-content: center; gap: .4rem; width: max-content; max-width: 100%; margin: 0 auto 1.5rem; padding: .3rem; border-radius: 999px; background: rgba(0,0,0,.06); }
.dev-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .875rem/1 inherit; font-family: inherit; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.dev-btn:hover { color: #1d1d1f; }
.dev-btn.is-on { background: #fff; color: var(--red-ink); box-shadow: 0 .25rem .75rem rgba(0,0,0,.12); }
.dev-btn:focus-visible { outline: .125rem solid var(--red); outline-offset: .1rem; }
@media (max-width: 420px) { .dev-btn { padding: .55rem .75rem; gap: .35rem; font-size: .8125rem; } }
.gallery[data-device="iphone"] .gal-slide:not([data-dev="iphone"]),
.gallery[data-device="ipad"] .gal-slide:not([data-dev="ipad"]),
.gallery[data-device="mac"] .gal-slide:not([data-dev="mac"]) { display: none; }

/* iPad and Mac: the same scenes in a wider device */
.gal-slide[data-dev="ipad"], .gal-slide[data-dev="mac"] { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; padding: 2.25rem 1.5rem 2rem; }
.gal-slide[data-dev="ipad"] .gal-copy, .gal-slide[data-dev="mac"] .gal-copy { text-align: center; align-self: auto; }
.gal-slide[data-dev="ipad"] .gal-copy .icon-box, .gal-slide[data-dev="mac"] .gal-copy .icon-box { margin-inline: auto; }
.gal-slide[data-dev="ipad"] .gal-copy p, .gal-slide[data-dev="mac"] .gal-copy p { margin-inline: auto; max-width: 40rem; }
.gal-slide[data-dev="ipad"] .phone-wrap { width: calc(33rem * var(--ps)); height: calc(23.5rem * var(--ps)); }
.gal-slide[data-dev="mac"] .phone-wrap { width: calc(36rem * var(--ps)); height: calc(23rem * var(--ps)); }
.device { position: relative; transform: scale(var(--ps)); transform-origin: 0 0; font: 500 .625rem/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; color: #1d1d1f; }
.dvc-ipad { width: 33rem; height: 23.5rem; border-radius: 1.9rem; background: #f6f6f8; border: .45rem solid #1d1d1f; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.18); overflow: hidden; }
.dvc-mac { width: 36rem; height: 23rem; }
.dv-bezel { position: absolute; inset: 0; display: grid; grid-template-columns: 9rem 1fr; }
.dv-win { position: absolute; inset: 0; border-radius: .9rem; overflow: hidden; background: #f6f6f8; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.2), 0 0 0 .0625rem rgba(0,0,0,.14); }
.dv-bar { position: relative; z-index: 6; display: flex; align-items: center; gap: .4rem; height: 1.7rem; padding: 0 .75rem; background: linear-gradient(#f4f4f6, #e8e8ec); border-bottom: .0625rem solid rgba(0,0,0,.08); font-size: .55rem; color: #6e6e73; }
.dv-bar i { width: .6rem; height: .6rem; border-radius: 50%; } .dv-bar .r { background: #ff5f57; } .dv-bar .y { background: #febc2e; } .dv-bar .g { background: #28c840; }
.dv-bar span { margin: 0 auto; transform: translateX(-1.4rem); }
.dv-body { position: absolute; inset: 1.7rem 0 0; display: grid; grid-template-columns: 10rem 1fr; }
.dv-side { padding: 1rem .7rem; background: rgba(238,238,242,.92); border-right: .0625rem solid rgba(0,0,0,.06); }
.dv-st { margin-bottom: .4rem; font-size: .5rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8e8e93; }
.dv-it { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; padding: .4rem; border-radius: .5rem; font-size: .55rem; color: #3a3a3c; }
.dv-it.on { background: rgba(241,55,27,.12); }
.dv-it .fl-ico { width: 1.1rem; height: 1.4rem; font-size: .32rem; }
.dv-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-main { position: relative; overflow: hidden; background: #f6f6f8; }
.device .ph-screen { inset: auto; top: 0; left: 0; width: calc(100% / 1.12); height: calc(100% / 1.12); padding: 1rem 1.2rem; transform: scale(1.12); transform-origin: 0 0; }
.device .fl-nav { margin-top: 0; }
.dvc-pop .sheet { left: auto; right: .8rem; bottom: auto; top: 2.4rem; width: 12.5rem; border-radius: 1.1rem; transform: none; transform-origin: top right; opacity: 0; }
.dvc-pop .sh-apps { padding: .5rem 0; }
@keyframes g-pop { 0% { opacity: 0; transform: scale(.85); } 10% { opacity: 0; transform: scale(.85); } 17.5% { opacity: 1; transform: scale(1); } 49% { opacity: 1; transform: scale(1); } 54% { opacity: 0; transform: scale(.94); } 100% { opacity: 0; transform: scale(.94); } }
.gal-slide.is-active .scn.dvc-pop .sheet-share { animation-name: g-pop; }
html.story-static .gal-slide .scn.dvc-pop .sheet-share, html:not(.story-on) .gal-slide .scn.dvc-pop .sheet-share { animation-name: g-pop; }

@keyframes g-tape { 0.0% { opacity: 0; transform: scale(.4) } 3.462% { opacity: 0; transform: scale(.4) } 4.231% { opacity: 1; transform: scale(1) } 7.308% { opacity: 0; transform: scale(1.4) } 100.0% { opacity: 0 } }
@keyframes g-edbtn { 0.0% { background: rgba(0,0,0,.06); color: #1d1d1f } 5.769% { background: rgba(0,0,0,.06); color: #1d1d1f } 7.692% { background: var(--red-soft); color: var(--red-ink) } 25.385% { background: var(--red-soft); color: var(--red-ink) } 27.308% { background: rgba(0,0,0,.06); color: #1d1d1f } 100.0% { background: rgba(0,0,0,.06); color: #1d1d1f } }
@keyframes g-edbar { 0.0% { opacity: 0; transform: translateY(.5rem) } 6.923% { opacity: 0; transform: translateY(.5rem) } 9.231% { opacity: 1; transform: none } 23.077% { opacity: 1; transform: none } 25.385% { opacity: 0; transform: translateY(.5rem) } 100.0% { opacity: 0 } }
@keyframes g-edhl { 0.0% { background-size: 0% 100% } 10.769% { background-size: 0% 100% } 13.846% { background-size: 100% 100% } 100.0% { background-size: 100% 100% } }
@keyframes g-ednote { 0.0% { opacity: 0; transform: scale(.8) } 15.385% { opacity: 0; transform: scale(.8) } 17.692% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-ink { 0.0% { stroke-dashoffset: 1; opacity: 1 } 11.538% { stroke-dashoffset: 1 } 18.462% { stroke-dashoffset: 0 } 100.0% { stroke-dashoffset: 0 } }
@keyframes g-pencil { 0.0% { opacity: 0; transform: translate(0,-.4rem) } 11.154% { opacity: 0; transform: translate(0,-.4rem) } 11.538% { opacity: 1; transform: translate(0,-.4rem) } 17.692% { opacity: 1; transform: translate(5.4rem,-.4rem) } 20.385% { opacity: 0; transform: translate(5.4rem,-.4rem) } 100.0% { opacity: 0 } }

/* Documents: adding notes with Edit */
.nav-r { display: inline-flex; align-items: center; gap: .4rem; }
.ed-btn { position: relative; padding: .1rem .5rem; border-radius: 99px; background: rgba(0,0,0,.06); color: #1d1d1f; font-weight: 700; }
.ed-line { background: linear-gradient(rgba(255,214,10,.6), rgba(255,214,10,.6)) no-repeat; background-size: 0% 100%; border-radius: .15rem; }
.ed-note { position: absolute; right: .55rem; bottom: .55rem; padding: .3rem .5rem; border-radius: .45rem .45rem .1rem .45rem; background: #fff3a8; box-shadow: 0 .25rem .6rem rgba(0,0,0,.14); font-size: .5rem; font-weight: 600; color: #5c4a00; opacity: 0; }
.ed-ink { position: absolute; display: none; left: .5rem; bottom: .35rem; width: 7rem; height: 2.1rem; fill: none; stroke: #2a62d9; stroke-width: 1.6; stroke-linecap: round; }
.ed-ink path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ed-pencil { position: absolute; display: none; left: .5rem; bottom: 1.35rem; width: 1.1rem; height: 1.1rem; opacity: 0; filter: drop-shadow(0 .15rem .2rem rgba(0,0,0,.3)); }
.dvc-ipad .ed-ink, .dvc-ipad .ed-pencil { display: block; }
.dvc-ipad .ed-note { display: none; }
.ed-bar { position: absolute; z-index: 3; left: .8rem; right: .8rem; bottom: .9rem; display: flex; justify-content: space-around; gap: .3rem; padding: .5rem .6rem; border-radius: 999px; background: rgba(252,252,254,.9); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.18), inset 0 .0625rem 0 #fff; color: #3a3a3c; opacity: 0; }
.ed-bar span { display: inline-flex; align-items: center; gap: .25rem; }
.ed-bar em { display: none; font-style: normal; font-size: .5rem; font-weight: 600; }
.ed-bar span:nth-child(2) { color: #b58900; }
.dvc-ipad .ed-bar { left: 2rem; right: 2rem; }
.dvc-mac .ed-bar { top: 2.5rem; bottom: auto; left: 1.2rem; right: 1.2rem; border-radius: .7rem; justify-content: space-between; padding: .4rem .6rem; }
.dvc-mac .ed-bar em { display: inline; }

/* Mac: three panes, the tags on the right */
.dvc-mac { width: 40rem; }
.gal-slide[data-dev="mac"] .phone-wrap { width: calc(40rem * var(--ps)); }
.dvc-mac .dv-body { grid-template-columns: 9rem 1fr 10rem; }
.dv-insp { position: relative; padding: .9rem .7rem; background: rgba(238,238,242,.92); border-left: .0625rem solid rgba(0,0,0,.06); overflow: hidden; }
.dv-ih { margin-bottom: .5rem; font-size: .75rem; font-weight: 700; }
.dv-sub { font-size: .45rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8e8e93; }
.dv-none { margin-top: .3rem; font-size: .5rem; color: #8e8e93; }
.insp-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.insp-chips i { font-style: normal; padding: .15rem .5rem; border-radius: 99px; background: var(--red-soft); color: var(--red-ink); font-size: .55rem; font-weight: 600; }
.insp-md { position: static; }
.dv-insp .tg-row { padding: .45rem .5rem; gap: .35rem; margin-top: .4rem; }
.dv-insp .tg-row i { font-size: .5rem; padding: .1rem .4rem; }
.dv-insp .tg-row span { font-size: .45rem; }
.dv-insp .tg-h { font-size: .4rem; margin-top: .55rem; }
.dv-insp .tg-note { font-size: .45rem; margin-top: .5rem; }
.dv-insp .tg-read { left: .7rem; right: .7rem; top: 4rem; }
.gal-slide.is-active .scn .ed-btn .tap { animation-name: g-tape; }
.gal-slide.is-active .scn .ed-btn { animation-name: g-edbtn; }
.gal-slide.is-active .scn .ed-bar { animation-name: g-edbar; }
.gal-slide.is-active .scn .ed-line { animation-name: g-edhl; }
.gal-slide.is-active .scn .ed-note { animation-name: g-ednote; }
.gal-slide.is-active .scn .ed-ink path { animation-name: g-ink; }
.gal-slide.is-active .scn .ed-pencil { animation-name: g-pencil; }
html.story-static .gal-slide .scn .ed-btn .tap, html:not(.story-on) .gal-slide .scn .ed-btn .tap { animation-name: g-tape; }
html.story-static .gal-slide .scn .ed-btn, html:not(.story-on) .gal-slide .scn .ed-btn { animation-name: g-edbtn; }
html.story-static .gal-slide .scn .ed-bar, html:not(.story-on) .gal-slide .scn .ed-bar { animation-name: g-edbar; }
html.story-static .gal-slide .scn .ed-line, html:not(.story-on) .gal-slide .scn .ed-line { animation-name: g-edhl; }
html.story-static .gal-slide .scn .ed-note, html:not(.story-on) .gal-slide .scn .ed-note { animation-name: g-ednote; }
html.story-static .gal-slide .scn .ed-ink path, html:not(.story-on) .gal-slide .scn .ed-ink path { animation-name: g-ink; }
html.story-static .gal-slide .scn .ed-pencil, html:not(.story-on) .gal-slide .scn .ed-pencil { animation-name: g-pencil; }

@keyframes g-fpulse { 0.0% { background: transparent; transform: scale(1) } 5.0% { background: transparent; transform: scale(1) } 7.857% { background: rgba(10,122,255,.18); transform: scale(1.3) } 12.857% { background: rgba(10,122,255,.18); transform: scale(1.3) } 16.429% { background: transparent; transform: scale(1) } 100.0% { background: transparent } }
@keyframes g-pick { 0.0% { box-shadow: 0 0 0 0 transparent } 2.143% { box-shadow: 0 0 0 0 transparent } 5.714% { box-shadow: 0 0 0 .15rem #0a7aff } 100.0% { box-shadow: 0 0 0 .15rem #0a7aff } }
@keyframes g-chk { 0.0% { opacity: 0; transform: scale(.4) } 3.571% { opacity: 0; transform: scale(.4) } 6.429% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-fibar { 0.0% { opacity: 0; transform: translateY(.45rem) } 5.0% { opacity: 0; transform: translateY(.45rem) } 8.571% { opacity: 1; transform: none } 100.0% { opacity: 1; transform: none } }
@keyframes g-fdpick { 0.0% { background-color: transparent; color: #1d1d1f } 2.143% { background-color: transparent; color: #1d1d1f } 5.714% { background-color: #0a7aff; color: #fff } 100.0% { background-color: #0a7aff; color: #fff } }

/* the first screen of the share scene: the Files app (iPhone, iPad) and Finder (Mac) */
.s-pdf .fl-nav, .s-inbox .fl-nav { color: #0a7aff; }
.fi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem .6rem; margin-top: .3rem; }
.dvc-ipad .fi-grid { grid-template-columns: repeat(4, 1fr); }
.fi-it { position: relative; display: grid; gap: .1rem; font-size: .5rem; }
.fi-th { position: relative; display: block; height: 3.6rem; border-radius: .45rem; background: #fff; box-shadow: 0 .125rem .5rem rgba(0,0,0,.12); padding: .45rem .4rem; overflow: hidden; }
.fi-th i { display: block; height: .22rem; margin-top: .22rem; border-radius: .15rem; background: #e6e6ea; }
.fi-th i:nth-child(1) { width: 70%; } .fi-th i:nth-child(2) { width: 90%; } .fi-th i:nth-child(3) { width: 55%; }
.fi-th b { position: absolute; left: .4rem; top: .35rem; font-size: .4rem; color: var(--red-ink); }
.fi-th b + * { }
.fi-img { background: linear-gradient(160deg, #8ec5fc, #e0c3fc 60%, #f6d365); }
.fi-n { margin-top: .25rem; font-size: .5rem; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-it small { text-align: center; color: #8e8e93; font-size: .42rem; }
.fi-chk { position: absolute; right: .3rem; top: 2.6rem; display: grid; place-items: center; width: .9rem; height: .9rem; border-radius: 50%; background: #0a7aff; color: #fff; font-size: .55rem; font-weight: 700; opacity: 0; }
.fi-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: .6rem 1rem .9rem; background: rgba(247,247,249,.92); border-top: .0625rem solid rgba(0,0,0,.08); color: #0a7aff; opacity: 0; }
.fi-bar .pdf-share { color: #0a7aff; }
.fd-tb { display: flex; align-items: center; gap: .6rem; padding-bottom: .5rem; border-bottom: .0625rem solid rgba(0,0,0,.08); font-size: .55rem; color: #6e6e73; }
.fd-tb strong { color: #1d1d1f; font-size: .65rem; }
.fd-arrows { letter-spacing: .3em; color: #8e8e93; font-size: .8rem; }
.fd-sp { flex: 1; }
.fd-tb .pdf-share { color: #3a3a3c; width: 1.3rem; height: 1.3rem; }
.fd-search { padding: .15rem .6rem; border-radius: .4rem; background: #e9e9ee; color: #8e8e93; }
.fd-head, .fd-row { display: grid; grid-template-columns: 1fr 5.5rem 3rem; gap: .4rem; align-items: center; padding: .3rem .5rem; font-size: .52rem; }
.fd-head { margin-top: .3rem; color: #8e8e93; font-weight: 600; border-bottom: .0625rem solid rgba(0,0,0,.06); }
.fd-row { border-radius: .35rem; color: #1d1d1f; }
.fd-row:nth-of-type(even) { background: rgba(0,0,0,.025); }
.fd-nm { display: flex; align-items: center; gap: .4rem; font-weight: 500; }
.fd-ico { display: inline-grid; place-items: center; flex: none; width: .9rem; height: 1.1rem; border-radius: .15rem; background: #fff; border: .0625rem solid #d0d0d6; color: var(--red-ink); font-size: .3rem; font-weight: 700; }
.fd-ico.img { color: #3a8f5a; }
.fd-ico2 { width: .7rem; height: .7rem; border-radius: .2rem; background: #0a7aff; opacity: .85; flex: none; }
.s-inbox.fd .fl-new { background: #eaf3ff; }
.dvc-mac .dv-body.fd-body { grid-template-columns: 9rem 1fr; }
.s-inbox .fl-new { background: #eaf3ff; }
.gal-slide.is-active .scn .fi-pick .fi-th { animation-name: g-pick; }
.gal-slide.is-active .scn .fi-chk { animation-name: g-chk; }
.gal-slide.is-active .scn .fi-bar { animation-name: g-fibar; }
.gal-slide.is-active .scn .fd-pick { animation-name: g-fdpick; }
.gal-slide.is-active .scn .fi-bar .pdf-share { animation-name: g-fpulse; }
.gal-slide.is-active .scn .fd-tb .pdf-share { animation-name: g-fpulse; }
html.story-static .gal-slide .scn .fi-pick .fi-th, html:not(.story-on) .gal-slide .scn .fi-pick .fi-th { animation-name: g-pick; }
html.story-static .gal-slide .scn .fi-chk, html:not(.story-on) .gal-slide .scn .fi-chk { animation-name: g-chk; }
html.story-static .gal-slide .scn .fi-bar, html:not(.story-on) .gal-slide .scn .fi-bar { animation-name: g-fibar; }
html.story-static .gal-slide .scn .fd-pick, html:not(.story-on) .gal-slide .scn .fd-pick { animation-name: g-fdpick; }
html.story-static .gal-slide .scn .fi-bar .pdf-share, html:not(.story-on) .gal-slide .scn .fi-bar .pdf-share { animation-name: g-fpulse; }
html.story-static .gal-slide .scn .fd-tb .pdf-share, html:not(.story-on) .gal-slide .scn .fd-tb .pdf-share { animation-name: g-fpulse; }

@keyframes g-ul { 0.0% { transform: scaleX(0) } 11.538% { transform: scaleX(0) } 17.692% { transform: scaleX(1) } 100.0% { transform: scaleX(1) } }

/* iPad: the Apple Pencil underlines the line in red (no highlighter, no circle) */
.ed-ul { display: none; }
.dvc-ipad .ed-ink { display: none; }
.dvc-ipad .ed-line { position: relative; }
.gal-slide .scn.dvc-ipad .ed-line { animation-name: none !important; background-image: none; }
.dvc-ipad .ed-ul { display: block; position: absolute; left: 0; bottom: -.04rem; width: 5.4rem; height: .13rem; border-radius: 99px; background: var(--red); transform-origin: left; transform: scaleX(0); }
.dvc-ipad .ed-pencil { display: block; left: 0; top: 0; bottom: auto; margin: 0; }
.gal-slide.is-active .scn .ed-ul { animation-name: g-ul; }
html.story-static .gal-slide .scn .ed-ul, html:not(.story-on) .gal-slide .scn .ed-ul { animation-name: g-ul; }

/* one look for every section title: a small red label (the eyebrow), then a two-beat headline in the same size */
.section-head h2, .how-works-title, .dark-grid h2, .cta h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; margin: .6rem 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; }
.eyebrow-dark { color: #FCA5A5; }
.section-head-tight { margin-bottom: 2rem; }
.cta .app-icon { margin-bottom: 1.25rem; }
.cta .eyebrow { display: block; }
.dark-grid h2 { margin-top: .6rem; }

/* Three platform cards: smaller, lighter, side by side (replaces the three tall coloured rows) */
.feat-rows { max-width: 72rem; margin: 3.5rem auto 0; gap: 1.25rem; }
@media (min-width: 900px) { .feat-rows { grid-template-columns: repeat(3, 1fr); } }
.feat-row { grid-template-columns: 1fr !important; align-items: stretch; align-content: start; padding: .55rem; border-radius: 1.6rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.06), 0 .0625rem .1875rem rgba(0,0,0,.05); }
.scene, .scene-indigo, .scene-sand, .scene-lilac { min-height: 13.5rem; border-radius: 1.15rem; background: linear-gradient(165deg, #fdfdfe 0%, #f1f2f6 100%); border: .0625rem solid rgba(0,0,0,.04); }
.feat-text { padding: 1.15rem 1.1rem 1.3rem; }
.feat-text .icon-box { width: 2.25rem; height: 2.25rem; border-radius: .7rem; }
.feat-text .icon-box .i { width: 1.2rem; height: 1.2rem; }
.feat-text h3 { font-size: 1.25rem; line-height: 1.2; margin: .75rem 0 .4rem; }
.feat-text p { font-size: .875rem; line-height: 1.55; }
.glass { box-shadow: 0 .4rem 1.1rem rgba(0,0,0,.1); }
.sync-pane { top: 30%; width: 90%; left: 5%; border-radius: .7rem; box-shadow: 0 .6rem 1.4rem rgba(0,0,0,.2); }
.g-cloud { right: 5%; top: 6%; padding: .3rem .7rem .3rem .3rem; font-size: .75rem; }
.badge-cloud { width: 1.6rem; height: 1.6rem; }
.badge-cloud .i { width: .9rem; height: .9rem; }
.g-joined { left: 5%; bottom: 6%; gap: .3rem; padding: .35rem .5rem; }
.g-joined .dv { font-size: .65rem; padding: .1rem .45rem; }
.g-joined .ok { font-size: .65rem; }
.doc-page { left: 5%; width: 38%; box-shadow: 0 .8rem 1.4rem rgba(0,0,0,.2); border-radius: .6rem; }
.trail { left: 40%; width: 14%; }
.spark { width: .7rem; height: .7rem; }
.fstack { right: 4%; width: 50%; gap: .3rem; }
.fcard { gap: .35rem; padding: .3rem .5rem; border-radius: .7rem; font-size: .68rem; }
.fcard .fi { width: .95rem; height: .95rem; }
.fcard.on { transform: scale(1.04); }
.phone-app { left: 8%; top: 1.1rem; width: 40%; border-radius: 1.5rem 1.5rem 0 0; box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.25); }
.ios-menu { right: 4%; top: 20%; width: 52%; border-radius: 1rem; }
.ios-row { padding: .45rem .6rem; font-size: .66rem; }

/* Privacy: one centred column now that the requirements live with the other requirements */
.dark-grid { max-width: 58rem; margin-inline: auto; grid-template-columns: 1fr !important; }
#privacy .dark-grid > div > .eyebrow, #privacy .dark-grid h2, #privacy .dark-grid .lead { text-align: center; justify-content: center; }
#privacy .dark-grid .eyebrow { display: flex; }
#privacy .lead { max-width: 44rem; margin-inline: auto; }
.checks li strong { color: #fff; }

/* Mac, Inbox scene: Finder first, then the PlicoX AI window */
.px-layer { background: #f6f6f8; opacity: 0; }
.dvc-mac .dv-body.px-layer { grid-template-columns: 9rem 1fr 10rem; }
.px-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: .6rem; color: #8e8e93; }
.dv-bar .bar-px { opacity: 0; }
.gal-slide.is-active .scn .fd-layer { animation-name: g-pdf; }
html.story-static .gal-slide .scn .fd-layer, html:not(.story-on) .gal-slide .scn .fd-layer { animation-name: g-pdf; }
.dv-it.fl-new { background: rgba(241,55,27,.12); }

/* app badges: PlicoX AI (our icon) when the scene is in the app; a plain folder glyph named Files or Finder otherwise (Apple's own icons are not used) */
.app-tag { position: absolute; z-index: 2; top: .45rem; left: .7rem; display: inline-flex; align-items: center; gap: .3rem; font-size: .5rem; font-weight: 700; color: #6e6e73; }
.dvc-ipad .app-tag, .dvc-mac .app-tag { top: .3rem; left: .8rem; }
.ai-ic { display: inline-block; width: .95rem; height: .95rem; border-radius: .28rem; flex: none; object-fit: cover; }
.ai-files, .ai-finder { position: relative; }
.ai-files { background: #fff; box-shadow: inset 0 0 0 .0625rem rgba(0,0,0,.14); }
.ai-finder { background: linear-gradient(135deg, #6bb7ff, #1a7cff); }
.ai-files::after, .ai-finder::after { content: ""; position: absolute; inset: .22rem .14rem .16rem; background: #1a7cff; clip-path: polygon(0 0, 40% 0, 52% 18%, 100% 18%, 100% 100%, 0 100%); border-radius: .08rem; }
.ai-finder::after { background: #fff; }
.dv-bar .bar-px { display: inline-flex; align-items: center; gap: .3rem; }
.dv-lay { position: absolute; inset: 0; display: grid; grid-template-columns: 9rem 1fr; }
.dvc-ipad .dv-bezel { display: block; }
.dvc-ipad .dv-lay.px-layer { background: #f6f6f8; }

.s-inbox.px .fl-nav { color: var(--red-ink); }
.s-inbox.px .fl-new { background: var(--red-soft); }

/* Privacy page: the beta part is visibly apart, so it can be deleted in one piece when the beta ends */
.beta-pointer { margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.toc-beta { margin-top: .75rem; padding-top: .5rem; border-top: .0625rem dashed var(--line); }
.beta-part { margin-top: 4rem; padding: 1.75rem 1.5rem; border: .125rem dashed var(--line); border-radius: 1.25rem; background: #FFFBEB; }
.beta-flag { display: inline-block; margin: 0 0 .5rem; padding: .2rem .7rem; border-radius: 999px; background: #FDE68A; color: #92400E; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.beta-part > h2 { margin-top: .25rem; }

/* clean cut between the pink top of the hero and the white "How it works" part */
.how-works { position: relative; }
.how-works::before { content: ""; position: absolute; z-index: -1; left: 50%; width: 100vw; margin-left: -50vw; top: calc(-1 * clamp(2.5rem, 4.5vw, 4rem)); bottom: -80rem; background: var(--bg); pointer-events: none; }


.ap-outro { margin: 3.5rem auto 0; width: min(52rem, 82vw); text-align: center; }
.ap-out-title { font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1.2; color: var(--ink-strong); text-wrap: balance; }
.ap-out-title .accent { color: var(--red); }
.ap-out-lead { margin: 0 auto; max-width: 40rem; font-size: clamp(1.0625rem, 2vw, 1.1875rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ap-out-cards { display: grid; gap: 1rem; margin-top: 2rem; text-align: left; }
@media (min-width: 640px) { .ap-out-cards { grid-template-columns: 1fr 1fr; } }
.ap-out-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-left: 4px solid var(--red); }
.ap-out-card strong { font-size: 1.0625rem; color: var(--ink-strong); }
.ap-out-card span { color: var(--muted); font-size: 1rem; }
.ap-out-end { margin-top: 2rem; font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.5; color: var(--ink); font-weight: 600; }
.ap-out-end em { font-style: normal; color: var(--red-ink); }

.ap-intro strong { display: block; margin-bottom: .35rem; font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; color: var(--ink-strong); }

.ap-intro { max-width: 44rem; font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; text-wrap: balance; }
.ap-intro strong { display: block; margin: 0; font: inherit; color: var(--ink-strong); }
.ap-intro-2 { display: block; color: var(--red); }

.after-dark { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--bg); }
.after-dark .section-note { margin-top: 0; }

.cta { padding-block: clamp(3.5rem, 6vw, 5rem); }
.cta .cta-actions { margin-top: 0; }

/* ---- Features: six calm cards, one accent each (Apple-style) ---- */
#features .grid-3 { gap: 1.25rem; }
#features .feature { --acc: var(--red); --acc-soft: var(--red-soft); display: flex; flex-direction: column; padding: 1.75rem 1.75rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px -14px rgba(16,24,40,.14); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
#features .feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 28%, #fff); box-shadow: 0 2px 4px rgba(16,24,40,.05), 0 18px 36px -16px rgba(16,24,40,.22); }
#features .f-red { --acc: var(--red-ink); --acc-soft: var(--red-soft); }
#features .f-blue { --acc: var(--blue); --acc-soft: var(--blue-soft); }
#features .f-green { --acc: var(--green); --acc-soft: var(--green-soft); }
#features .f-purple { --acc: var(--purple); --acc-soft: var(--purple-soft); }
#features .f-amber { --acc: var(--amber); --acc-soft: var(--amber-soft); }
#features .f-teal { --acc: #0F766E; --acc-soft: #CCFBF1; }
#features .feature .icon-box { width: 3rem; height: 3rem; margin-bottom: 1.25rem; border-radius: 1rem; background: var(--acc-soft); color: var(--acc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 14%, transparent); }
#features .feature h3 { margin: 0 0 .6rem; font-size: 1.1875rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; color: var(--ink-strong); }
#features .feature p { flex: 1 1 auto; margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
#features .feature p strong { color: var(--ink-strong); font-weight: 700; }
#features .feature .foot { align-self: flex-start; margin-top: 1.1rem; padding: .3rem .75rem; border-radius: 999px; background: var(--acc-soft); color: color-mix(in srgb, var(--acc) 85%, #000); font-size: .75rem; font-weight: 600; }
@media (min-width: 640px) { #features .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { #features .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* moved from inline style attributes (the site's Content-Security-Policy blocks them) */
.gal-slide[data-i="0"], .gal-slide[data-i="3"] { --d: 11s; --poster: -9.8s; }
.gal-slide[data-i="1"] { --d: 21s; --poster: -18s; }
.gal-slide[data-i="2"] { --d: 8s; --poster: -7.4s; }
.know-bar i.w98 { width: 98%; }
.dv-st.dv-st-gap { margin-top: .7rem; }
.fcard.c1 { --c: #6E6FE0; } .fcard.c2 { --c: #F59A3A; } .fcard.c3 { --c: #2FB36B; } .fcard.c4 { --c: #E0792A; } .fcard.c5 { --c: #8E5AD6; }

/* contact form */
.cform-wrap { max-width: 40rem; margin: 0 auto 3rem; }
.cform-wrap h2 { margin-bottom: 1rem; }
.cform { display: grid; gap: 1.1rem; padding: 1.75rem; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cform label { display: grid; gap: .4rem; font-weight: 600; font-size: .9375rem; color: var(--ink-strong); }
.cform input, .cform textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid #D1D5DB; border-radius: var(--radius-md); background: #fff; color: var(--ink); }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-note { font-size: .8125rem; color: var(--muted); }
.cform .btn { justify-self: start; }

.cform-done { padding-block: 6rem; text-align: center; }

/* Hero boxes: "Example figures" note and the redone knowledge box */
.pillar .stage { position: relative; }
.eg-note { position: absolute; inset-inline: 0; bottom: .5rem; text-align: center; font-size: .6875rem; line-height: 1; color: #8a8a96; }
.viz-know { max-width: 14rem; padding: .9rem 1.1rem .85rem; align-items: center; text-align: center; margin-bottom: .6rem; }
.viz-know .know-row { justify-content: center; font-size: .8125rem; line-height: 1.25; }
.know-ring { width: 5.25rem; height: 5.25rem; margin: .5rem 0 .2rem; }
.viz-know .know-bar { width: 100%; margin-top: .45rem; }
.viz-know figcaption { margin-top: .5rem; font-size: .9375rem; }
.viz-know { max-width: 15.5rem; padding: .75rem .9rem .7rem; margin-bottom: 1.1rem; }
.viz-know .know-row { font-size: .75rem; white-space: nowrap; }
.know-ring { width: 4.4rem; height: 4.4rem; margin: .4rem 0 .1rem; }
.viz-know figcaption { margin-top: .4rem; font-size: .875rem; }

/* "Example figures" now sits at the bottom of each card, under the text */
.pillar > p.eg-note { position: static; margin: auto 1.1rem 0; padding-top: 1rem; text-align: center; font-size: .6875rem; line-height: 1; color: #8a8a96; }
.viz-know { margin-bottom: 0; }

/* Trust line under the final buttons, and the "Who makes it" block */
.trust-badges { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.trust-badges span + span::before { content: "\00B7"; margin-inline-end: 1.25rem; color: var(--line); }
.who-makes { margin: 2.5rem auto 0; max-width: 36rem; text-align: center; }
.who-makes h3 { font-size: 1.125rem; margin: 0 0 .4rem; }
.who-makes p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.trust-badges span + span::before { color: var(--muted); margin-inline-end: 1rem; }
.trust-badges { gap: .5rem 1rem; }

/* Beta page: request by email */
.beta-email { margin-top: 1.25rem; max-width: 34rem; }
.beta-email .cform { margin-top: .75rem; }

/* TestFlight steps inside beta step 3: plain numbered list, not cards */
.beta-steps .tf-steps { list-style: decimal; display: block; margin: .6rem 0 .8rem; padding-inline-start: 1.25rem; counter-reset: none; }
.beta-steps .tf-steps li { counter-increment: none; position: static; padding: 0; margin: 0 0 .45rem; background: none; border: 0; border-radius: 0; }
.beta-steps .tf-steps li::before { content: none; }
[dir="rtl"] .beta-steps .tf-steps li { padding: 0; }
.beta-steps .tf-steps strong { display: inline; }

/* Beta consent (explicit acceptance before asking to join) */
.consent { margin: 1.25rem 0; padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); background: var(--amber-soft); border: 1px solid #FDE68A; color: #78350F; font-size: .875rem; line-height: 1.55; max-width: 34rem; }
.consent-title { font-weight: 700; color: #78350F; margin-bottom: .5rem; }
.consent ul { margin: 0 0 1rem 1.1rem; padding: 0; }
.consent li { margin: .3rem 0; }
.consent a { color: #78350F; text-decoration: underline; }
.consent-check { display: flex !important; flex-direction: row; gap: .7rem; align-items: flex-start; font-weight: 600; cursor: pointer; }
.consent-check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--red); }
.consent-hint { margin-top: .6rem; font-size: .8125rem; }
.consent-hint[hidden] { display: none; }
[data-needs-consent].is-locked { opacity: .45; cursor: not-allowed; pointer-events: none; }

.consent-check + .consent-check { margin-top: .75rem; }

/* Legal pages (Privacy, Terms, Legal notice): plain, no highlights, no colour accents. */
.plain.page-hero { background: none; padding-block: 2.5rem 1rem; }
.plain .eyebrow { display: block; margin-bottom: .25rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.plain h1 { font-family: var(--font-body); font-size: 1.75rem; font-weight: 600; letter-spacing: 0; }
.plain.page-hero p.lead { font-size: 1rem; color: var(--muted); }
.plain .prose { font-size: .9375rem; line-height: 1.65; }
.plain .prose h2 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; margin-top: 2rem; }
.plain .prose h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-top: 1.25rem; }
.plain a { color: inherit; text-decoration: underline; }
.plain a:hover { color: inherit; text-decoration-thickness: 2px; }
.plain .summary-box { background: none; border: 0; border-block: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 1rem 0; }
.plain .toc h2 { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; color: var(--ink-strong); }
.plain .toc ol { border-inline-start: 0; }
.plain .toc a { padding: .2rem 0; color: inherit; text-decoration: underline; }
.plain .toc a:hover { color: inherit; }
.plain .toc-beta { border-top: 0; }
.plain .table-wrap { border-radius: 0; }
.plain .prose th { background: none; }
.plain .beta-part { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; margin-top: 3rem; }
.plain .beta-flag { background: none; color: var(--muted); padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 400; }
.plain .notice { background: none; border: 0; border-block: 1px solid var(--line); border-radius: 0; box-shadow: none; padding-inline: 0; }
