:root {
  color-scheme: light dark;
  --ink: #1a2629;
  --muted: #5f6e6f;
  --dim: #879090;
  --surface: #ffffff;
  --surface-2: #eef3ed;
  --line: rgba(26, 38, 41, 0.12);
  --header-bg: rgba(227, 232, 222, 0.78);
  --hero-fade: rgba(227, 232, 222, 0);
  --band-alt: #edf2ea;
  --hero-subtitle: #263436;
  --milo: #1e6b63;
  --brand-milo: #1e6b63;
  --flow: #1aa196;
  --mint: #7bd3b6;
  --coral: #e96f50;
  --gold: #f2c66b;
  --violet: #9b8ef3;
  --page: #e3e8de;
  --phone-surface: linear-gradient(160deg, #f8fbf7 0%, #edf3ec 100%);
  --assistant-bubble: #eef4ee;
  --user-bubble: #f6eee8;
  --voice-surface: rgba(255, 255, 255, 0.72);
  --workspace-card-shadow: 0 24px 70px rgba(81, 101, 94, 0.18);
  --workspace-project-bg: #e7e5fb;
  --workspace-journal-bg: #f1dfd5;
  --workspace-discussion-bg: #ece7cb;
  --workspace-title: #1d2b2e;
  --workspace-body: #667575;
  --liquid-band-line: rgba(26, 38, 41, 0.10);
  --liquid-haze: linear-gradient(120deg, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(300deg, rgba(123, 211, 182, 0.16), transparent 44%);
  --liquid-haze-border: rgba(26, 38, 41, 0.08);
  --liquid-heading-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.28));
  --liquid-heading-border: rgba(255, 255, 255, 0.62);
  --liquid-heading-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 28px 80px rgba(92, 108, 100, 0.16);
  --liquid-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.24)),
    rgba(238, 245, 237, 0.66);
  --liquid-card-border: rgba(26, 38, 41, 0.10);
  --liquid-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -24px 50px rgba(30, 107, 99, 0.06),
    0 24px 70px rgba(92, 108, 100, 0.16);
  --liquid-icon-color: #f7fffc;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --ink: #f5f2e8;
    --muted: #b9b5a8;
    --dim: #7f7b70;
    --surface: #242824;
    --surface-2: #2f342f;
    --line: rgba(245, 242, 232, 0.14);
    --header-bg: rgba(28, 31, 33, 0.78);
    --hero-fade: rgba(28, 31, 33, 0);
    --band-alt: #1f221f;
    --hero-subtitle: #dfdccf;
    --brand-milo: #a7dcd4;
    --page: #1c1f21;
    --phone-surface: linear-gradient(160deg, #20241f 0%, #30362f 100%);
    --assistant-bubble: #383d37;
    --user-bubble: #41372e;
    --voice-surface: #1f2522;
    --workspace-card-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    --workspace-project-bg: #2f2a55;
    --workspace-journal-bg: #4a2d23;
    --workspace-discussion-bg: #40391f;
    --workspace-title: var(--ink);
    --workspace-body: var(--muted);
    --liquid-band-line: rgba(245, 242, 232, 0.08);
    --liquid-haze: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 28%),
      linear-gradient(300deg, rgba(123, 211, 182, 0.10), transparent 44%);
    --liquid-haze-border: rgba(255, 255, 255, 0.10);
    --liquid-heading-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
    --liquid-heading-border: rgba(255, 255, 255, 0.13);
    --liquid-heading-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 28px 80px rgba(0, 0, 0, 0.22);
    --liquid-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.035)),
      rgba(32, 38, 35, 0.58);
    --liquid-card-border: rgba(255, 255, 255, 0.14);
    --liquid-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -24px 50px rgba(30, 107, 99, 0.12),
      0 24px 70px rgba(0, 0, 0, 0.20);
    --liquid-icon-color: #eafffb;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f2e8;
  --muted: #b9b5a8;
  --dim: #7f7b70;
  --surface: #242824;
  --surface-2: #2f342f;
  --line: rgba(245, 242, 232, 0.14);
  --header-bg: rgba(28, 31, 33, 0.78);
  --hero-fade: rgba(28, 31, 33, 0);
  --band-alt: #1f221f;
  --hero-subtitle: #dfdccf;
  --brand-milo: #a7dcd4;
  --page: #1c1f21;
  --phone-surface: linear-gradient(160deg, #20241f 0%, #30362f 100%);
  --assistant-bubble: #383d37;
  --user-bubble: #41372e;
  --voice-surface: #1f2522;
  --workspace-card-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --workspace-project-bg: #2f2a55;
  --workspace-journal-bg: #4a2d23;
  --workspace-discussion-bg: #40391f;
  --workspace-title: var(--ink);
  --workspace-body: var(--muted);
  --liquid-band-line: rgba(245, 242, 232, 0.08);
  --liquid-haze: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(300deg, rgba(123, 211, 182, 0.10), transparent 44%);
  --liquid-haze-border: rgba(255, 255, 255, 0.10);
  --liquid-heading-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  --liquid-heading-border: rgba(255, 255, 255, 0.13);
  --liquid-heading-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 80px rgba(0, 0, 0, 0.22);
  --liquid-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.035)),
    rgba(32, 38, 35, 0.58);
  --liquid-card-border: rgba(255, 255, 255, 0.14);
  --liquid-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -24px 50px rgba(30, 107, 99, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.20);
  --liquid-icon-color: #eafffb;
}

:root[data-theme="light"] {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  gap: 11px;
}

.brand img {
  border-radius: 12px;
  height: 38px;
  width: 38px;
}

.brand-milo {
  color: var(--brand-milo);
}

.brand-flow {
  color: var(--flow);
}

nav {
  display: flex;
  gap: 24px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.theme-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px 0 10px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  border-color: rgba(123, 211, 182, 0.42);
}

.theme-icon {
  background: var(--flow);
  border-radius: 999px;
  box-shadow: inset -4px -3px 0 rgba(0, 0, 0, 0.18);
  height: 16px;
  width: 16px;
}

:root[data-theme="dark"] .theme-icon {
  background: var(--gold);
  box-shadow: inset 5px -3px 0 rgba(28, 31, 33, 0.74);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-icon {
    background: var(--gold);
    box-shadow: inset 5px -3px 0 rgba(28, 31, 33, 0.74);
  }
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.75fr);
  min-height: 94svh;
  overflow: hidden;
  padding: 128px clamp(22px, 6vw, 84px) 72px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, var(--hero-fade) 0%, var(--page) 96%);
  bottom: 0;
  content: "";
  height: 26%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 0;
}

.hero-scene {
  height: 620px;
  opacity: 0.86;
  position: relative;
  z-index: 1;
}

.phone {
  background: var(--phone-surface);
  border: 1px solid var(--line);
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  max-width: 390px;
  padding: 26px;
  position: absolute;
  right: 0;
  top: 16px;
  width: 390px;
}

.phone-top {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
  margin-bottom: 24px;
}

.airplane {
  align-items: center;
  background: rgba(123, 211, 182, 0.14);
  border: 1px solid rgba(123, 211, 182, 0.24);
  border-radius: 999px;
  color: var(--flow);
  display: inline-flex;
  font-size: 13px;
  height: 26px;
  justify-content: center;
  margin-left: auto;
  width: 26px;
}

.dot {
  background: var(--mint);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.chat-row {
  border-radius: 22px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  margin: 14px 0;
  padding: 16px 18px;
  width: 78%;
}

.chat-row.assistant {
  background: var(--assistant-bubble);
}

.chat-row.user {
  background: var(--user-bubble);
  margin-left: auto;
}

.chat-row.wide {
  width: 90%;
}

.voice-bar {
  align-items: center;
  background: var(--voice-surface);
  border: 1px solid rgba(123, 211, 182, 0.22);
  border-radius: 24px;
  display: flex;
  gap: 8px;
  margin-top: 22px;
  padding: 14px 18px;
}

.voice-bar span {
  animation: wave 1.4s ease-in-out infinite;
  background: var(--mint);
  border-radius: 999px;
  height: 18px;
  width: 5px;
}

.voice-bar span:nth-child(2) {
  animation-delay: 0.14s;
  height: 28px;
}

.voice-bar span:nth-child(3) {
  animation-delay: 0.28s;
  height: 22px;
}

.voice-bar strong {
  color: var(--muted);
  font-size: 13px;
  margin-left: 8px;
}

@keyframes wave {
  0%, 100% {
    transform: scaleY(0.7);
  }
  50% {
    transform: scaleY(1.15);
  }
}

.workspace-stack {
  bottom: 10px;
  left: 0;
  position: absolute;
  width: 360px;
}

.workspace-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--workspace-card-shadow);
  margin: 16px 0;
  padding: 20px;
}

.workspace-card span,
.eyebrow {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-card strong {
  color: var(--workspace-title);
  display: block;
  font-size: 22px;
  margin: 8px 0;
}

.workspace-card p {
  color: var(--workspace-body);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.workspace-card.project {
  background: var(--workspace-project-bg);
}

.workspace-card.journal {
  background: var(--workspace-journal-bg);
  transform: translateX(44px);
}

.workspace-card.discussion {
  background: var(--workspace-discussion-bg);
  transform: translateX(18px);
}

.hero-copy {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 128px;
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: var(--hero-subtitle);
  font-size: 32px;
  font-weight: 650;
  line-height: 1.18;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  min-height: 48px;
  padding: 0 22px;
}

.primary-action {
  background: var(--mint);
  color: #10211e;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
}

.band {
  padding: 86px clamp(22px, 6vw, 84px);
}

.liquid-milo {
  background:
    radial-gradient(circle at 16% 12%, rgba(123, 211, 182, 0.18), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(203, 247, 239, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border-bottom: 1px solid var(--liquid-band-line);
  border-top: 1px solid var(--liquid-band-line);
  overflow: hidden;
  position: relative;
}

.liquid-milo::before {
  background: var(--liquid-haze);
  border: 1px solid var(--liquid-haze-border);
  border-radius: 999px;
  content: "";
  filter: blur(0.2px);
  height: 118px;
  left: clamp(22px, 6vw, 84px);
  pointer-events: none;
  position: absolute;
  right: clamp(22px, 6vw, 84px);
  top: 52px;
}

.liquid-milo .section-heading {
  backdrop-filter: blur(24px) saturate(1.25);
  background: var(--liquid-heading-bg);
  border: 1px solid var(--liquid-heading-border);
  border-radius: 36px;
  box-shadow: var(--liquid-heading-shadow);
  max-width: none;
  padding: 34px clamp(24px, 5vw, 46px);
  position: relative;
  z-index: 1;
}

.liquid-milo .feature-grid {
  position: relative;
  z-index: 1;
}

.liquid-milo article {
  backdrop-filter: blur(28px) saturate(1.35);
  background: var(--liquid-card-bg);
  border-color: var(--liquid-card-border);
  border-radius: 999px;
  box-shadow: var(--liquid-card-shadow);
  min-height: 154px;
  padding: 30px 34px 30px 112px;
  position: relative;
}

.liquid-milo .feature-icon {
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(135deg, rgba(203, 247, 239, 0.32), rgba(26, 161, 150, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 36px rgba(0, 0, 0, 0.22);
  color: var(--liquid-icon-color);
  height: 64px;
  left: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
}

.liquid-milo .feature-icon.incognito {
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.36), transparent 32%),
    linear-gradient(135deg, rgba(233, 111, 80, 0.30), rgba(123, 211, 182, 0.16));
}

.liquid-milo article h3 {
  margin-top: 0;
}

.section-heading {
  max-width: 720px;
}

h2 {
  font-size: 64px;
  letter-spacing: 0;
  line-height: 1;
  margin: 10px 0 18px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.feature-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

article h3 {
  font-size: 23px;
  margin: 18px 0 10px;
}

article p,
article li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.feature-icon {
  align-items: center;
  background: rgba(123, 211, 182, 0.16);
  border-radius: 16px;
  color: var(--mint);
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.feature-icon.incognito {
  background: rgba(233, 111, 80, 0.16);
  color: var(--coral);
}

.feature-icon.project {
  background: rgba(155, 142, 243, 0.18);
  color: var(--violet);
}

.feature-icon.journal {
  background: rgba(233, 111, 80, 0.18);
  color: var(--coral);
}

.feature-icon.discussion {
  background: rgba(242, 198, 107, 0.18);
  color: var(--gold);
}

.providers,
.pricing {
  background: var(--band-alt);
}

.provider-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.provider-card {
  background:
    linear-gradient(145deg, rgba(123, 211, 182, 0.10), transparent 42%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 22px;
  padding: 26px;
}

.provider-card.cloud {
  background:
    linear-gradient(145deg, rgba(242, 198, 107, 0.12), transparent 42%),
    var(--surface);
}

.provider-title {
  align-items: center;
  display: flex;
  gap: 12px;
}

.provider-title span {
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(123, 211, 182, 0.12);
  height: 12px;
  width: 12px;
}

.provider-card.cloud .provider-title span {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(242, 198, 107, 0.14);
}

.provider-title h3 {
  font-size: 24px;
  margin: 0;
}

.provider-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.provider-card dl div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding-top: 14px;
}

.provider-card dt {
  color: var(--flow);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.provider-card dd {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.privacy-flow {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  margin-top: 40px;
}

.privacy-flow div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  font-size: 20px;
  font-weight: 800;
  padding: 28px;
  text-align: center;
}

.privacy-flow span {
  background: var(--mint);
  height: 2px;
}

.price-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.price-grid article {
  min-height: 330px;
}

.price-grid article.highlight {
  border-color: rgba(123, 211, 182, 0.45);
  box-shadow: inset 0 0 0 1px rgba(123, 211, 182, 0.16);
}

.price {
  color: var(--ink);
  font-size: 44px;
  font-weight: 900;
  margin: 12px 0 22px;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

li::before {
  color: var(--mint);
  content: "•";
  font-weight: 900;
  margin-right: 10px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 36px clamp(22px, 6vw, 84px);
}

footer p {
  color: var(--muted);
  margin: 0;
}

.footer-brand {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  gap: 11px;
}

.footer-brand img {
  border-radius: 12px;
  height: 38px;
  width: 38px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 54px;
  }

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

  .hero-scene {
    height: 540px;
    max-width: 760px;
    width: 100%;
  }

  h1 {
    font-size: 96px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  h2 {
    font-size: 52px;
  }
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-scene {
    height: auto;
    min-height: 430px;
  }

  .phone {
    left: auto;
    max-width: none;
    position: relative;
    right: auto;
    top: auto;
    width: min(430px, 92vw);
  }

  .workspace-stack {
    bottom: auto;
    display: grid;
    gap: 12px;
    left: auto;
    margin-top: 18px;
    position: relative;
    width: min(430px, 92vw);
  }

  .workspace-card {
    border-radius: 22px;
    box-shadow: var(--workspace-card-shadow);
    margin: 0;
    padding: 16px;
    transform: none;
  }

  .workspace-card.journal,
  .workspace-card.discussion {
    transform: none;
  }

  .workspace-card strong {
    font-size: 19px;
    margin: 6px 0;
  }

  .workspace-card p {
    font-size: 13px;
  }

  h1 {
    font-size: 68px;
  }

  .hero-subtitle {
    font-size: 23px;
    line-height: 1.25;
  }

  h2 {
    font-size: 42px;
  }

  .feature-grid.two,
  .feature-grid.three,
  .provider-cards,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .liquid-milo::before {
    height: 96px;
    top: 44px;
  }

  .liquid-milo .section-heading {
    border-radius: 28px;
    padding: 28px 24px;
  }

  .liquid-milo article {
    border-radius: 34px;
    min-height: 0;
    padding: 24px;
  }

  .liquid-milo .feature-icon {
    left: auto;
    margin-bottom: 18px;
    position: relative;
    top: auto;
    transform: none;
  }

  .provider-card {
    border-radius: 22px;
    padding: 22px;
  }

  .provider-title h3 {
    font-size: 22px;
  }

  .provider-card dd {
    font-size: 14px;
  }

  .privacy-flow {
    grid-template-columns: 1fr;
  }

  .privacy-flow span {
    height: 28px;
    justify-self: center;
    width: 2px;
  }

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