/* Fibers — getfibers.app
   One direction: native-Mac calm. System type, one blue, real glass. */

/* ---------- Tokens ---------- */
:root {
  --accent: #1469FD;
  --accent-text: #0f5fe6;
  --accent-1: #2175FD;
  --accent-2: #095EFD;
  --accent-grad: linear-gradient(135deg, #1565f0, #0756e8);
  --ink: #07193D;
  --text: #0c1a38;
  --text-2: rgba(7, 25, 61, 0.72);
  --text-3: rgba(7, 25, 61, 0.62);
  --bg: #ffffff;
  --bg-tint: #f5f7fb;
  --surface: #ffffff;
  --line: rgba(7, 25, 61, 0.10);
  --line-strong: rgba(7, 25, 61, 0.18);
  --kbd-bg: rgba(7, 25, 61, 0.05);
  --shadow-lg: 0 24px 64px rgba(7, 25, 61, 0.18), 0 2px 6px rgba(7, 25, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(7, 25, 61, 0.12), 0 1px 3px rgba(7, 25, 61, 0.06);
  --running: #30c552;
  --stop: #d70015;

  /* The demo's macOS surfaces */
  --wall: radial-gradient(60% 55% at 18% 8%, #cfe2ff 0%, rgba(207, 226, 255, 0) 60%),
          radial-gradient(55% 60% at 82% 28%, #e6d6fc 0%, rgba(230, 214, 252, 0) 60%),
          radial-gradient(70% 60% at 50% 105%, #c3d4fb 0%, rgba(195, 212, 251, 0) 60%),
          linear-gradient(160deg, #d7e3fb 0%, #dacff3 50%, #c9d7f8 100%);
  --menubar-bg: rgba(255, 255, 255, 0.46);
  --menubar-text: #1d1d1f;
  --glass: rgba(255, 255, 255, 0.60);
  --glass-line: rgba(255, 255, 255, 0.62);
  --glass-row: rgba(255, 255, 255, 0.55);
  --glass-field: rgba(7, 25, 61, 0.065);
  --glass-card: rgba(255, 255, 255, 0.55);
  --glass-text: #0c1a38;
  --glass-text-2: rgba(7, 25, 61, 0.70);
  --glass-play: rgba(7, 25, 61, 0.11);

  --radius-panel: 18px;
  --radius-card: 12px;
  --radius-row: 8px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef8;
    --text: #e8eef8;
    --accent-text: #5f9bff;
    --text-2: rgba(232, 238, 248, 0.74);
    --text-3: rgba(232, 238, 248, 0.66);
    --bg: #0a1020;
    --bg-tint: #0e1526;
    --surface: #111b2a;
    --line: rgba(232, 238, 248, 0.10);
    --line-strong: rgba(232, 238, 248, 0.18);
    --kbd-bg: rgba(232, 238, 248, 0.06);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);

    --wall: radial-gradient(60% 55% at 18% 8%, #3556a3 0%, rgba(53, 86, 163, 0) 60%),
            radial-gradient(55% 60% at 82% 28%, #5b3f9c 0%, rgba(91, 63, 156, 0) 60%),
            radial-gradient(70% 60% at 50% 105%, #2a4a9e 0%, rgba(42, 74, 158, 0) 60%),
            linear-gradient(160deg, #1b2a5c 0%, #262458 50%, #1a2c5e 100%);
    --menubar-bg: rgba(16, 18, 32, 0.52);
    --menubar-text: #f5f5f7;
    --glass: rgba(30, 34, 52, 0.66);
    --glass-line: rgba(255, 255, 255, 0.14);
    --glass-row: rgba(255, 255, 255, 0.08);
    --glass-field: rgba(255, 255, 255, 0.09);
    --glass-card: rgba(255, 255, 255, 0.07);
    --glass-text: #f2f4fa;
    --glass-text-2: rgba(242, 244, 250, 0.62);
    --glass-play: rgba(255, 255, 255, 0.12);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
kbd {
  font-family: var(--font);
  font-size: 0.8em;
  font-weight: 500;
  padding: 1px 6px 2px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--kbd-bg);
  color: var(--text);
  white-space: nowrap;
}
kbd + kbd { margin-left: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 12px; background: var(--accent); color: #fff; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 720px); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__lede { margin-top: 16px; font-size: 1.1875rem; color: var(--text-2); max-width: 60ch; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.display {
  font-size: clamp(2.5rem, 1.4rem + 5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}
.h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.h4 { font-size: 1.125rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.012em; color: var(--ink); }
.lede { margin-top: 22px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); color: var(--text-2); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(9, 94, 253, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); box-shadow: 0 4px 14px rgba(9, 94, 253, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn:active { transform: translateY(1px) scale(0.99); filter: brightness(0.98); }
.btn--small { height: 36px; padding: 0 14px; font-size: 0.9375rem; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.1875rem; color: var(--ink); }
.brand__mark { width: 24px; height: 24px; fill: url(#fibers-grad); }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); }
.site-nav a { padding: 6px 0; transition: color .15s ease; }
.site-nav a:hover { color: var(--text); }
@media (max-width: 760px) { .site-nav { display: none; } .site-header .langs { margin-left: auto; } }

/* The language menu: a globe and the language's code, opening a list of the page in each language. */
.langs { position: relative; margin-left: -8px; }
.langs__toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  border-radius: 10px; cursor: pointer; list-style: none;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2);
  transition: color .15s ease, background-color .15s ease;
}
.langs__toggle::-webkit-details-marker { display: none; }
.langs__toggle:hover, .langs[open] .langs__toggle { color: var(--text); background: var(--kbd-bg); }
.langs__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.langs__icon { width: 16px; height: 16px; flex: none; }
/* Narrow phones: the brand, the menu and the button share 320 px, so the gaps close up and nothing shrinks. */
@media (max-width: 400px) {
  .site-header__inner { gap: 12px; }
  .brand__mark { flex: none; }
  .langs { margin-left: auto; }
  .langs__toggle { padding: 0 8px; }
}
.langs__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 172px; padding: 6px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-md);
}
.langs__list a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 0.9375rem; color: var(--text-2); }
.langs__list a:hover, .langs__list a:focus-visible { color: var(--text); background: var(--kbd-bg); outline: none; }
.langs__list a[aria-current] { color: var(--ink); font-weight: 600; }
.langs__list a[aria-current]::after { content: "✓"; float: right; margin-left: 12px; color: var(--accent-text); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__copy .lede { margin-inline: auto; }

/* ---------- Notify form ---------- */
.notify { margin-top: 32px; width: 100%; max-width: 520px; }
.notify--center { margin-inline: auto; }
.notify__row { display: flex; gap: 8px; }
.notify__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.notify__input::placeholder { color: var(--text-3); }
.notify__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(20, 105, 253, 0.18); }
.notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify__note { margin-top: 12px; font-size: 0.875rem; color: var(--text-3); }
.notify.is-sending .btn { opacity: .7; pointer-events: none; }
.notify.is-error .notify__note { color: #c5221f; }
@media (prefers-color-scheme: dark) { .notify.is-error .notify__note { color: #ff6b5f; } }
.notify.is-done .notify__row { display: none; }
.notify.is-done .notify__note { color: var(--text); font-weight: 500; font-size: 1rem; }
.notify.is-done .notify__note::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--running); margin-right: 10px; vertical-align: 2px; }
@media (max-width: 520px) { .notify__row { flex-direction: column; } .notify__input { flex: none; } .notify .btn { width: 100%; } }

/* ---------- Demo: screen, menu bar, panel ---------- */
.demo { margin-top: clamp(40px, 6vw, 72px); }
.screen {
  position: relative;
  height: 640px;
  border-radius: 20px;
  background: var(--wall);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  isolation: isolate;
}
@media (prefers-color-scheme: dark) { .screen { box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08); } }

.menubar {
  position: absolute; inset: 0 0 auto 0; height: 30px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 16px;
  background: var(--menubar-bg);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  color: var(--menubar-text);
  font-size: 13px; line-height: 1;
  user-select: none;
}
/* One line of menus: those that don't fit wrap onto a second line, which is cut off, so a language with longer
   menu names shows fewer of them rather than two rows. */
.menubar__left { display: flex; flex-wrap: wrap; column-gap: 18px; align-items: center; align-content: flex-start; flex: 1; min-width: 0; height: 30px; overflow: hidden; }
.menubar__left span { line-height: 30px; white-space: nowrap; }
.menubar__app { font-weight: 700; }
.menubar__right { display: flex; gap: 16px; align-items: center; flex: none; white-space: nowrap; }
.menubar__item { display: inline-flex; align-items: center; gap: 6px; }
.menubar__fibers { padding: 4px 6px; border-radius: 5px; transition: background .2s ease; }
.menubar__fibers.is-running { background: rgba(0, 0, 0, 0.08); }
@media (prefers-color-scheme: dark) { .menubar__fibers.is-running { background: rgba(255, 255, 255, 0.12); } }
.menubar__mark { width: 16px; height: 16px; fill: currentColor; }
.menubar__elapsed { font-variant-numeric: tabular-nums; font-weight: 500; }
.menubar__elapsed.is-paused { opacity: .55; }
.menubar__glyph { height: 13px; width: auto; fill: currentColor; }
.menubar__battery { height: 12px; }
.menubar__clock { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .menubar__left span:not(.menubar__app) { display: none; } .menubar__right { gap: 12px; } }

.panel {
  position: absolute; top: 40px; left: 50%;
  width: 360px;
  transform: translateX(-50%);
  padding: 12px;
  border-radius: var(--radius-panel);
  background: var(--glass);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 0 0 1px var(--glass-line) inset, 0 30px 70px rgba(7, 25, 61, 0.30), 0 2px 8px rgba(7, 25, 61, 0.10);
  color: var(--glass-text);
  font-size: 13px; line-height: 1.25;
  user-select: none;
}
@media (prefers-color-scheme: dark) { .panel { box-shadow: 0 0 0 1px var(--glass-line) inset, 0 30px 70px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3); } }
@media (min-width: 900px) { .panel { left: auto; right: 86px; transform: none; } }
@media (max-width: 420px) { .panel { transform: translateX(-50%) scale(0.86); transform-origin: top center; } }
@media (max-width: 640px) { .screen { height: 600px; } }

.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.dbchip { display: inline-flex; align-items: center; gap: 6px; }
.dbchip__icon { width: 20px; height: 20px; border-radius: 5px; background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.dbchip__name { font-weight: 700; font-size: 14px; }
.dbchip__caret { width: 9px; height: 13px; color: var(--glass-text-2); }
.dbchip__space { margin-left: 6px; color: var(--glass-text-2); font-size: 12px; }
.panel__gear { width: 18px; height: 18px; color: var(--glass-text-2); }

.timer-card {
  background: var(--glass-card);
  border-radius: var(--radius-card);
  padding: 12px 14px 12px;
  margin-bottom: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  animation: card-in .32s cubic-bezier(.2,.8,.2,1);
}
@media (prefers-color-scheme: dark) { .timer-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset; } }
@keyframes card-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.timer-card__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--glass-text-2); }
.timer-card__title { margin-top: 6px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.timer-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.timer-card__elapsed { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.timer-card__elapsed.is-paused { opacity: .6; }
.timer-card__actions { display: inline-flex; align-items: center; gap: 10px; }
.iconbtn { width: 30px; height: 30px; border-radius: 50%; background: var(--glass-play); display: grid; place-items: center; color: var(--glass-text); transition: transform .12s ease, background .12s ease; }
.iconbtn:hover { background: color-mix(in srgb, var(--glass-play) 70%, var(--glass-text) 12%); }
.iconbtn:active { transform: scale(0.94); }
.iconbtn svg { width: 12px; height: 12px; }
.iconbtn .icon-play { display: none; }
.timer-card.is-paused .iconbtn .icon-play { display: block; }
.timer-card.is-paused .iconbtn .icon-pause { display: none; }
.stopbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px 0 12px;
  border-radius: 15px; background: var(--stop); color: #fff; font-weight: 600; font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(255, 59, 48, 0.35);
  transition: transform .12s ease, filter .12s ease;
}
.stopbtn:hover { filter: brightness(1.05); }
.stopbtn:active { transform: scale(0.97); }
.stopbtn svg { width: 11px; height: 11px; }
.timer-card.is-paused .stopbtn { background: var(--accent-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(9, 94, 253, 0.35); }
.timer-card.is-paused .stopbtn svg { display: none; }
.timer-card__foot { margin-top: 10px; display: flex; gap: 12px; font-size: 12px; color: var(--glass-text-2); }
.linkbtn { color: var(--accent-text); font-weight: 500; }
@media (prefers-color-scheme: dark) { .linkbtn { color: #8ab4ff; } }
.timer-card.is-paused .linkbtn { display: none; }

.notice { display: flex; align-items: center; gap: 8px; padding: 9px 12px; margin-bottom: 10px; border-radius: 10px; background: var(--glass-card); font-size: 12.5px; font-weight: 500; animation: card-in .25s ease; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot--running { background: var(--running); box-shadow: 0 0 0 2px rgba(48, 197, 82, 0.18); }

.search {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  border-radius: 10px; background: var(--glass-field);
  color: var(--glass-text-2);
}
.search__icon { width: 15px; height: 15px; flex: none; }
.search__caret { width: 1px; height: 16px; background: var(--glass-text); animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.search__placeholder { font-size: 14px; }

.panel__label { margin: 14px 8px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--glass-text-2); }
.rows { display: flex; flex-direction: column; gap: 2px; }
.row {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 8px;
  border-radius: var(--radius-row);
  transition: background .12s ease;
}
.row:hover, .row:focus-within { background: var(--glass-row); }
.row__play {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--glass-play); color: var(--glass-text);
  display: grid; place-items: center;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.row__play svg { width: 10px; height: 10px; }
.row__play .icon-pause { display: none; }
.row:first-child .row__play, .row__play:hover { background: var(--accent-grad); color: #fff; }
.row__play:active { transform: scale(0.92); }
.row.is-running .row__play, .row.is-running .row__play:hover { background: var(--glass-play); color: var(--glass-text); }
.row.is-running .row__play .icon-play { display: none; }
.row.is-running .row__play .icon-pause { display: block; }
.row.is-running.is-paused .row__play .icon-play { display: block; }
.row.is-running.is-paused .row__play .icon-pause { display: none; }
.row__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row__title { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta { font-size: 11.5px; color: var(--glass-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__key kbd { font-size: 11px; padding: 2px 5px; border: 0; border-radius: 5px; background: var(--glass-play); color: var(--glass-text-2); }
.panel__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--glass-line); font-size: 12px; color: var(--glass-text-2); }
.panel__foot b { color: var(--glass-text); font-weight: 650; }
.panel__host { display: inline-flex; align-items: center; gap: 6px; }

.demo__hint { margin-top: 18px; text-align: center; font-size: 0.875rem; color: var(--text-3); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step__n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 0.9375rem;
  display: grid; place-items: center; margin-bottom: 6px;
}
.step p { color: var(--text-2); }
.step__shot {
  margin-top: 14px;
  aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--bg-tint);
}
.step__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } .step__shot { aspect-ratio: 16 / 10; } }

/* ---------- Features ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__copy { order: 2; }
.feature__copy p { margin-top: 14px; color: var(--text-2); max-width: 46ch; }
.feature__shot {
  aspect-ratio: 1 / 1;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-tint);
}
.feature__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.feature__shot--tall { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature--flip .feature__copy { order: 0; }
}

/* ---------- Schema ---------- */
.schema { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.schema__link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--accent-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; width: 120px; }
.schema__link svg { width: 120px; height: 40px; }
.dbcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow-md);
}
.dbcard--fibers { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.dbcard__space { font-size: 0.8125rem; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.dbcard__kind { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding: 2px 6px; border: 1px solid var(--line); border-radius: 999px; }
.dbcard__name { margin-top: 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.dbcard__fields { margin-top: 14px; border-top: 1px solid var(--line); }
.dbcard__fields li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.dbcard__fields span { font-weight: 500; white-space: nowrap; }
.dbcard__fields em { font-style: normal; color: var(--text-3); font-size: 0.8125rem; text-align: right; }
.dbcard__fields .is-yours { color: var(--text-3); }
.dbcard__fields .is-added span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.dbcard__fields .is-added em { color: var(--accent-text); font-weight: 500; }
.dbcard__fields .is-more span { color: var(--text-3); font-weight: 400; }
@media (max-width: 960px) {
  .schema { grid-template-columns: 1fr; }
  .schema__link { width: auto; flex-direction: row; justify-content: center; }
  .schema__link svg { transform: rotate(90deg); width: 40px; height: 40px; }
}
.facts { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facts li { color: var(--text-2); padding-top: 16px; border-top: 1px solid var(--line); }
.facts strong { display: block; color: var(--ink); font-weight: 650; margin-bottom: 6px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Privacy ---------- */
.section--dark {
  background: #07193D;
  background-image: radial-gradient(80% 60% at 20% 0%, rgba(33, 117, 253, 0.28), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(9, 94, 253, 0.22), transparent 60%);
  color: #e8eef8;
}
.section--dark .h2, .section--dark .h4 { color: #fff; }
.section--dark .section__lede { color: rgba(232, 238, 248, 0.7); }
.section--dark .eyebrow { color: #7fb0ff; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust li { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); }
.trust__icon { width: 28px; height: 28px; color: #7fb0ff; margin-bottom: 14px; }
.trust p { margin-top: 8px; color: rgba(232, 238, 248, 0.7); font-size: 1rem; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); max-width: 62ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .section__lede { margin-inline: auto; }
.cta__mark { width: 44px; height: 44px; fill: url(#fibers-grad); margin: 0 auto 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 0.875rem; color: var(--text-3); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.site-footer__brand .brand__mark { width: 18px; height: 18px; }
.site-footer__legal { max-width: 56ch; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__links a:hover { color: var(--text); }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Demo: the records that land in the workspace ---------- */
.records {
  position: absolute; left: 36px; bottom: 32px; width: 292px;
  display: flex; flex-direction: column; gap: 10px;
}
.records__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--glass-text); opacity: 0.8; margin: 0 0 2px 2px;
}
.record {
  border-radius: 12px; padding: 12px 14px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 0 0 1px var(--glass-line) inset, 0 14px 36px rgba(7, 25, 61, 0.18);
  color: var(--glass-text); font-size: 12px; line-height: 1.3;
  animation: record-in .55s cubic-bezier(.2,.8,.2,1);
}
@media (prefers-color-scheme: dark) { .record { box-shadow: 0 0 0 1px var(--glass-line) inset, 0 14px 36px rgba(0, 0, 0, 0.45); } }
@keyframes record-in { from { opacity: 0; transform: translateX(28px) scale(0.96); } to { opacity: 1; transform: none; } }
.record--empty { color: var(--glass-text-2); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 1.5px dashed var(--glass-line); animation: none; }
.record--empty p { max-width: 28ch; }
.record__head { display: flex; justify-content: space-between; align-items: center; color: var(--glass-text-2); font-size: 11px; }
.record__type { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.record__type::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent-grad); }
.record__id { font-variant-numeric: tabular-nums; }
.record__title { margin-top: 6px; font-size: 13.5px; font-weight: 650; letter-spacing: -0.005em; }
.record__fields { margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.record__fields div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--glass-line); padding-top: 6px; }
.record__fields dt { color: var(--glass-text-2); margin: 0; }
.record__fields dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .records { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .search__caret, .timer-card, .record, .notice { animation: none; }
  .btn, .iconbtn, .stopbtn, .row, .row__play, .site-header { transition: none; }
}

/* ---------- Demo polish ---------- */
@media (prefers-reduced-motion: no-preference) {
  .panel { animation: panel-in .6s cubic-bezier(.2,.8,.2,1) backwards; }
  @keyframes panel-in { from { opacity: 0; top: 30px; } to { opacity: 1; top: 40px; } }
}
.panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-panel); }

/* ---------- Form extras ---------- */
.notify__note a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.notify__turnstile { margin-top: 8px; }
.notify__turnstile:empty { display: none; }
.notify.is-fallback .notify__row { justify-content: center; }
.schema__note { margin-top: 20px; font-size: 0.9375rem; color: var(--text-2); max-width: 70ch; }
.schema__note strong { color: var(--text); font-weight: 600; }

/* ---------- Long-form pages (privacy policy, support) ---------- */
.page { padding-block: clamp(48px, 7vw, 96px); }
.page__head { margin-bottom: clamp(28px, 4vw, 48px); }
.page__meta { margin-top: 12px; font-size: 0.9375rem; color: var(--text-3); }
.page__translated { margin-top: 4px; }
.page__translated a { text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.375rem; line-height: 1.25; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); margin-top: 44px; margin-bottom: 10px; }
.prose h3 { font-size: 1.0625rem; font-weight: 650; color: var(--ink); margin-top: 28px; margin-bottom: 6px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.prose ol { list-style: decimal; padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.prose th { color: var(--text); font-weight: 600; }
.prose .callout { padding: 16px 18px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line); color: var(--text); }

/* ---------- No-JS and CSP-safe helpers ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn--end { margin-left: auto; }
.section__lede--center { margin-inline: auto; }
.notify__nojs { font-size: 0.9375rem; color: var(--text-2); }
.notify__nojs a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.js .notify__nojs { display: none; }
.no-js .notify__row { display: none; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: 48px 0; }
.lost__panel {
  width: min(100% - 32px, 360px); margin-inline: auto; padding: 14px;
  border-radius: var(--radius-panel); background: var(--glass);
  -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 0 0 1px var(--glass-line) inset, var(--shadow-lg);
  color: var(--glass-text); font-size: 13px; text-align: left;
}
.lost__screen { padding: 56px 0 64px; border-radius: 20px; background: var(--wall); margin: 32px 0; }
.lost__row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; }
.lost__q { width: 24px; height: 24px; border-radius: 50%; background: var(--glass-play); display: grid; place-items: center; font-weight: 700; color: var(--glass-text-2); flex: none; }
.lost__meta { display: block; color: var(--glass-text-2); font-size: 11.5px; margin-top: 2px; }
.lost__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: 0.9375rem; color: var(--text-2); }
.lost__langs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.lost__langs a:hover { color: var(--text); }
