/* poleta.app. One stylesheet, no framework, one self-hosted open font.
   Palette from the app's Slate accent (owner 2026-11-04): buttons #2B2D31, state green #334D3A, cool greys. The colour on
   the pages comes from the app's own screens; the chrome stays calm. Redesign 2026-11-13. */

/* Be Vietnam Pro, the app's own typeface (SIL OFL 1.1, licence in assets/fonts/OFL-BeVietnamPro.txt), self-hosted
   (the CSP allows no other origin). Subset to Latin, Latin Extended and Vietnamese, one file per weight. */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/bevietnampro-regular.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/bevietnampro-medium.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/bevietnampro-semibold.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #ECEEF1;
  --surface-3: #E2E5E9;
  --text: #17181B;
  --muted: #4E525A;
  --line: #DADDE2;
  --line-strong: #BFC4CB;
  --ink: #2B2D31;          /* filled buttons */
  --on-ink: #FFFFFF;
  --state: #334D3A;        /* selected, on, done */
  --state-soft: #DFE9E1;
  --link: #2C5638;
  --focus: #2C5638;
  --pro-bg: #DCE7DE;
  --pro-ink: #20352A;
  --deep: #1C1E21;         /* the dark bands (privacy, get the app) in both themes */
  --on-deep: #F1F2F4;
  --on-deep-muted: #B9BEC6;
  --on-deep-line: #34373C;
  --deep-link: #A9CFB4;
  --device: #0C0D0F;
  --wash: radial-gradient(60rem 32rem at 85% 0%, #E3EBE5 0%, rgba(227, 235, 229, 0) 70%);
  --shadow-sm: 0 1px 2px rgba(18, 22, 28, .06), 0 2px 8px -2px rgba(18, 22, 28, .06);
  --shadow-device: 0 2px 6px rgba(12, 16, 22, .10), 0 28px 56px -18px rgba(12, 16, 22, .38);
  /* Corners as in the app: small items 6, fields and chips 8, cards and buttons 12, sheets and large panels 16-20. */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-field: 8px;
  --radius-chip: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-round: 999px;
  --wrap: 76rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: #18191C;
    --surface-2: #1E2023;
    --surface-3: #26292D;
    --text: #ECEDEF;
    --muted: #A9AEB6;
    --line: #2B2E33;
    --line-strong: #3D4147;
    --ink: #E8E9EB;
    --on-ink: #17181B;
    --state: #8FBA9C;
    --state-soft: #22302A;
    --link: #A2CBAE;
    --focus: #A2CBAE;
    --pro-bg: #26382D;
    --pro-ink: #D3E7D8;
    --deep: #0A0B0C;
    --on-deep-line: #24272B;
    --device: #050506;
    --wash: radial-gradient(60rem 32rem at 85% 0%, #18231C 0%, rgba(24, 35, 28, 0) 70%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-device: 0 2px 6px rgba(0, 0, 0, .5), 0 28px 56px -18px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line-strong) var(--bg); accent-color: var(--state); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--state-soft); color: var(--text); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-xs); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.55rem + 2vw, 3rem); letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.75rem); letter-spacing: -.022em; line-height: 1.1; }
h3 { font-size: 1.125rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong, b { font-weight: 600; }
code, .ext { font-family: var(--mono); font-size: .9em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: var(--radius-field); font-weight: 600;
}
.skip:focus { top: 8px; }
.muted { color: var(--muted); }

/* Buttons. Filled = the main action (one per group); ghost = the quiet one. 48 px high, corners 12 (no pills). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px;
  border-radius: var(--radius); font-weight: 600; line-height: 1.2; text-decoration: none; border: 1px solid transparent;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--bg)); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .95rem; }
.badge { display: inline-block; border-radius: 8px; transition: transform .25s var(--ease-out); }
.badge img { height: 48px; width: auto; }
.badge:hover { transform: translateY(-2px) scale(1.03); }
.badge:focus-visible { outline-offset: 4px; }
.cta .badge + .badge { margin-left: 0; }
.btn--store { background: var(--ink); color: var(--on-ink); padding: 8px 20px 8px 16px; min-width: min(12.5rem, 100%); max-width: 100%; justify-content: flex-start; }
.btn--store:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.btn--store span { display: flex; flex-direction: column; align-items: flex-start; font-size: 1.12rem; line-height: 1.15; letter-spacing: -.01em; }
.btn--store small { font-size: .74rem; font-weight: 500; letter-spacing: 0; opacity: .82; }
.btn--store .ico { width: 22px; height: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.75rem; }
.cta--center { justify-content: center; }
.cta__more { margin: .75rem 0 0; font-weight: 500; }
.cta__more a { display: inline-flex; align-items: center; min-height: 48px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 4; }
.site-header .wrap { display: flex; align-items: center; gap: 8px 12px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; margin-right: auto; min-height: 48px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 2px 4px; flex-wrap: wrap; align-items: center; order: 4; width: 100%; margin: 0 -10px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 8px; border-radius: var(--radius-field); font-size: .98rem; min-height: 40px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-cta { order: 3; }
/* Phone header: the menu button (a checkbox and its label, no script) opens the page links and the language menu
   below the bar; "Get the app" stays in the bar. 720 px and up: everything in the bar as before. */
.menu-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.menu-btn { display: none; }
@media (max-width: 719px) {
  .header-cta { order: 1; }
  .menu-btn {
    order: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-field);
    border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
  }
  .menu-btn svg { width: 22px; height: 22px; }
  .menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--focus); outline-offset: 3px; }
  .menu-toggle:checked + .menu-btn { background: var(--surface-2); }
  .site-header .nav, .site-header .lang { display: none; }
  .nav { order: 3; flex-direction: column; align-items: stretch; margin: 4px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav a { min-height: 48px; font-size: 1.02rem; color: var(--text); }
  .site-header .lang { order: 4; margin: 4px 0 8px; }
  .site-header .menu-toggle:checked ~ .nav { display: flex; }
  .site-header .menu-toggle:checked ~ .lang { display: block; }
  [dir="rtl"] .lang ul, .lang ul { left: 0; right: auto; }
}
@media (max-width: 339px) { .header-cta { display: none; } }
@media (min-width: 900px) {
  .nav { order: 0 !important; width: auto; margin: 0 8px 0 0; }
}

/* Language menu: <details>, works without JavaScript */
.lang { position: relative; order: 2; }
.lang summary {
  list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-field);
  font-weight: 500; display: inline-flex; gap: 6px; align-items: center; min-height: 40px; font-size: .95rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 12rem;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .25);
}
.lang li + li { margin: 0; }
.lang a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.lang a:hover { background: var(--surface-2); }
.lang a[aria-current="true"] { font-weight: 600; }

/* Sections */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--alt { background: var(--surface-2); }
.section__head { max-width: 46rem; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.28rem); line-height: 1.55; color: var(--muted); }
.after { margin-top: 24px; }
.note { color: var(--muted); font-size: .95rem; max-width: 52rem; }

/* App screens in a drawn device frame (home page). The frame is CSS; the screens are the app's own. */
.phone {
  display: block; padding: 2.4%; background: var(--device); border-radius: 13% / 6.5%;
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; border-radius: 10.8% / 5.4%; background: #1A1B1E; }
.tablet { margin: 0 auto; max-width: 62rem; padding: 1.1%; background: var(--device); border-radius: 22px; box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tablet img { width: 100%; border-radius: 13px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--wash), var(--bg); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4.4rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: .4em; max-width: 12em; }
.hero .lead { max-width: 34rem; }
.checks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-weight: 500; font-size: .97rem; }
.checks li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.checks .ico { color: var(--state); width: 18px; height: 18px; }
.hero__stage { display: flex; justify-content: center; align-items: flex-end; padding: 8px 0 12px; }
.stage__main { width: 44%; max-width: 300px; position: relative; z-index: 2; }
.stage__side { width: 34%; max-width: 232px; position: relative; z-index: 1; margin-bottom: 6%; }
.stage__side--l { margin-right: -7%; transform: rotate(-6deg); }
.stage__side--r { margin-left: -7%; transform: rotate(6deg); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; }
  .hero__stage { padding: 0; }
}
/* The one authored motion of the site: on load the two side screens fan out from behind the main one. They are
   visible from the first frame (transform only), and stay put with Reduce motion. */
@media (prefers-reduced-motion: no-preference) {
  .stage__main { animation: stage-rise .9s var(--ease-out) .1s both; }
  .stage__side--l { animation: stage-fan-l 1.1s var(--ease-out) .25s both; }
  .stage__side--r { animation: stage-fan-r 1.1s var(--ease-out) .25s both; }
}
@keyframes stage-rise { from { transform: translateY(18px); } to { transform: none; } }
@keyframes stage-fan-l { from { transform: translateX(42%) rotate(0deg) scale(.94); } to { transform: rotate(-6deg); } }
@keyframes stage-fan-r { from { transform: translateX(-42%) rotate(0deg) scale(.94); } to { transform: rotate(6deg); } }

/* Demo video: a poster that links to YouTube (nothing loads from YouTube until the visitor follows the link). */
.demo { padding: clamp(40px, 5vw, 72px) 0 0; }
.demo__link {
  display: grid; gap: 0; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.demo__media { position: relative; display: block; background: #0E1110; }
.demo__media img { width: 100%; aspect-ratio: 1200 / 563; object-fit: cover; }
.demo__play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: #17181B; display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45); transition: transform .25s var(--ease-out);
}
.demo__play .ico { width: 30px; height: 30px; margin-left: 3px; }
.demo__text { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; }
.demo__text strong { font-size: 1.3rem; letter-spacing: -.015em; }
.demo__text span { color: var(--muted); }
.demo__link:hover .demo__play { transform: scale(1.07); }
.demo__link:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (min-width: 820px) {
  .demo__link { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
  .demo__text { padding: 28px 36px; }
  .demo__text strong { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .demo__play { transition: none; } }

/* Feature sections */
.feature { padding: clamp(64px, 8vw, 128px) 0; }
.feature--alt { background: var(--surface-2); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.feature__copy { max-width: 36rem; }
.feature__head { max-width: 46rem; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.feature__head .lead { margin-left: auto; margin-right: auto; max-width: 40rem; }
@media (min-width: 960px) {
  .feature__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .feature__grid--flip .feature__copy { order: 2; }
}
.duo { display: flex; justify-content: center; align-items: flex-start; gap: 5%; padding: 0 2%; }
.duo .phone { width: 45%; max-width: 270px; }
.duo .phone + .phone { margin-top: 12%; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 4px; }
.steps li { counter-increment: step; margin: 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--state-soft); color: var(--state); font-weight: 600; font-size: .95rem; margin-top: 1px;
}
.steps strong { font-size: 1.05rem; }
.steps span { color: var(--muted); }
.aside { margin-top: 1.25rem; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.ticks li { margin: 0; display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.ticks .ico { color: var(--state); margin-top: .18em; width: 20px; height: 20px; }
.ticks--row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 20px; }

.kinds { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; gap: 28px; }
.kinds li { margin: 0; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.kinds img { width: 36px; height: 36px; margin-bottom: 12px; }
.kinds h3 { margin-bottom: .3em; }
.kinds p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* Scan band */
.band { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; max-width: 60rem; }
.band__icon { width: 64px; height: 64px; border-radius: var(--radius-lg); background: var(--state-soft); color: var(--state); display: grid; place-items: center; }
.band__icon .ico { width: 30px; height: 30px; }
.band h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); }
.band p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 44rem; }
@media (min-width: 700px) { .band__grid { grid-template-columns: 64px 1fr; gap: 28px; } }

/* Privacy: the one dark band in the middle of the page */
.privacy { background: var(--deep); color: var(--on-deep); padding: clamp(64px, 8vw, 120px) 0; }
.privacy .lead { color: var(--on-deep-muted); }
.privacy a { color: var(--deep-link); }
.privacy :focus-visible { outline-color: var(--deep-link); }
.privacy__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.privacy__media .phone { width: 62%; max-width: 260px; margin: 0 auto; box-shadow: 0 28px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .privacy__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } .privacy__media .phone { width: 78%; } }
.promise { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0; }
.promise li { margin: 0; display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--on-deep-line); }
.promise li:last-child { border-bottom: 1px solid var(--on-deep-line); }
.promise .ico { width: 26px; height: 26px; color: var(--deep-link); margin-top: 2px; }
.promise strong { display: block; font-size: 1.1rem; margin-bottom: .15em; }
.promise span { color: var(--on-deep-muted); }

/* Everything else: tiles of different sizes */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.bento__item { margin: 0; padding: 24px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.bento__item h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: .45em; }
.bento__item h3 .ico { color: var(--state); width: 24px; height: 24px; }
.bento__item p { margin: 0; color: var(--muted); }
.bento__item--wide { padding-bottom: 0; overflow: hidden; gap: 20px; }
.bento__item--wide img { margin-top: auto; width: 100%; border-radius: 12px 12px 0 0; border: 6px solid var(--device); border-bottom: 0; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__item--wide { grid-column: span 2; } }
@media (min-width: 680px) and (max-width: 999px) { .bento__item:last-child { grid-column: span 2; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento__item--wide { grid-column: span 2; grid-row: span 2; }
}

/* Formats */
.formats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.formats li { margin: 0; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.formats img { width: 40px; height: 40px; }
.formats h3 { font-size: 1.02rem; margin: 0; }
.formats p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Tools */
.toolsets { display: grid; gap: 8px 40px; }
@media (min-width: 900px) { .toolsets { grid-template-columns: 1fr 1fr; } }
.tools { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
@media (max-width: 599px) { .tools { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); } .tools li { font-size: .94rem; gap: 8px; padding: 6px 8px 6px 6px; line-height: 1.25; } .tools img { width: 30px; height: 30px; padding: 3px; } }
.tools li { margin: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; min-height: 52px; }
.tools img { width: 36px; height: 36px; padding: 4px; border-radius: var(--radius-field); background: #F7F8F9; flex: none; }
.tools__group { margin: 24px 0 12px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.pro {
  display: inline-block; padding: 1px 8px; border-radius: var(--radius-sm); background: var(--pro-bg); color: var(--pro-ink);
  font-family: var(--font); font-size: .75rem; font-weight: 600; letter-spacing: .02em; line-height: 1.6; vertical-align: middle;
}
.tools .pro { margin-left: auto; }

/* Pro plans */
.split { display: grid; gap: 24px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: .5em 0 0; color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.tile { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.tile__icon { width: 48px; height: 48px; padding: 6px; border-radius: var(--radius); background: #F7F8F9; border: 1px solid var(--line); }
.tile__icon img { width: 100%; height: 100%; }
.tile h3 { margin: 0 0 .2em; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tile p { margin: 0; color: var(--muted); font-size: .97rem; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-bottom: 24px; }
.plan { position: relative; padding-top: 26px; }
.plan h3 { font-size: 1.3rem; letter-spacing: -.015em; }
.plan--featured { border: 2px solid var(--state); }
.plan__tag { position: absolute; top: -12px; left: 20px; background: var(--state); color: var(--bg); }
@media (prefers-color-scheme: dark) { .plan__tag { color: #111214; } }

/* FAQ and support */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px 16px 20px; font-weight: 600; min-height: 56px; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease-out);
}
.faq details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--link); }
.faq details > :not(summary) { padding: 0 20px; margin: 0 0 .8em; color: var(--muted); }
.faq details > :last-child { padding-bottom: 18px; margin-bottom: 0; }
.faq details[open] > summary { padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq > .section__head, .faq > details, .faq > .after { max-width: 52rem; }
.doc.faq h2 { margin: 2.2em 0 .8em; }
.pagelinks { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1.25em 0 0; }
.pagelinks li { margin: 0; }
.pagelinks a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-chip);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 500; text-decoration: none;
}
.pagelinks a:hover { border-color: var(--text); }
.contact-card {
  display: grid; gap: 14px; align-items: center; padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.contact-card p { margin: 0; }
.contact-card .muted { color: var(--muted); }
@media (min-width: 640px) { .contact-card { grid-template-columns: 1fr auto; } }

/* Get the app (end of the home page) */
.closer { background: var(--deep); color: var(--on-deep); padding: clamp(64px, 8vw, 112px) 0; text-align: center; }
.closer__inner { display: flex; flex-direction: column; align-items: center; }
.closer__inner > img { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 24px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); }
.closer h2 { margin-bottom: .25em; }
.closer p { color: var(--on-deep-muted); margin: 0; }
.closer .btn--store { background: var(--on-deep); color: #17181B; }
.closer .btn--store:hover { background: #FFFFFF; }
.closer a:not(.btn) { color: var(--deep-link); }
.closer :focus-visible { outline-color: var(--deep-link); }

/* Text pages (privacy, terms, support) */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: var(--wrap); }
/* Pages share the header's container, so the title starts under the logo; running text keeps a readable measure,
   wide blocks (tables, plan cards, guide sections) get more room. */
.doc .wrap > *, .guide .wrap > * { max-width: 48rem; }
.doc .wrap > :is(.table-wrap, .plans, .guide-cards, .gsec, .guide-pager, .guide-toc, .pagelinks),
.guide .wrap > :is(.table-wrap, .plans, .guide-cards, .gsec, .guide-pager, .guide-toc, .pagelinks) { max-width: 64rem; }
.doc h1 { margin-bottom: .35em; }
.doc h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); letter-spacing: -.015em; margin-top: 2em; scroll-margin-top: 16px; }
.doc .updated { color: var(--muted); }
.callout { padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); margin: 1.25em 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 600; }
.toc { padding: 14px 18px 14px 2.2em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* 404 */
.notfound { padding: 88px 0; text-align: center; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: var(--radius-lg); }

/* Invite page (/invite?c=CODE): the state blocks are shown by assets/js/invite.js */
.invite { padding: 56px 0 80px; }
.invite .wrap { max-width: 40rem; }
.invite [hidden] { display: none !important; }
.invite-code {
  margin: .25rem 0 1rem; padding: 18px 16px; border: 2px solid var(--state); border-radius: var(--radius); background: var(--surface);
  font: 600 clamp(1.5rem, 7vw, 2.25rem)/1.2 var(--mono); letter-spacing: .06em;
  text-align: center; overflow-wrap: anywhere; user-select: all;
}
.invite-status { min-height: 1.6em; margin: .5rem 0 0; font-weight: 500; color: var(--muted); }
.invite ol { padding-left: 1.4em; }
.invite-copy-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--muted); font-size: .95rem; background: var(--bg); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.site-footer address a { overflow-wrap: anywhere; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr; } }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer nav li { margin: 0; }
.site-footer nav a { display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a { color: var(--text); }
.site-footer strong { color: var(--text); }
.site-footer address { font-style: normal; }

[dir="rtl"] .lang ul { right: auto; left: 0; }
[dir="rtl"] .tools .pro { margin-left: 0; margin-right: auto; }
[dir="rtl"] .plan__tag { left: auto; right: 20px; }
[dir="rtl"] .stage__side--l { margin-right: 0; margin-left: -7%; }
[dir="rtl"] .stage__side--r { margin-left: 0; margin-right: -7%; }

/* User guide */
.guide { padding: 36px 0 72px; }
.guide .wrap { max-width: var(--wrap); }
.guide .lead { max-width: 46rem; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.guide-toc { list-style: none; padding: 0; margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.guide-toc li { margin: 0; }
.guide-toc a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: var(--radius-chip);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.guide-toc a:hover { border-color: var(--line-strong); background: var(--surface-2); }
.gsec { padding: 32px 0; border-top: 1px solid var(--line); display: grid; gap: 20px; align-items: start; }
.gsec:first-of-type { border-top: 0; }
.gsec h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); letter-spacing: -.018em; scroll-margin-top: 16px; }
.gsec h3 { margin-top: 1.2em; }
.gsec ol, .gsec ul { padding-left: 1.4em; }
.gsec ol > li::marker { font-weight: 600; color: var(--muted); }
@media (min-width: 860px) { .gsec { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; } }
.shot { margin: 0; justify-self: center; width: 100%; max-width: min(280px, 78%); }
@media (min-width: 860px) { .shot { max-width: 280px; } }
.shot img { width: 100%; border-radius: var(--radius-xl); border: 6px solid var(--device); background: var(--surface-2); box-shadow: var(--shadow-sm); }
.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: center; }
.path { font-weight: 600; white-space: normal; }
.tip { padding: 12px 16px; border-radius: var(--radius); background: var(--state-soft); border: 1px solid color-mix(in srgb, var(--state) 22%, transparent); margin: 1em 0; font-size: .97rem; }
.guide-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin: 24px 0; }
.guide-card { display: block; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s var(--ease-out); }
.guide-card:hover { border-color: var(--line-strong); }
.guide-card strong { display: block; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: .2em; }
.guide-card span { color: var(--muted); font-size: .97rem; }
.guide-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .guide-card { transition: none; } }

/* Free vs Pro and file formats */
.scroll-hint { display: none; font-size: .9rem; color: var(--muted); margin: 0 0 6px; }
@media (max-width: 720px) { .scroll-hint { display: block; } }
.table-wrap:focus-visible { outline-offset: 2px; }
table caption { text-align: left; font-weight: 600; padding: 0 0 8px; caption-side: top; }
.cmp { min-width: 0; }
.cmp td.c, .cmp th.c { text-align: center; width: 6.5rem; }
@media (max-width: 560px) {
  .cmp { font-size: .92rem; }
  .cmp th, .cmp td { padding: 8px 8px; }
  .cmp td.c, .cmp th.c { width: 3.6rem; font-size: .85rem; }
  .cmp tr.grp th { font-size: 1rem; }
}
.cmp tr.only-pro th[scope="row"] { box-shadow: inset 3px 0 0 var(--state); }
[dir="rtl"] .cmp tr.only-pro th[scope="row"] { box-shadow: inset -3px 0 0 var(--state); }
.cmp tbody th { font-weight: 500; background: var(--surface); }
.cmp tr.grp th { background: var(--surface-2); font-weight: 600; font-size: 1.05rem; }
.cmp .yes { color: var(--state); font-weight: 600; }
.cmp .no { color: var(--muted); }
.fmt { min-width: 60rem; font-size: .95rem; }
.fmt th[scope="row"] { width: 9rem; }
.fmt small { display: block; color: var(--muted); font-size: .85rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; padding: 0; list-style: none; }
.legend li { margin: 0; }

/* User guide: list of pages on the left, content on the right (wide screens) */
.guide-side { display: none; }
@media (min-width: 1000px) {
  .guide .wrap.guide-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 48px; align-items: start; }
  .guide-side {
    display: block; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto;
    padding: 8px 4px 16px 0; border-right: 1px solid var(--line); font-size: .95rem;
  }
  [dir="rtl"] .guide-side { border-right: 0; border-left: 1px solid var(--line); padding: 8px 0 16px 4px; }
  .guide-side__title { font-weight: 600; font-size: 1.05rem; margin: 0 0 10px; }
  .guide-side ol { list-style: none; margin: 0; padding: 0; }
  .guide-side li { margin: 0; }
  .guide-side a {
    display: block; padding: 7px 12px; border-radius: var(--radius-field); color: var(--text); text-decoration: none; line-height: 1.35;
  }
  .guide-side a:hover { background: var(--surface-2); }
  .guide-side .is-current > a { background: var(--surface-3); font-weight: 600; }
  .guide-side__sections { margin: 4px 0 8px 12px !important; border-left: 1px solid var(--line-strong); }
  [dir="rtl"] .guide-side__sections { margin: 4px 12px 8px 0 !important; border-left: 0; border-right: 1px solid var(--line-strong); }
  .guide-side__sections a { padding: 5px 12px; font-size: .9rem; color: var(--muted); border-radius: 0 var(--radius-field) var(--radius-field) 0; }
  [dir="rtl"] .guide-side__sections a { border-radius: var(--radius-field) 0 0 var(--radius-field); }
  .guide-main { min-width: 0; }
  .guide .crumbs, .guide .guide-toc { display: none; }
}
.guide-main > * { max-width: 48rem; }
.guide-main > :is(.table-wrap, .plans, .guide-cards, .gsec, .guide-pager, .guide-toc) { max-width: 64rem; }

/* Blog (tools/build.mjs; redesign 2026-11-13). The list: a header on the hero wash, topic chips, the newest post large,
   then a grid of cards. A chip links to /blog#<topic>; the empty anchor of that id comes before the chips, so
   ":target ~" (no script) swaps the full list for that topic's section. A post: title and picture side by side on wide
   screens, a 68ch text column, "Get Poleta" sticky beside it (wide) or as a bar at the bottom (narrow), related posts.
   Pictures are 1200x630. */
.blog-hero { background: var(--wash), var(--bg); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 72px) 0 clamp(20px, 2.5vw, 32px); }
.blog-hero h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: .3em; }
.blog-hero .lead { max-width: 40rem; margin-bottom: .25em; }
.post-feed { margin: 0; font-size: .95rem; }
.post-feed a { display: inline-flex; align-items: center; min-height: 44px; }
.blog-main { padding-top: 24px; padding-bottom: clamp(56px, 7vw, 104px); }
.topic-anchor { display: block; height: 0; scroll-margin-top: 16px; }

.chips ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-chip);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; font-size: .97rem;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.chip:hover { border-color: var(--text); }
.chip__n { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
/* The chip of what is shown: "All" by default, a topic while its anchor is the target. */
.chip--all,
#pdf:target ~ .chips .chip--pdf, #documents:target ~ .chips .chip--documents, #spreadsheets:target ~ .chips .chip--spreadsheets,
#slides:target ~ .chips .chip--slides, #ai:target ~ .chips .chip--ai, #scan:target ~ .chips .chip--scan,
#privacy:target ~ .chips .chip--privacy, #tips:target ~ .chips .chip--tips { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip--all .chip__n,
#pdf:target ~ .chips .chip--pdf .chip__n, #documents:target ~ .chips .chip--documents .chip__n, #spreadsheets:target ~ .chips .chip--spreadsheets .chip__n,
#slides:target ~ .chips .chip--slides .chip__n, #ai:target ~ .chips .chip--ai .chip__n, #scan:target ~ .chips .chip--scan .chip__n,
#privacy:target ~ .chips .chip--privacy .chip__n, #tips:target ~ .chips .chip--tips .chip__n { color: inherit; opacity: .78; }
.topic-anchor:target ~ .chips .chip--all { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.topic-anchor:target ~ .chips .chip--all .chip__n { color: var(--muted); opacity: 1; }
.topic-anchor:target ~ .post-feature, .topic-anchor:target ~ .blog-all { display: none; }
.topic-sec { display: none; }
.topic-sec .post-tag { display: none; }
#pdf:target ~ .topic-sec--pdf, #documents:target ~ .topic-sec--documents, #spreadsheets:target ~ .topic-sec--spreadsheets,
#slides:target ~ .topic-sec--slides, #ai:target ~ .topic-sec--ai, #scan:target ~ .topic-sec--scan,
#privacy:target ~ .topic-sec--privacy, #tips:target ~ .topic-sec--tips { display: block; }

.blog-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 20px; }
.blog-sec__head h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); letter-spacing: -.02em; margin: 0; }
.blog-sec__head p { margin: 0; color: var(--muted); }
.blog-sec__head a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.blog-all { margin-top: clamp(48px, 6vw, 80px); }

/* The topic of a post: one quiet tag in the state green. */
.post-tag {
  display: inline-flex; align-items: center; padding: 1px 9px; border-radius: var(--radius-sm); background: var(--state-soft);
  color: var(--state); font-size: .8rem; font-weight: 600; letter-spacing: .01em; line-height: 1.65; white-space: nowrap;
}

/* The newest post, large */
.post-feature { margin: 0; }
.post-feature a {
  display: grid; grid-template-columns: minmax(0, 1fr); color: inherit; text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.post-feature__media { display: block; overflow: hidden; background: var(--surface-2); }
.post-feature__media img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 20px 24px; }
.post-feature h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.4rem); letter-spacing: -.027em; line-height: 1.1; margin: 0; }
.post-feature__desc { color: var(--muted); font-size: 1.06rem; line-height: 1.55; }
.post-feature__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--link); }
.post-feature__go .ico { width: 20px; height: 20px; }
[dir="rtl"] .post-feature__go .ico { transform: scaleX(-1); }
.post-feature a:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
@media (min-width: 900px) {
  .post-feature a { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
  .post-feature__text { padding: 32px 40px; }
}

/* Cards */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post-list > li { margin: 0; }
.post-card a {
  display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.post-card a:hover { border-color: var(--line-strong); }
.post-card a:hover strong, .post-card a:focus-visible strong { text-decoration: underline; text-underline-offset: .15em; }
.post-card__media { display: block; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.post-card__media img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px 18px; }
.post-card__text strong { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; }
.post-card__desc {
  color: var(--muted); font-size: .97rem; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.post-card .post-meta { margin-top: auto; padding-top: 2px; }
.post-meta { color: var(--muted); font-size: .9rem; }

/* One post */
.post-head { background: var(--wash), var(--bg); border-bottom: 1px solid var(--line); padding: 20px 0 32px; }
.post-head__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.post-head h1 { font-size: clamp(2rem, 1.45rem + 2.3vw, 3.25rem); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .5em; }
.post-head .crumbs { margin-bottom: 8px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
[dir="rtl"] .crumbs li + li::before { transform: rotate(-135deg); }
.post-head .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.post-head .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: .95rem; }
.post-hero { margin: 0; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--lift, var(--shadow-sm)); }
@media (min-width: 1000px) {
  .post-head { padding: 24px 0 48px; }
  .post-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; }
}

.post-layout { padding-top: clamp(32px, 4vw, 56px); }
.post-body { max-width: 68ch; font-size: 1.08rem; line-height: 1.72; }
.post-body > p:first-child { font-size: clamp(1.15rem, 1.08rem + .3vw, 1.28rem); line-height: 1.6; letter-spacing: -.006em; }
.post-body h2 { margin: 2.1em 0 .55em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.018em; scroll-margin-top: 16px; }
.post-body h3 { margin: 1.7em 0 .4em; font-size: 1.18rem; }
.post-body h2 + h3 { margin-top: .6em; }
.post-body a { font-weight: 500; }
.post-body ul, .post-body ol { list-style: none; padding: 0; margin: 0 0 1.25em; }
.post-body li + li { margin-top: .55em; }
.post-body ul > li { position: relative; padding-inline-start: 1.45em; }
.post-body ul > li::before {
  content: ""; position: absolute; inset-inline-start: .3em; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--state);
}
.post-body ol { counter-reset: step; }
.post-body ol > li { counter-increment: step; position: relative; padding-inline-start: 2.5em; min-height: 1.8em; }
.post-body ol > li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: .12em; width: 1.75em; height: 1.75em; border-radius: 50%;
  display: grid; place-items: center; background: var(--state-soft); color: var(--state); font-weight: 600; font-size: .86em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* App screens stand on a soft stage; wide pictures run the width of the text. */
.post-body .shot {
  display: block; max-width: none; width: 100%; margin: 32px 0; padding: 28px 16px 16px; border-radius: var(--radius-xl);
  background: var(--surface-2); border: 1px solid var(--line);
}
.post-body .shot img { width: 100%; max-width: 240px; margin: 0 auto; box-shadow: var(--shadow-device); }
.post-body .shot figcaption { max-width: 34rem; margin: 14px auto 0; }
.pic { margin: 32px 0; }
.pic img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); display: block; }
.pic figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.post-body .tip, .post-body .callout { font-size: 1rem; }

/* Get Poleta: a sticky card beside the text (wide), a bar at the bottom of the screen while reading (narrow). */
.post-get__title { margin: 0; font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.post-get__line { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.post-get__more { margin: 0; font-size: .95rem; }
.post-get__more a { display: inline-flex; align-items: center; min-height: 44px; }
.post-get__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.post-get__icon { width: 56px; height: 56px; border-radius: 14px; }
@media (min-width: 1080px) {
  .post-layout { display: grid; grid-template-columns: minmax(0, 68ch) 17.5rem; justify-content: space-between; gap: 64px; align-items: start; }
  .post-get {
    position: sticky; top: 24px; display: grid; gap: 14px; padding: 22px 22px 14px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .post-get__text { display: grid; gap: 4px; }
  .post-get__badges { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 1079px) {
  .post-get {
    position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 48px -16px 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px -14px rgba(12, 16, 22, .28);
  }
  .post-get__icon { width: 40px; height: 40px; border-radius: 10px; flex: none; }
  .post-get__text { flex: 1; min-width: 0; }
  .post-get__line, .post-get__more { display: none; }
  .post-get__badges { flex: none; flex-wrap: nowrap; }
  .post-get .badge img { height: 44px; width: auto; }
}
@media (min-width: 640px) and (max-width: 1079px) { .post-get { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; } }
@media (max-width: 479px) { .post-get__text { display: none; } .post-get { justify-content: space-between; } }
@media (max-width: 374px) { .post-get__icon { display: none; } .post-get { justify-content: center; } }

.post-related { margin-top: clamp(56px, 7vw, 96px); padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); background: var(--surface-2); border-top: 1px solid var(--line); }
.post-related .post-card a { background: var(--surface); }
@media (prefers-reduced-motion: reduce) { .post-card a, .chip { transition: none; } }

/* Contact form (/contact, assets/js/contact.js). Fields at least 48px high, labels above, errors in words. */
.contact-form { display: grid; gap: 18px; max-width: 40rem; margin: 1.5rem 0; padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); }
/* display: grid above would beat the hidden attribute: the form is hidden until the script runs, and after Sent. */
.contact-form[hidden] { display: none; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-weight: 600; }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-field);
  min-height: 48px; padding: 10px 12px; width: 100%; max-width: 100%; }
.contact-form textarea { resize: vertical; min-height: 10rem; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border: 2px solid #B3261E; }
.contact-form .field-hint { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.turnstile { min-height: 65px; }
.form-status { margin: 0; padding: 10px 12px; border-radius: var(--radius-field); border: 1px solid var(--line); background: var(--surface-2); }
.form-status--error { border-color: #B3261E; }
@media (prefers-color-scheme: dark) {
  .contact-form [aria-invalid="true"], .form-status--error { border-color: #F2B8B5; }
}

/* ------------------------------------------------------------------------------------------------ motion
   Livelier pages (owner 2026-11-13). CSS only, transform / translate / opacity, no layout shift. Everything here runs
   only with "no preference" for reduced motion; scroll reveals only where the browser has scroll-driven animations,
   so without them every element is simply there. Reveals animate `translate` and hovers `transform`, so they never
   fight over one property. */
:root { --glow-1: rgba(96, 160, 118, .30); --glow-2: rgba(128, 150, 190, .24); --lift: 0 16px 36px -16px rgba(16, 20, 26, .26); }
@media (prefers-color-scheme: dark) { :root { --glow-1: rgba(84, 150, 106, .22); --glow-2: rgba(92, 112, 160, .20); --lift: 0 18px 40px -16px rgba(0, 0, 0, .7); } }

.hero__grid { position: relative; z-index: 1; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: min(70vw, 860px); aspect-ratio: 1;
}
.hero::before { right: -12%; top: -30%; background: radial-gradient(closest-side, var(--glow-1), rgba(0, 0, 0, 0)); }
.hero::after { left: -18%; bottom: -45%; background: radial-gradient(closest-side, var(--glow-2), rgba(0, 0, 0, 0)); }

/* Style tiles in Create with AI: three real screens of one deck, Prism Soft, Harbor, Meadow, cross-fading. */
.phone--cycle { position: relative; }
.phone--cycle img + img { position: absolute; top: 0; left: 0; margin: 2.4%; width: 95.2%; opacity: 0; }

/* Cards lift a little under the pointer */
.bento__item, .plan, .guide-card, .post-card a, .post-feature a, .demo__link, .tools li, .kinds li { transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), border-color .2s var(--ease-out); }
.bento__item:hover, .plan:hover, .guide-card:hover, .post-card a:hover, .post-feature a:hover, .demo__link:hover, .tools li:hover { box-shadow: var(--lift); }
.post-card__media img, .post-feature__media img, .post-feature__go .ico { transition: transform .5s var(--ease-out); }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: glow-drift 22s ease-in-out infinite alternate; }
  .hero::after { animation: glow-drift 28s ease-in-out -9s infinite alternate-reverse; }
  .stage__main .phone { animation: float 7s ease-in-out 1.1s infinite; }
  .stage__side--l .phone { animation: float-sm 8.5s ease-in-out 1.6s infinite; }
  .stage__side--r .phone { animation: float-sm 9.5s ease-in-out 2.2s infinite; }
  .phone--cycle img:nth-child(2) { animation: cycle-2 10.5s ease-in-out 1s infinite; }
  .phone--cycle img:nth-child(3) { animation: cycle-3 10.5s ease-in-out 1s infinite; }
  .bento__item:hover, .plan:hover, .guide-card:hover, .post-card a:hover, .tools li:hover { transform: translateY(-4px); }
  .demo__link:hover { transform: translateY(-3px); }
  .post-feature a:hover { transform: translateY(-3px); }
  .post-card a:hover .post-card__media img, .post-feature a:hover .post-feature__media img { transform: scale(1.04); }
  .post-feature a:hover .post-feature__go .ico { transform: translateX(4px); }
  [dir="rtl"] .post-feature a:hover .post-feature__go .ico { transform: scaleX(-1) translateX(4px); }
  .btn:hover { transform: translateY(-1px); }
}
@keyframes glow-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-7%, 5%) scale(1.1); } 100% { transform: translate(4%, -4%) scale(.94); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes cycle-2 { 0%, 28% { opacity: 0; } 34%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes cycle-3 { 0%, 61% { opacity: 0; } 67%, 93% { opacity: 1; } 99%, 100% { opacity: 0; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature__copy, .feature__media, .feature__head, .tablet, .kinds li, .band__grid, .privacy__media, .privacy__grid > div:last-child,
    .section__head, .bento__item, .post-list > li, .formats li, .toolsets > div, .plans .plan, .ticks--row, .faq details, .demo__link, .closer__inner {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 26%;
    }
    .kinds li:nth-child(2), .bento__item:nth-child(3n+2), .post-list > li:nth-child(3n+2), .plans .plan:nth-child(2), .formats li:nth-child(3n+2) { animation-range: entry 12% cover 31%; }
    .kinds li:nth-child(3), .bento__item:nth-child(3n), .post-list > li:nth-child(3n), .plans .plan:nth-child(3), .formats li:nth-child(3n) { animation-range: entry 19% cover 36%; }
    /* The two screens beside each feature drift at different speeds while the section scrolls by. */
    .duo .phone:first-child { animation: drift-a linear both; animation-timeline: view(); animation-range: cover; }
    .duo .phone + .phone { animation: drift-b linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes drift-a { from { translate: 0 18px; } to { translate: 0 -18px; } }
@keyframes drift-b { from { translate: 0 48px; } to { translate: 0 -48px; } }

address { font-style: normal; }
