/* site.css — the Isometry Works website (index.html), the Union Notes page (unionnotes.html), their
   privacy statements and the Isometry Works account page (account.html, its own section at the end).
   One column, 1120 px at most, over a moving background (backdrop.js); the app's own teal and
   yellow on tinted neutrals, light and dark. EB Garamond is the voice of both sites: every heading,
   lead and quote and the running prose. Arimo sets the two wordmarks, the system's own sans what is
   small or works like an interface (labels, buttons, chips, tables, menus), and Caveat the hand (the
   "Notes" of the product's name). */
:root {
  --bg: #eff4f4;
  --surface: #ffffff;
  --surface-2: #e3f1ee;
  --text: #132221;
  --muted: #5f7276;
  --border: #d4dddd;
  --accent: #0d8a7d;
  --accent-2: #0b7469;
  --accent-deep: #0a6a60;
  --accent-ink: #ffffff;
  --accent-soft: rgba(13, 138, 125, 0.1);
  --highlight: #f5c211;
  --highlight-ink: #1b1b1f;
  --deep: #0b2d29;
  --deep-2: #0e3b36;
  --deep-ink: #e7f3f1;
  --veil: rgba(239, 244, 244, 0.86);
  --shadow: 0 18px 50px rgba(11, 45, 41, 0.16);
  /* glass: a card's translucent surface, the light along its top edge, and the blur a desktop frosts it with */
  --glass: color-mix(in srgb, var(--surface) 76%, transparent);
  --glass-edge: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(10px) saturate(1.25);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --brand: Arimo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "EB Garamond", Garamond, "Iowan Old Style", "Times New Roman", serif;
  --hand: Caveat, "Segoe Print", "Bradley Hand", cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1517; --surface: #161f20; --surface-2: #15302e; --text: #e6eeee; --muted: #8fa1a3; --border: #2a3839;
    --accent: #35c4b5; --accent-2: #4fd6c7; --accent-deep: #6adccf; --accent-ink: #062320; --accent-soft: rgba(53, 196, 181, 0.16);
    --highlight: #ffd43b; --highlight-ink: #1b1b1f; --deep: #0a2522; --deep-2: #0e3330; --deep-ink: #e7f3f1;
    --veil: rgba(14, 21, 23, 0.84); --shadow: 0 18px 50px rgba(0, 0, 0, 0.45); --glass-edge: rgba(255, 255, 255, 0.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1517; --surface: #161f20; --surface-2: #15302e; --text: #e6eeee; --muted: #8fa1a3; --border: #2a3839;
  --accent: #35c4b5; --accent-2: #4fd6c7; --accent-deep: #6adccf; --accent-ink: #062320; --accent-soft: rgba(53, 196, 181, 0.16);
  --highlight: #ffd43b; --highlight-ink: #1b1b1f; --deep: #0a2522; --deep-2: #0e3330; --deep-ink: #e7f3f1;
  --veil: rgba(14, 21, 23, 0.84); --shadow: 0 18px 50px rgba(0, 0, 0, 0.45); --glass-edge: rgba(255, 255, 255, 0.07);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; }
  /* The marks' edges are drawn by an animation: without it they are shown drawn. */
  .hero .mark .e, .iw-art .mark .e { stroke-dashoffset: 0 !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: color var(--hover-t, 0.34s) var(--ease-soft, ease), text-decoration-color var(--hover-t, 0.34s) var(--ease-soft, ease); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.008em; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.9rem); }
h3 { font-size: 1.36rem; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--highlight); }
.lead { color: var(--muted); font-family: var(--display); font-size: 1.32rem; line-height: 1.5; max-width: 42rem; }
/* Buttons. Each keeps its fill (--btn-fill over --btn-bg) whatever happens to it: a gradient cannot
   be animated, and swapping it for a flat colour on hover dropped the gradient at once and faded the
   colour in from nothing, the page flashing through. On hover a second fill (--btn-lit) fades in over
   the first while the button rises a little, its edge (--btn-line-lit) and its glow (--btn-shadow-lit,
   as many shadows as --btn-shadow, so that one becomes the other) growing on the same curve; a press
   sets it down. A variant sets the variables, never the properties. */
:root { --ease-soft: cubic-bezier(.2, .7, .2, 1); --hover-t: 0.34s; }
.btn {
  --btn-bg: transparent;
  --btn-fill: linear-gradient(180deg, var(--accent), var(--accent-2));
  --btn-lit: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff), color-mix(in srgb, var(--accent-2) 86%, #fff));
  --btn-line: var(--accent-2);
  --btn-line-lit: var(--accent);
  --btn-shadow: 0 1px 2px rgba(11, 45, 41, 0.18), 0 12px 28px -14px color-mix(in srgb, var(--accent) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --btn-shadow-lit: 0 2px 4px rgba(11, 45, 41, 0.14), 0 18px 36px -14px color-mix(in srgb, var(--accent) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0.8rem 1.3rem; border-radius: 12px;
  border: 1.5px solid var(--btn-line); background-color: var(--btn-bg); background-image: var(--btn-fill); box-shadow: var(--btn-shadow);
  color: var(--accent-ink); font: 600 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft), border-color var(--hover-t) var(--ease-soft), color var(--hover-t) var(--ease-soft);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--btn-lit); opacity: 0; transition: opacity var(--hover-t) var(--ease-soft); pointer-events: none; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); border-color: var(--btn-line-lit); box-shadow: var(--btn-shadow-lit); }
  .btn:hover::before { opacity: 1; }
}
.btn:focus-visible { border-color: var(--btn-line-lit); box-shadow: var(--btn-shadow-lit); }
.btn:focus-visible::before, .btn:active::before { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
.btn.ghost {
  --btn-bg: color-mix(in srgb, var(--surface) 70%, transparent); --btn-fill: none; --btn-lit: var(--accent-soft);
  --btn-line: var(--accent); --btn-line-lit: var(--accent-2);
  --btn-shadow: 0 0 0 0 transparent, 0 10px 24px -20px transparent;
  --btn-shadow-lit: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent), 0 14px 30px -18px var(--glow);
  color: var(--accent-deep);
}
.btn.big { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.highlight { background: linear-gradient(transparent 58%, rgba(245, 194, 17, 0.55) 58%, rgba(245, 194, 17, 0.55) 92%, transparent 92%); padding: 0 0.1em; }
section { padding-block: 5rem; position: relative; }
section + section { border-top: 1px solid var(--border); }
.section-head { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.fine { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- the moving background, behind everything (backdrop.js) */
canvas.backdrop { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---- the wordmarks. The company's: "isometry works" in lower case, the i's dot its yellow point,
   as at the octahedron's heart. The product's: "Union" typed and "Notes" written, typed text and
   handwriting together, the i's dot the yellow point in the nib's breather hole. */
.wm { font-family: var(--brand); font-weight: 700; letter-spacing: -0.025em; line-height: 1; white-space: nowrap; color: var(--text); }
.wm .w { font-weight: 400; color: var(--accent-deep); letter-spacing: -0.01em; }
.dot-i { position: relative; display: inline-block; }
.dot-i::after { content: ''; position: absolute; left: 50%; top: 0.1em; width: 0.215em; height: 0.215em; margin-left: -0.1075em; border-radius: 50%; background: var(--highlight); }
.un-wm { font-family: var(--brand); font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; color: var(--text); }
.un-wm em { font-family: var(--hand); font-style: normal; font-weight: 600; font-size: 1.42em; letter-spacing: 0; color: var(--accent); margin-left: 0.12em; line-height: 0.7; }
.lockup { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.lockup .mk { width: 34px; height: 34px; color: var(--accent); flex: none; }
.lockup img.mk { border-radius: 9px; }
.lockup .wm, .lockup .un-wm { font-size: 1.36rem; }
.by { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.86rem; text-decoration: none; white-space: nowrap; }
.by svg { width: 16px; height: 16px; color: var(--accent); }
.by .wm { font-size: 1em; color: var(--muted); }
.by .wm .w { color: inherit; }
.by, .by .wm { transition: color var(--hover-t) var(--ease-soft); }
.by svg { transition: transform 0.6s var(--ease-soft); }
.by:hover, .by:hover .wm { color: var(--accent-deep); }
/* a lockup's mark turns a little towards the pointer, lit, as if picked up */
.lockup .mk { transition: transform 0.6s var(--ease-soft), filter 0.6s var(--ease-soft); }
@media (hover: hover) {
  .lockup:hover .mk { transform: rotate(-10deg) scale(1.06); filter: drop-shadow(0 0 10px var(--glow)); }
  .lockup:hover img.mk { transform: rotate(-5deg) scale(1.05); }
  .by:hover svg { transform: rotate(-14deg); }
}

/* ---- header: a glass bar over the moving background, the page blurred through it (the one blur a
   phone pays for: a bar's height, fixed), with a fine lit edge where the page meets it */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background-color: color-mix(in srgb, var(--bg) 68%, transparent); backdrop-filter: saturate(1.35) blur(12px); -webkit-backdrop-filter: saturate(1.35) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--accent) 12%, var(--border)); transition: background-color 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft); }
/* once the page has moved under it (site.js), the header thickens a little and casts its light */
.top.scrolled { background-color: color-mix(in srgb, var(--bg) 84%, transparent); border-bottom-color: color-mix(in srgb, var(--accent) 26%, var(--border)); }
.top .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.top .brandline { display: flex; align-items: center; gap: 14px; min-width: 0; }
.top .brandline .by { padding-left: 14px; border-left: 1px solid var(--border); }
.top nav { display: flex; gap: 1.3rem; margin-left: auto; }
.top nav a { position: relative; padding: 0.3rem 0; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.85; white-space: nowrap; transition: color var(--hover-t) var(--ease-soft), opacity var(--hover-t) var(--ease-soft); }
/* the line of light under a link grows from its middle */
.top nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--highlight)); box-shadow: 0 0 10px var(--glow); transform: scaleX(0); transition: transform 0.42s var(--ease-soft); }
.top nav a:hover, .top nav a:focus-visible { opacity: 1; color: var(--accent-deep); }
.top nav a:hover::after, .top nav a:focus-visible::after { transform: scaleX(1); }
.top .cta { display: flex; gap: 0.6rem; margin-left: auto; }
.top nav + .cta { margin-left: 0; }
.top .cta { align-items: center; }
.top .cta .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
/* the way to the Isometry Works account (account.html), before the header's buttons: a person and its word, the word folded away on a phone */
.top .acct-link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.4rem 0.7rem; border-radius: 10px; color: var(--text); font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color var(--hover-t) var(--ease-soft), background-color var(--hover-t) var(--ease-soft); }
.top .acct-link .ic { width: 20px; height: 20px; color: var(--accent-deep); }
.top .acct-link:hover, .top .acct-link:focus-visible { background: var(--accent-soft); color: var(--accent-deep); }

/* ---- the tabs of the product page: one line under the header, the section on the screen marked */
.tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 9; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.35) blur(12px); -webkit-backdrop-filter: saturate(1.35) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--accent) 10%, var(--border)); box-shadow: inset 0 -1px 0 var(--glass-edge); }
.tabs .wrap { position: relative; display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { position: relative; isolation: isolate; flex: none; padding: 0.8rem 0.9rem; color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color var(--hover-t) var(--ease-soft); }
/* under the pointer, a soft pill; the tab of the section in view in the accent */
.tabs a::before { content: ''; position: absolute; inset: 0.42rem 0.18rem 0.32rem; z-index: -1; border-radius: 9px; background: var(--accent-soft); opacity: 0; transform: scale(0.9); transition: opacity var(--hover-t) var(--ease-soft), transform var(--hover-t) var(--ease-soft); }
@media (hover: hover) {
  .tabs a:hover { color: var(--text); }
  .tabs a:hover::before { opacity: 1; transform: none; }
}
.tabs a[aria-current] { color: var(--accent-deep); border-bottom-color: var(--accent); }
/* with site.js, one line under the tabs that glides to the tab in view (--tab-x, --tab-w) */
.tabs .wrap.glide a[aria-current] { border-bottom-color: transparent; }
.tabs .wrap.glide::after { content: ''; position: absolute; left: 0; bottom: 0; width: var(--tab-w, 0px); height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--highlight))); box-shadow: 0 0 12px var(--glow); transform: translateX(var(--tab-x, 0px)); transition: transform 0.55s var(--ease-soft), width 0.55s var(--ease-soft); pointer-events: none; }

/* ================================================================ the company's page */
.hero { padding-block: 4.4rem 3.6rem; text-align: center; display: grid; justify-items: center; gap: 1.3rem; }
.hero .mark { width: 132px; height: 132px; color: var(--accent); overflow: visible; }
/* The mark forms as in the app's introduction: its faces first, its edges drawn, the point lit. */
.hero .mark .e { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.6, .1, .3, 1) forwards; }
.hero .mark .e2 { animation-delay: 0.7s; }
.hero .mark .e3 { animation-delay: 1.2s; }
.hero .mark .pt { transform-origin: 24px 24px; transform-box: view-box; animation: light 0.9s 1.8s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes light { from { transform: scale(0); } to { transform: scale(1); } }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.7rem, 1.4rem + 4.2vw, 4.8rem); letter-spacing: -0.012em; line-height: 1.02; max-width: 15ch; }
.hero h1 em { font-style: italic; }
.hero .lead { font-size: 1.42rem; max-width: 40rem; }

.vision { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vision > div { display: grid; gap: 0.6rem; align-content: start; padding: 1.3rem 1.3rem 1.4rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); font-family: var(--display); font-size: 1.16rem; line-height: 1.45; color: var(--muted); text-align: left; }
.vision svg { width: 100%; height: 64px; }
.vision b { display: block; color: var(--accent-deep); font-size: 1.4rem; font-weight: 600; }

/* ---- the founder's story: a lit band of its own, in the third person, with the founder's own words
   as glowing quotes: the founder beside the opening, then the workflow as one figure across the band
   (where each stage came apart, and what Union Notes connects), the two names in one card, their
   figures side by side over the one idea they share, and the story's last words */
/* A lit band (the story, and the privacy statements' Sci AI, security and cookies): dark in both themes, glowing teal and yellow */
.lit { background: radial-gradient(55% 50% at 10% 14%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%), radial-gradient(42% 40% at 92% 88%, color-mix(in srgb, var(--highlight) 16%, transparent), transparent 72%), linear-gradient(165deg, var(--deep), var(--deep-2)); color: var(--deep-ink); overflow: hidden; }
section.lit, section.lit + section { border-top: 0; }
.lit .section-head .eyebrow { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.lit h2 { color: #fff; text-shadow: 0 0 32px color-mix(in srgb, var(--accent) 55%, transparent); }
.lit .lead { color: color-mix(in srgb, var(--deep-ink) 85%, transparent); }
.story { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 3rem; align-items: center; } /* the opening is shorter than the founder's card: level with its middle */
.founder { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 30px 70px -30px rgba(0, 0, 0, 0.6); }
.portrait { width: 100%; max-width: 236px; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px color-mix(in srgb, var(--highlight) 85%, transparent), 0 0 34px 6px color-mix(in srgb, var(--accent) 50%, transparent), 0 0 90px 14px color-mix(in srgb, var(--highlight) 16%, transparent); animation: halo 7s ease-in-out infinite; } /* the whole photograph, as large as the card allows */
@keyframes halo { 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--highlight) 95%, transparent), 0 0 46px 10px color-mix(in srgb, var(--accent) 62%, transparent), 0 0 110px 18px color-mix(in srgb, var(--highlight) 24%, transparent); } }
.founder b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.founder .role { color: var(--deep-ink); opacity: 0.8; font-size: 0.95rem; line-height: 1.4; }
.prose { font-family: var(--display); font-size: 1.24rem; line-height: 1.6; max-width: 64ch; display: flex; flex-direction: column; gap: 1.2rem; }
.prose .big { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem); line-height: 1.38; font-weight: 500; color: #fff; }
.prose p { text-wrap: pretty; } /* no paragraph ends on a line of one word */
.quote { position: relative; margin: 0; padding: 1.25rem 1.5rem 1.3rem 3.6rem; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.12), 0 22px 60px -18px color-mix(in srgb, var(--accent) 60%, transparent); font-family: var(--display); font-style: italic; font-size: clamp(1.32rem, 1.12rem + 0.7vw, 1.62rem); line-height: 1.42; color: #fff; }
.quote::before { content: '\201C'; position: absolute; left: 0.95rem; top: 0.1rem; font: 600 4.2rem/1 var(--display); color: var(--highlight); text-shadow: 0 0 22px color-mix(in srgb, var(--highlight) 75%, transparent); }
.quote p { margin: 0; }
/* The workflow end to end, and where the work came apart: one figure across the band. Five glass
   tiles hang on one spine, a node with the stage's icon at the top of each, and a yellow light runs
   along the spine from the first stage to the last: each tile draws the piece of spine from its node
   to the next (over the tiles' top edges, under the nodes) and the light crosses it in the tile's
   turn (--k), lighting the node it reaches. The pieces stand still with motion reduced, the light
   never shows. On a phone the tiles stack and the spine runs down their side. */
.workflow { --wf-gap: 1rem; --wf-node: 44px; --wf-slot: 1.7s; --wf-cycle: 9s; margin: 2.8rem 0 0; }
.workflow .lead-in, .workflow figcaption { max-width: 64ch; font-family: var(--display); font-size: 1.24rem; line-height: 1.5; color: var(--deep-ink); text-wrap: pretty; }
.workflow .lead-in { margin-bottom: 1.9rem; }
.workflow figcaption { margin-top: 1.5rem; }
.stages { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wf-gap); margin: 0; padding: 0; list-style: none; }
.stages li { position: relative; display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; padding: calc(var(--wf-node) / 2 + 0.8rem) 1.1rem 1.15rem; border-radius: 18px; background: linear-gradient(170deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -30px rgba(0, 0, 0, 0.6); font-family: var(--display); }
.stages li:nth-child(1) { --k: 0; }
.stages li:nth-child(2) { --k: 1; }
.stages li:nth-child(3) { --k: 2; }
.stages li:nth-child(4) { --k: 3; }
.stages li:nth-child(5) { --k: 4; }
.stages b { color: #fff; font-size: 1.22rem; font-weight: 600; line-height: 1.2; text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.stages .was { font-size: 1.04rem; line-height: 1.42; color: var(--deep-ink); text-wrap: pretty; }
.stages .wf-node { --node-rest: 0 0 0 4px color-mix(in srgb, var(--deep) 75%, transparent), 0 0 18px -2px color-mix(in srgb, var(--accent) 60%, transparent); position: absolute; z-index: 2; top: calc(var(--wf-node) / -2); left: 50%; width: var(--wf-node); height: var(--wf-node); margin-left: calc(var(--wf-node) / -2); display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, #fff 9%, var(--deep-2)); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: var(--node-rest); animation: wf-lit var(--wf-cycle) ease-out infinite; animation-delay: calc(var(--k) * var(--wf-slot)); }
.stages .wf-node .ic { width: 22px; height: 22px; color: var(--highlight); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--highlight) 60%, transparent)); }
@keyframes wf-lit { 0%, 16%, 100% { box-shadow: var(--node-rest); } 3% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--deep) 75%, transparent), 0 0 30px 3px color-mix(in srgb, var(--highlight) 65%, transparent); } }
/* a tile's piece of the spine, from its node's centre to the next's: the line is one background layer, the light another, a dot that crosses the piece in the tile's turn and waits off its end */
.stages li:not(:last-child)::after { content: ''; position: absolute; z-index: 1; top: -10px; left: 50%; right: calc(-1 * var(--wf-gap) - 50%); height: 20px; pointer-events: none; --wf-dot: radial-gradient(circle, var(--highlight) 0 4px, color-mix(in srgb, var(--highlight) 45%, transparent) 6px, transparent 10px); --wf-line: linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, transparent), color-mix(in srgb, var(--accent) 85%, transparent)); background: var(--wf-dot) -20px 50% / 20px 20px no-repeat, var(--wf-line) 0 50% / 100% 3px no-repeat; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 55%, transparent)); animation: wf-run var(--wf-cycle) linear infinite; animation-delay: calc(var(--k) * var(--wf-slot)); }
@keyframes wf-run { 0% { background-position: -20px 50%, 0 50%; } 18.9% { background-position: calc(100% + 20px) 50%, 0 50%; } 18.91%, 100% { background-position: -20px 50%, 0 50%; } }
/* the founder's second thought, after the figure: a quote on its own, as wide as the story's last */
.story-quote { max-width: 52rem; margin: 2.2rem auto 0; }
/* the two names: one glass card, lit from its corner; the two figures side by side, each over its name,
   and under them the one sentence they share */
.names { position: relative; display: grid; gap: 1.4rem; justify-items: center; max-width: 54rem; margin: 3.2rem auto 0; padding: 1.8rem 2rem 2rem; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.65), 0 0 60px -30px color-mix(in srgb, var(--accent) 70%, transparent); overflow: hidden; text-align: center; }
.names::before { content: ''; position: absolute; width: 46%; aspect-ratio: 1; left: -12%; top: -55%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 65%); pointer-events: none; }
.names > * { position: relative; }
.names-head { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.2rem); color: #fff; }
.name-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; width: 100%; }
.name { display: grid; gap: 0.6rem; justify-items: center; }
.name b { font-family: var(--display); font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem); font-weight: 600; line-height: 1.12; color: #fff; }
.name b span { font-weight: 400; color: color-mix(in srgb, var(--accent) 60%, #fff); }
.names p { max-width: 38rem; font-family: var(--display); font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.34rem); line-height: 1.5; color: var(--deep-ink); text-wrap: balance; }
.name-art { width: 100%; max-width: 320px; height: auto; overflow: visible; }
/* An isometry: the triangle's image under a rotation and a translation, each side the same length (the ticks match), and its copy moving there */
.iso-art .side { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: color-mix(in srgb, var(--accent) 80%, #fff); stroke-width: 2.4; stroke-linejoin: round; }
.iso-art .tick { fill: none; stroke: var(--highlight); stroke-width: 2.2; stroke-linecap: round; }
.iso-art .from { opacity: 0.55; }
.iso-art .to .side { fill: color-mix(in srgb, var(--accent) 45%, transparent); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 80%, transparent)); }
.iso-art .ghost { opacity: 0; transform-origin: 57.33px 78.67px; animation: iso-move 7s cubic-bezier(.55, .05, .35, 1) infinite; }
.iso-art .ghost .side { fill: none; stroke: var(--highlight); stroke-dasharray: 5 5; }
.iso-art .arc { fill: none; stroke: color-mix(in srgb, var(--deep-ink) 40%, transparent); stroke-width: 1.6; stroke-dasharray: 3 6; }
.iso-art .run { fill: var(--highlight); filter: drop-shadow(0 0 6px var(--highlight)); offset-path: path('M98 66C126 22 160 18 182 48'); animation: iso-run 7s cubic-bezier(.55, .05, .35, 1) infinite; }
@keyframes iso-move { 0%, 10% { transform: none; opacity: 0; } 18% { opacity: 1; } 62% { transform: translate(164.67px, -14.67px) rotate(32deg); opacity: 1; } 74%, 100% { transform: translate(164.67px, -14.67px) rotate(32deg); opacity: 0; } }
@keyframes iso-run { 0%, 10% { offset-distance: 0%; opacity: 0; } 18% { opacity: 1; } 62% { offset-distance: 100%; opacity: 1; } 74%, 100% { offset-distance: 100%; opacity: 0; } }
/* A union: three sets drawn together into one, the yellow point at its heart */
.union-art .set { fill: color-mix(in srgb, var(--accent) 20%, transparent); stroke: color-mix(in srgb, var(--accent) 80%, #fff); stroke-width: 2.2; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 55%, transparent)); }
.union-art .a { animation: set-a 7s ease-in-out infinite; }
.union-art .c { animation: set-c 7s ease-in-out infinite; }
.union-art .core { fill: var(--highlight); filter: drop-shadow(0 0 8px var(--highlight)); transform-origin: 140px 58px; animation: core 7s ease-in-out infinite; }
.union-art text { fill: color-mix(in srgb, var(--deep-ink) 80%, transparent); font: italic 500 15px var(--display); letter-spacing: 0.04em; }
@keyframes set-a { 0%, 12% { transform: translateX(-46px); } 50%, 88% { transform: none; } 100% { transform: translateX(-46px); } }
@keyframes set-c { 0%, 12% { transform: translateX(46px); } 50%, 88% { transform: none; } 100% { transform: translateX(46px); } }
@keyframes core { 0%, 40% { transform: scale(0.4); opacity: 0.4; } 55%, 85% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(0.4); opacity: 0.4; } }
.story-end { display: grid; gap: 1.2rem; max-width: 52rem; margin: 2.6rem auto 0; text-align: center; font-family: var(--display); font-size: 1.3rem; line-height: 1.5; color: var(--deep-ink); }
.story-end .quote { text-align: left; }

/* the first product, on the company's page: a card with its picture */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; padding: 2rem; border-radius: 24px; background: var(--deep); color: var(--deep-ink); box-shadow: var(--shadow); overflow: hidden; }
.teaser .lockup { gap: 14px; }
.teaser .lockup img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.teaser .un-wm { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); color: #fff; }
.teaser .un-wm em { color: #7fe3d7; }
.teaser .tag { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); color: #fff; margin-top: 1rem; }
.teaser p { color: var(--deep-ink); opacity: 0.9; font-family: var(--display); font-size: 1.2rem; line-height: 1.5; margin-top: 0.6rem; max-width: 34rem; }
.teaser .actions { margin-top: 1.4rem; }
.teaser .btn {
  --btn-bg: #fff; --btn-fill: none; --btn-lit: var(--highlight); --btn-line: transparent; --btn-line-lit: transparent;
  --btn-shadow: 0 0 0 0 transparent, 0 10px 24px -20px transparent;
  --btn-shadow-lit: 0 0 0 4px color-mix(in srgb, var(--highlight) 26%, transparent), 0 16px 34px -16px var(--glow-hi);
  color: var(--deep);
}
.teaser .btn.ghost {
  --btn-bg: transparent; --btn-lit: rgba(255, 255, 255, 0.12); --btn-line: rgba(255, 255, 255, 0.4); --btn-line-lit: rgba(255, 255, 255, 0.78);
  --btn-shadow-lit: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 16px 34px -18px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.teaser .runs { margin-top: 1.1rem; font-size: 0.88rem; opacity: 0.75; }
.teaser .shot { border-radius: 14px; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* the product's icon and picture are links too: they answer the pointer as the lockups' marks and the
   cards do (the glow layer's two shadows at rest, two lit ones here, so one becomes the other) */
.teaser .lockup img, .teaser .shot { transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft); }
@media (hover: hover) {
  .teaser .lockup:hover img { transform: rotate(-5deg) scale(1.05); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4), 0 0 44px -2px color-mix(in srgb, var(--accent) 85%, transparent); }
  .teaser a:hover .shot { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 90px -16px color-mix(in srgb, var(--accent) 85%, transparent); }
}

/* ================================================================ the product's page */
.product { background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 80%, transparent), transparent 75%); }
.product-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3rem; align-items: center; }
.product-title { display: flex; align-items: center; gap: 18px; margin-bottom: 0.4rem; }
.product-title img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 30px rgba(13, 138, 125, 0.3); }
.product-title h1 { margin: 0; }
.product-title .un-wm { font-size: clamp(2.5rem, 1.7rem + 2.8vw, 3.8rem); }
.product .by { font-size: 0.95rem; margin-bottom: 1.2rem; }
.product .tag { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.15rem); font-weight: 500; line-height: 1.22; margin: 0 0 0.8rem; max-width: 30ch; }
.product .lead { margin-bottom: 1.6rem; }
.btn.play svg { width: 17px; height: 17px; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.1rem; }
.soon > span:first-child { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-right: 0.2rem; }
.os { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem 0.3rem 0.55rem; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent-deep); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 0.86rem; font-weight: 600; }
.os .ic { width: 16px; height: 16px; }
.window { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* the whole range: the five stops from the everyday to Sci AI, the plans over them, Union Notes'
   reach under them to the yellow point, and how far most notebook apps go */
.spectrum { display: grid; grid-template-columns: 1.12fr 1.12fr 1fr 1fr 0.86fr; column-gap: 0.75rem; row-gap: 0.75rem; }
.sp-plan { grid-row: 1; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.2rem 0.3rem 0.9rem; position: relative; }
.sp-plan::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 0.25rem; height: 10px; border: 2px solid var(--accent); border-bottom: 0; border-radius: 8px 8px 0 0; opacity: 0.55; }
.sp-plan b { font-size: 1.05rem; }
.sp-plan span { font-size: 0.86rem; color: var(--muted); }
.sp-plan.free { grid-column: 1 / 3; }
.sp-plan.free b { color: var(--accent-deep); font-size: 1.25rem; }
.sp-plan.free::after { border-color: var(--highlight); opacity: 1; border-width: 3px; }
.sp-plan.pro { grid-column: 3 / 5; }
.sp-plan.max { grid-column: 5 / 6; }
.sp-tier { grid-row: 2; display: flex; flex-direction: column; gap: 0.55rem; padding: 1.15rem 1rem 1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.sp-tier::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.sp-tier:nth-of-type(1)::before { opacity: 0.25; }
.sp-tier:nth-of-type(2)::before { opacity: 0.45; }
.sp-tier:nth-of-type(3)::before { opacity: 0.7; }
.sp-tier:nth-of-type(4)::before { opacity: 0.9; }
.sp-tier:nth-of-type(5)::before { background: var(--highlight); }
.sp-tier small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-deep); }
.sp-tier .own { display: none; }
.sp-tier b { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.sp-tier ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; flex: 1; align-content: flex-start; }
.sp-tier li { font-size: 0.8rem; line-height: 1.25; padding: 0.22rem 0.5rem; border-radius: 7px; background: var(--surface-2); color: var(--text); }
.sp-tier .for { display: flex; gap: 0.45rem; align-items: flex-start; padding-top: 0.6rem; margin-top: 0.2rem; border-top: 1px solid var(--border); font-size: 0.84rem; line-height: 1.35; color: var(--muted); }
.sp-tier .for .ic { width: 17px; height: 17px; color: var(--accent); margin-top: 1px; }
.sp-band { grid-row: 3; grid-column: 1 / -1; position: relative; height: 14px; margin: 0.4rem 0 0.1rem; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), var(--accent) 62%, var(--accent-2) 92%, var(--highlight)); }
.sp-band::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent 0 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%) 0 0 / 220% 100% no-repeat; animation: sheen 6s linear infinite; mix-blend-mode: soft-light; }
.sp-band .pen { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 5px rgba(245, 194, 17, 0.25), 0 0 18px rgba(245, 194, 17, 0.7); animation: travel 9s cubic-bezier(.45, 0, .55, 1) infinite; }
.sp-band .end { position: absolute; right: -4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 6px rgba(245, 194, 17, 0.24); animation: pulse 3s ease-in-out infinite; }
@keyframes sheen { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@keyframes travel { 0% { left: 0; } 70%, 100% { left: 100%; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(245, 194, 17, 0.12); } }
.sp-reach { grid-row: 4; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.9rem; font-weight: 700; }
.sp-reach.ours { grid-column: 1 / -1; color: var(--accent-deep); padding-right: 30px; }
.sp-reach.ours span:last-child { color: var(--muted); font-weight: 600; }
.sp-reach.others { grid-row: 5; grid-column: 1 / 3; justify-self: start; width: 62%; min-width: 15rem; position: relative; height: 34px; padding: 0 1rem; border-radius: 999px; background: linear-gradient(90deg, var(--border), color-mix(in srgb, var(--border) 60%, transparent)); color: var(--muted); }
.sp-reach.others::after { content: ''; position: absolute; right: -10px; top: 50%; width: 3px; height: 26px; margin-top: -13px; border-radius: 2px; background: var(--muted); opacity: 0.6; }
.sp-reach.others small { font-weight: 600; }
.sp-note { grid-row: 5; grid-column: 3 / -1; align-self: center; padding-left: 1.4rem; color: var(--muted); font-family: var(--display); font-size: 1.12rem; }
.spectrum.seen .sp-tier { animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) both; }
.spectrum.seen .sp-tier:nth-of-type(2) { animation-delay: 0.08s; }
.spectrum.seen .sp-tier:nth-of-type(3) { animation-delay: 0.16s; }
.spectrum.seen .sp-tier:nth-of-type(4) { animation-delay: 0.24s; }
.spectrum.seen .sp-tier:nth-of-type(5) { animation-delay: 0.32s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* what comes together: every kind of work on one page, in its eight families */
.kinds-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.kinds-head .key { display: flex; gap: 0.8rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.kinds-head .key span { display: inline-flex; align-items: center; gap: 0.35rem; }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
.family { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem 1rem 1.05rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.family h3 { font-family: var(--sans); display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.family h3 span { font-family: var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.family ul { list-style: none; display: grid; gap: 0.4rem; }
.kind { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.15rem 0.6rem; padding: 0.45rem 0.6rem; border-radius: 11px; background: color-mix(in srgb, var(--surface-2) 72%, transparent); } /* a tint on the family's glass */
@media (hover: hover) { .kind:hover { transform: translateX(2px); } }
.kind .ic { grid-row: span 2; width: 20px; height: 20px; color: var(--accent-deep); }
.kind b { font-size: 0.9rem; line-height: 1.2; }
.kind small { grid-column: 2; font-size: 0.76rem; line-height: 1.2; color: var(--muted); }
.pl { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.04em; padding: 0.12rem 0.42rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.pl.max { background: var(--highlight); color: var(--highlight-ink); }
.connected { margin-top: 1.6rem; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.6rem 2.4rem; align-items: center; padding: 1.8rem 2rem; border-radius: 22px; background: var(--deep); color: var(--deep-ink); box-shadow: var(--shadow); }
.connected h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: #fff; }
.connected h3 i { font-style: normal; color: var(--highlight); }
.connected p { margin-top: 0.6rem; font-family: var(--display); font-size: 1.2rem; line-height: 1.5; opacity: 0.9; }
.pairs { list-style: none; display: grid; gap: 0.7rem; }
.pairs li { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; gap: 0.6rem; }
.pairs span { padding: 0.5rem 0.85rem; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.92rem; line-height: 1.3; }
.pairs span:last-child { text-align: right; }
.pairs i { position: relative; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.25); }
.pairs i::after { content: ''; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 10px rgba(245, 194, 17, 0.7); animation: shuttle 3.2s ease-in-out infinite alternate; }
.pairs li:nth-child(2) i::after { animation-delay: -1.1s; }
.pairs li:nth-child(3) i::after { animation-delay: -2.2s; }
@keyframes shuttle { from { left: 0; } to { left: calc(100% - 10px); } }

/* the pictures, from the first stroke to the specialist, and what is in each behind Look closer */
.features .section-head { flex-direction: row; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.strip-nav { display: flex; gap: 0.5rem; }
.strip-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background-color: var(--surface); color: var(--text); font-size: 1.2rem; cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: 0 0 0 0 transparent, 0 8px 20px -16px transparent; transition: transform var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft), border-color var(--hover-t) var(--ease-soft), background-color var(--hover-t) var(--ease-soft), color var(--hover-t) var(--ease-soft); }
@media (hover: hover) { .strip-nav button:hover { transform: translateY(-2px); border-color: var(--accent); background-color: color-mix(in srgb, var(--accent) 9%, var(--surface)); color: var(--accent-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 11%, transparent), 0 12px 24px -14px var(--glow); } }
.strip-nav button:active { transform: scale(0.93); transition-duration: 0.12s; }
.strip-wrap { margin-inline: calc(50% - 50vw); }
.strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc(50vw - 560px)); padding: 6px max(20px, calc(50vw - 560px)) 26px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
/* each picture on a glass plate (the glass rules below), its label and Look closer in the picture's corners */
.strip figure { position: relative; flex: 0 0 min(78%, 860px); margin: 0; padding: 8px; border-radius: 22px; border: 1px solid var(--border); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 15px; }
.strip .step { position: absolute; left: 22px; top: 22px; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(11, 45, 41, 0.72); color: #fff; font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.closer summary { list-style: none; position: absolute; right: 22px; top: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem 0.5rem 0.8rem; border-radius: 999px; background-color: var(--highlight); color: var(--highlight-ink); font-weight: 700; font-size: 0.9rem; cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); transition: transform var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft), background-color var(--hover-t) var(--ease-soft); }
.closer summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .closer summary:hover { transform: translateY(-2px); background-color: color-mix(in srgb, var(--highlight) 80%, #fff); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 34px -2px var(--glow-hi); } }
.closer summary:active { transform: scale(0.96); transition-duration: 0.12s; }
.closer summary .ic { transition: transform 0.5s var(--ease-soft); }
@media (hover: hover) { .closer summary:hover .ic { transform: scale(1.14); } }
.closer summary .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.closer summary .shut, .closer[open] summary .open { display: none; }
.closer[open] summary .shut { display: inline; }
.closer-body { position: absolute; inset: 8px; z-index: 1; overflow: auto; padding: 1.3rem 1.5rem 1.5rem; border-radius: 15px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); animation: open 0.28s ease-out; }
@keyframes open { from { transform: scale(0.98); } }
.closer-body h3 { font-size: 1.25rem; padding-right: 12rem; margin-bottom: 0.9rem; }
.closer-body dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.4rem; }
.closer-body dl div { min-width: 0; }
.closer-body dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent-deep); }
.closer-body dd { margin: 0.15rem 0 0; font-size: 0.9rem; line-height: 1.45; color: var(--text); }
.closer-body .plan-of { display: inline-block; margin-left: 0.35rem; vertical-align: 1px; }

/* plans, and the table of what each has */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem 1.6rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.plan.free { border-color: var(--highlight); box-shadow: 0 0 0 4px rgba(245, 194, 17, 0.18); }
.plan .badge { position: absolute; top: -13px; right: 1.2rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--highlight); color: var(--highlight-ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.plan .badge.teal { background: var(--accent); color: var(--accent-ink); }
.plan h3 { font-size: 1.7rem; }
.plan .for { color: var(--muted); font-family: var(--display); font-size: 1.14rem; line-height: 1.45; }
.plan .price { display: flex; align-items: baseline; gap: 0.3rem; font-variant-numeric: tabular-nums; }
.plan .price b { font-family: var(--display); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; font-size: 3rem; letter-spacing: -0.02em; line-height: 1; }
.plan .price span { color: var(--muted); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.94rem; }
.plan li { padding-left: 1.6rem; position: relative; line-height: 1.42; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.plan li.plus { color: var(--muted); }
.plan li.plus::before { content: '+'; }
.plan li.grp { padding: 0.5rem 0 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.plan li.grp::before { content: none; }
.plan .btn { margin-top: auto; }
/* Pro's two ways to pay: by the month (the button), or by the year (the link under it), both to the account page's checkout */
.plan-buy { display: flex; flex-direction: column; gap: 0.55rem; margin-top: auto; }
.plan-buy .btn { margin-top: 0; }
.plan-year { align-self: center; padding: 0.2rem 0.4rem; color: var(--accent-deep); font-size: 0.95rem; font-weight: 600; }
/* the prices' one condition, said once under the cards, before the fine print */
.pricing .vat { margin-top: 1.5rem; text-align: center; font-weight: 700; color: var(--accent-deep); }
.pricing .vat + .fine { margin-top: 0.6rem; }
/* positioned, so that what is hidden for screen readers inside it scrolls with it rather than widening the page */
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); position: sticky; top: 0; } /* a lighter tint than the groups': its grey words read on it */
.compare tbody th { font-weight: 500; color: var(--text); }
.compare tr.group th { background: var(--surface-2); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.compare tr.group th span { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 0.5rem; }
.compare .yes { color: var(--accent-deep); font-weight: 700; } /* the deeper teal: the table's glass is lighter than its surface was */
.compare .no::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); opacity: 0.45; vertical-align: middle; }
.compare tfoot td, .compare tfoot th { font-weight: 700; border-bottom: 0; }

/* ---- footer: the lockup, where to go, privacy, and the company's details (Dutch law: BW 3:15d) */
.foot { position: relative; overflow: hidden; isolation: isolate; padding-block: 3.6rem 2rem; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 72%, transparent); color: var(--muted); font-size: 0.93rem; } /* glass too, the moving background showing through (no blur: it is a page's width) */
/* The brand's mark, large and faint, behind the columns: the octahedron for the company, the nib for the product. */
.foot::after { content: ''; position: absolute; z-index: -1; right: max(-70px, calc((100% - 1120px) / 2 - 110px)); bottom: -90px; width: 360px; height: 360px; background: var(--accent); opacity: 0.075; -webkit-mask: var(--foot-mark) center / contain no-repeat; mask: var(--foot-mark) center / contain no-repeat; pointer-events: none; }
.iw .foot { --foot-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.1' stroke-linejoin='round'%3E%3Cpath d='M5.1 30.6L10.8 14.5L24 4L42.9 17.4L37.2 33.5L24 44z'/%3E%3Cpath d='M24 4L37.2 33.5M24 4L5.1 30.6M24 44L42.9 17.4M37.2 33.5L5.1 30.6M10.8 14.5L42.9 17.4'/%3E%3Cpath stroke-opacity='.45' d='M24 44L5.1 30.6M24 44L10.8 14.5M5.1 30.6L10.8 14.5'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='2.6'/%3E%3C/svg%3E"); }
.un .foot { --foot-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='150 92 212 336'%3E%3Cg fill='none' stroke='black' stroke-width='5' stroke-linejoin='round'%3E%3Cpath d='M173 223.4L173.2 202.8L177.3 182.7L193.6 127.5L197.8 118.8L204.4 112L212.9 107.5L222.4 106L289.6 106L299.1 107.5L307.6 112L314.2 118.8L318.4 127.5L334.7 182.7L338.8 202.8L339 223.4L335.5 243.6L328.4 262.9L256 414L183.6 262.9L176.5 243.6z'/%3E%3Cpath d='M173 223.4L256 240L339 223.4M256 240V106M256 264V394'/%3E%3C/g%3E%3Ccircle cx='256' cy='240' r='20'/%3E%3C/svg%3E"); }
/* each website's footer holds its own: the company's two columns of links, the product's three */
.foot-grid { --foot-navs: 3; display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--foot-navs), auto); gap: 2rem clamp(2.2rem, 5vw, 4.6rem); }
.iw .foot-grid { --foot-navs: 2; }
.foot-brand { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.foot-brand .lockup .mk { width: 40px; height: 40px; }
.foot-brand .lockup .wm, .foot-brand .lockup .un-wm { font-size: 1.6rem; }
.foot-brand p { max-width: 24rem; line-height: 1.5; }
.foot-brand .motto { font-family: var(--display); font-size: 1.32rem; color: var(--text); }
.promise { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; }
.promise li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.65rem 0.28rem 0.5rem; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--text); font-size: 0.8rem; font-weight: 600; }
.promise .ic { width: 15px; height: 15px; color: var(--accent); stroke-width: 2.1; }
.foot h4 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.9rem; }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.foot nav a { position: relative; color: var(--text); text-decoration: none; transition: color var(--hover-t) var(--ease-soft); }
/* a hairline drawn under the link from its start */
.foot nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; border-radius: 1px; background: linear-gradient(90deg, var(--accent), var(--highlight)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-soft); }
.foot nav a:hover, .foot nav a:focus-visible { color: var(--accent-deep); }
.foot nav a:hover::after, .foot nav a:focus-visible::after { transform: scaleX(1); }
.foot nav a[aria-current] { color: var(--accent-deep); font-weight: 650; }
.foot .later { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.45rem; white-space: nowrap; } /* a name kept whole, its Soon below it when short of room */
.foot .later::after { content: 'Soon'; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; padding: 0.08rem 0.4rem; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent-deep); }
/* The company's details, as a business's website gives them: name, address, KvK, VAT, email (company.js). */
.foot-company { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.2rem; margin-top: 2.4rem; padding: 0.95rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 0.84rem; }
.foot-company .co-name { color: var(--text); font-weight: 700; }
.foot-company .k { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); margin-right: 0.3rem; }
.foot-company a { color: var(--accent-deep); }
.foot-base { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: 0.85rem; }
.foot-base .end { margin-left: auto; }
.foot-base a { color: inherit; }
/* the product's maker, named once, a way to the company's own website */
.foot-base .maker { color: var(--text); font-weight: 600; text-decoration-color: transparent; }
.foot-base .maker:hover { color: var(--accent-deep); text-decoration-color: currentColor; }

/* ---- the privacy statements (privacy.html, unionnotes/privacy.html): pages of the website like the
   others. The site's header with the statement's tabs under it, then bands: the promise and its
   picture, a summary to glance at, how the data moves, and each part of the statement as cards (how
   long each record lasts along one line, what is kept and why, who receives it, the cookies, the
   rights), the lit bands dark like the founder's story. */
section.p-top { padding-block: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 80%, transparent), transparent 80%); }
.p-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; align-items: center; padding-block: 4.2rem 3.6rem; }
.p-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 3.9rem); letter-spacing: -0.012em; margin-top: 0.9rem; }
.p-hero .lead { margin-top: 1rem; }
.p-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; list-style: none; }
.p-meta li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem 0.35rem 0.55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 0.82rem; font-weight: 650; }
.p-meta .ic { width: 16px; height: 16px; stroke-width: 2.1; }
.p-art { position: relative; justify-self: center; width: min(100%, 440px); }
.p-art svg { display: block; width: 100%; height: auto; }
.privacy .section-head .lead { margin-top: 0.3rem; }
.p-tint { background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 72%, transparent), color-mix(in srgb, var(--surface-2) 22%, transparent)); }
.p-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin: 2.8rem 0 1.1rem; font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem); }
.section-head + .p-sub { margin-top: 0; }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.glance > div { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.3rem 1.25rem 1.35rem; border-radius: 20px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 1px 2px rgba(11, 45, 41, 0.06); }
.glance .ic { width: 28px; height: 28px; padding: 7px; box-sizing: content-box; border-radius: 13px; background: var(--accent-soft); color: var(--accent-deep); stroke-width: 1.9; }
.glance b { font-family: var(--display); font-size: 1.36rem; font-weight: 600; color: var(--text); line-height: 1.2; }
.glance p { font-family: var(--display); color: var(--muted); font-size: 1.08rem; line-height: 1.5; }
/* How the data moves: devices and Drive on the person's side, the server and Anthropic on the way. */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 0.55fr) minmax(0, 1fr); grid-template-rows: auto 74px auto; align-items: stretch; margin-top: 1.4rem; }
.node { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.05rem 1.15rem; border-radius: 16px; border: 1.5px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.node.yours { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface)); }
.node .ic { width: 22px; height: 22px; color: var(--accent-deep); }
.node b { color: var(--text); font-size: 1rem; }
.node p { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.node .who { align-self: flex-start; margin-top: 0.2rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.node.yours .who { background: var(--accent); color: var(--accent-ink); }
.node.ai .who { background: var(--highlight); color: var(--highlight-ink); }
.link-h, .link-v { position: relative; display: flex; align-items: center; justify-content: center; color: var(--accent-deep); font-size: 0.78rem; font-weight: 700; text-align: center; line-height: 1.3; }
.link-h::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
.link-h span, .link-v span { position: relative; padding: 0.25rem 0.55rem; border-radius: 10px; background: var(--bg); }
.link-h.two::after { content: ''; position: absolute; right: 2px; top: calc(50% - 5px); border: 5px solid transparent; border-left-color: var(--accent); }
.link-h .tip { position: absolute; left: 2px; top: calc(50% - 5px); border: 5px solid transparent; border-right-color: var(--accent); }
.link-h.one::after { content: ''; position: absolute; right: 2px; top: calc(50% - 5px); border: 5px solid transparent; border-left-color: var(--accent); }
.link-v::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 50%; border-left: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
.link-v::after { content: ''; position: absolute; bottom: -2px; left: calc(50% - 5px); border: 5px solid transparent; border-top-color: var(--accent); }
.link-v { grid-column: 1; }
.flow .dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 4px color-mix(in srgb, var(--highlight) 30%, transparent); top: calc(50% - 4.5px); left: 6px; animation: flow-run 4.8s ease-in-out infinite; }
@keyframes flow-run { 0% { left: 6px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 15px); opacity: 0; } }
.link-v .dot { left: calc(50% - 4.5px); top: 4px; animation-name: flow-down; }
@keyframes flow-down { 0% { top: 4px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 13px); opacity: 0; } }
.flow-note { margin-top: 1rem; color: var(--muted); font-size: 0.88rem; }
.flow .c1r1 { grid-column: 1; grid-row: 1; } .flow .c2r1 { grid-column: 2; grid-row: 1; } .flow .c3r1 { grid-column: 3; grid-row: 1; }
.flow .c1r2 { grid-column: 1; grid-row: 2; } .flow .c1r3 { grid-column: 1; grid-row: 3; } .flow .c2r3 { grid-column: 2; grid-row: 3; } .flow .c3r3 { grid-column: 3; grid-row: 3; }

/* cards, three across (two, four or five where the part has them), one under another on a phone */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pcards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcards.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pcards.five > * { grid-column: span 2; }
.pcards.five > :nth-child(n+4) { grid-column: span 3; }
.pcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; min-width: 0; padding: 1.3rem 1.3rem 1.35rem; border-radius: 20px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 1px 2px rgba(11, 45, 41, 0.06); }
.pcard > .ic { width: 24px; height: 24px; padding: 8px; box-sizing: content-box; border-radius: 13px; background: var(--accent-soft); color: var(--accent-deep); stroke-width: 1.9; }
.pcard h3, .pcard h4 { font-family: var(--display); font-size: 1.36rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.pcard p { font-family: var(--display); font-size: 1.1rem; line-height: 1.5; color: var(--muted); }
.pcard a { overflow-wrap: anywhere; }
.pcard code, .p-notes code { font: 600 0.8em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 0.08rem 0.36rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); overflow-wrap: anywhere; }
.pcard h3 code { font-size: 0.74em; padding: 0.2rem 0.5rem; }
.pcard .keep { display: flex; gap: 0.5rem; align-items: flex-start; align-self: stretch; margin-top: auto; padding-top: 0.75rem; border-top: 1px dashed var(--border); font: 500 0.88rem/1.45 var(--sans); color: var(--text); }
.pcard .keep .ic { width: 17px; height: 17px; color: var(--accent); margin-top: 1px; }
.pcard .art { margin-top: auto; padding-top: 0.2rem; color: var(--accent-deep); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.04em; }
.pcard.none { border-style: dashed; border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: transparent; box-shadow: none; }
.pcard.key { border-color: var(--highlight); box-shadow: 0 0 0 4px color-mix(in srgb, var(--highlight) 22%, transparent); }
.pcard.key > .ic { background: var(--highlight); color: var(--highlight-ink); }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.16rem 0.6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font: 750 0.72rem/1.4 var(--sans); letter-spacing: 0.05em; white-space: nowrap; }
.chip.li { background: var(--highlight); color: var(--highlight-ink); }
.chip.solid { background: var(--accent); color: var(--accent-ink); }
.p-sub .chip { font-size: 0.78rem; }
.lit .pcard { background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.6), 0 0 50px -30px color-mix(in srgb, var(--accent) 70%, transparent); }
.lit .pcard > .ic { background: rgba(255, 255, 255, 0.08); color: var(--highlight); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--highlight) 55%, transparent)); }
.lit .pcard h3 { color: #fff; }
.lit .pcard p { color: color-mix(in srgb, var(--deep-ink) 88%, transparent); }
.lit .pcard a { color: var(--highlight); }
.callout { display: flex; gap: 0.9rem; align-items: flex-start; margin-top: 1.4rem; padding: 1.1rem 1.25rem; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); }
.callout .ic { color: var(--accent-deep); margin-top: 3px; }
.callout p { font-family: var(--display); font-size: 1.14rem; line-height: 1.5; color: var(--text); }
.callout a { overflow-wrap: anywhere; }

/* who is responsible: the company's card, and how soon it answers */
.p-who { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 1.2rem; align-items: stretch; }
.p-who-main { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.p-who .lead { color: var(--text); max-width: 46rem; }
.who-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1.3rem 1.4rem; border-radius: 20px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 1px 2px rgba(11, 45, 41, 0.06); }
.who-card .mk { width: 64px; height: 64px; color: var(--accent); }
.who-card b { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--text); }
.who-card .who-sub { display: block; margin-top: 0.1rem; font-family: var(--display); font-size: 1.08rem; color: var(--muted); }
.who-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 1rem; margin: 0.5rem 0 0; font-size: 0.93rem; }
.who-card dl:empty { display: none; }
.who-card dl > div { display: contents; }
.who-card dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.12rem; }
.who-card dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.p-contact { display: flex; flex-direction: column; justify-content: center; gap: 0.7rem; padding: 1.5rem 1.5rem 1.6rem; border-radius: 22px; background: radial-gradient(90% 70% at 15% 8%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), linear-gradient(155deg, var(--deep), var(--deep-2)); color: var(--deep-ink); box-shadow: var(--shadow); }
.p-contact .big { font-family: var(--display); font-weight: 600; font-size: 3.6rem; line-height: 1; color: #fff; font-variant-numeric: lining-nums; text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 65%, transparent); }
.p-contact .big small { font-size: 1.5rem; font-weight: 500; color: var(--highlight); text-shadow: 0 0 18px color-mix(in srgb, var(--highlight) 45%, transparent); }
.p-contact p { font-family: var(--display); font-size: 1.14rem; line-height: 1.45; }
.p-contact a { color: var(--highlight); overflow-wrap: anywhere; }
.quiet { opacity: 0.78; font-size: 0.94em; }
.p-aside { margin-top: 1.3rem; max-width: 54rem; color: var(--muted); font-family: var(--display); font-size: 1.08rem; line-height: 1.5; }

/* how long each record lasts, the shortest first, along one line to the yellow point: what is kept
   until you delete it. On a phone the line runs down the side, drawn by the stops it joins. */
.retain { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 0.8rem; margin: 0; padding: 0; list-style: none; }
.retain::before { content: ''; position: absolute; left: 10px; right: calc((100% - 4.8rem) / 7 - 10px); top: 9px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), var(--accent) 72%, var(--accent-2) 88%, var(--highlight)); }
.retain::after { content: ''; position: absolute; top: 6px; left: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 4px color-mix(in srgb, var(--highlight) 25%, transparent), 0 0 14px color-mix(in srgb, var(--highlight) 70%, transparent); animation: retain-run 9s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes retain-run { 0% { left: 10px; opacity: 0; } 8% { opacity: 1; } 70% { left: calc(100% - (100% - 4.8rem) / 7 + 10px); opacity: 1; } 80%, 100% { left: calc(100% - (100% - 4.8rem) / 7 + 10px); opacity: 0; } }
.retain li { position: relative; display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; padding-top: 2.2rem; }
.retain li::after { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; background: var(--bg); border: 4px solid var(--accent); }
.retain li:nth-child(1)::after { border-color: color-mix(in srgb, var(--accent) 35%, var(--bg)); }
.retain li:nth-child(2)::after { border-color: color-mix(in srgb, var(--accent) 50%, var(--bg)); }
.retain li:nth-child(3)::after { border-color: color-mix(in srgb, var(--accent) 65%, var(--bg)); }
.retain li:nth-child(4)::after { border-color: color-mix(in srgb, var(--accent) 80%, var(--bg)); }
.retain li:last-child::after { background: var(--highlight); border-color: var(--highlight); box-shadow: 0 0 0 6px color-mix(in srgb, var(--highlight) 24%, transparent), 0 0 18px color-mix(in srgb, var(--highlight) 60%, transparent); animation: pulse 3s ease-in-out infinite; }
.retain b { font-family: var(--display); font-weight: 600; font-size: 1.42rem; line-height: 1.1; color: var(--text); font-variant-numeric: lining-nums; }
.retain li:last-child b { color: var(--accent-deep); }
.retain span { font-size: 0.84rem; line-height: 1.35; color: var(--muted); }
.retain span + span { padding-top: 0.3rem; border-top: 1px dashed var(--border); }
.retain-note { margin-top: 1.5rem; max-width: 56rem; color: var(--muted); font-family: var(--display); font-size: 1.08rem; line-height: 1.5; }
.p-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.p-notes p { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface)); font-family: var(--display); font-size: 1.08rem; line-height: 1.5; color: var(--text); }
.p-notes .ic { color: var(--accent-deep); margin-top: 2px; }

/* Sci AI: what the AI Act asks, lit, and the four things it means */
.p-ai { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1.2rem; align-items: stretch; }
.p-ai-say { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding: 1.9rem 1.8rem; border-radius: 24px; background: radial-gradient(85% 70% at 18% 8%, color-mix(in srgb, var(--highlight) 24%, transparent), transparent 70%), linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid color-mix(in srgb, var(--highlight) 45%, transparent); box-shadow: 0 0 70px -24px color-mix(in srgb, var(--highlight) 50%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.p-ai-say .orb { width: 56px; height: 56px; color: var(--highlight); stroke-width: 1.4; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--highlight) 75%, transparent)); animation: twinkle 5s ease-in-out infinite; }
.p-ai-say p { font-family: var(--display); font-size: 1.36rem; line-height: 1.45; color: #fff; }
.p-ai-say b { color: var(--highlight); font-weight: 600; }
@keyframes twinkle { 50% { transform: scale(1.1) rotate(8deg); } }

/* outside the EU: from the EU to each company in the United States, and what protects the data on the way */
.transfers { display: grid; gap: 0.8rem; margin-top: 2.8rem; }
.transfers .p-sub { margin: 0 0 0.3rem; }
.xfer { display: grid; grid-template-columns: auto minmax(160px, 0.8fr) auto minmax(0, 1.6fr); align-items: center; gap: 0.6rem 1rem; padding: 1rem 1.25rem; border-radius: 18px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.xfer .end { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; border-radius: 12px; background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.xfer .end .ic { width: 18px; height: 18px; color: var(--accent-deep); }
.xfer .end small { font-weight: 600; color: var(--muted); }
.xfer .via { position: relative; display: flex; justify-content: center; align-items: center; min-height: 34px; }
.xfer .via::before { content: ''; position: absolute; left: 0; right: 6px; top: 50%; border-top: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
.xfer .via::after { content: ''; position: absolute; right: 0; top: calc(50% - 5px); border: 5px solid transparent; border-left-color: var(--accent); }
.xfer .via i { position: absolute; top: calc(50% - 4.5px); left: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 4px color-mix(in srgb, var(--highlight) 30%, transparent); animation: flow-run 4.8s ease-in-out infinite; }
.xfer .via b { position: relative; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border)); background: var(--surface); color: var(--accent-deep); font: 750 0.72rem/1.3 var(--sans); letter-spacing: 0.04em; text-align: center; }
.xfer p { font-family: var(--display); font-size: 1.06rem; line-height: 1.45; color: var(--muted); }

/* the Android app: its permissions as a phone shows them, beside what each means */
.p-android { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2.2rem; align-items: center; }
.handset { position: relative; justify-self: center; width: 100%; max-width: 300px; padding: 12px; border-radius: 42px; background: linear-gradient(160deg, var(--deep-2), var(--deep)); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1); }
.handset::before { content: ''; position: absolute; top: 22px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--deep); box-shadow: 0 0 0 2px color-mix(in srgb, var(--deep-ink) 12%, transparent); z-index: 1; }
.handset .screen { display: flex; flex-direction: column; gap: 0.55rem; padding: 0.9rem 0.85rem 1.5rem; border-radius: 31px; background: var(--surface); }
.handset .bar { display: flex; justify-content: space-between; align-items: center; padding: 0 0.7rem 0.6rem; font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.handset .batt { position: relative; width: 18px; height: 9px; border: 1.5px solid currentColor; border-radius: 3px; }
.handset .batt::after { content: ''; position: absolute; inset: 1px 4px 1px 1px; border-radius: 1px; background: currentColor; }
.handset .app { display: flex; align-items: center; gap: 0.65rem; padding: 0.3rem 0.2rem 0.7rem; font-family: var(--display); font-size: 1.24rem; color: var(--text); }
.handset .app img { width: 36px; height: 36px; border-radius: 10px; }
.perm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.05rem 0.7rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: 15px; background: var(--surface-2); }
.perm .ic { grid-row: span 2; width: 20px; height: 20px; color: var(--accent-deep); }
.perm b { font-size: 0.88rem; line-height: 1.25; color: var(--text); }
.perm span { grid-column: 2; font-size: 0.75rem; line-height: 1.3; color: var(--muted); }
.perm.off { background: transparent; border: 1px dashed var(--border); }
.perm.off .ic, .perm.off b { color: var(--muted); }

/* the summary in Dutch, then the other statement */
.nl-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem; padding: 1.7rem 1.8rem; border-radius: 24px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 1px 2px rgba(11, 45, 41, 0.06); }
.nl-card > .ic { width: 28px; height: 28px; padding: 9px; box-sizing: content-box; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); }
.nl-card h2 { font-size: clamp(1.7rem, 1.35rem + 1vw, 2.2rem); margin-bottom: 0.9rem; }
.nl-card ul { columns: 2 22rem; column-gap: 2.4rem; padding-left: 1.1rem; }
.nl-card li { break-inside: avoid; margin-bottom: 0.6rem; font-family: var(--display); font-size: 1.1rem; line-height: 1.5; color: var(--text); }
.nl-card li::marker { color: var(--accent); }
.nl-card .quiet { margin-top: 0.5rem; color: var(--muted); }
.p-other { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding: 1.4rem 1.5rem; border-radius: 20px; background: radial-gradient(60% 120% at 0% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), linear-gradient(135deg, var(--deep), var(--deep-2)); color: var(--deep-ink); box-shadow: var(--shadow); }
.p-other b { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: #fff; }
.p-other p { color: color-mix(in srgb, var(--deep-ink) 80%, transparent); font-family: var(--display); font-size: 1.08rem; margin-top: 0.2rem; }
.p-other .btn {
  --btn-bg: var(--highlight); --btn-fill: none; --btn-lit: color-mix(in srgb, var(--highlight) 76%, #fff);
  --btn-line: var(--highlight); --btn-line-lit: color-mix(in srgb, var(--highlight) 76%, #fff);
  --btn-shadow: 0 0 0 0 transparent, 0 10px 24px -20px transparent;
  --btn-shadow-lit: 0 0 0 4px color-mix(in srgb, var(--highlight) 24%, transparent), 0 16px 34px -16px var(--glow-hi);
  color: var(--highlight-ink);
}

/* the company's statement: a visit as the web host's log line has it, each field named */
.logline { margin: 0 0 1.4rem; padding: 1.3rem 1.4rem 1.45rem; border-radius: 22px; background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), linear-gradient(160deg, var(--deep), var(--deep-2)); color: var(--deep-ink); box-shadow: var(--shadow); }
.logline figcaption { margin-bottom: 1rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 55%, #fff); }
.logline ol { display: flex; flex-wrap: wrap; gap: 0.9rem 0.7rem; margin: 0; padding: 0; list-style: none; }
.logline li { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.logline code { padding: 0.5rem 0.7rem; border-radius: 11px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.13); color: #fff; font: 600 0.92rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.logline li:first-child code { border-color: color-mix(in srgb, var(--highlight) 65%, transparent); box-shadow: 0 0 18px -6px var(--highlight); }
.logline span { padding-left: 0.25rem; font-family: var(--display); font-style: italic; font-size: 1.06rem; color: color-mix(in srgb, var(--deep-ink) 85%, transparent); }
/* and its cookies: none, counted */
.zeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.zeros div { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 1.5rem 1rem 1.4rem; border-radius: 22px; text-align: center; background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)); border: 1px solid rgba(255, 255, 255, 0.14); }
.zeros b { font-family: var(--display); font-weight: 500; font-size: clamp(3.6rem, 2.8rem + 3vw, 5.4rem); line-height: 0.95; color: #fff; font-variant-numeric: lining-nums; text-shadow: 0 0 36px color-mix(in srgb, var(--accent) 75%, transparent); }
.zeros span { font-family: var(--display); font-size: 1.22rem; color: var(--deep-ink); }
/* The hero's pictures: a notebook kept on the device and in Drive (Union Notes); the mark among what the site does not do (Isometry Works). */
.p-art .art-surface { fill: var(--surface); stroke: var(--border); stroke-width: 2; }
.p-art .art-paper { fill: color-mix(in srgb, var(--bg) 60%, var(--surface)); stroke: var(--border); }
.p-art .art-rule { stroke: var(--border); stroke-width: 1.5; fill: none; }
.p-art .art-ink { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-art .art-ink.thin { stroke-width: 1.8; opacity: 0.75; }
.p-art .art-accent-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.p-art .art-hl, .p-art .art-run { fill: var(--highlight); }
.p-art .art-badge { fill: var(--accent); filter: drop-shadow(0 8px 18px rgba(11, 45, 41, 0.25)); }
.p-art .art-lock { fill: var(--accent-ink); }
.p-art .art-lock-shackle { fill: none; stroke: var(--accent-ink); stroke-width: 4; stroke-linecap: round; }
.p-art .art-cloud { fill: color-mix(in srgb, var(--accent-soft) 80%, var(--surface)); stroke: var(--accent); stroke-width: 2; }
.p-art .art-folder { fill: none; stroke: var(--accent-deep); stroke-width: 2.4; stroke-linejoin: round; }
.p-art .art-label { fill: var(--muted); font: 600 14px var(--sans); letter-spacing: 0.02em; }
.p-art .art-run-path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; }
.p-art .art-run { offset-path: path('M246 128 C 286 92, 318 92, 338 112'); animation: art-run 3.4s ease-in-out infinite; }
@keyframes art-run { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.iw-art { aspect-ratio: 1.15; display: grid; place-items: center; }
.iw-art .mark { width: 58%; height: auto; color: var(--accent); overflow: visible; }
.iw-art .mark .e { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.6, .1, .3, 1) forwards; }
.iw-art .mark .e2 { animation-delay: 0.7s; }
.iw-art .mark .e3 { animation-delay: 1.2s; }
.iw-art .mark .pt { transform-origin: 24px 24px; transform-box: view-box; animation: light 0.9s 1.8s cubic-bezier(.3, 1.6, .5, 1) both; }
.iw-art .pill { position: absolute; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem 0.45rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow); color: var(--text); font-size: 0.86rem; font-weight: 650; white-space: nowrap; animation: float 7s ease-in-out infinite; }
.iw-art .pill .ic { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.1; }
.iw-art .p1 { top: 44%; left: -2%; animation-delay: -1.2s; }
.iw-art .p2 { top: 4%; right: 0; animation-delay: -2.4s; }
.iw-art .p3 { bottom: 2%; right: 0; animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ================================================================ glow: the founder band's light,
   carried into the light bands in their own colours. A teal and a yellow glow behind a section, a soft
   glow under each heading and each card, glass edges lit from above, halos round the marks and the
   pictures: the same tokens in both themes, brighter in the dark where light shows best. */
:root { --glow: color-mix(in srgb, var(--accent) 42%, transparent); --glow-hi: color-mix(in srgb, var(--highlight) 55%, transparent); --lift: 0 1px 2px rgba(11, 45, 41, 0.06), 0 26px 60px -26px var(--glow); --lift-more: 0 1px 2px rgba(11, 45, 41, 0.06), 0 34px 74px -28px color-mix(in srgb, var(--accent) 58%, transparent); }
section:not(.lit) h2, .names-head { text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 26%, transparent); }
.eyebrow::before { box-shadow: 0 0 10px var(--glow-hi); }
.highlight { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--highlight) 40%, transparent)); }

/* each light band lit from two corners, teal and yellow, over the moving background */
#vision, #products, #range, #together, #pictures, #pricing, #compare, .privacy main > section:not(.lit, .p-top, .p-tint) { background-image: radial-gradient(48% 42% at 6% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%), radial-gradient(40% 38% at 96% 92%, color-mix(in srgb, var(--highlight) 11%, transparent), transparent 72%); }
#together, #pricing { background-image: radial-gradient(44% 40% at 94% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%), radial-gradient(42% 38% at 4% 94%, color-mix(in srgb, var(--highlight) 11%, transparent), transparent 72%); }
.p-tint { background-image: radial-gradient(48% 42% at 6% 8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%), linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 72%, transparent), color-mix(in srgb, var(--surface-2) 22%, transparent)); }

/* the cards: glass. A translucent surface (--glass) over the moving background, frosted on a desktop,
   where the blur costs nothing (never on a phone, nor on anything a page's width: the header is the
   one bar a phone blurs), a fine edge lit from above (--glass-edge), a light in the upper corner, a
   glow beneath; under the pointer, or holding the focus, lifted a little and glowing more */
.vision > div, .family, .plan, .glance > div, .pcard:not(.none), .who-card, .nl-card, .xfer, .node, .sp-tier, .compare-wrap, .strip figure, .foot-company, .promise li { background-color: var(--glass); border-color: color-mix(in srgb, var(--accent) 16%, var(--border)); background-image: radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), linear-gradient(170deg, color-mix(in srgb, #fff 6%, transparent), transparent 50%); box-shadow: var(--lift), inset 0 1px 0 var(--glass-edge); transition: transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft); }
@media (min-width: 900px) and (hover: hover) { .vision > div, .family, .plan, .glance > div, .pcard:not(.none), .who-card, .nl-card, .xfer, .node, .sp-tier, .foot-company { backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); } } /* not the picture plates: a picture covers all but their rim */
.lit .pcard { background-color: transparent; border-color: rgba(255, 255, 255, 0.14); background-image: radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.6), 0 0 50px -30px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
@media (hover: hover) { .vision > div:hover, .family:hover, .plan:hover, .glance > div:hover, .sp-tier:hover, .strip figure:hover, .foot-company:hover, .promise li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 36%, var(--border)); box-shadow: var(--lift-more), inset 0 1px 0 var(--glass-edge); } }
.plan:focus-within, .sp-tier:focus-within, .strip figure:focus-within { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 36%, var(--border)); box-shadow: var(--lift-more), inset 0 1px 0 var(--glass-edge); }
.compare-wrap { background-color: color-mix(in srgb, var(--surface) 92%, transparent); } /* a table of forty rows reads better with less of the page's ink showing through it */
.vision svg { color: var(--accent); } /* the range's gradient takes the mark's teal, not the card's grey words */
/* a line of light along the top of a card, teal into yellow */
.vision > div, .family { position: relative; }
.vision > div::before, .family::before, .plan:not(.free)::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--highlight) 70%, transparent); box-shadow: 0 0 14px var(--glow); opacity: 0.85; pointer-events: none; }
.hero h1 { text-shadow: 0 0 44px color-mix(in srgb, var(--accent) 22%, transparent); }
.vision svg, .glance .ic, .pcard > .ic, .family h3, .kind .ic, .sp-tier .for .ic { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 30%, transparent)); }
.vision b, .plan h3, .pcard h3, .pcard h4, .glance b { text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 20%, transparent); }
.lit .pcard h3 { text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 45%, transparent); }

/* the company's page: a halo breathing behind the octahedron; the first product's card lit like the story */
.hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 1.6rem; width: min(420px, 88vw); height: min(420px, 88vw); margin-left: calc(min(420px, 88vw) / -2); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--highlight) 10%, transparent) 42%, transparent 68%); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }
.hero .mark { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 45%, transparent)) drop-shadow(0 0 4px color-mix(in srgb, var(--highlight) 40%, transparent)); }
.teaser, .connected { background: radial-gradient(55% 70% at 6% 8%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%), radial-gradient(45% 60% at 96% 96%, color-mix(in srgb, var(--highlight) 16%, transparent), transparent 70%), linear-gradient(160deg, var(--deep), var(--deep-2)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: var(--shadow), 0 0 80px -34px color-mix(in srgb, var(--accent) 80%, transparent); }
.teaser .shot { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 70px -20px color-mix(in srgb, var(--accent) 70%, transparent); }
.teaser .lockup img { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 34px -4px color-mix(in srgb, var(--accent) 70%, transparent); }
.teaser .un-wm, .connected h3 { text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 55%, transparent); }
.pairs span { background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: 0 0 18px -6px color-mix(in srgb, var(--accent) 60%, transparent); }

/* the product's page: its mark and its picture haloed, the range's band glowing, Look closer lit */
.product-title img { box-shadow: 0 12px 30px rgba(13, 138, 125, 0.3), 0 0 46px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.window { box-shadow: var(--shadow), 0 0 90px -26px color-mix(in srgb, var(--accent) 65%, transparent); border-color: color-mix(in srgb, var(--accent) 22%, var(--border)); }
.sp-band { box-shadow: 0 0 22px -4px color-mix(in srgb, var(--accent) 70%, transparent); }
.sp-tier::before { box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 60%, transparent); }
.sp-tier:nth-of-type(5)::before { box-shadow: 0 0 14px var(--glow-hi); }
.sp-reach.ours { text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent); }
.kind { box-shadow: 0 0 0 1px transparent, 0 8px 22px -12px transparent; transition: transform var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft); }
@media (hover: hover) { .kind:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 8px 22px -12px var(--glow); } }
.pl { box-shadow: 0 0 12px -2px color-mix(in srgb, var(--accent) 70%, transparent); }
.pl.max { box-shadow: 0 0 12px -2px var(--glow-hi); }
.closer summary { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 24px -4px var(--glow-hi); }
.plan.free { box-shadow: 0 0 0 4px rgba(245, 194, 17, 0.18), 0 34px 74px -30px var(--glow-hi), inset 0 1px 0 var(--glass-edge); }
.plan .badge { box-shadow: 0 0 18px -2px var(--glow-hi); }
.plan .badge.teal { box-shadow: 0 0 18px -2px var(--glow); }
.plan .price b { text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 28%, transparent); }
.compare-wrap { border-color: color-mix(in srgb, var(--accent) 16%, var(--border)); box-shadow: var(--lift); }
.compare .yes { text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent); }
.os { box-shadow: 0 0 16px -6px var(--glow); }

/* the header and the footer: a line of light where the page meets them */
.top { box-shadow: 0 12px 30px -26px var(--glow), inset 0 -1px 0 var(--glass-edge); }
.top.scrolled { box-shadow: 0 16px 36px -22px var(--glow), inset 0 -1px 0 var(--glass-edge); }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 70%, transparent) 30%, color-mix(in srgb, var(--highlight) 70%, transparent) 70%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 60%, transparent); }

/* the marks and the yellow point glow a little at rest: the lockups' marks (more under the pointer,
   above), the dot of each i, the point at the octahedron's heart, the yellow point of each vision figure */
.lockup .mk, .by svg { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 36%, transparent)); }
.dot-i::after { box-shadow: 0 0 7px color-mix(in srgb, var(--highlight) 70%, transparent); }
.hero .mark .pt, .iw-art .mark .pt { filter: drop-shadow(0 0 4px var(--highlight)); }
.vision .pt { filter: drop-shadow(0 0 6px var(--glow-hi)); }

/* the statements: their pictures and timelines glowing like the rest */
.p-art svg { filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--accent) 28%, transparent)); }
.iw-art .pill { box-shadow: var(--shadow), 0 0 22px -8px var(--glow); }
.retain::before, .retain li:not(:last-child)::before { box-shadow: 0 0 14px -2px color-mix(in srgb, var(--accent) 65%, transparent); }
.flow .dot, .xfer .via i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--highlight) 30%, transparent), 0 0 12px var(--glow-hi); }

/* without transparency (prefers-reduced-transparency): the glass is solid, nothing is blurred, and
   the lit band's panels are a shade of the band */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: var(--surface); --glass-blur: none; }
  .top, .top.scrolled, .tabs { background-color: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .foot { background-color: var(--surface); }
  .btn.ghost { --btn-bg: var(--surface); }
  .os, .link-h span, .link-v span { background-color: var(--surface); }
  .strip .step { background: var(--deep); }
  .founder, .quote, .names, .stages li, .lit .pcard, .pairs span, .zeros div, .p-ai-say, .logline code { background-image: none; background-color: color-mix(in srgb, #fff 8%, var(--deep-2)); }
}

@media (max-width: 960px) {
  /* Stacked, the comparison stacks with it: in the gutter two rails run down beside the stops, Union
     Notes' the whole way to the yellow point, most notebook apps' ending between the first two stops,
     each with its label where it ends. A rail is drawn by the stops it passes, in pieces that join. */
  .spectrum { grid-template-columns: minmax(0, 1fr); row-gap: 0.7rem; padding-left: 52px; }
  .sp-plan, .sp-band { display: none; }
  .sp-tier { grid-row: auto; overflow: visible; }
  .sp-tier::before { border-radius: 16px 16px 0 0; }
  .sp-tier:nth-of-type(1) { order: 1; }
  .sp-reach.others { order: 2; }
  .sp-tier:nth-of-type(2) { order: 3; }
  .sp-tier:nth-of-type(3) { order: 4; }
  .sp-tier:nth-of-type(4) { order: 5; }
  .sp-tier:nth-of-type(5) { order: 6; }
  .sp-reach.ours { order: 7; }
  .sp-note { order: 8; }
  /* (measured from each stop's padding box, inside its 1 px border: a pixel more at each end so the pieces meet) */
  .sp-tier::after { content: ''; position: absolute; left: -45px; top: -1px; bottom: calc(-0.7rem - 2px); width: 8px; background: linear-gradient(180deg, var(--c0), var(--c1)); }
  .sp-tier:nth-of-type(1)::after { top: 8px; bottom: calc(-1.4rem - 36px); border-radius: 999px 999px 0 0; --c0: color-mix(in srgb, var(--accent) 22%, transparent); --c1: color-mix(in srgb, var(--accent) 45%, transparent); }
  .sp-tier:nth-of-type(2)::after { --c0: color-mix(in srgb, var(--accent) 45%, transparent); --c1: color-mix(in srgb, var(--accent) 65%, transparent); }
  .sp-tier:nth-of-type(3)::after { --c0: color-mix(in srgb, var(--accent) 65%, transparent); --c1: color-mix(in srgb, var(--accent) 85%, transparent); }
  .sp-tier:nth-of-type(4)::after { --c0: color-mix(in srgb, var(--accent) 85%, transparent); --c1: var(--accent-2); }
  .sp-tier:nth-of-type(5)::after { bottom: calc(-0.7rem - 18px); --c0: var(--accent-2); --c1: var(--highlight); }
  /* most notebook apps: a grey rail from the first stop to just past it, then their label */
  .sp-tier:nth-of-type(1) > small::before { content: ''; position: absolute; left: -25px; top: 8px; bottom: calc(-0.7rem - 18px); width: 6px; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 30%, transparent), var(--muted)); }
  .sp-reach.others { grid-row: auto; grid-column: 1; justify-self: start; width: auto; min-width: 0; height: 34px; margin-left: -31px; padding: 0 1rem 0 2rem; gap: 0.35rem; justify-content: flex-start; font-size: 0.86rem; }
  .sp-reach.others::after { right: auto; left: 3px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--muted); opacity: 1; box-shadow: 0 0 0 3px var(--bg); }
  .sp-reach.ours { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; justify-content: center; position: relative; grid-row: auto; grid-column: 1; min-height: 34px; margin-left: -52px; padding: 0 0 0 2.4rem; font-size: 0.92rem; }
  .sp-reach.ours::before { content: ''; position: absolute; left: 1px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 6px color-mix(in srgb, var(--highlight) 24%, transparent), 0 0 16px color-mix(in srgb, var(--highlight) 60%, transparent); animation: pulse 3s ease-in-out infinite; }
  .sp-reach.ours span:last-child { font-weight: 600; }
  .sp-tier .own { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 800; padding: 0.12rem 0.55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
  .sp-tier .own.paid { background: var(--accent); color: var(--accent-ink); }
  .sp-tier .own.max { background: var(--highlight); color: var(--highlight-ink); }
  .sp-note { grid-row: auto; grid-column: 1; padding-left: 0; margin-top: 0.4rem; }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the workflow's stages stack, each node in the margin beside its tile, the spine running down from node to node */
  .stages { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; padding-left: calc(var(--wf-node) + 0.85rem); }
  .stages li { padding: 0.9rem 1rem 1rem; }
  .stages .wf-node { top: 2px; left: calc(-1 * (var(--wf-node) + 0.85rem)); margin-left: 0; }
  .stages li:not(:last-child)::after { top: calc(var(--wf-node) / 2 + 2px); bottom: calc(-0.9rem - var(--wf-node) / 2 - 2px); left: calc(-0.85rem - var(--wf-node) / 2 - 10px); right: auto; width: 20px; height: auto; background: var(--wf-dot) 50% -20px / 20px 20px no-repeat, linear-gradient(180deg, color-mix(in srgb, var(--accent) 60%, transparent), color-mix(in srgb, var(--accent) 85%, transparent)) 50% 0 / 3px 100% no-repeat; animation-name: wf-run-down; }
  @keyframes wf-run-down { 0% { background-position: 50% -20px, 50% 0; } 18.9% { background-position: 50% calc(100% + 20px), 50% 0; } 18.91%, 100% { background-position: 50% -20px, 50% 0; } }
  /* the privacy statements: how long each record lasts runs down the side too, a rail from stop to stop */
  .retain { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; padding-left: 2.6rem; }
  .retain::before, .retain::after { display: none; }
  .retain li { padding-top: 0; }
  .retain li::after { left: -2.6rem; }
  .retain li:not(:last-child)::before { content: ''; position: absolute; left: calc(-2.6rem + 7px); top: 12px; bottom: calc(-1.2rem - 12px); width: 6px; background: color-mix(in srgb, var(--accent) var(--a, 60%), transparent); }
  .retain li:nth-child(1)::before { --a: 30%; }
  .retain li:nth-child(2)::before { --a: 45%; }
  .retain li:nth-child(3)::before { --a: 60%; }
  .retain li:nth-child(4)::before { --a: 75%; }
  .retain li:nth-child(5)::before { --a: 90%; }
  .retain li:nth-child(6)::before { background: linear-gradient(180deg, var(--accent), var(--highlight)); }
  .retain li:first-child::before { border-radius: 999px 999px 0 0; }
  .pcards, .pcards.four, .pcards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards.five > *, .pcards.five > :nth-child(n+4) { grid-column: auto; }
  .p-who, .p-ai { grid-template-columns: 1fr; }
  .p-android { grid-template-columns: 1fr; gap: 1.6rem; }
  .xfer { grid-template-columns: auto minmax(120px, 1fr) auto; }
  .xfer p { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .product-head, .story, .teaser { grid-template-columns: 1fr; }
  .founder { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .founder .portrait { width: 150px; }
  .vision { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .connected { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top nav + .cta { margin-left: auto; } /* the sections folded away, the buttons keep to the right */
  /* the product's header makes room for the account: its maker is named under the product's title and in the footer */
  .un .top .wrap:has(.acct-link) .brandline .by { display: none; }
  .un .top .acct-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .foot-grid { grid-template-columns: repeat(var(--foot-navs), minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .p-hero { grid-template-columns: 1fr; gap: 2rem; }
  .p-art { width: min(100%, 360px); }
  .iw-art .mark { width: 46%; }
  .iw-art .pill { font-size: 0.8rem; }
  .iw-art .p1 { top: 40%; left: 0; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Too narrow for the product's three: its header keeps the app's button, and the account is a link in the footer and the plans' buttons away */
@media (max-width: 620px) { .un .top .acct-link { display: none; } }
@media (max-width: 720px) {
  /* the pictures' details open under the picture, where a phone has the room */
  .strip figure { flex-basis: 88%; }
  .closer summary { position: static; margin-top: 0.7rem; }
  .closer-body { position: static; margin-top: 0.6rem; max-height: none; }
  .closer-body h3 { padding-right: 0; }
  .closer-body dl { grid-template-columns: 1fr; }
  /* a transfer runs down: from the EU, along its safeguard, to the company */
  .xfer { grid-template-columns: 1fr; justify-items: start; gap: 0.5rem; }
  .xfer .via { align-self: stretch; justify-content: flex-start; min-height: 52px; padding-left: 2.1rem; }
  .xfer .via::before { left: 17px; right: auto; top: 0; bottom: 6px; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
  .xfer .via::after { right: auto; left: 13px; top: auto; bottom: -4px; border-color: transparent; border-top-color: var(--accent); }
  .xfer .via i { left: 13.5px; top: 4px; animation-name: flow-down; }
}
@media (max-width: 560px) {
  section { padding-block: 3.5rem; }
  .kinds { grid-template-columns: 1fr; }
  /* side by side on a phone, each figure would be too small to read: one above the other */
  .names { padding: 1.5rem 1.25rem 1.7rem; }
  .name-pair { grid-template-columns: 1fr; }
  .top .cta .ghost { display: none; }
  .top nav + .cta .btn { display: none; } /* the company's name fills a phone's header; the hero's first button is the same link */
  .account .top .cta .btn { display: none; } /* likewise on the account page: signed in, its hero opens Union Notes; signed out, there is nothing to open yet */
  .top .acct-link { padding: 0.4rem 0.55rem; }
  .top .acct-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the person alone: its word read, not shown */
  .top .brandline .by { display: none; }
  .teaser { padding: 1.4rem; }
  .pairs li { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-base .end { margin-left: 0; }
  .glance { grid-template-columns: 1fr; }
  .pcards, .pcards.two, .pcards.four, .pcards.five, .p-notes { grid-template-columns: 1fr; }
  .p-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 2.9rem); }
  .zeros { gap: 0.5rem; }
  .zeros div { padding: 1.1rem 0.4rem 1rem; border-radius: 18px; }
  .zeros b { font-size: 3.2rem; }
  .zeros span { font-size: 0.98rem; line-height: 1.25; }
  .nl-card { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.3rem 1.25rem; }
  .logline { padding: 1.1rem 1.1rem 1.2rem; }
  .flow { grid-template-columns: 1fr; grid-template-rows: none; }
  .flow > * { grid-column: 1 !important; grid-row: auto !important; }
  .link-h { min-height: 64px; }
  .link-h::before { left: 50%; right: auto; top: 4px; bottom: 4px; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
  .link-h.two::after, .link-h.one::after { right: auto; top: auto; bottom: -2px; left: calc(50% - 5px); border-color: transparent; border-top-color: var(--accent); }
  .link-h .tip { left: calc(50% - 5px); top: -2px; border-color: transparent; border-bottom-color: var(--accent); }
  .link-h .dot { left: calc(50% - 4.5px); top: 4px; animation-name: flow-down; }
  .link-v { min-height: 64px; }
  .flow .c3r1 { order: -2; }
  .flow .c2r1 { order: -1; }
  .who-card { grid-template-columns: 1fr; }
}
/* The narrowest phones (320, or a 360 phone with a larger display size): the product's name in the
   hero would run past the screen's edge at its smallest clamp, so the mark and the name step down. */
@media (max-width: 360px) {
  .product-title { gap: 14px; }
  .product-title img { width: 60px; height: 60px; border-radius: 15px; }
  .product-title .un-wm { font-size: 2.15rem; }
}

/* ================================================================ the account page (account.html)
   The Isometry Works account: the company's look, quieter for forms. The octahedra still move behind,
   the cards are glass a little more solid than the pages' (words typed into them must read), one
   column on a phone and two from 900 px. A problem is said in the yellow highlight and the news in
   the teal: the site has no third colour. Everything here is scoped to body.account or .acct-. */
.account { --acct-card: color-mix(in srgb, var(--surface) 90%, transparent); }
.account [hidden] { display: none !important; }
.account canvas.backdrop { opacity: 0.6; } /* the octahedra drift further back behind forms and lists */
.acct { padding-block: 2.6rem 4.6rem; }
.acct .acct-view { padding-block: 0; border-top: 0; animation: acct-in 0.45s var(--ease-soft) both; }
@keyframes acct-in { from { opacity: 0; transform: translateY(8px); } }
.acct-wait { padding: 4rem 0; text-align: center; color: var(--muted); font-family: var(--display); font-size: 1.2rem; }
.acct-narrow { max-width: 31rem; margin-inline: auto; }
.acct-mid { max-width: 39rem; margin-inline: auto; }
/* the page's news and problems, above the view: always in the page (a live region is read out when it changes), nothing when empty */
.acct-flash, .acct-alert { max-width: 46rem; margin: 0 auto 1.2rem; padding: 0.85rem 1.1rem; border-radius: 14px; font-weight: 600; line-height: 1.45; }
.acct-flash { border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); color: var(--accent-deep); }
.acct-alert { border: 1px solid var(--highlight); border-left-width: 5px; background: color-mix(in srgb, var(--highlight) 18%, var(--surface)); color: var(--text); }
.acct-flash:empty, .acct-alert:empty { margin: 0; padding: 0; border-width: 0; }

.acct-card { position: relative; display: flex; flex-direction: column; gap: 1rem; min-width: 0; padding: 1.7rem 1.6rem 1.8rem; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border)); background-color: var(--acct-card); background-image: radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); box-shadow: var(--lift), inset 0 1px 0 var(--glass-edge); }
@media (min-width: 900px) and (hover: hover) { .acct-card { backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); } }
.acct-narrow .acct-card::before, .acct-mid .acct-card::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--highlight) 70%, transparent); box-shadow: 0 0 14px var(--glow); opacity: 0.85; pointer-events: none; }
.acct-card h1 { font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.7rem); text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.acct-card h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.42rem; font-weight: 600; }
.acct-card h2 .ic { width: 22px; height: 22px; color: var(--accent-deep); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 30%, transparent)); }
/* a heading given the focus (a new view) shows no ring: it is not a control */
.acct h1:focus, .acct h2:focus { outline: none; }
.acct-lead { color: var(--muted); font-family: var(--display); font-size: 1.2rem; line-height: 1.5; text-wrap: pretty; }
.acct-lead b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.acct-fine { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.acct-fine b { color: var(--text); }

/* Google's way in: its own mark on the page's surface, a pill like Google's button */
.acct-google { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 50px; padding: 0.7rem 1.2rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--muted) 70%, transparent); background: var(--surface); color: var(--text); font: 600 1rem/1.2 var(--sans); text-decoration: none; transition: border-color var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft); }
.acct-google svg { width: 20px; height: 20px; flex: none; }
.acct-google:hover, .acct-google:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent); }
.acct-or { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.84rem; }
.acct-or::before, .acct-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* forms: a label over each field, a hint under it; the field the server refuses marked in the highlight */
.acct-form { display: grid; gap: 0.95rem; }
.acct-field { display: grid; gap: 0.35rem; min-width: 0; }
.acct-field label, .acct-label, .acct-sellers legend { color: var(--text); font-size: 0.88rem; font-weight: 650; }
.acct-field small { color: var(--muted); font-weight: 500; }
.acct input[type=text], .acct input[type=email], .acct input[type=password] { width: 100%; min-height: 50px; padding: 0.7rem 0.95rem; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: 400 1.02rem/1.3 var(--sans); transition: border-color var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft); }
.acct input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
@media (hover: hover) { .acct input:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); } }
.acct input:focus-visible { border-color: var(--accent); outline: 3px solid var(--highlight); outline-offset: 2px; }
.acct input[aria-invalid=true] { border-color: var(--highlight); box-shadow: 0 0 0 3px color-mix(in srgb, var(--highlight) 32%, transparent); }
.acct-pw { position: relative; }
.acct-pw input { padding-right: 4.8rem; }
.acct-reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 0.8rem; border: 0; border-radius: 9px; background: transparent; color: var(--accent-deep); font: 650 0.86rem/1 var(--sans); cursor: pointer; }
.acct-reveal:hover { background: var(--accent-soft); }
.acct-hint { color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
/* The Isometry Works ID: the @ inside the field, its word as it is typed (free, taken), names close to it to tap. */
.acct-handle { position: relative; display: flex; align-items: center; }
.acct-handle > span { position: absolute; left: 0.85rem; color: var(--muted); font: 600 1rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; pointer-events: none; }
.acct-handle > input { flex: 1; min-width: 0; padding-left: 2rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.acct-hint[data-state=ok] { color: var(--accent-deep); }
.acct-hint[data-state=bad] { color: var(--text); font-weight: 600; }
.acct-picks { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.acct-picks[hidden] { display: none; }
.acct-pick { padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font: 600 0.85rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.acct-pick:hover { border-color: var(--accent); }
.acct-at { opacity: 0.6; margin-right: 0.05em; }
.acct-change { font-size: 0.92rem; }
.acct-error { color: var(--text); font-size: 0.93rem; font-weight: 600; line-height: 1.45; }
.acct-error:not(:empty) { padding: 0.65rem 0.85rem; border-left: 4px solid var(--highlight); border-radius: 12px; background: color-mix(in srgb, var(--highlight) 20%, var(--surface)); }
.acct-form > .acct-error:empty { margin-top: -0.95rem; } /* nothing to say: no gap kept for it */
.acct-card > .acct-error:empty { margin-top: -1rem; }
.acct-others { align-self: flex-start; }
.acct-narrow .acct-form > .btn, .acct-mid .acct-form > .btn { width: 100%; }
.acct-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.95rem; }
.acct-links span { margin-right: -0.9rem; color: var(--muted); }
.acct-linkbtn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); cursor: pointer; }
.acct-linkbtn:hover { text-decoration-color: currentColor; }
.acct-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.4; cursor: pointer; }
.acct-check input { flex: none; width: 20px; height: 20px; margin: 0.05rem 0 0; accent-color: var(--accent); }
.acct-check input:focus-visible, .acct-sellers input:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; }

/* a step done: what happens next, and the tick of a confirmation */
.acct-done { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface)); }
.acct-done .ic { margin-top: 2px; color: var(--accent-deep); }
.acct-done p { color: var(--text); font-family: var(--display); font-size: 1.14rem; line-height: 1.5; overflow-wrap: anywhere; }
.acct-tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 30px -4px var(--glow); }
.acct-tick .ic { width: 28px; height: 28px; stroke-width: 2.6; }

/* the checkout: the product and its price before VAT, the test's note, the code and the seller it is bought from */
.acct-product { display: grid; gap: 0.7rem; padding: 1.1rem 1.2rem 1.2rem; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }
.acct-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.5rem; }
.acct-price b { font-family: var(--display); font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 28%, transparent); }
.acct-price span { color: var(--text); font-weight: 650; }
.acct-price small { color: var(--muted); font-size: 0.88rem; }
.acct-cycle { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.acct-cycle a { padding: 0.45rem 0.95rem; border-radius: 999px; color: var(--muted); font-size: 0.9rem; font-weight: 650; text-decoration: none; transition: color var(--hover-t) var(--ease-soft), background-color var(--hover-t) var(--ease-soft); }
.acct-cycle a:hover { color: var(--accent-deep); }
.acct-cycle a[aria-current] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -10px var(--glow); }
.acct-current { padding: 0.75rem 1rem; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border)); color: var(--text); font-size: 0.93rem; line-height: 1.45; }
.acct-test { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.95rem 1.1rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--highlight) 70%, var(--border)); background: color-mix(in srgb, var(--highlight) 15%, var(--surface)); }
.acct-test .ic { margin-top: 2px; color: var(--accent-deep); }
.acct-test p { color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.acct-sellers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.acct-sellers legend { margin-bottom: 0.45rem; padding: 0; }
.acct-sellers label { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.8rem 0.9rem; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color var(--hover-t) var(--ease-soft), box-shadow var(--hover-t) var(--ease-soft), background-color var(--hover-t) var(--ease-soft); }
.acct-sellers label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.acct-sellers input { flex: none; width: 18px; height: 18px; margin: 0.15rem 0 0; accent-color: var(--accent); }
.acct-sellers b { display: block; font-size: 0.95rem; }
.acct-sellers small { display: block; color: var(--muted); font-size: 0.8rem; }
.acct-stage { display: grid; gap: 1rem; }
.acct-preview, .acct-confirmed { display: grid; gap: 0.9rem; justify-items: start; }
.acct-preview h2, .acct-confirmed h2 { font-size: 1.6rem; }
.acct-buy { font-family: var(--display); font-size: 1.24rem; line-height: 1.5; }
.acct-note { padding: 0.8rem 1rem; border-left: 4px solid var(--highlight); border-radius: 14px; background: color-mix(in srgb, var(--highlight) 16%, var(--surface)); line-height: 1.45; }
/* paying through Paddle: its button above the codes, then the wait for Paddle's word */
.acct-pay { display: grid; gap: 0.7rem; justify-items: start; }
.acct-pay .btn .ic { width: 18px; height: 18px; }
.acct-or { display: flex; align-items: center; gap: 0.8rem; width: 100%; margin-top: 0.4rem; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }
.acct-or::before, .acct-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.acct-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 22%, transparent); border-top-color: var(--accent); animation: acct-spin 0.9s linear infinite; }
@keyframes acct-spin { to { transform: rotate(360deg); } }
.acct-sub-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.acct-confirm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--highlight) 60%, var(--border)); background: color-mix(in srgb, var(--highlight) 12%, var(--surface)); }
.acct-confirm p { flex: 1 1 16rem; margin: 0; line-height: 1.45; }

/* the account: who, how they sign in, the plan and what was bought, where they are signed in */
.acct-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: 1.8rem; }
.acct-hero h1 { margin-top: 0.7rem; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.4rem); overflow-wrap: anywhere; text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 22%, transparent); }
.acct-hero .acct-lead { max-width: 40rem; margin-top: 0.6rem; }
.acct-open img { width: 26px; height: 26px; border-radius: 7px; }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.acct-wide { grid-column: 1 / -1; }
.acct-id { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.acct-id code { flex: 1 1 14rem; min-width: 0; padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); font: 650 1.02rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; overflow-wrap: anywhere; user-select: all; }
.acct-copy { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 46px; padding: 0 1rem; border: 1.5px solid var(--accent); border-radius: 12px; background: transparent; color: var(--accent-deep); font: 650 0.92rem/1 var(--sans); cursor: pointer; transition: background-color var(--hover-t) var(--ease-soft); }
.acct-copy:hover { background: var(--accent-soft); }
.acct-copy .ic { width: 18px; height: 18px; }
.acct-inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.acct-inline .acct-error { grid-column: 1 / -1; }
.acct-inline > .acct-error:empty { margin-top: -0.95rem; }
.acct-address { display: grid; gap: 0.35rem; padding-top: 0.9rem; border-top: 1px dashed var(--border); }
.acct-address p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; overflow-wrap: anywhere; }
.acct-list { display: grid; list-style: none; }
.acct-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.3rem 0.9rem; align-items: center; padding: 0.85rem 0; border-top: 1px solid var(--border); }
.acct-list li:first-child { padding-top: 0.2rem; border-top: 0; }
.acct-list li > .ic { align-self: start; width: 22px; height: 22px; margin-top: 2px; color: var(--accent-deep); }
.acct-list .acct-g { stroke: none; } /* Google's mark is filled in its own colours, not drawn */
.acct-item { display: grid; gap: 0.15rem; min-width: 0; }
.acct-item b { font-weight: 650; }
.acct-sub { color: var(--muted); font-size: 0.88rem; line-height: 1.4; overflow-wrap: anywhere; }
.acct-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }
.acct-product-id { justify-self: start; padding: 0.06rem 0.4rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent-deep); font: 600 0.78rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.btn.acct-small { padding: 0.45rem 0.85rem; border-radius: 10px; font-size: 0.86rem; }
.acct-more { display: grid; gap: 0.8rem; padding-top: 0.9rem; border-top: 1px dashed var(--border); }
.acct-planname { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.acct-planname b { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 28%, transparent); }
/* deleting: the card rimmed in the highlight, its button in the text's own colour */
.acct-danger { border-color: color-mix(in srgb, var(--highlight) 65%, var(--border)); }
.btn.acct-delete { --btn-line: var(--text); --btn-line-lit: var(--text); --btn-lit: color-mix(in srgb, var(--highlight) 32%, transparent); color: var(--text); }
.acct-signout { margin-top: 1.8rem; text-align: center; }
@media (prefers-reduced-transparency: reduce) {
  .account { --acct-card: var(--surface); }
  .acct-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .acct { padding-block: 1.5rem 3.4rem; }
  .acct-card { padding: 1.35rem 1.15rem 1.45rem; border-radius: 18px; }
  .acct-sellers { grid-template-columns: minmax(0, 1fr); }
  .acct-hero .btn { width: 100%; }
  .acct-list li { grid-template-columns: auto minmax(0, 1fr); }
  .acct-list li > button, .acct-list li > .acct-sub-actions { grid-column: 2; justify-self: start; justify-content: flex-start; }
  .acct-inline { grid-template-columns: minmax(0, 1fr); }
  .acct-inline > .btn { justify-self: start; }
  .acct-price b { font-size: 2.6rem; }
}
