:root {
  --accent: #6357ff;
  --accent-soft: rgba(99, 87, 255, .12);
  --accent-line: rgba(99, 87, 255, .22);
  --ink: #0d0d12;
  --muted: #6f717b;
  --paper: #f6f4f1;
  --glass: rgba(255, 255, 255, .66);
  --line: rgba(20, 20, 24, .10);
  --shadow: 0 24px 80px rgba(31, 25, 92, .12);
  --shadow-soft: 0 12px 36px rgba(31, 25, 92, .07);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 50% -12rem, rgba(139, 132, 255, .42), transparent 34rem),
    radial-gradient(circle at 96% 38rem, rgba(99, 87, 255, .16), transparent 30rem),
    linear-gradient(180deg, rgba(255,255,255,.76), var(--paper) 42rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  opacity: .55;
  animation: blob-drift 18s var(--ease-soft) infinite alternate;
}

body::before {
  width: 34rem;
  height: 34rem;
  left: -16rem;
  top: 30rem;
  background: rgba(99, 87, 255, .16);
}

body::after {
  width: 28rem;
  height: 28rem;
  right: -14rem;
  top: 84rem;
  background: rgba(167, 160, 255, .22);
  animation-delay: -6s;
}

::selection { background: rgba(99, 87, 255, .2); }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-box svg,
.icon-tile svg,
.mini-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.05;
}

.icon-tile svg {
  width: 28px;
  height: 28px;
}

.container {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

/* Reveal animations */

.reveal-section {
  --reveal-distance: 28px;
  --reveal-duration: 1.05s;
  --reveal-ease: cubic-bezier(.16, 1, .3, 1);
}

.reveal-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  will-change: transform, opacity, filter;
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    filter var(--reveal-duration) var(--reveal-ease);
}

.js .reveal-item {
  opacity: 0;
  transform: translateY(var(--reveal-distance)) scale(.985);
  filter: blur(10px);
}

.reveal-text { --reveal-distance: 22px; }
.reveal-card { --reveal-distance: 32px; }
.reveal-phone { --reveal-distance: 36px; }

.js .reveal-item.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 { transition-delay: .06s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .18s; }
.delay-4 { transition-delay: .24s; }
.delay-5 { transition-delay: .30s; }

.hero-reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  filter: blur(8px);
  animation: hero-reveal .9s var(--ease) forwards;
  animation-delay: var(--hero-delay, 0s);
}

.hero-delay-1 { --hero-delay: .08s; }
.hero-delay-2 { --hero-delay: .16s; }
.hero-delay-3 { --hero-delay: .24s; }
.hero-delay-4 { --hero-delay: .32s; }
.hero-delay-5 { --hero-delay: .40s; }

@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 16px 20px;
  animation: nav-drop .7s var(--ease) both;
}

.nav {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 8px 28px rgba(26, 24, 54, .07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 132px;
  font-weight: 730;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: rgba(13,13,18,.62);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  transition: color .35s var(--ease), transform .35s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transition: left .35s var(--ease), right .35s var(--ease), opacity .35s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  left: 16%;
  right: 16%;
  opacity: 1;
}

.app-icon {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #958cff 0%, #6256ff 54%, #5047ed 100%);
  box-shadow: 0 18px 40px rgba(99,87,255,.24), inset 0 0 0 1px rgba(255,255,255,.26);
}

.app-icon.small { width: 34px; height: 34px; border-radius: 12px; }
.app-icon.big { width: 98px; height: 98px; border-radius: 30px; }

.app-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 22%, rgba(255,255,255,.36), transparent 34%),
    radial-gradient(circle at 75% 78%, rgba(19,13,88,.18), transparent 34%);
}

.app-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: 58%;
  transform: translate(-50%, -43%) rotate(45deg);
  border-radius: 48% 48% 62% 48%;
  background: rgba(255,255,255,.94);
  box-shadow:
    inset -12px -18px 34px rgba(99, 87, 255, .13),
    inset 11px 13px 30px rgba(255,255,255,.82),
    0 10px 28px rgba(38, 30, 124, .12);
}

.apple-icon {
  width: 11px;
  height: 13px;
  flex: 0 0 auto;
  color: currentColor;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #101014;
  color: white;
  font-weight: 720;
  font-size: 14px;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(16,16,20,.16);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  top: -120%;
  bottom: -120%;
  left: -55%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: rotate(22deg);
  transition: left .8s var(--ease);
}

.button:hover {
  transform: translateY(-2px) scale(1.015);
  background: #24242a;
  box-shadow: 0 22px 52px rgba(16,16,20,.2);
}

.button:hover::before { left: 115%; }
.button:active { transform: translateY(0) scale(.985); }

.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(30,28,58,.06);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.button.secondary:hover { background: rgba(255,255,255,.92); }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 68px;
  padding: 124px 0 80px;
}

.hero-copy-block,
.library-copy,
.split > *,
.sort-grid > *,
.privacy-layout > *,
.library-section > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  color: rgba(13,13,18,.7);
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(28, 25, 70, .05);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(99,87,255,.12);
  animation: dot-pulse 2.4s var(--ease-soft) infinite;
}

h1 {
  margin-top: 28px;
  max-width: 760px;
  font-size: clamp(58px, 8vw, 96px);
  line-height: .91;
  letter-spacing: -.078em;
  font-weight: 760;
}

h1 span { color: var(--accent); }

.hero-copy {
  max-width: 590px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.52;
  letter-spacing: -.024em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 570px;
  margin-top: 36px;
}

.metric {
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 26px;
  background: rgba(255,255,255,.56);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  transition: transform .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}

.metric:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(33, 30, 72, .08);
}

.metric strong {
  display: block;
  font-size: 26px;
  letter-spacing: -.055em;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: rgba(13,13,18,.48);
  font-size: 14px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 760px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: 350px;
  padding: 8px;
  border-radius: 54px;
  background: #0b0b0e;
  border: 1px solid rgba(13,13,18,.18);
  box-shadow: 0 38px 110px rgba(31, 25, 92, .22);
  transform-style: preserve-3d;
  animation: phone-float 7.5s var(--ease-soft) infinite;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.phone:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-4deg);
  box-shadow: 0 48px 130px rgba(31, 25, 92, .28);
}

.phone-screen {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 46px;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.98), rgba(245,245,242,.94) 42%, rgba(245,245,242,1));
}

.island {
  position: absolute;
  z-index: 6;
  top: 16px;
  left: 50%;
  width: 120px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #020204;
  box-shadow: inset 18px 0 32px rgba(255,255,255,.035);
}

.status {
  position: absolute;
  z-index: 5;
  left: 28px;
  right: 28px;
  top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #050508;
  font-size: 13px;
  font-weight: 760;
}

.battery {
  width: 20px;
  height: 10px;
  border: 1.5px solid rgba(0,0,0,.72);
  border-radius: 3px;
  position: relative;
}

.battery::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 5px;
  right: -4px;
  top: 1.5px;
  border-radius: 0 2px 2px 0;
  background: rgba(0,0,0,.6);
}

.screen-content { padding: 96px 28px 28px; }

.phone-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.phone-title {
  font-size: 60px;
  line-height: .9;
  letter-spacing: -.085em;
  font-weight: 760;
}

.phone-title.library-title { font-size: 50px; }

.phone-subtitle {
  margin-top: 14px;
  color: rgba(13,13,18,.48);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.circle-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(18,18,24,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 8px 22px rgba(20,20,30,.06);
  color: #19191f;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  animation: soft-breathe 3.8s var(--ease-soft) infinite;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 38px;
  padding: 4px;
  border: 1px solid rgba(16,16,20,.1);
  border-radius: 999px;
  background: rgba(212,212,212,.32);
  box-shadow: inset 0 1px 6px rgba(20,20,24,.05);
}

.segment {
  padding: 12px 0;
  text-align: center;
  border-radius: 999px;
  color: rgba(13,13,18,.53);
  font-size: 14px;
  font-weight: 720;
}

.segment.active {
  color: #0b0b10;
  background: rgba(255,255,255,.82);
  box-shadow: 0 5px 18px rgba(18,18,28,.075);
  animation: segment-slide .7s var(--ease) both;
}

.spill-button {
  position: relative;
  height: 80px;
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1.5px solid rgba(99,87,255,.88);
  border-radius: 29px;
  background: rgba(255,255,255,.42);
  color: var(--accent);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.03em;
  overflow: hidden;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  animation: record-pulse 2.4s var(--ease-soft) infinite;
  transition: transform .45s var(--ease), background .45s var(--ease);
}

.spill-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99,87,255,.09), transparent);
  transform: translateX(-100%);
  animation: button-sheen 3.6s var(--ease-soft) infinite;
}

.spill-button:hover { transform: scale(1.018); background: rgba(255,255,255,.62); }

.button-mic,
.play-mic-dot {
  width: 14px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
  display: inline-block;
}

.button-mic::before,
.play-mic-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.button-mic::after,
.play-mic-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 2px;
  height: 7px;
  background: currentColor;
  transform: translateX(-50%);
}

.instant-copy {
  margin-top: 14px;
  text-align: center;
  color: rgba(13,13,18,.48);
  font-size: 14px;
  font-weight: 650;
}

.recent-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 46px;
  margin-bottom: 16px;
}

.recent-head h3 { font-size: 25px; letter-spacing: -.045em; }
.recent-head a { color: var(--accent); font-size: 14px; font-weight: 750; transition: transform .35s var(--ease); }
.recent-head a:hover { transform: translateX(3px); }

.recent-card {
  overflow: hidden;
  border: 1px solid rgba(18,18,24,.09);
  border-radius: 27px;
  background: rgba(255,255,255,.54);
  box-shadow: 0 14px 36px rgba(30,28,64,.055);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 14px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.list-row + .list-row { border-top: 1px solid rgba(18,18,24,.075); }
.list-row:hover { background: rgba(255,255,255,.55); transform: translateX(2px); }

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 720;
}

.tag.flat {
  justify-content: flex-start;
  min-width: auto;
  padding: 0;
  background: transparent;
}

.tag.idea { color: #5d50e7; background: rgba(99,87,255,.12); }
.tag.task { color: #246bd5; background: rgba(44,122,238,.12); }
.tag.reminder { color: #d86f1d; background: rgba(233,126,34,.13); }
.tag.note { color: #686a72; background: rgba(120,120,130,.13); }

.row-main { min-width: 0; flex: 1; }
.row-title { font-size: 15px; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-body { margin-top: 6px; color: rgba(13,13,18,.48); font-size: 14px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-time { color: rgba(13,13,18,.48); font-size: 14px; font-weight: 650; }

.floating-note {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 235px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 28px;
  background: rgba(255,255,255,.70);
  box-shadow: 0 18px 46px rgba(32,26,82,.12);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.floating-note.left { left: -42px; top: 145px; animation: float-left 7s var(--ease-soft) infinite; }
.floating-note.right { right: -18px; bottom: 145px; animation: float-right 7.8s var(--ease-soft) infinite; }

.mini-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 17px;
  color: var(--accent);
  background: rgba(99,87,255,.12);
}

.floating-note.right .mini-icon { color: #dc7625; background: rgba(233,126,34,.13); }
.floating-note strong { display: block; font-size: 14px; letter-spacing: -.02em; }
.floating-note span span { display: block; margin-top: 4px; color: rgba(13,13,18,.48); font-size: 12px; font-weight: 650; }

.section {
  position: relative;
  padding: 112px 0;
}

.section.center { text-align: center; }

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 15px;
  font-size: clamp(44px, 6vw, 66px);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 760;
}

.section-copy {
  max-width: 690px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  letter-spacing: -.02em;
}

.center .section-copy { margin-left: auto; margin-right: auto; }

.flow-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 58px;
}

.flow-card,
.privacy-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.66);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), background .55s var(--ease), border-color .55s var(--ease);
}

.flow-card::before,
.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(99,87,255,.12), transparent 38%);
  opacity: 0;
  transition: opacity .55s var(--ease);
}

.flow-card:hover,
.privacy-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 24px 65px rgba(31, 27, 77, .11);
  border-color: rgba(99,87,255,.18);
  background: rgba(255,255,255,.80);
}

.flow-card:hover::before,
.privacy-card:hover::before { opacity: 1; }

.card-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--accent);
  background: rgba(99,87,255,.10);
  transition: transform .5s var(--ease), background .5s var(--ease);
}

.flow-card:hover .icon-box,
.privacy-card:hover .icon-box,
.category-card:hover .icon-box {
  transform: scale(1.08) rotate(-2deg);
  background: rgba(99,87,255,.14);
}

.step { color: rgba(13,13,18,.35); font-size: 14px; font-weight: 800; }
.flow-card h3, .privacy-card h3 { position: relative; font-size: 22px; letter-spacing: -.045em; }
.flow-card p, .privacy-card p { position: relative; margin-top: 12px; color: rgba(13,13,18,.58); line-height: 1.68; font-size: 16px; }

.split,
.sort-grid,
.privacy-layout,
.library-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.record-panel {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  overflow: hidden;
}

.record-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(99,87,255,.18);
  filter: blur(28px);
  animation: orb-breathe 5s var(--ease-soft) infinite;
}

.record-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.record-head h3 { margin-top: 8px; font-size: 34px; line-height: 1; letter-spacing: -.06em; }

.play-mic {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #101014;
  color: #fff;
  box-shadow: 0 17px 40px rgba(16,16,20,.18);
  cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.play-mic::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(16,16,20,.08);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.85);
  animation: mic-ring 2.4s var(--ease-soft) infinite;
}

.play-mic:hover { transform: scale(1.06); box-shadow: 0 24px 52px rgba(16,16,20,.24); }

.wave-panel {
  position: relative;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  padding: 0 22px;
  border: 1px solid var(--accent-line);
  border-radius: 30px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 30px rgba(99,87,255,.06);
}

.wave-bar {
  width: 7px;
  height: 28px;
  border-radius: 999px;
  background: rgba(99,87,255,.75);
  transform-origin: center;
  animation: wave 1.35s var(--ease-soft) infinite;
}

.wave-bar:nth-child(2) { animation-delay: .07s; height: 48px; }
.wave-bar:nth-child(3) { animation-delay: .14s; height: 35px; }
.wave-bar:nth-child(4) { animation-delay: .21s; height: 66px; }
.wave-bar:nth-child(5) { animation-delay: .28s; height: 42px; }
.wave-bar:nth-child(6) { animation-delay: .35s; height: 78px; }
.wave-bar:nth-child(7) { animation-delay: .42s; height: 38px; }
.wave-bar:nth-child(8) { animation-delay: .49s; height: 58px; }
.wave-bar:nth-child(9) { animation-delay: .56s; height: 32px; }
.wave-bar:nth-child(10) { animation-delay: .63s; height: 48px; }
.wave-bar:nth-child(11) { animation-delay: .70s; height: 34px; }
.wave-bar:nth-child(12) { animation-delay: .77s; height: 62px; }

.mini-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.mini-stat { padding: 14px 13px; border-radius: 20px; background: rgba(247,247,247,.82); transition: transform .4s var(--ease), background .4s var(--ease); }
.mini-stat:hover { transform: translateY(-3px); background: rgba(255,255,255,.95); }
.mini-stat span { color: rgba(13,13,18,.45); font-size: 12px; font-weight: 700; }
.mini-stat strong { display: block; margin-top: 5px; font-size: 14px; letter-spacing: -.025em; }

.chips { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); color: rgba(13,13,18,.68); font-size: 14px; font-weight: 700; box-shadow: 0 10px 28px rgba(28, 25, 70, .045); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); transition: transform .38s var(--ease), background .38s var(--ease), color .38s var(--ease); }
.chip:hover { transform: translateY(-3px); background: white; color: var(--ink); }

.auto-sort-band {
  position: relative;
  overflow: hidden;
  border-radius: 48px;
  padding: 56px;
  color: white;
  background: radial-gradient(circle at 85% 15%, rgba(99,87,255,.38), transparent 28rem), radial-gradient(circle at 18% 100%, rgba(139,132,255,.26), transparent 22rem), #101014;
  box-shadow: 0 30px 90px rgba(25,22,68,.20);
}

.auto-sort-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.05) 40%, transparent 70%);
  transform: translateX(-100%);
  animation: band-sheen 9s var(--ease-soft) infinite;
}

.sort-grid { grid-template-columns: .9fr 1.1fr; position: relative; }
.sort-grid h2 { color: white; }
.sort-grid .section-copy { color: rgba(255,255,255,.67); }
.sort-grid .section-kicker { color: #c8c3ff; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }

.category-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  transition: transform .55s var(--ease), background .55s var(--ease), border-color .55s var(--ease);
}

.category-card:hover { transform: translateY(-6px) scale(1.015); background: rgba(255,255,255,.095); border-color: rgba(255,255,255,.20); }
.category-card .icon-box { margin-bottom: 22px; background: rgba(255,255,255,.10); }
.category-card p { margin-top: 8px; color: rgba(255,255,255,.65); line-height: 1.55; }

.privacy-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
.privacy-layout > p { padding-top: 42px; color: var(--muted); font-size: 19px; line-height: 1.58; letter-spacing: -.02em; }

.library-phone .phone { transform: scale(.94); animation-delay: -.9s; }
.library-phone .phone:hover { transform: scale(.94) translateY(-10px) rotateX(2deg) rotateY(4deg); }
.library-phone { margin: 0; }

.searchbar {
  height: 48px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border-radius: 17px;
  color: rgba(13,13,18,.44);
  background: rgba(220,220,220,.62);
  font-size: 16px;
  font-weight: 600;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-top: 26px;
}

.filter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(220,220,220,.48);
  color: rgba(13,13,18,.56);
  font-size: 13px;
  font-weight: 700;
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.filter.active {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(18,18,28,.06);
}

.filter:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.72);
}

.library-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  color: rgba(13,13,18,.48);
  font-size: 14px;
  font-weight: 700;
}

.library-list .list-row {
  padding: 18px 0;
  border-top: 1px solid rgba(18,18,24,.075);
}

.icon-tile {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  background: rgba(99,87,255,.10);
  color: var(--accent);
}

.icon-tile.task { background: rgba(44,122,238,.11); color: #2c7aee; }
.icon-tile.reminder { background: rgba(233,126,34,.13); color: #e97e22; }
.icon-tile.note { background: rgba(130,130,140,.12); color: #686a72; }

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 56px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 48px;
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.cta-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -110px;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(99,87,255,.22);
  filter: blur(45px);
  animation: orb-breathe 5.8s var(--ease-soft) infinite;
}

.cta-card > * { position: relative; }
.cta-card h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-card p { margin: 20px auto 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.cta-card .button { margin-top: 34px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.4fr .8fr;
  gap: 32px;
  align-items: start;
  padding: 28px 0 46px;
  color: rgba(13,13,18,.48);
  font-size: 14px;
  font-weight: 650;
}

.site-footer .brand {
  min-width: auto;
  color: rgba(13,13,18,.58);
}

.footer-column {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.footer-heading {
  color: rgba(13,13,18,.36);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-links,
.more-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.site-footer a {
  transition: color .25s var(--ease), transform .25s var(--ease);
}

.site-footer a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

/* Landing icon color roles */

.mic-shape,
.transcript-shape,
.sort-shape,
.idea-shape,
.check-shape,
.bell-shape,
.note-shape,
.lock-shape,
.offline-shape,
.shield-shape {
  position: relative;
}

.transcript-shape { color: #5d50e7; background: rgba(99,87,255,.10); }
.sort-shape { color: #5d50e7; background: rgba(99,87,255,.10); }
.idea-shape { color: #5d50e7; }
.check-shape { color: #2c7aee; background: rgba(44,122,238,.11); }
.bell-shape { color: #e97e22; background: rgba(233,126,34,.13); }
.note-shape { color: #686a72; background: rgba(130,130,140,.12); }
.lock-shape { color: #5d50e7; }
.offline-shape { color: #5d50e7; }
.shield-shape { color: #5d50e7; }

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-12px) rotateX(1.2deg) rotateY(-1.6deg); }
}

@keyframes float-left {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(4px); }
}

@keyframes float-right {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(14px) translateX(-4px); }
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(99,87,255,.12); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(99,87,255,.05); transform: scale(.9); }
}

@keyframes record-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,87,255,0); }
  50% { box-shadow: 0 0 0 11px rgba(99,87,255,.075); }
}

@keyframes button-sheen {
  0%, 42% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

@keyframes band-sheen {
  0%, 28% { transform: translateX(-100%); opacity: 0; }
  43% { opacity: 1; }
  62%, 100% { transform: translateX(100%); opacity: 0; }
}

@keyframes soft-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 22px rgba(20,20,30,.06); }
  50% { transform: scale(1.045); box-shadow: 0 12px 32px rgba(99,87,255,.10); }
}

@keyframes segment-slide {
  from { transform: translateX(-8px); opacity: .72; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes wave {
  0%, 100% { transform: scaleY(.45); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes mic-ring {
  0% { opacity: .6; transform: scale(.85); }
  70%, 100% { opacity: 0; transform: scale(1.34); }
}

@keyframes orb-breathe {
  0%, 100% { transform: scale(.9); opacity: .55; }
  50% { transform: scale(1.1); opacity: .82; }
}

@keyframes blob-drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(40px,-26px,0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal-item,
  .hero-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .sort-grid,
  .privacy-layout,
  .library-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero { padding-top: 132px; gap: 44px; }
  .hero-visual { min-height: auto; }
  .sort-grid { gap: 36px; }
  .auto-sort-band { padding: 38px; }
  .library-phone { order: 2; }
  .library-copy { order: 1; }
  .privacy-layout > p { padding-top: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-links { display: none; }
  .brand { min-width: auto; }
  .nav .button { padding-inline: 14px; }
  h1 { font-size: clamp(43.74px, 12.96vw, 58.32px); }
  .hero-copy { font-size: 18px; }
  .hero-copy-block,
  .library-copy,
  .metric-row {
    width: 100%;
    max-width: 100%;
  }
  .metric-row,
  .flow-grid,
  .privacy-grid,
  .category-grid,
  .mini-grid { grid-template-columns: 1fr; }
  .phone { width: min(350px, 100%); }
  .phone,
  .phone:hover,
  .library-phone .phone,
  .library-phone .phone:hover {
    transform: none;
    animation: none;
  }
  .phone-screen { min-height: 665px; }
  .floating-note { display: none; }
  .section { padding: 82px 0; }
  .section h2 { font-size: clamp(40px, 12vw, 54px); }
  .auto-sort-band,
  .cta-card { padding: 30px; border-radius: 36px; }
  .site-footer { grid-template-columns: 1fr; }
}

/* Mindrop logo sizing fix */
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex: 0 0 34px;
}

.brand-logo-large {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
}
