/* ==========================================================================
   Rocuo - base styles, shared by the main site AND every product page.
   One header, one footer, one set of type, spacing, buttons and parts, so that
   moving between rocuo.com and a product page changes nothing but the content.

   Order of a page:  fonts.css -> base.css -> site.css (main site) OR product.css (product pages).
   Colour rule: the page is neutral (white, paper, ink). A product's own colour
   (--p-brand) is for the main button, links, focus rings and one italic word.
   Everything else that has colour is a picture of the product.
   ========================================================================== */

:root {
  --font-display: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* neutral palette */
  --bg: #ffffff;
  --bg-soft: #f8f7f4;
  --bg-tint: #efede8;
  --ink: #0e0f12;
  --ink-2: #3f424a;
  --ink-3: #686c75;
  --line: #e7e5e0;
  --line-2: #d3d0c9;

  /* the accent: the main site uses Rocuo's violet, a product page overrides these in product.css */
  --p-brand: #591ee4;
  --p-brand-hover: #4915c0;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;
  --shadow-s: 0 1px 2px rgba(14, 15, 18, 0.06);
  --shadow-m: 0 14px 34px -14px rgba(14, 15, 18, 0.2), 0 2px 6px rgba(14, 15, 18, 0.05);
  --shadow-l: 0 50px 90px -40px rgba(14, 15, 18, 0.35), 0 16px 32px -16px rgba(14, 15, 18, 0.14);

  --gutter: 20px;
  --max: 1200px;
  --header-h: 68px;
}

/* Side space: the owner's rule is at least 80px on both sides on a tablet and a desktop, so nothing touches the screen's
   edge. A phone is too narrow for that, so it gets 20px. The header and the content use the same value and line up. */
@media (min-width: 768px) {
  :root { --gutter: 80px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Moving between pages: both pages share the same header, so a soft cross-fade shows no jump at all.
   Only Chrome-based browsers do this today. The others simply load the next page. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }

[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

body {
  /* worked out here, on the body, so a product's own --p-brand (set on body[data-product]) is the one used */
  --p-soft: color-mix(in srgb, var(--p-brand) 8%, #fff);
  --p-line: color-mix(in srgb, var(--p-brand) 28%, #fff);

  margin: 0;
  font: 400 16px/1.65 var(--font-sans);
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
svg.icon, .icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 2px solid var(--p-brand); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display { font-size: clamp(2.3rem, 1rem + 5.6vw, 6rem); line-height: 0.98; letter-spacing: -0.025em; }
.h1 { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.5rem); line-height: 1; letter-spacing: -0.022em; }
.h2 { font-size: clamp(2.1rem, 1.35rem + 2.8vw, 3.6rem); line-height: 1.04; }
.h3 { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.1rem); line-height: 1.1; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--p-brand); }

.title { font: 600 18px/1.4 var(--font-sans); color: var(--ink); letter-spacing: -0.01em; }

.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
p { text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow img { width: 20px; height: 20px; border-radius: 5px; }
.eyebrow b { font-weight: 500; color: var(--p-brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-sans); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--p-brand); color: #fff; }
.btn--primary:hover { background: var(--p-brand-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2c33; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-tint); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--soon { background: var(--bg-soft); color: var(--ink-3); border-color: var(--line); cursor: default; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color 0.18s, color 0.18s;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.18s; }
.link-arrow:hover { border-color: var(--p-brand); color: var(--p-brand); }
.link-arrow:hover .icon { transform: translateX(3px); }

.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.18s, color 0.18s; }
.text-link:hover { color: var(--p-brand); text-decoration-color: var(--p-brand); }

/* ==========================================================================
   Header. The same bar, at the same height and the same place, on every page.
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; height: var(--header-h); gap: 20px; }

.brand-cluster { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 17px/1 var(--font-sans); letter-spacing: -0.015em; }
.brand--rocuo img { width: 123px; height: 26px; }
.brand--product img { width: 30px; height: 30px; border-radius: 8px; }
.brand-sep { width: 1px; height: 22px; background: var(--line-2); transform: rotate(18deg); }
.brand-mark { display: none; }

.site-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px;
  border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: 500 14.5px/1 var(--font-sans); color: var(--ink-2);
  transition: color 0.15s, background-color 0.15s;
}
.menu-link:hover, .menu-link[aria-expanded="true"] { color: var(--ink); background: var(--bg-soft); }
.menu-link[aria-current="page"] { color: var(--ink); }
.menu-link .icon { width: 14px; height: 14px; color: var(--ink-3); transition: transform 0.18s; }
.menu-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -10px; z-index: 5; min-width: 340px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.16s, transform 0.16s, visibility 0s linear 0.16s;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
/* Opened by a click or the Enter key (chrome.js sets .is-open) or, with a mouse, by hovering. Not by focus alone,
   so that Escape can close it while the button still has focus. */
.has-dropdown.is-open > .dropdown {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (hover: hover) {
  .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.dropdown-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background-color 0.15s; }
.dropdown-item:hover { background: var(--bg-soft); }
.dropdown-item img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.dropdown-item__text { display: grid; gap: 2px; min-width: 0; }
.dropdown-item__title { font: 600 15px/1.25 var(--font-sans); color: var(--ink); }
.dropdown-item__note { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.dropdown-item[aria-current="page"] .dropdown-item__title::after { content: 'You are here'; margin-left: 10px; font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.dropdown-sep { height: 1px; background: var(--line); margin: 6px 12px; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: none; cursor: pointer; position: relative;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, top 0.2s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Up to 1199px the menu is a drawer. The longest header (HTML Email to Figma: wordmark, product name, five menu items and a
   button) needs about 975px and the side space takes 160px, so from 1200px it fits. Change this number together with the
   same number in /assets/shared/js/chrome.js, and test with: node tools/shoot.js ../.shots 1024,1199,1200 <pages> --same-header */
@media (max-width: 1199px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 8px var(--gutter) 28px; overflow-y: auto; background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu-link { width: 100%; height: 58px; padding: 0 2px; justify-content: space-between; border-radius: 0; font-size: 18px; color: var(--ink); background: none !important; }
  .dropdown {
    position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; background: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .nav-actions { margin: 0; }
  .nav-actions .btn { width: 100%; height: 52px; }
}

html.nav-open { overflow: hidden; }

@media (max-width: 480px) {
  .brand--rocuo img { width: 108px; height: 23px; }
}

/* a product page: the Rocuo wordmark, a slash, then the product's own icon and name */
@media (max-width: 560px) {
  .site-header--product .brand--rocuo { display: none; }
  .site-header--product .brand-mark { display: inline-flex; }
  .site-header--product .brand-mark img { width: 26px; height: 26px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-grid { display: grid; gap: 44px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 18px; align-content: start; max-width: 38ch; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.footer-col h2 { font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 15px; color: var(--ink-2); transition: color 0.15s; }
.footer-col a:hover { color: var(--p-brand); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.6; color: var(--ink-3);
}
.footer-bottom a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--p-brand); text-decoration-color: var(--p-brand); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; max-width: none; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Parts used on many pages
   ========================================================================== */

/* section heading: a label and a big title on the left, a few lines of text on the right */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { max-width: 46ch; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: end; }
}
.section-head--stack { grid-template-columns: 1fr; max-width: 760px; }
.section-head--center { text-align: center; justify-items: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }

/* a picture on a quiet stage */
.stage { position: relative; overflow: hidden; background: var(--bg-tint); border-radius: var(--radius-l); }
.stage--soft { background: var(--bg-soft); border: 1px solid var(--line); }
.stage img { margin-inline: auto; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--bg-tint); color: var(--ink); }
.icon-tile .icon { width: 22px; height: 22px; }
.shadowed { filter: drop-shadow(0 18px 26px rgba(14, 15, 18, 0.14)) drop-shadow(0 3px 6px rgba(14, 15, 18, 0.08)); }

/* a window around a picture */
.frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #fbfaf8; border-bottom: 1px solid var(--line); }
.frame__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame__title { margin-left: 10px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.02em; color: var(--ink-3); }
.frame img { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: 500 13px/1 var(--font-sans); color: var(--ink-2);
}
.pill img { width: 18px; height: 18px; border-radius: 5px; }
.pill--soon { color: var(--ink-3); background: var(--bg-soft); }
.pill--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1a9d5c; }

kbd {
  display: inline-block; min-width: 24px; padding: 4px 7px; text-align: center;
  font: 500 12px/1 var(--font-mono); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px;
}
.keys { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.keys i { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* a list with small ticks */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--p-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks b { color: var(--ink); font-weight: 600; }

/* questions and answers */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none;
  padding: 24px 0; font: 600 18px/1.4 var(--font-sans); letter-spacing: -0.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 18px; height: 18px; color: var(--ink-3);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--p-brand); }
.faq__a { max-width: 68ch; padding: 0 44px 26px 0; color: var(--ink-2); }
.faq__a p + p { margin-top: 12px; }
.faq__a ol, .faq__a ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.faq__a li::marker { color: var(--ink-3); }
.faq__a strong { color: var(--ink); font-weight: 600; }
.faq__a code { font: 500 0.88em var(--font-mono); padding: 2px 6px; border-radius: 6px; background: var(--bg-tint); color: var(--ink); }
.faq__a .fig { margin-top: 18px; }
.faq__a a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.faq__a a:hover { color: var(--p-brand); text-decoration-color: var(--p-brand); }

/* text pages: legal text and long guides */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font: 400 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1.15 var(--font-display); letter-spacing: -0.012em; color: var(--ink); margin-top: 56px; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 18px/1.4 var(--font-sans); color: var(--ink); margin-top: 32px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.prose a:hover { color: var(--p-brand); text-decoration-color: var(--p-brand); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code, code.inline { font: 500 0.88em var(--font-mono); padding: 2px 6px; border-radius: 6px; background: var(--bg-tint); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.table-wrap table { min-width: 560px; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 20px; }
/* On a phone a table with long text becomes a stack of small cards. Each cell carries its column name in data-label. */
@media (max-width: 599px) {
  .table-wrap.table-wrap--stack { border: 0; background: transparent; overflow: visible; }
  .table-wrap--stack table { min-width: 0; }
  .table-wrap--stack table, .table-wrap--stack tbody, .table-wrap--stack tr, .table-wrap--stack td { display: block; }
  .table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap--stack tr { margin-top: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
  .table-wrap.table-wrap--stack td { padding: 0; border: 0; }
  .table-wrap--stack td + td { margin-top: 12px; }
  .table-wrap--stack td::before { content: attr(data-label); display: block; margin-bottom: 3px; font: 500 10.5px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
  .table-wrap--stack td:first-child { font-weight: 600; color: var(--ink); }
}

/* a quiet notice */
.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--bg-soft); font-size: 15px; line-height: 1.6; color: var(--ink-2);
}
.note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-3); }
.note strong { color: var(--ink); }
.note--brand { background: var(--p-soft); border-color: var(--p-line); }
.note--brand .icon { color: var(--p-brand); }

/* the closing band: the one dark block of a page */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; position: relative; overflow: hidden; }
.cta-band__icon { width: 56px; height: 56px; border-radius: 14px; }
.cta-band .h2 { color: #fff; max-width: 16ch; }
.cta-band .h2 em { color: #fff; opacity: 0.62; }
.cta-band p { color: rgba(255, 255, 255, 0.74); max-width: 46ch; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.2rem); line-height: 1.6; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.cta-band .btn--ghost:hover { border-color: #fff; }
.cta-band__text { display: grid; gap: 24px; justify-items: start; }
.cta-band__fine { grid-column: 1 / -1; width: 100%; max-width: none !important; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font: 500 12px/1.4 var(--font-mono) !important; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5) !important; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* a subpage opens with the product's icon, a label, a title and a few lines */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--bg); }
.page-hero__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.page-hero__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-s); }
.page-hero .h1 { margin-top: 16px; }
.page-hero .lead { margin-top: 22px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (min-width: 900px) {
  .page-hero__row { grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; }
  .page-hero__icon { width: 88px; height: 88px; border-radius: 22px; margin-top: 8px; }
}

.meta { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 12px/1 var(--font-mono); letter-spacing: 0.02em; color: var(--ink-2); }
.meta b { font-weight: 500; color: var(--ink); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin-bottom: 28px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); transition: color 0.15s; }
.crumbs a:hover { color: var(--p-brand); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }

/* buying: the Buy button and the words next to it. Paddle's own window opens in front of the page (/assets/shared/js/checkout.js).
   Closed shop: the button is off and the note says why. Open shop: checkout.js turns the button on and hides the note. */
.buy { display: grid; gap: 12px; justify-items: start; }
.buy__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.buy .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.buy__note, .buy__status { max-width: 46ch; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.buy__status { color: #8a2a2a; }
.buy__status:empty { display: none; }
.cta-band .buy__note { color: rgba(255, 255, 255, 0.6); }
.cta-band .buy__status { color: #ffb4ae; }
.cta-band .buy .btn--primary[disabled] { background: rgba(255, 255, 255, 0.16); }

/* the small print under a plan or a price: who sells it, when it renews, how to stop it */
.fine-print { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.fine-print a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.fine-print a:hover { color: var(--p-brand); text-decoration-color: var(--p-brand); }
.fine-print > p { max-width: 76ch; }

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
}

