:root {
  --paper: #f3f0e8;
  --paper-2: #ede8df;
  --card: #f6f2ea;
  --sheet: #fffdf8;
  --ink: #020618;
  --ink-2: #1e293b;
  --slate: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --quiet: #cbd5e1;
  --line: rgba(2, 6, 24, 0.08);
  --line-2: rgba(2, 6, 24, 0.16);
  --coral: #ea5940;
  --coral-lo: #c4432c;
  --rust: #9a4b34;
  --cream: #f6f1e6;
  --night: #0a0d17;
  --night-2: #121726;
  --tone-text: #f3efe4;
  --tone-voice: #e9ebf7;
  --tone-photo: #eaf2e9;
  --tone-refined: #eef2fb;
  --tone-boarded: #edf2eb;
  --emerald: #077861;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.18;
  background-image: var(--noise);
  mix-blend-mode: multiply;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

em {
  font-style: italic;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

.defs {
  position: absolute;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
}

.skip:focus {
  top: 12px;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.wrap.narrow {
  max-width: 780px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker span {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
}

.tiny-eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

h2 em {
  color: var(--muted);
}

.sec-head {
  display: grid;
  gap: 20px;
}

.sec-head.center {
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.sec-head.center .lede {
  max-width: 60ch;
}

.sec-head.split {
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 40px;
}

.sec-head.split > div {
  display: grid;
  gap: 20px;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.25s, box-shadow 0.3s var(--ease), border-color 0.25s;
}

.btn svg {
  width: 20px;
  height: 20px;
  margin-top: -2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ink {
  color: var(--cream);
  background: var(--ink);
  box-shadow: 0 14px 28px -14px rgba(2, 6, 24, 0.7);
}

.btn-ink:hover {
  box-shadow: 0 20px 34px -14px rgba(2, 6, 24, 0.7), 0 0 0 4px rgba(234, 89, 64, 0.16);
}

.btn-line {
  border: 1.5px solid var(--line-2);
  background: rgba(255, 255, 255, 0.4);
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-cream {
  color: var(--ink);
  background: var(--cream);
}

.btn-glass {
  color: var(--cream);
  border: 1.5px solid rgba(246, 241, 230, 0.25);
  background: rgba(246, 241, 230, 0.06);
}

.btn-glass:hover {
  border-color: rgba(246, 241, 230, 0.6);
}

.btn.big {
  height: 58px;
  padding: 0 28px;
  font-size: 17px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row.center {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.text-link:hover {
  border-color: var(--coral);
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover span {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------------- bar */

.bar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(940px, calc(100% - 28px));
  padding: 7px 7px 7px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.bar.scrolled {
  background: rgba(246, 242, 234, 0.82);
  border-color: var(--line);
  box-shadow: 0 18px 40px -26px rgba(2, 6, 24, 0.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.hub-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: rgba(2, 6, 24, 0.05);
  transition: background 0.2s;
}

.hub-link:hover {
  background: rgba(2, 6, 24, 0.09);
}

.bar .brand {
  padding: 0 10px;
}

.bar .brand img {
  height: 24px;
  width: auto;
}

.bar-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.bar-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s, background 0.2s;
}

.bar-links a:hover {
  color: var(--ink);
  background: rgba(2, 6, 24, 0.05);
}

.bar-cta {
  margin-left: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
  background: var(--ink);
  transition: background 0.2s;
}

.bar-cta:hover {
  background: var(--ink-2);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle span::before {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span {
  position: relative;
  transform: translateY(-3px);
}

.menu-toggle span::before {
  content: "";
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(-6px) rotate(-90deg);
}

/* --------------------------------------------------------------------- dots */

.dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(2, 6, 24, 0.13) 1.1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask: linear-gradient(to bottom, #000 55%, transparent);
  mask: linear-gradient(to bottom, #000 55%, transparent);
}

.dots.lit {
  background-image: radial-gradient(circle, var(--coral) 1.5px, transparent 2px);
  opacity: 0;
  transition: opacity 0.4s;
  -webkit-mask: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 40%), #000, transparent 70%);
  mask: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 40%), #000, transparent 70%);
}

.hero:hover .dots.lit {
  opacity: 0.85;
}

.dots.dark {
  background-image: radial-gradient(circle, rgba(246, 241, 230, 0.12) 1.1px, transparent 1.6px);
  -webkit-mask: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  mask: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 110px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.6);
}

.spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(234, 89, 64, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(234, 89, 64, 0);
  }
}

.hero h1 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(60px, 7.6vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero h1 em {
  display: block;
  color: var(--coral);
}

.hero .lede {
  max-width: 34ch;
  margin-top: 28px;
}

.hero .cta-row {
  margin-top: 36px;
}

.fine {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-scene {
  position: relative;
  height: 600px;
}

.glow {
  position: absolute;
  left: 30%;
  top: 30%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 89, 64, 0.28), transparent 65%);
  filter: blur(20px);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

/* desktop window */

.desk {
  position: absolute;
  top: 20px;
  right: -40px;
  width: 560px;
  height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 50px 80px -40px rgba(2, 6, 24, 0.45), 0 1px 0 #fff inset;
}

.desk-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.desk-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2ddd3;
}

.desk-bar i:nth-child(1) {
  background: #ee6a5f;
}

.desk-bar i:nth-child(2) {
  background: #f5be4f;
}

.desk-bar i:nth-child(3) {
  background: #62c554;
}

.desk-bar span {
  flex: 1;
  margin-right: 44px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.desk-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  height: calc(100% - 34px);
}

.desk-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: var(--paper-2);
}

.desk-side img {
  margin: 0 0 12px 6px;
  border-radius: 6px;
}

.desk-side span {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
}

.desk-side span.on {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(2, 6, 24, 0.06);
}

.desk-main {
  padding: 18px 20px;
}

.desk-title {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.8);
}

.chip b {
  font-size: 12px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.chip.refined {
  background: var(--tone-refined);
}

.chip.boarded {
  color: var(--emerald);
  background: var(--tone-boarded);
}

.bucket {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}

.bucket::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line-2), transparent);
}

.bucket span {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--faint);
}

.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.desk-list {
  display: grid;
  gap: 7px;
}

.desk-list .row {
  padding: 8px 10px;
  border-radius: 12px;
}

.desk-list .row.new {
  animation: land 0.9s var(--ease);
  border-color: rgba(234, 89, 64, 0.5);
  box-shadow: 0 0 0 3px rgba(234, 89, 64, 0.12);
}

.desk-list .row.leave {
  opacity: 0;
  transition: opacity 0.4s;
}

@keyframes land {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
  }
}

.badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--slate);
}

.badge svg {
  width: 15px;
  height: 15px;
}

.badge.text {
  background: var(--tone-text);
}

.badge.voice {
  background: var(--tone-voice);
}

.badge.photo {
  background: var(--tone-photo);
}

.row-txt {
  display: grid;
  min-width: 0;
}

.row-txt b {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row-txt small {
  overflow: hidden;
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  background: #f2f2f2;
}

.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
}

.pill.refined {
  background: var(--tone-refined);
}

.pill.refined::before {
  background: #6373a6;
}

.pill.boarded {
  color: var(--emerald);
  background: var(--tone-boarded);
}

.pill.boarded::before {
  background: var(--emerald);
}

/* phones */

.phone {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19.4;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2f3d, #0b0d14 40%);
  box-shadow:
    0 0 0 1.5px #3a4050 inset,
    0 50px 70px -30px rgba(2, 6, 24, 0.6),
    0 20px 30px -20px rgba(2, 6, 24, 0.5);
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: var(--paper);
}

.status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 24px 0 28px;
  font-size: 12px;
  font-weight: 600;
}

.island {
  width: 74px;
  height: 22px;
  border-radius: 999px;
  background: #000;
}

.batt {
  width: 22px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.8;
  background: linear-gradient(to right, currentColor 70%, transparent 70%) content-box;
  padding: 1px;
}

.hero-phone {
  position: absolute;
  left: 10px;
  bottom: 0;
  z-index: 2;
  transform: rotate(-4deg);
  animation: bob 7s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: rotate(-3deg) translateY(-10px);
  }
}

.hero-phone .screen {
  background: linear-gradient(170deg, #c9cfdc, #e9dfd2);
}

.sheet {
  position: absolute;
  inset: 70px 0 0;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 18px;
  border-radius: 26px 26px 0 0;
  background: var(--card);
  box-shadow: 0 -10px 30px -10px rgba(2, 6, 24, 0.25);
}

.grabber {
  width: 36px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: var(--quiet);
}

.sheet-title {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 14px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(2, 6, 24, 0.06);
}

.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 0;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.seg svg {
  width: 12px;
  height: 12px;
}

.sheet[data-type="text"] [data-seg="text"],
.sheet[data-type="voice"] [data-seg="voice"],
.sheet[data-type="photo"] [data-seg="photo"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 3px rgba(2, 6, 24, 0.1);
}

.field {
  flex: 1;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: background 0.4s;
}

.sheet[data-type="text"] .field {
  background: var(--sheet);
}

.sheet[data-type="voice"] .field {
  background: #f6f7fc;
}

.sheet[data-type="photo"] .field {
  background: #f6faf5;
}

.field-media {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.45s var(--ease), margin 0.45s var(--ease);
}

.sheet[data-type="voice"] .field-media,
.sheet[data-type="photo"] .field-media {
  height: 74px;
  margin-bottom: 10px;
}

.wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 12px;
  background: var(--tone-voice);
  opacity: 0;
}

.sheet[data-type="voice"] .wave {
  opacity: 1;
}

.wave i {
  width: 3px;
  height: 30%;
  border-radius: 3px;
  background: #5b67a6;
  animation: wave 1s ease-in-out infinite alternate;
}

.wave i:nth-child(3n) {
  animation-delay: -0.3s;
}

.wave i:nth-child(3n + 1) {
  animation-delay: -0.6s;
}

.wave i:nth-child(4n) {
  animation-duration: 0.7s;
}

@keyframes wave {
  to {
    height: 70%;
  }
}

.snap {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  opacity: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(90deg, #2f4a3d 0 3px, #36533f 3px 6px),
    #2f4a3d;
}

.snap::after {
  content: "menu";
  position: absolute;
  left: 12px;
  top: 14px;
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  color: #f6f1e6;
  transform: rotate(-4deg);
}

.sheet[data-type="photo"] .snap {
  opacity: 1;
}

.typed {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  min-height: 3em;
}

[data-typed]:empty::before {
  content: "What’s on your mind?";
  color: var(--faint);
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--coral);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.context {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.save {
  display: grid;
  place-items: center;
  height: 42px;
  margin-top: 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 18px -10px rgba(2, 6, 24, 0.6);
  transition: transform 0.15s;
}

.save.press {
  transform: scale(0.94);
  background: var(--coral);
}

.float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 30px -18px rgba(2, 6, 24, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.float svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 7px;
  color: var(--slate);
  background: var(--tone-voice);
}

.float.f1 {
  left: 250px;
  bottom: 70px;
  animation: drift 8s ease-in-out infinite;
}

.float.f2 {
  right: 10px;
  bottom: 140px;
  animation: drift 9s ease-in-out -3s infinite;
}

.float.f2 svg {
  background: var(--tone-text);
}

@keyframes drift {
  50% {
    transform: translate(6px, -12px);
  }
}

/* ------------------------------------------------------------------ capture */

.capture {
  position: relative;
  margin-inline: 12px;
  padding: 120px 0;
  overflow: hidden;
  border-radius: 40px;
  color: var(--cream);
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(234, 89, 64, 0.16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(80, 96, 160, 0.18), transparent 70%),
    var(--night);
}

.capture::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: var(--noise);
  mix-blend-mode: overlay;
}

.capture-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.capture .kicker {
  color: rgba(246, 241, 230, 0.6);
}

.capture .kicker span {
  color: var(--cream);
  border-color: rgba(246, 241, 230, 0.25);
}

.capture h2 {
  margin-top: 20px;
}

.capture h2 em {
  color: var(--coral);
}

.capture .lede {
  max-width: 44ch;
  margin-top: 24px;
  color: rgba(246, 241, 230, 0.68);
}

.surfaces {
  display: grid;
  gap: 4px;
  margin-top: 40px;
}

.surfaces button {
  position: relative;
  display: grid;
  width: 100%;
  padding: 14px 18px 14px 22px;
  overflow: hidden;
  border-radius: 16px;
  text-align: left;
  transition: background 0.3s;
}

.surfaces button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: rgba(246, 241, 230, 0.14);
}

.surfaces button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleY(0);
  transform-origin: top;
}

.surfaces button[aria-selected="true"] {
  background: rgba(246, 241, 230, 0.06);
}

.surfaces button[aria-selected="true"]::after {
  animation: fill var(--dwell, 4.5s) linear forwards;
}

.surfaces.paused button[aria-selected="true"]::after {
  animation: none;
  transform: none;
}

@keyframes fill {
  to {
    transform: scaleY(1);
  }
}

.surfaces b {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(246, 241, 230, 0.6);
  transition: color 0.3s;
}

.surfaces span {
  max-height: 0;
  overflow: hidden;
  font-size: 14.5px;
  color: rgba(246, 241, 230, 0.6);
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.4s, margin 0.4s var(--ease);
}

.surfaces button:hover b,
.surfaces button[aria-selected="true"] b {
  color: var(--cream);
}

.surfaces button[aria-selected="true"] span {
  max-height: 3em;
  margin-top: 3px;
  opacity: 1;
}

.capture-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
}

.halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 89, 64, 0.22), transparent 62%);
}

.phone.big {
  width: 310px;
}

.action-btn {
  position: absolute;
  left: -3px;
  top: 120px;
  width: 4px;
  height: 30px;
  border-radius: 3px 0 0 3px;
  background: #3a4050;
  transition: background 0.3s, box-shadow 0.3s;
}

[data-show="siri"] .action-btn {
  background: var(--coral);
  box-shadow: 0 0 14px 2px rgba(234, 89, 64, 0.8);
}

.scr {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}

[data-show="lock"] .scr-lock,
[data-show="control"] .scr-control,
[data-show="widget"] .scr-widget,
[data-show="share"] .scr-share,
[data-show="siri"] .scr-siri {
  opacity: 1;
  transform: none;
}

[data-phone] .status {
  color: #fff;
}

[data-show="share"] .status {
  color: var(--ink);
}

/* lock */

.scr-lock {
  color: #fff;
  text-align: center;
  background:
    radial-gradient(80% 50% at 50% 100%, #ea5940 0%, transparent 70%),
    radial-gradient(90% 60% at 20% 20%, #4c5a8f 0%, transparent 70%),
    linear-gradient(180deg, #1c2340, #3a2e4a 60%, #7a3b3a);
}

.lock-date {
  margin-top: 64px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
}

.lock-time {
  font-size: 86px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.lock-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 12px 0;
  padding: 11px 12px;
  border-radius: 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-8px);
}

[data-show="lock"] .lock-note {
  animation: note-in 0.6s var(--ease) 1.8s forwards;
}

@keyframes note-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.lock-note img {
  border-radius: 5px;
}

.lock-note b {
  display: block;
  font-size: 12.5px;
}

.lock-note span {
  font-size: 12px;
  opacity: 0.85;
}

.lock-btn {
  position: absolute;
  bottom: 38px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lock-btn svg {
  width: 20px;
  height: 20px;
}

.lock-btn.left {
  left: 40px;
}

.lock-btn.right {
  right: 40px;
}

.lock-btn.hot {
  color: #fff;
  --filament: #ff8a72;
  background: rgba(255, 255, 255, 0.24);
}

[data-show="lock"] .lock-btn.hot {
  animation: tap 4.5s var(--ease) 0.8s;
}

@keyframes tap {
  0%,
  100% {
    transform: none;
  }
  8% {
    transform: scale(0.86);
    background: rgba(255, 255, 255, 0.6);
  }
  16% {
    transform: scale(1.06);
  }
  24% {
    transform: none;
  }
}

.lock-tip {
  position: absolute;
  right: 22px;
  bottom: 96px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
}

.lock-tip::after {
  content: "";
  position: absolute;
  right: 36px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: inherit;
  transform: rotate(45deg);
}

/* control center */

.scr-control {
  padding: 62px 22px 0;
  background:
    linear-gradient(rgba(10, 13, 23, 0.55), rgba(10, 13, 23, 0.55)),
    radial-gradient(80% 50% at 50% 100%, #ea5940, transparent 70%),
    linear-gradient(180deg, #1c2340, #3a2e4a 60%, #7a3b3a);
  -webkit-backdrop-filter: blur(20px);
}

.cc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cc-block,
.cc-tile,
.cc-slider {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
}

.cc-block {
  grid-column: span 2;
  aspect-ratio: 1;
}

.cc-block.conn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.cc-block.conn i {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.cc-block.conn i.on {
  background: #3d8bff;
}

.cc-block.media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.cc-block.media span {
  font-size: 14px;
  color: #fff;
}

.cc-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 20px;
  color: #fff;
}

.cc-slider {
  position: relative;
  grid-row: span 2;
  overflow: hidden;
}

.cc-slider i {
  position: absolute;
  inset: auto 0 0;
  height: var(--v);
  background: rgba(255, 255, 255, 0.85);
}

.cc-tile.hot {
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 0 0 0 rgba(234, 89, 64, 0.7);
}

.cc-tile.hot svg {
  width: 22px;
  height: 22px;
}

[data-show="control"] .cc-tile.hot {
  animation: ring 1.6s ease-out 0.6s 2;
}

@keyframes ring {
  to {
    box-shadow: 0 0 0 14px rgba(234, 89, 64, 0);
  }
}

.cc-label {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.cc-label::before {
  content: "↑ ";
  color: var(--coral);
}

/* widgets */

.scr-widget {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 58px 18px 14px;
  background:
    radial-gradient(70% 40% at 80% 10%, #f6b49f, transparent 70%),
    radial-gradient(80% 50% at 0% 90%, #9fb0d8, transparent 70%),
    #e7dccd;
}

.w-inbox {
  padding: 14px;
  border-radius: 24px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 12px 24px -16px rgba(2, 6, 24, 0.5);
}

.w-inbox header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--ink);
}

.w-mark svg {
  width: 10px;
  height: 14px;
}

.w-inbox header b {
  font-size: 13px;
}

.w-inbox header em {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 26px;
  font-style: normal;
  line-height: 1;
}

.w-latest {
  margin: 8px 0 6px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.w-inbox ul {
  display: grid;
  gap: 6px;
}

.w-inbox li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.w-inbox .badge {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.w-inbox .badge svg {
  width: 11px;
  height: 11px;
}

.w-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.w-quick {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 24px -16px rgba(2, 6, 24, 0.5);
}

.w-new {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
}

.w-new svg {
  width: 16px;
  height: 16px;
}

.w-quick div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.w-quick div span {
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 11px;
  color: var(--slate);
  background: var(--tone-voice);
}

.w-quick div span + span {
  background: var(--tone-photo);
}

.w-quick div svg {
  width: 13px;
  height: 13px;
}

[data-show="widget"] .w-new {
  animation: press 4.5s var(--ease) 1.4s;
}

@keyframes press {
  0%,
  100% {
    transform: none;
  }
  6% {
    transform: scale(0.92);
    background: var(--coral);
  }
  14% {
    transform: none;
  }
}

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 6px;
}

.apps i {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: auto;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.35);
}

.dock i {
  aspect-ratio: 1;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.6);
}

/* share sheet */

.scr-share {
  background: #fff;
}

.share-page {
  padding: 56px 18px 0;
}

.sp-url {
  display: block;
  padding: 7px;
  border-radius: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  background: #f0f0f2;
}

.sp-hero {
  height: 130px;
  margin: 14px 0;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #8a5a3b 0 22%, #c79a6b 22% 48%, #4f6a5a 48% 74%, #b55d4c 74%);
}

.share-page i {
  display: block;
  height: 9px;
  margin-bottom: 8px;
  border-radius: 9px;
  background: #ececee;
}

.share-page i.short {
  width: 60%;
}

.share-sheet {
  position: absolute;
  inset: auto 0 0;
  padding: 14px 16px 22px;
  border-radius: 26px 26px 0 0;
  background: #f2f2f6;
  box-shadow: 0 -12px 30px -10px rgba(2, 6, 24, 0.3);
  transform: translateY(100%);
}

[data-show="share"] .share-sheet {
  animation: sheet-up 0.7s var(--ease) 0.5s forwards;
}

@keyframes sheet-up {
  to {
    transform: none;
  }
}

.ss-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ss-thumb {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(90deg, #8a5a3b 0 33%, #c79a6b 33% 66%, #4f6a5a 66%);
}

.ss-head b {
  display: block;
  font-size: 13px;
}

.ss-head small {
  font-size: 11px;
  color: var(--muted);
}

.ss-compose {
  margin-top: 12px;
  padding: 12px;
  border-radius: 18px;
  background: var(--card);
}

.ss-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 8px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(2, 6, 24, 0.06);
}

.ss-seg span {
  padding: 5px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.ss-seg span.on {
  color: var(--ink);
  background: #fff;
}

.ss-note {
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 500;
  background: #fff;
}

.ss-save {
  display: grid;
  place-items: center;
  height: 36px;
  margin-top: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
}

/* siri */

.scr-siri {
  background:
    linear-gradient(rgba(10, 13, 23, 0.3), rgba(10, 13, 23, 0.65)),
    linear-gradient(180deg, #1c2340, #3a2e4a 60%, #7a3b3a);
}

.siri-edge {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 140, 110, 0.7),
    inset 0 0 26px 6px rgba(234, 89, 64, 0.6),
    inset 0 0 60px 10px rgba(120, 130, 255, 0.35);
  animation: siri 2.4s ease-in-out infinite alternate;
}

@keyframes siri {
  to {
    box-shadow:
      inset 0 0 0 3px rgba(150, 160, 255, 0.7),
      inset 0 0 30px 8px rgba(120, 130, 255, 0.55),
      inset 0 0 60px 10px rgba(234, 89, 64, 0.4);
  }
}

.siri-card {
  position: absolute;
  inset: auto 14px 40px;
  color: #fff;
}

.siri-heard {
  margin-bottom: 14px;
  padding: 0 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.siri-reply {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  color: var(--ink);
  background: rgba(246, 242, 234, 0.95);
  opacity: 0;
  transform: translateY(10px);
}

[data-show="siri"] .siri-reply {
  animation: note-in 0.6s var(--ease) 1s forwards;
}

.siri-reply img {
  flex: none;
  border-radius: 8px;
}

.siri-reply b {
  display: block;
  font-size: 13px;
}

.siri-reply span {
  font-size: 12.5px;
  color: var(--slate);
}

/* -------------------------------------------------------------------- inbox */

.inbox {
  padding: 140px 0 120px;
}

.inbox-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.inbox-copy h2 {
  margin-top: 20px;
}

.inbox-copy .lede {
  margin-top: 24px;
}

.ticks {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--slate);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23f6f1e6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%,
    var(--ink);
}

.ticks b {
  color: var(--ink);
  font-weight: 600;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 1px 0 #fff inset, 0 50px 80px -50px rgba(2, 6, 24, 0.35);
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.panel-title {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.panel .chips {
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.75);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--spring);
}

.filter svg {
  width: 14px;
  height: 14px;
}

.filter:hover {
  border-color: var(--line-2);
}

.filter:active {
  transform: scale(0.95);
}

.filter[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.group ul {
  display: grid;
  gap: 8px;
}

.panel .row {
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  padding: 12px 14px;
  animation: land 0.5s var(--ease) both;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.3s var(--ease);
}

.panel .row:hover {
  transform: translateX(3px);
  border-color: var(--line-2);
  box-shadow: 0 10px 20px -16px rgba(2, 6, 24, 0.4);
}

.panel .row[hidden],
.group[hidden] {
  display: none;
}

.panel .badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.panel .badge svg {
  width: 17px;
  height: 17px;
}

.panel .row-txt b {
  font-size: 14.5px;
}

.panel .row-txt small {
  font-size: 12.5px;
  color: var(--muted);
}

.panel .row time {
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  white-space: nowrap;
}

.panel-foot {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--faint);
}

/* ------------------------------------------------------------------- canvas */

.canvas {
  padding: 120px 0 130px;
  background: linear-gradient(to bottom, var(--paper), var(--paper-2) 30%, var(--paper-2) 70%, var(--paper));
}

.canvas .sec-head .lede {
  margin-top: 4px;
}

.board-wrap {
  width: min(1320px, calc(100% - 32px));
  margin: 56px auto 0;
}

.board-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 1px 0 #fff inset, 0 60px 100px -60px rgba(2, 6, 24, 0.5);
}

.board-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.9);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}

.crumb img {
  border-radius: 5px;
}

.crumb i {
  font-style: normal;
  color: var(--quiet);
}

.crumb b {
  font-weight: 600;
  color: var(--ink);
}

.tools {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px -10px rgba(2, 6, 24, 0.3);
}

.tool {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.tool svg {
  width: 15px;
  height: 15px;
}

.tool.on {
  color: #fff;
  background: var(--ink);
}

.tool.sticky-t::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: #f7dd8a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.synced {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--tone-boarded);
  white-space: nowrap;
}

.synced i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.board {
  --s: 1;
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  background-image: radial-gradient(circle, rgba(2, 6, 24, 0.12) 1px, transparent 1.5px);
  background-size: calc(24px * var(--s)) calc(24px * var(--s));
  scrollbar-width: none;
}

.board::-webkit-scrollbar {
  display: none;
}

/* Negative margins shrink the layout box to the scaled size, so the
   board's height and scroll width follow the transform. */
.board-inner {
  position: relative;
  flex: none;
  width: 1240px;
  height: 700px;
  margin-left: max(0px, calc((100% - 1240px * var(--s)) / 2));
  margin-right: calc(1240px * (var(--s) - 1));
  margin-bottom: calc(700px * (var(--s) - 1));
  transform: scale(var(--s));
  transform-origin: top left;
}

.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wires path {
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
}

.wires circle {
  fill: var(--paper);
  stroke: var(--faint);
  stroke-width: 1.6;
}

.card {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(2, 6, 24, 0.05), 0 14px 30px -22px rgba(2, 6, 24, 0.4);
  transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg));
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: box-shadow 0.25s, scale 0.25s var(--spring);
}

.card:hover {
  box-shadow: 0 1px 2px rgba(2, 6, 24, 0.05), 0 22px 40px -24px rgba(2, 6, 24, 0.5), 0 0 0 1.5px rgba(2, 6, 24, 0.12);
}

.card.dragging {
  z-index: 10;
  cursor: grabbing;
  scale: 1.03;
  box-shadow: 0 40px 60px -30px rgba(2, 6, 24, 0.55), 0 0 0 2px var(--coral);
}

.card .tiny-eyebrow {
  margin-bottom: 6px;
}

.c-heading h3 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.c-heading p:last-child {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--slate);
}

.c-sticky {
  padding: 22px 20px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(170deg, #fbe7a1, #f5d877);
  box-shadow: 0 20px 26px -18px rgba(120, 90, 10, 0.5);
}

.c-sticky p {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.c-sticky small {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(70, 50, 0, 0.6);
}

.vc-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vc-top b {
  font-size: 14px;
}

.vc-top time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.vc-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  margin: 12px 0 10px;
}

.vc-wave i {
  flex: 1;
  height: calc(20% + var(--h, 40%));
  border-radius: 3px;
  background: #b9c0e3;
}

.vc-wave i:nth-child(-n + 11) {
  background: #5b67a6;
}

.vc-wave i:nth-child(3n) { --h: 60%; }
.vc-wave i:nth-child(4n) { --h: 20%; }
.vc-wave i:nth-child(5n) { --h: 75%; }
.vc-wave i:nth-child(7n) { --h: 10%; }

.c-voice p {
  font-size: 14px;
  font-style: italic;
  color: var(--slate);
}

.c-check ul {
  display: grid;
  gap: 8px;
}

.c-check li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
}

.c-check li::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--quiet);
  border-radius: 5px;
}

.c-check li.done {
  color: var(--faint);
  text-decoration: line-through;
}

.c-check li.done::before {
  border-color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%,
    var(--ink);
}

.c-question {
  background: var(--tone-refined);
}

.q-mark {
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: rgba(99, 115, 166, 0.3);
}

.q-text {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
}

.c-link {
  display: flex;
  gap: 14px;
  padding: 12px;
}

.lk-img {
  display: grid;
  place-items: center;
  flex: none;
  width: 86px;
  height: 86px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 6px, transparent 6px),
    linear-gradient(160deg, #2d3a55, #1a2238);
}

.lk-img span {
  font-family: var(--serif);
  font-size: 28px;
  color: #f6f1e6;
}

.lk-body {
  display: grid;
  align-content: center;
  gap: 4px;
}

.lk-body small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.amz {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #232f3e;
  box-shadow: inset 0 -3px 0 #ff9900;
}

.lk-body b {
  font-size: 14px;
  line-height: 1.25;
}

.lk-price {
  font-size: 15px;
  font-weight: 700;
}

.lk-price em {
  margin-left: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: #b07a00;
}

.c-decision .d-q {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.d-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--slate);
}

.d-opt i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--quiet);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.d-opt.chosen {
  color: var(--emerald);
  font-weight: 600;
  border-color: rgba(7, 120, 97, 0.3);
  background: var(--tone-boarded);
}

.d-opt.chosen i {
  color: #fff;
  border-color: var(--emerald);
  background: var(--emerald);
}

.c-photo {
  padding: 10px 10px 12px;
  border-radius: 6px;
}

.ph {
  position: relative;
  height: 150px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, #ea5940 0 15px, #f6f1e6 15px 30px) 0 0 / 100% 24px no-repeat,
    linear-gradient(#f6dcae, #e6b874) 14px 50px / 66px 74px no-repeat,
    linear-gradient(#f6dcae, #e6b874) 100px 50px / 66px 74px no-repeat,
    linear-gradient(#22352b, #2f4a3d);
}

.ph::after {
  content: "Bloom & Co";
  position: absolute;
  left: 0;
  right: 0;
  top: 29px;
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: #f1d9a6;
}

.c-photo small {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--slate);
}

.c-quote {
  border-left: 3px solid var(--coral);
  border-radius: 4px 18px 18px 4px;
  background: var(--sheet);
}

.c-quote p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.ink {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  transform: translate(var(--x), var(--y));
  pointer-events: none;
}

.ink path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.board-wrap.in .ink path {
  transition: stroke-dashoffset 1.6s var(--ease) 0.6s;
  stroke-dashoffset: 0;
}

.board-wrap.in .ink path + path {
  transition-delay: 2s;
  transition-duration: 0.4s;
}

.board-hint {
  position: absolute;
  right: 18px;
  bottom: 16px;
  pointer-events: none;
}

.board-hint span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  background: var(--ink);
  box-shadow: 0 14px 24px -14px rgba(2, 6, 24, 0.6);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.board-hint span::before {
  content: "✋";
  font-size: 14px;
  animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(4px);
  }
}

.board-frame.touched .board-hint span {
  opacity: 0;
  transform: translateY(8px);
}

.blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.blocks article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.blk-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 20px;
  color: var(--cream);
  background: var(--ink);
}

.blk-icon svg {
  width: 20px;
  height: 20px;
}

.blocks h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blocks p {
  margin-top: 8px;
  color: var(--slate);
}

/* ---------------------------------------------------------------- templates */

.templates {
  padding: 110px 0 120px;
}

.tpl-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 18px;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 48px auto 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.tpl-rail::-webkit-scrollbar {
  display: none;
}

.tpl {
  scroll-snap-align: start;
}

.tpl-art {
  position: relative;
  display: grid;
  gap: 7px;
  height: 200px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background-color: var(--card);
  background-image: radial-gradient(circle, rgba(2, 6, 24, 0.1) 1px, transparent 1.4px);
  background-size: 14px 14px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.tpl:hover .tpl-art {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 30px 40px -30px rgba(2, 6, 24, 0.45);
}

.tpl-art i {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.t-brief {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 30px 1fr 1fr 34px;
}

.t-brief .h,
.t-brief .wide {
  grid-column: span 2;
}

.t-brief .h {
  border: 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 6px / 60% 10px no-repeat, linear-gradient(var(--quiet), var(--quiet)) 0 22px / 40% 5px no-repeat;
}

.t-brief i:nth-child(3) {
  background: var(--tone-refined);
}

.t-brief .wide {
  background: var(--tone-boarded);
}

.t-design {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 30px 40px 1fr;
}

.t-design .h {
  grid-column: span 3;
  border: 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 8px / 40% 10px no-repeat;
}

.t-design .sw {
  border-radius: 50%;
  justify-self: center;
  aspect-ratio: 1;
  height: 40px;
}

.t-design .a { background: var(--coral); }
.t-design .b { background: var(--ink); }
.t-design .c { background: #e6d6b8; }

.t-design .img {
  grid-column: span 3;
  background: linear-gradient(120deg, #d8c3a5, #b9a081);
}

.t-design .img + .img {
  display: none;
}

.t-mood {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
}

.t-mood i:nth-child(1) { background: linear-gradient(160deg, #9fb0d8, #6b7fb8); grid-row: span 2; }
.t-mood i:nth-child(2) { background: linear-gradient(160deg, #f3c9a0, #e09a76); }
.t-mood i:nth-child(3) { background: linear-gradient(160deg, #a9c4a0, #6f9466); }
.t-mood i:nth-child(4) { background: linear-gradient(160deg, #e7dccd, #cdbba3); }
.t-mood i:nth-child(5) { display: none; }

.t-mood .q {
  background:
    linear-gradient(var(--slate), var(--slate)) 10px 14px / 60% 4px no-repeat,
    linear-gradient(var(--quiet), var(--quiet)) 10px 24px / 40% 4px no-repeat,
    var(--sheet);
  border-left: 3px solid var(--coral);
}

.t-shop {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 26px 1fr 34px;
}

.t-shop .h,
.t-shop .wide {
  grid-column: span 3;
}

.t-shop .h {
  border: 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 6px / 55% 10px no-repeat;
}

.t-shop .p {
  background:
    linear-gradient(160deg, #2d3a55, #1a2238) 8px 8px / calc(100% - 16px) 55% no-repeat,
    linear-gradient(var(--quiet), var(--quiet)) 8px 78% / 60% 5px no-repeat,
    #fff;
}

.t-shop .wide {
  background: #fbe7a1;
}

.t-blank {
  place-items: center;
}

.t-blank span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px dashed var(--line-2);
  border-radius: 16px;
  font-size: 26px;
  color: var(--faint);
}

.tpl h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tpl p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--slate);
}

/* ----------------------------------------------------------------- insights */

.insights {
  padding: 40px 0 130px;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.ins-copy h2 {
  margin-top: 20px;
}

.ins-copy .lede {
  margin-top: 24px;
}

.ins-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 1px 0 #fff inset, 0 50px 80px -50px rgba(2, 6, 24, 0.35);
}

.ins-idea {
  display: flex;
  gap: 14px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--line);
}

.ins-idea .badge {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.ins-idea b {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.ins-idea p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--slate);
}

.ins-panel {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
}

.ins-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ins-panel header span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.ins-panel button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  transition: border-color 0.2s;
}

.ins-panel button:hover {
  border-color: var(--ink);
}

.ins-panel button.busy::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--quiet);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.ins-out {
  display: none;
  margin-top: 10px;
}

.ins-panel.done .ins-out {
  display: grid;
  animation: land 0.5s var(--ease);
}

ul.ins-out {
  gap: 6px;
}

ul.ins-out li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
}

ul.ins-out li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.ins-out.tags {
  grid-auto-flow: column;
  justify-content: start;
  gap: 6px;
  flex-wrap: wrap;
}

.ins-panel.done .ins-out.tags {
  display: flex;
}

.ins-out.tags span {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  background: var(--tone-text);
  border: 1px solid var(--line);
}

.ins-out.hint span {
  background: var(--tone-refined);
}

.ins-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
  background: var(--ink);
  transition: background 0.2s;
}

.ins-cta:hover {
  background: var(--ink-2);
}

.ins-cta i {
  font-style: normal;
  transition: transform 0.3s var(--ease);
}

.ins-cta:hover i {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ devices */

.devices {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.dev {
  padding: 18px 18px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
}

.dev-art {
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper-2);
}

.dev-name {
  margin: 22px 10px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dev h3 {
  margin: 6px 10px 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dev p:last-child {
  margin: 10px 10px 0;
  color: var(--slate);
}

.mini-phone,
.mini-pad,
.mini-desk {
  position: relative;
  border: 6px solid var(--ink);
  background: var(--paper);
  transition: transform 0.6s var(--ease);
}

.dev:hover .mini-phone,
.dev:hover .mini-pad,
.dev:hover .mini-desk {
  transform: translateY(-6px);
}

.mini-phone {
  display: grid;
  align-content: start;
  gap: 6px;
  width: 104px;
  height: 200px;
  margin-top: 60px;
  padding: 26px 9px;
  border-radius: 22px;
}

.mini-phone i {
  height: 22px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-phone .b1 {
  height: 10px;
  width: 60%;
  border: 0;
  background: var(--ink);
}

.mini-phone .b2 { background: var(--tone-voice); }
.mini-phone .b3 { background: var(--tone-text); }
.mini-phone .b4 { background: var(--tone-photo); }

.mini-pad {
  width: 230px;
  height: 160px;
  border-radius: 16px;
  background-image: radial-gradient(circle, rgba(2, 6, 24, 0.12) 1px, transparent 1.4px);
  background-size: 10px 10px;
}

.mini-pad i {
  position: absolute;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-pad .c1 { left: 12px; top: 12px; width: 70px; height: 40px; }
.mini-pad .c2 { left: 96px; top: 16px; width: 50px; height: 50px; background: #fbe7a1; border-radius: 2px; transform: rotate(3deg); }
.mini-pad .c3 { right: 12px; top: 12px; width: 44px; height: 60px; background: var(--tone-photo); }

.mini-pad svg {
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: 170px;
}

.mini-pad path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.mini-desk {
  width: 250px;
  height: 160px;
  margin-top: 20px;
  border-width: 7px 7px 16px;
  border-radius: 12px;
}

.mini-desk span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44px;
  background: var(--paper-2);
  border-right: 1px solid var(--line);
}

.mini-desk i {
  position: absolute;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-desk .d1 { left: 56px; top: 10px; width: 80px; height: 28px; }
.mini-desk .d2 { left: 146px; top: 10px; width: 40px; height: 40px; background: #fbe7a1; border-radius: 2px; }
.mini-desk .d3 { left: 56px; top: 50px; width: 60px; height: 56px; background: var(--tone-refined); }
.mini-desk .d4 { left: 128px; top: 62px; width: 80px; height: 44px; }
.mini-desk .d5 { left: 196px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); border: 0; }

.sync {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 18px;
  padding: 32px 36px;
  border-radius: 28px;
  color: var(--cream);
  background: var(--night);
}

.sync h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.sync p {
  max-width: 64ch;
  margin-top: 8px;
  color: rgba(246, 241, 230, 0.66);
}

.sync-art {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node {
  padding: 8px 14px;
  border: 1px solid rgba(246, 241, 230, 0.2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(246, 241, 230, 0.85);
}

.merge {
  position: relative;
  width: 70px;
  height: 2px;
  background: rgba(246, 241, 230, 0.15);
}

.merge i {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: travel 2.4s var(--ease) infinite;
}

.merge i + i {
  background: #8f9bdc;
  animation-direction: reverse;
}

@keyframes travel {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 8px);
  }
}

/* ------------------------------------------------------------------ privacy */

.privacy {
  padding: 120px 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.privacy h2 {
  margin-top: 20px;
}

.privacy .lede {
  margin-top: 24px;
}

.checks {
  display: grid;
  gap: 16px;
  margin: 30px 0 30px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--slate);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23ea5940' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%,
    rgba(234, 89, 64, 0.12);
}

.checks b {
  color: var(--ink);
}

.vault {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 460px;
}

.vault-ring {
  position: absolute;
  inset: 8%;
  border: 1.5px dashed var(--line-2);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}

.vault-ring.r2 {
  inset: 24%;
  border-style: solid;
  border-color: var(--line);
  background: radial-gradient(circle, rgba(234, 89, 64, 0.14), transparent 70%);
  animation: none;
}

.vault-bulb {
  width: 22%;
  height: auto;
  aspect-ratio: 458 / 657;
  color: var(--ink);
  filter: drop-shadow(0 0 22px rgba(234, 89, 64, 0.35));
}

.orbit {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--sheet);
  box-shadow: 0 14px 24px -16px rgba(2, 6, 24, 0.4);
  animation: drift 8s ease-in-out infinite;
}

.orbit.o1 { left: 0; top: 18%; }
.orbit.o2 { right: 0; top: 44%; animation-delay: -3s; }
.orbit.o3 { left: 12%; bottom: 10%; animation-delay: -5s; }

/* ---------------------------------------------------------------------- faq */

.faq-sec {
  padding: 100px 0 130px;
  border-top: 1px solid var(--line);
}

.faq {
  margin-top: 48px;
  border-top: 1px solid var(--line-2);
}

.faq details {
  border-bottom: 1px solid var(--line-2);
}

.faq summary {
  position: relative;
  padding: 24px 50px 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat,
    rgba(2, 6, 24, 0.06);
  transition: transform 0.35s var(--ease), background-color 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(234, 89, 64, 0.18);
}

.faq details p {
  max-width: 66ch;
  padding: 0 0 26px;
  color: var(--slate);
}

.faq-more {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
}

/* ------------------------------------------------------------------ closing */

.closing {
  position: relative;
  margin-inline: 12px;
  padding: 130px 24px 140px;
  overflow: hidden;
  border-radius: 40px;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(50% 50% at 50% 30%, rgba(234, 89, 64, 0.2), transparent 70%),
    var(--night);
}

.closing-inner {
  position: relative;
}

.closing-icon {
  position: relative;
  width: 132px;
  margin: 0 auto;
}

.closing-icon img {
  position: relative;
  z-index: 1;
  border-radius: 30px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7);
}

.closing-glow {
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 89, 64, 0.55), transparent 62%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 1.2s var(--ease) 0.4s, transform 1.4s var(--ease) 0.4s;
}

.in .closing-glow {
  opacity: 1;
  transform: none;
}

.closing h2 {
  margin-top: 40px;
  font-size: clamp(50px, 7vw, 100px);
}

.closing h2 em {
  color: var(--coral);
}

.closing .lede {
  margin: 22px auto 0;
  color: rgba(246, 241, 230, 0.66);
}

.closing .cta-row {
  margin-top: 40px;
}

/* ------------------------------------------------------------------- footer */

.footer {
  padding: 60px 0 0;
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer .brand img {
  height: 28px;
  width: auto;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}

.footer nav a:hover {
  color: var(--ink);
}

.legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.legal a {
  font-weight: 600;
  color: var(--ink);
}

.wordmark {
  margin: 30px 0 -0.24em;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(120px, 27vw, 400px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  user-select: none;
}

/* ---------------------------------------------------------------- doc pages */

.doc {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 60px;
}

.doc h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.doc h1 em {
  color: var(--coral);
}

.doc .meta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.doc .lede {
  margin: 28px 0 10px;
}

.doc h2 {
  margin: 54px 0 16px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  color: var(--slate);
}

.doc p {
  margin-bottom: 14px;
}

.doc ul {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.doc li {
  position: relative;
  padding-left: 22px;
}

.doc li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.doc strong {
  font-weight: 600;
  color: var(--ink);
}

.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 0.2em;
}

.doc a:hover {
  text-decoration-color: var(--coral);
}

.doc-card {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 1px 0 #fff inset;
}

.doc-card ul {
  margin: 0;
}

.bar-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(2, 6, 24, 0.06);
}

.doc-footer {
  padding-bottom: 50px;
  border-top: 1px solid var(--line);
}

.doc-footer .legal {
  border: 0;
  padding-top: 0;
}

/* ------------------------------------------------------------------- reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

.blocks article:nth-child(2),
.dev-grid .dev:nth-child(2) {
  transition-delay: 0.08s;
}

.blocks article:nth-child(3),
.dev-grid .dev:nth-child(3) {
  transition-delay: 0.16s;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero-grid,
  .capture-grid,
  .inbox-grid,
  .insights-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-scene {
    width: min(640px, 100%);
    margin: 20px auto 0;
  }

  .desk {
    right: 0;
  }

  .capture-stage {
    min-height: 640px;
  }

  .vault {
    max-width: 360px;
    margin: 0 auto;
  }

  .sec-head.split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dev-grid,
  .blocks {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .blocks {
    margin-top: 32px;
  }

  .tools {
    display: none;
  }

  .crumb {
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .lede {
    font-size: 17px;
  }

  .bar {
    background: rgba(246, 242, 234, 0.86);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .bar .brand {
    margin-right: auto;
  }

  .bar-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--sheet);
    box-shadow: 0 24px 50px -24px rgba(2, 6, 24, 0.45);
  }

  .bar-links.open {
    display: flex;
  }

  .bar-links a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .bar-links.static {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .bar-links.static a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .bar-links.static a:first-child {
    display: none;
  }

  .doc {
    padding-top: 120px;
  }

  .hub-link span {
    display: none;
  }

  .hub-link {
    padding: 0 9px;
  }

  .bar-cta {
    padding: 8px 14px;
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero h1 {
    font-size: clamp(56px, 16vw, 84px);
  }

  .btn {
    flex: 1 1 auto;
  }

  .hero-scene {
    height: 520px;
  }

  .desk {
    top: 0;
    right: -60px;
    width: 420px;
    height: 320px;
    transform: scale(0.85);
    transform-origin: top right;
  }

  .hero-phone {
    left: 0;
    width: 220px;
  }

  .float.f1 {
    left: auto;
    right: 6px;
    bottom: 40px;
  }

  .float.f2 {
    display: none;
  }

  .capture,
  .closing {
    margin-inline: 8px;
    border-radius: 28px;
  }

  .capture {
    padding: 80px 0;
  }

  .capture-stage {
    min-height: 0;
    padding-top: 10px;
  }

  .phone.big {
    width: min(280px, 76vw);
  }

  .halo {
    width: 360px;
    height: 360px;
  }

  .inbox {
    padding: 100px 0 80px;
  }

  .panel {
    padding: 18px;
    border-radius: 24px;
  }

  .panel .row {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .panel .row time {
    display: none;
  }

  .canvas {
    padding: 90px 0;
  }

  .board-wrap {
    width: calc(100% - 16px);
    margin-top: 40px;
  }

  .synced {
    display: none;
  }

  .tpl-rail {
    grid-auto-columns: 76%;
    width: 100%;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .templates,
  .devices,
  .privacy {
    padding: 80px 0;
  }

  .insights {
    padding-bottom: 80px;
  }

  .sync {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px;
  }

  .faq-sec {
    padding: 80px 0 90px;
  }

  .faq summary {
    font-size: 17px;
  }

  .closing {
    padding: 90px 20px 100px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .lock-note,
  .siri-reply,
  .share-sheet {
    opacity: 1;
    transform: none;
  }

  .ink path {
    stroke-dashoffset: 0;
  }

  .closing-glow {
    opacity: 1;
    transform: none;
  }
}
