:root {
  --bg-top: #eef5ff;
  --bg-mid: #f8fbff;
  --bg-bottom: #fff8f1;
  --ink: #0f172d;
  --text: #5c6880;
  --muted: #8090a8;
  --line: rgba(145, 170, 205, 0.24);
  --line-strong: rgba(153, 187, 233, 0.42);
  --glass: rgba(255, 255, 255, 0.56);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --glass-soft: rgba(248, 251, 255, 0.7);
  --accent: #58bff0;
  --accent-strong: #2569ff;
  --accent-soft: rgba(88, 191, 240, 0.12);
  --violet: #8f8dff;
  --warm: #ffc6a7;
  --shadow-xl: 0 28px 80px rgba(74, 99, 144, 0.16);
  --shadow-lg: 0 18px 42px rgba(74, 99, 144, 0.12);
  --shadow-md: 0 12px 24px rgba(74, 99, 144, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --shell-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body.public-route-body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    "SF Pro Display",
    "Avenir Next",
    "Inter",
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(137, 208, 255, 0.42), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 216, 194, 0.38), transparent 26%),
    radial-gradient(circle at 72% 72%, rgba(164, 181, 255, 0.26), transparent 28%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 44%, var(--bg-bottom) 100%);
  overflow-x: hidden;
}

body.public-route-body::before,
body.public-route-body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.42;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

body.public-route-body::before {
  top: -120px;
  right: -100px;
  background: rgba(123, 175, 255, 0.48);
}

body.public-route-body::after {
  left: -120px;
  bottom: 40px;
  background: rgba(121, 234, 224, 0.34);
  animation-duration: 22s;
}

body.public-route-body.is-legal::after {
  background: rgba(255, 199, 156, 0.32);
}

a {
  color: inherit;
}

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

#web-root {
  min-height: 100vh;
}

.public-site {
  position: relative;
  min-height: 100vh;
}

.public-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 186, 216, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 186, 216, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.14));
}

.public-shell {
  position: relative;
  z-index: 2;
  width: min(var(--shell-width), calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.public-shell::before,
.public-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.4;
  pointer-events: none;
}

.public-shell::before {
  top: 180px;
  left: -110px;
  background: rgba(167, 227, 255, 0.58);
}

.public-shell::after {
  right: -90px;
  bottom: 160px;
  background: rgba(219, 208, 255, 0.5);
}

.public-card,
.glass-panel {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.44));
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  isolation: isolate;
}

.public-card::before,
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.16));
  opacity: 0.72;
  pointer-events: none;
}

.public-card-soft {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(243, 248, 255, 0.68) 56%, rgba(255, 248, 242, 0.66));
}

.public-home .public-card,
.public-home .glass-panel,
.public-home .button-secondary,
.public-home .feature-chip,
.public-home .soft-pill,
.public-home .workspace-node,
.public-home .execution-note,
.public-home .execution-checklist,
.public-home .voice-card,
.public-home .sticky-card,
.public-home .reminder-badge,
.public-home .vault-panel,
.public-home .document-sheet,
.public-home .spotlight-screen,
.public-home .cta-card,
.public-home .public-footer {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.public-home .public-card::before,
.public-home .glass-panel::before,
.public-home .cta-card::after {
  display: none;
}

.public-home .chat-lines span {
  background: transparent;
}

.public-home .brand-mark,
.public-home .public-nav.is-scrolled,
.public-home .floating-card:hover,
.public-home .feature-card:hover,
.public-home .feature-showcase:hover,
.public-home .timeline-step:hover,
.public-home .workspace-node:hover,
.public-home .signal-card:hover,
.public-home .highlight-stack:hover {
  box-shadow: none;
}

.public-home .hero-copy h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(3.45rem, 6vw, 6.1rem);
  line-height: 0.87;
  letter-spacing: -0.09em;
  text-wrap: balance;
  text-shadow: 0 14px 34px rgba(64, 112, 198, 0.14);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .public-home .hero-copy h1 {
    background: linear-gradient(135deg, #111a34 0%, #172246 58%, #3b82ff 120%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.public-home .floating-card {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3));
  box-shadow: 0 14px 28px rgba(74, 100, 145, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  width: 188px;
  padding: 12px 13px;
  border-radius: 20px;
}

.public-home .floating-card:hover {
  box-shadow: 0 18px 34px rgba(74, 100, 145, 0.14);
}

.public-home .floating-card-briefing {
  top: 56px;
  left: 6px;
  width: 214px;
}

.public-home .floating-card-chat {
  top: 176px;
  right: 10px;
  width: 186px;
}

.public-home .floating-card-inbox {
  left: 22px;
  bottom: 156px;
  width: 176px;
}

.public-home .floating-card-calendar {
  top: 70px;
  right: 42px;
  width: 178px;
}

.public-home .floating-card-tasks {
  right: 30px;
  bottom: 116px;
  width: 196px;
}

.public-home .floating-card-reminders {
  left: 60px;
  bottom: 38px;
  width: 178px;
}

.public-home .floating-card h3 {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.18;
}

.public-home .floating-card strong {
  margin-top: 6px;
  font-size: 0.98rem;
  line-height: 1.22;
}

.public-home .floating-card p,
.public-home .floating-card small {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.42;
}

.public-home .floating-card .card-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.public-home .card-inline {
  gap: 8px;
  margin-top: 10px;
}

.public-home .chat-lines {
  gap: 8px;
  margin-top: 8px;
}

.public-home .chat-lines span {
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
  line-height: 1.36;
}

.public-home .chat-lines span:last-child {
  background: rgba(88, 191, 240, 0.14);
}

.public-home .live-pill {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(112, 170, 246, 0.22);
  background: rgba(88, 191, 240, 0.18);
  font-size: 0.72rem;
}

.public-home .mini-list {
  gap: 6px;
  margin-top: 8px;
}

.public-home .mini-list li {
  padding-left: 15px;
  font-size: 0.82rem;
}

.premium-section,
.cta-card,
.legal-hero,
.legal-card,
.public-footer,
.public-error-card {
  border-radius: var(--radius-xl);
}

.premium-section {
  margin-top: 28px;
  padding: 30px;
}

.public-nav {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-pill);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.public-nav.is-scrolled {
  box-shadow: 0 22px 54px rgba(76, 101, 146, 0.18);
  border-color: var(--line-strong);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 28px rgba(37, 105, 255, 0.18);
}

.brand-word {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.nav-links,
.nav-actions,
.footer-links,
.hero-actions,
.chip-row {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.nav-links {
  position: relative;
  z-index: 1;
}

.nav-links a,
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 650;
  transition: color 180ms ease, transform 180ms ease;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
}

.login-section {
  overflow: hidden;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.login-copy-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-feature-stack {
  display: grid;
  gap: 14px;
}

.login-feature {
  padding: 18px;
  border-radius: var(--radius-md);
}

.login-auth-panel {
  position: relative;
  z-index: 1;
  padding: 26px;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.login-auth-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.login-auth-copy {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-label {
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 700;
}

.auth-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(145, 170, 205, 0.28);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(37, 105, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(37, 105, 255, 0.08);
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap .auth-input {
  padding-right: 78px;
}

.auth-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(37, 105, 255, 0.08);
  color: var(--accent-strong);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.auth-toggle:hover {
  background: rgba(37, 105, 255, 0.14);
  transform: translateY(calc(-50% - 1px));
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  box-shadow: none;
}

.auth-status {
  margin: 14px 0 0;
  min-height: 1.6em;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.55;
}

.auth-status.is-error {
  color: #b13a58;
}

.login-auth-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.login-auth-note strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.login-auth-note span {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-copy,
.section-heading,
.cta-copy,
.footer-brand,
.spotlight-content {
  position: relative;
  z-index: 1;
}

.public-eyebrow,
.section-kicker,
.signal-kicker,
.card-label,
.step-number,
.legal-date {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.cta-copy h2,
.legal-hero h1,
.public-error-card h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.section-heading h2,
.cta-copy h2,
.legal-hero h1,
.public-error-card h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.35rem);
  line-height: 1.02;
}

.hero-text,
.section-heading p,
.cta-copy p,
.footer-copy,
.legal-hero p,
.legal-card p,
.public-error-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.78;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 18px 32px rgba(37, 105, 255, 0.28);
}

.button-primary:hover {
  box-shadow: 0 22px 36px rgba(37, 105, 255, 0.34);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
}

.button-compact {
  min-height: 46px;
  padding: 0 16px;
}

.button-pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.feature-chip,
.soft-pill,
.live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
}

.live-pill {
  min-height: 30px;
  padding: 0 10px;
  background: rgba(88, 191, 240, 0.16);
  color: var(--accent-strong);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  padding: 16px;
  border-radius: var(--radius-md);
}

.signal-card strong,
.floating-card h3,
.feature-card h3,
.feature-showcase h3,
.timeline-step h3,
.legal-card h2,
.knowledge-showcase strong {
  display: block;
  margin-top: 8px;
  font-size: 1.06rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.signal-card small,
.floating-card p,
.floating-card small,
.feature-card p,
.feature-showcase p,
.timeline-step p,
.highlight-item span,
.workspace-node small {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.58;
}

.hero-visual-shell {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-aura-one {
  width: 250px;
  height: 250px;
  top: 30px;
  left: 24px;
  background: rgba(116, 199, 255, 0.42);
}

.hero-aura-two {
  width: 240px;
  height: 240px;
  right: 12px;
  bottom: 42px;
  background: rgba(170, 184, 255, 0.34);
}

.hero-device-wrap {
  position: relative;
  z-index: 3;
  width: min(360px, 72%);
}

.device-halo {
  position: absolute;
  inset: 10% -18%;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(210, 240, 255, 0.92), rgba(255, 255, 255, 0.88), rgba(255, 239, 226, 0.9));
  filter: blur(18px);
}

.hero-device,
.spotlight-device {
  overflow: hidden;
}

.hero-device {
  position: relative;
  padding: 10px;
  border-radius: 44px;
  box-shadow: 0 28px 56px rgba(59, 86, 134, 0.18);
}

.device-notch {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  width: 112px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: rgba(16, 24, 40, 0.94);
}

.hero-device img {
  width: 100%;
  border-radius: 36px;
}

.floating-card {
  position: absolute;
  z-index: 5;
  width: 220px;
  padding: 16px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.floating-card:hover,
.feature-card:hover,
.feature-showcase:hover,
.timeline-step:hover,
.workspace-node:hover,
.signal-card:hover,
.highlight-stack:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(74, 100, 145, 0.16);
  border-color: var(--line-strong);
}

.floating-card strong {
  margin-top: 8px;
}

.floating-card-briefing {
  top: 42px;
  left: 4px;
  width: 250px;
}

.floating-card-chat {
  top: 160px;
  right: 0;
  width: 220px;
}

.floating-card-inbox {
  left: 16px;
  bottom: 150px;
}

.floating-card-calendar {
  top: 54px;
  right: 36px;
  width: 210px;
}

.floating-card-tasks {
  right: 22px;
  bottom: 108px;
  width: 228px;
}

.floating-card-reminders {
  left: 52px;
  bottom: 28px;
  width: 210px;
}

.card-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.chat-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.chat-lines span {
  display: inline-flex;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.45;
}

.chat-lines span:last-child {
  background: rgba(88, 191, 240, 0.13);
}

.mini-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.9rem;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 0 rgba(37, 105, 255, 0.36);
  animation: pulseDot 1.8s ease-out infinite;
}

.waveform {
  display: inline-flex;
  align-items: end;
  gap: 5px;
  margin-top: 12px;
  height: 26px;
}

.waveform-large {
  height: 34px;
}

.waveform span {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  animation: waveform 1.3s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 14px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 24px; animation-delay: 0.15s; }
.waveform span:nth-child(3) { height: 18px; animation-delay: 0.3s; }
.waveform span:nth-child(4) { height: 28px; animation-delay: 0.45s; }
.waveform span:nth-child(5) { height: 16px; animation-delay: 0.6s; }
.waveform span:nth-child(6) { height: 22px; animation-delay: 0.75s; }

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 760px;
}

.spotlight-grid,
.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 22px;
}

.spotlight-device {
  padding: 16px;
  border-radius: var(--radius-xl);
}

.spotlight-device-head,
.workspace-map,
.execution-showcase,
.knowledge-showcase,
.public-footer,
.cta-card {
  position: relative;
  z-index: 1;
}

.spotlight-device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.spotlight-screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(242, 248, 255, 0.94), rgba(255, 248, 242, 0.92));
  border: 1px solid rgba(176, 202, 236, 0.28);
}

.spotlight-screen img {
  width: min(340px, 100%);
  margin: 0 auto;
  padding: 18px 0 0;
}

.spotlight-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
}

.overlay-card {
  min-width: 190px;
  padding: 14px;
  border-radius: 22px;
}

.spotlight-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.feature-showcase,
.highlight-stack,
.feature-card,
.timeline-step,
.workspace-map,
.execution-showcase,
.knowledge-showcase {
  border-radius: var(--radius-lg);
}

.feature-showcase,
.feature-card,
.timeline-step {
  padding: 18px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.feature-showcase-accent {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 248, 255, 0.66), rgba(236, 243, 255, 0.7));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.highlight-stack {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.highlight-item {
  position: relative;
  padding-left: 18px;
}

.highlight-item::before {
  content: "";
  position: absolute;
  top: 0.56rem;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--violet));
}

.workspace-map {
  min-height: 260px;
  margin-bottom: 22px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(245, 249, 255, 0.68));
}

.workspace-map::before,
.workspace-map::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 420px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(102, 159, 240, 0.34), transparent);
  transform: translate(-50%, -50%);
}

.workspace-map::after {
  width: 2px;
  height: 220px;
  background: linear-gradient(180deg, transparent, rgba(102, 159, 240, 0.3), transparent);
}

.workspace-node {
  position: absolute;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.workspace-node-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(37, 105, 255, 0.14), rgba(88, 191, 240, 0.14), rgba(255, 255, 255, 0.72));
}

.workspace-node-gmail {
  top: 18px;
  left: 8%;
}

.workspace-node-outlook {
  top: 18px;
  right: 8%;
}

.workspace-node-calendar {
  bottom: 22px;
  left: 14%;
}

.workspace-node-settings {
  bottom: 22px;
  right: 14%;
}

.feature-grid-three,
.feature-grid-four {
  display: grid;
  gap: 14px;
}

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

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

.execution-showcase {
  display: grid;
  grid-template-columns: 1fr 0.78fr 0.82fr;
  gap: 18px;
  margin-bottom: 22px;
  padding: 20px;
}

.execution-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.execution-note,
.execution-checklist,
.voice-card,
.sticky-card,
.reminder-badge,
.vault-panel {
  position: relative;
  z-index: 1;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.execution-note strong,
.voice-card strong,
.sticky-card strong,
.vault-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.execution-checklist {
  display: grid;
  gap: 10px;
}

.check-item {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 0.92rem;
}

.check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.execution-center {
  justify-content: center;
}

.reminder-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 700;
}

.knowledge-showcase {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
}

.document-stack {
  position: relative;
  min-height: 270px;
}

.document-sheet {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(300px, 100%);
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-lg);
}

.document-sheet-back {
  top: 22px;
  left: 12px;
  transform: rotate(-5deg);
  height: 200px;
  opacity: 0.48;
}

.document-sheet-mid {
  top: 14px;
  left: 36px;
  transform: rotate(-2deg);
  height: 218px;
  opacity: 0.68;
}

.document-sheet-front {
  top: 0;
  left: 58px;
}

.vault-panel {
  width: min(260px, 100%);
  justify-self: end;
  background:
    linear-gradient(135deg, rgba(37, 105, 255, 0.08), rgba(255, 255, 255, 0.64));
}

.workflow-section .timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 105, 255, 0.18), rgba(88, 191, 240, 0.38), rgba(37, 105, 255, 0.18));
}

.timeline-step {
  position: relative;
  padding-top: 30px;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 8px rgba(88, 191, 240, 0.12);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(245, 249, 255, 0.72), rgba(255, 246, 238, 0.72));
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 191, 240, 0.22), transparent 68%);
  pointer-events: none;
}

.public-footer {
  margin-top: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.footer-copy,
.footer-meta {
  font-size: 0.92rem;
}

.legal-shell {
  width: min(980px, calc(100vw - 28px));
}

.legal-hero {
  margin-top: 18px;
  padding: 26px;
}

.legal-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.legal-card {
  padding: 22px;
}

.legal-card h2 {
  margin: 0 0 10px;
}

.legal-card p + p {
  margin-top: 12px;
}

.public-error-shell {
  width: min(820px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 28px 0;
}

.public-error-card {
  padding: 28px;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.65, 0.18, 1),
    transform 720ms cubic-bezier(0.2, 0.65, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-float] {
  animation: floatCard 9s ease-in-out infinite;
}

.floating-card-calendar[data-float] { animation-delay: -1.5s; }
.floating-card-chat[data-float] { animation-delay: -2.2s; }
.floating-card-inbox[data-float] { animation-delay: -3.2s; }
.floating-card-tasks[data-float] { animation-delay: -4.1s; }
.floating-card-reminders[data-float] { animation-delay: -5s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, 22px, 0) scale(1.08); }
}

@keyframes waveform {
  0%, 100% { transform: scaleY(0.55); opacity: 0.68; }
  50% { transform: scaleY(1.18); opacity: 1; }
}

@keyframes floatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(37, 105, 255, 0.36); }
  75% { box-shadow: 0 0 0 14px rgba(37, 105, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 105, 255, 0); }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 18px 32px rgba(37, 105, 255, 0.28); }
  50% { box-shadow: 0 22px 38px rgba(37, 105, 255, 0.36); }
}

@media (max-width: 1120px) {
  .hero,
  .spotlight-grid,
  .login-layout,
  .knowledge-layout {
    grid-template-columns: 1fr;
  }

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

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

  .execution-showcase {
    grid-template-columns: 1fr;
  }

  .workflow-section .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    left: 24px;
    top: 28px;
    bottom: 28px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(37, 105, 255, 0.18), rgba(88, 191, 240, 0.38), rgba(37, 105, 255, 0.18));
  }
}

@media (max-width: 920px) {
  .public-nav {
    align-items: flex-start;
    border-radius: var(--radius-xl);
    flex-direction: column;
  }

  .hero-signals {
    grid-template-columns: 1fr;
  }

  .hero-visual-shell {
    min-height: 620px;
  }

  .public-home .floating-card {
    width: 176px;
  }

  .public-home .floating-card-briefing {
    width: 198px;
  }

  .feature-grid-three,
  .feature-grid-four {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .public-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .public-shell,
  .legal-shell {
    width: min(100vw - 20px, var(--shell-width));
  }

  .premium-section,
  .legal-hero,
  .legal-card,
  .public-footer {
    padding: 22px;
  }

  .public-home .hero-copy h1 {
    font-size: 2.85rem;
  }

  .section-heading h2,
  .cta-copy h2,
  .legal-hero h1 {
    font-size: 2rem;
  }

  .hero-visual-shell {
    min-height: auto;
    padding-top: 12px;
    display: grid;
    gap: 12px;
  }

  .login-auth-panel {
    padding: 22px;
  }

  .hero-device-wrap {
    order: -1;
    width: min(320px, 100%);
    justify-self: center;
  }

  .public-home .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .document-sheet-front,
  .document-sheet-mid,
  .document-sheet-back {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    height: auto;
  }

  .document-stack {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .vault-panel {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .public-shell,
  .legal-shell {
    width: min(100vw - 16px, var(--shell-width));
    padding-top: 14px;
  }

  .public-nav,
  .premium-section,
  .legal-hero,
  .legal-card,
  .public-footer {
    padding: 18px;
  }

  .public-home .hero-copy h1 {
    font-size: 2.35rem;
  }

  .section-heading h2,
  .cta-copy h2,
  .legal-hero h1 {
    font-size: 1.72rem;
  }

  .hero-text,
  .section-heading p,
  .cta-copy p,
  .legal-card p,
  .legal-hero p {
    font-size: 0.95rem;
  }

  .login-auth-panel h2 {
    font-size: 1.86rem;
  }

  .button,
  .button-compact {
    width: 100%;
  }

  .hero-actions,
  .nav-actions {
    width: 100%;
  }

  .workspace-node {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
  }

  .workspace-map {
    min-height: 0;
    display: grid;
    gap: 12px;
  }

  .workspace-map::before,
  .workspace-map::after {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
