/*
 * WalterSuite public website, "Aurora".
 * Walter lives at the South Pole: midnight skies with an aurora glow (mint, blue, violet), Walter's coral for every call
 * to action, Bricolage Grotesque headings over Inter. No inline styles anywhere: the Content-Security-Policy forbids them.
 */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caveat';
  src: url('fonts/caveat-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Night and ink */
  --night: #070d24;
  --night-2: #0b1430;
  --night-3: #16224a;
  --ink: #0b1220;
  --ink-2: #2c3549;
  --muted: #4a5468;
  --subtle: #626b80;
  --on-dark: #c9d1ea;
  --on-dark-muted: #aeb8d6;

  /* Surfaces */
  --page: #f6f7fc;
  --surface: #ffffff;
  --line: #eef0f6;
  --line-strong: #d5dbe7;

  /* Aurora */
  --mint: #4ff0c4;
  --sky: #57a6ff;
  --violet-glow: #b48cff;
  --aurora: linear-gradient(95deg, #4ff0c4 0%, #57a6ff 48%, #b48cff 100%);

  /* Brand and status */
  --coral: #ff6b3d;
  --coral-soft: #ffe9df;
  --blue: #3b5bfd;
  --blue-text: #2a44d6;
  --blue-soft: #eef1ff;
  --amber: #f0a040;
  --amber-text: #a14b07;
  --amber-soft: #fff2e5;
  --violet: #6b48e0;
  --violet-text: #5a37c9;
  --violet-soft: #efe9ff;
  --green: #1fb98c;
  --green-text: #0f6e4e;
  --green-soft: #e2f5ec;
  --sun: #ffc83d;

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;

  --radius: 28px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 24px 48px -32px rgba(16, 24, 40, 0.3);
  --shadow-float: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Walter's picture is square; it sits whole in whatever space it's given. */
img.walter {
  object-fit: contain;
}

/* Links are never underlined: color marks them. */
a {
  color: var(--blue-text);
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

main:focus,
section[tabindex="-1"]:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1264px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type ---------- */

.display,
.headline,
.brand span,
.tile h3,
.journey h3,
.plan-name,
.plan-price,
.step {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

.display {
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.95;
  font-weight: 800;
  color: #fff;
}

.display-small {
  font-size: clamp(40px, 5vw, 64px);
}

.headline {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  font-weight: 800;
}

.headline-light {
  color: #fff;
}

.headline-ink {
  color: var(--night-2);
}

.quiet {
  color: #8a93a8;
}

.aurora-text {
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}

.lead-muted {
  color: var(--muted);
}

.eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-text);
}

.eyebrow-coral { color: #c8471a; }
.eyebrow-mint { color: var(--mint); }
.eyebrow-violet { color: var(--violet-text); }
.eyebrow-amber { color: var(--amber-text); }
.eyebrow-rust { color: #a83a12; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
}

.button-large {
  min-height: 58px;
  padding: 0 28px;
  font-size: 17px;
}

.button-block {
  width: 100%;
}

.button-coral,
.button-coral:hover {
  background: var(--coral);
  color: var(--night-2);
  box-shadow: 0 14px 34px -12px rgba(255, 107, 61, 0.7);
}

.button-coral:hover {
  background: #ff7d55;
}

.button-ghost,
.button-ghost:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.button-ink,
.button-ink:hover {
  background: var(--night-2);
  color: #fff;
}

.button-outline-ink,
.button-outline-ink:hover {
  color: var(--night-2);
  box-shadow: inset 0 0 0 2px var(--night-2);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row-center {
  justify-content: center;
}

.play {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play svg {
  width: 12px;
  height: 12px;
  fill: var(--night);
}

/* ---------- Header ---------- */

/*
 * The header stays at the top of the window. It's a frosted night bar by default; site.js adds .at-top while the
 * page is scrolled to the very top, so it sits clear over the dark hero (without the script it simply stays frosted).
 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  background: rgba(7, 13, 36, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px -20px rgba(0, 0, 0, 0.6);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.at-top {
  background: rgba(7, 13, 36, 0);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* Above the header: clients still on WalterSuite Classic (the older Walter CRM) sign in there. */
.client-strip {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.3;
}

.client-strip strong {
  color: var(--mint);
  font-weight: 700;
}

.client-strip-inner {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
  padding-bottom: 6px;
}

.client-strip a {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.client-strip a:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .client-strip-inner {
    justify-content: center;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  transition: min-height 0.25s ease;
}

.at-top .site-header-inner {
  min-height: 88px;
}

/* Keep section headings clear of the sticky header when jumping to them. */
section[id] {
  scroll-margin-top: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 34px;
  height: 40px;
}

.brand span {
  font-size: 23px;
  font-weight: 800;
}

.site-nav ul,
.site-menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  gap: 4px;
}

.site-nav a,
.header-link {
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .button {
  white-space: nowrap;
}

.site-nav a:hover,
.header-link:hover,
.header-link[aria-current] {
  color: #fff;
}

/* Where you are: a soft pill with an aurora underline. */
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current] {
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav a[aria-current]::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--aurora);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  font-weight: 600;
}

.site-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.site-menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.site-menu summary::-webkit-details-marker {
  display: none;
}

.site-menu-panel {
  position: absolute;
  right: 0;
  top: 56px;
  width: min(320px, calc(100vw - 40px));
  padding: 16px;
  border-radius: 22px;
  background: var(--night-2);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-menu-panel a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.site-menu-panel a:not(.button):hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-menu-panel a[aria-current] {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 0 var(--mint);
}

/* ---------- Aurora sky ---------- */

.on-dark {
  position: relative;
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
}

.aurora-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  display: block;
  filter: blur(10px);
}

.glow-mint {
  left: -10%;
  top: -260px;
  width: 70%;
  height: 620px;
  background: radial-gradient(closest-side, rgba(79, 240, 196, 0.35), rgba(79, 240, 196, 0));
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-blue {
  left: 30%;
  top: -320px;
  width: 60%;
  height: 640px;
  background: radial-gradient(closest-side, rgba(87, 166, 255, 0.38), rgba(87, 166, 255, 0));
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.glow-violet {
  right: -15%;
  top: -120px;
  width: 50%;
  height: 640px;
  background: radial-gradient(closest-side, rgba(180, 140, 255, 0.32), rgba(180, 140, 255, 0));
  animation: drift 26s ease-in-out infinite alternate;
}

.aurora-sky-low .glow-violet {
  left: -10%;
  right: auto;
  top: auto;
  bottom: -300px;
  width: 60%;
}

.aurora-sky-low .glow-mint {
  left: auto;
  right: -10%;
  top: -260px;
  width: 60%;
  height: 560px;
}

.stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1.5px);
  background-size: 46px 46px;
  opacity: 0.25;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6%, 4%, 0) scale(1.08); }
}

/* ---------- Hero ---------- */

.hero {
  padding: 150px 0 110px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.pill-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.pill-badge span {
  background: var(--mint);
  color: #062a22;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .lead {
  max-width: 540px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  color: var(--on-dark-muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The product picture: an app window, a phone, two floating notices and Walter. */

.hero-visual {
  position: relative;
  height: 600px;
  min-width: 0;
}

.app-window {
  position: absolute;
  left: 0;
  top: 30px;
  width: 560px;
  max-width: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f1f3f9;
}

.app-window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.app-window-bar i:nth-child(2) { background: var(--sun); }
.app-window-bar i:nth-child(3) { background: var(--mint); }

.app-window-bar span {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--subtle);
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  background: var(--page);
}

.mini-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stage {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.stage::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
}

.stage-blue::before { background: var(--blue); }
.stage-amber::before { background: var(--amber); }
.stage-violet::before { background: var(--violet); }

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.mini-card strong {
  font-size: 12px;
}

.mini-card small {
  font-size: 11px;
  color: var(--subtle);
}

.mini-card-active {
  box-shadow: 0 0 0 2px var(--violet);
}

.bar {
  display: block;
  height: 6px;
  border-radius: 9px;
  background: var(--violet-soft);
  margin-top: 6px;
}

.bar span {
  display: block;
  width: 65%;
  height: 100%;
  border-radius: 9px;
  background: var(--violet);
}

.mini-stats {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  background: var(--page);
}

.mini-stats div {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

.mini-stats small {
  font-size: 11px;
  font-weight: 600;
  color: var(--subtle);
}

.mini-stats svg {
  width: 100%;
  height: 40px;
}

.spark-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spark-bar { fill: #d9fbef; }
.spark-bar-now { fill: var(--green); }

/* Phones */

.phone {
  width: 210px;
  height: 420px;
  border-radius: 36px;
  background: var(--night-2);
  padding: 10px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  background: var(--page);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.phone-screen-white {
  background: #fff;
  padding: 14px;
  gap: 10px;
}

.phone-top {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 20px;
  background: var(--night-2);
  color: #fff;
}

.phone-top small {
  font-size: 11px;
  color: var(--on-dark-muted);
}

.phone-top strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.phone-top-blue {
  background: var(--blue);
  padding: 18px 16px 26px;
}

.phone-top-blue small {
  color: #dbe4ff;
}

.phone-top-blue strong {
  font-size: 21px;
  line-height: 1.1;
}

.phone-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: -10px 10px 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(16, 24, 40, 0.3);
}

.phone-card strong {
  font-size: 13px;
}

.phone-card small {
  font-size: 11px;
  color: var(--subtle);
}

.phone-card .next {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-text);
}

.phone-card .next-muted {
  color: var(--subtle);
}

.phone-card-flat {
  margin-top: 10px;
  box-shadow: none;
}

.phone-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 30px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.phone-buttons {
  display: flex;
  gap: 6px;
}

.phone-button-outline {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.phone-button-dark {
  margin-top: auto;
  flex: none;
  min-height: 42px;
  font-size: 13px;
  background: var(--night-2);
}

.phone-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 10px;
}

.phone-photos i,
.photo-grid i {
  display: block;
  height: 54px;
  border-radius: 12px;
  background: #ffd9cc;
}

.phone-photos i:nth-child(2),
.photo-grid i:nth-child(2) { background: #d6e4ff; }
.phone-photos i:nth-child(3),
.photo-grid i:nth-child(3) { background: #d9fbef; }

.phone-done {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-text);
  font-size: 11px;
  font-weight: 800;
}

.hero-phone {
  position: absolute;
  right: 0;
  top: 150px;
}

/* Floating notices */

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-float);
  animation: bob 6s ease-in-out infinite;
}

.chip strong {
  display: block;
  font-size: 13px;
}

.chip small {
  display: block;
  font-size: 12px;
  color: var(--subtle);
}

.chip-lead {
  left: -14px;
  top: 0;
}

.chip-booked {
  left: 300px;
  top: 470px;
  animation-delay: -3s;
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-mint { background: #d9fbef; }
.chip-mint svg { stroke: var(--green-text); }
.chip-blue { background: #e6ebff; }
.chip-blue svg { stroke: var(--blue-text); }

.hero-walter {
  position: absolute;
  left: 120px;
  top: 380px;
  width: 190px;
  height: 230px;
}

/* Walter is a black penguin, so on the night sky he gets a soft aurora glow to lift him off the background. */
.on-dark .hero-walter,
.on-dark .message-walter,
.site-header .brand-mark,
.site-footer .brand-mark {
  filter: drop-shadow(0 0 1px rgba(201, 209, 234, 0.55)) drop-shadow(0 0 18px rgba(87, 166, 255, 0.35));
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Trades band ---------- */

/* An aurora ribbon (WalterSuite's own mint, blue and violet, not the PXMSS orange) with snowflakes between the trades. */
.trades {
  position: relative;
  z-index: 2;
  padding: 18px 0;
  background: var(--aurora);
  color: var(--night-2);
  overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(87, 166, 255, 0.75), 0 -10px 40px -18px rgba(79, 240, 196, 0.55);
}

.trades-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

/* Stops while the pointer is on it, so a trade can be read. */
.trades:hover .trades-track {
  animation-play-state: paused;
}

.trades ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  white-space: nowrap;
}

.trades li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trades li::after {
  content: '';
  width: 22px;
  height: 22px;
  margin: 0 26px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 3.5l3 2.5 3-2.5M9 20.5l3-2.5 3 2.5M3.2 10.6l3.7-1.3-.6-3.9M20.8 13.4l-3.7 1.3.6 3.9M3.2 13.4l3.7 1.3-.6 3.9M20.8 10.6l-3.7-1.3.6-3.9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 3.5l3 2.5 3-2.5M9 20.5l3-2.5 3 2.5M3.2 10.6l3.7-1.3-.6-3.9M20.8 13.4l-3.7 1.3.6 3.9M3.2 13.4l3.7 1.3-.6 3.9M20.8 10.6l-3.7-1.3.6-3.9'/%3E%3C/svg%3E") center / contain no-repeat;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  padding: 120px 0;
}

.section-tight {
  padding: 40px 0 120px;
}

.section-last {
  padding: 0 0 100px;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.split-copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-copy .text-link {
  align-self: flex-start;
}

/* Sticky notes */

.notes {
  flex: 1 1 520px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.note {
  padding: 26px 24px 30px;
  border-radius: 4px;
  font-family: var(--font-hand);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  transition: transform 0.2s ease;
}

.note-yellow { background: #fff3a8; color: #3d3410; transform: rotate(-3deg); box-shadow: 0 18px 30px -18px rgba(60, 50, 0, 0.55); }
.note-peach { background: #ffd9cc; color: #4a1d0c; transform: rotate(2.5deg) translateY(18px); box-shadow: 0 18px 30px -18px rgba(80, 30, 10, 0.55); }
.note-blue { background: #d6e4ff; color: #132c63; transform: rotate(2deg); box-shadow: 0 18px 30px -18px rgba(20, 40, 100, 0.55); }
.note-mint { background: #d9fbef; color: #0b3d2e; transform: rotate(-2.5deg) translateY(14px); box-shadow: 0 18px 30px -18px rgba(10, 60, 40, 0.55); }

.note:hover {
  transform: rotate(0) scale(1.03);
}

/* The job journey */

.journey {
  position: relative;
}

.journey-path {
  position: absolute;
  left: 0;
  top: 18px;
  width: 100%;
  height: 120px;
}

.journey-path path {
  fill: none;
  stroke: #b9c3ec;
  stroke-width: 3;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
}

.journey ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.journey li {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--page);
}

.step-blue { background: var(--blue); color: #fff; }
.step-amber { background: var(--amber); color: var(--night-2); }
.step-violet { background: var(--violet); color: #fff; }
.step-green { background: var(--green); color: #062a22; }

.journey h3 {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 700;
}

.journey p {
  color: var(--muted);
  line-height: 1.55;
}

.mini-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgba(16, 24, 40, 0.35);
}

.mini-panel-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.mini-panel-stack small {
  font-size: 12px;
  color: var(--subtle);
}

.mini-panel-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mini-panel-text strong {
  font-size: 14px;
}

.mini-panel-text small {
  font-size: 12px;
  color: var(--subtle);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.progress-label b {
  color: var(--violet-text);
}

.mini-panel .bar {
  height: 8px;
  margin: 0;
}

.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.avatar-blue { background: #e6ebff; color: var(--blue-text); }
.avatar-rose { background: #ffe6ee; color: #a3204f; }
.avatar-teal { background: #def5f5; color: #0d6b6b; }

.tag {
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.tag-blue { background: var(--blue-soft); color: var(--blue-text); }
.tag-amber { background: var(--amber-soft); color: var(--amber-text); }
.tag-green { background: var(--green-soft); color: var(--green-text); }
.tag-mint { background: var(--mint); color: #062a22; text-transform: uppercase; }

.date-tile {
  width: 44px;
  flex: none;
  border-radius: 10px;
  padding: 4px 0;
  text-align: center;
  background: var(--amber-soft);
  color: var(--amber-text);
}

.date-tile small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.date-tile b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
}

.done-tick {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.done-tick svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #062a22;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bento */

.bento-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}

.bento-head .headline {
  flex: 1 1 520px;
}

.bento-head .lead {
  flex: 1 1 300px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tile h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.05;
  font-weight: 800;
}

.tile p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.tile-wide {
  grid-column: span 4;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.tile-narrow {
  grid-column: span 2;
}

.tile-half {
  grid-column: span 3;
}

.tile-copy {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-stack {
  flex: 1 1 280px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-stack li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
}

.contact-stack li.is-selected {
  background: #f5f7ff;
  box-shadow: none;
}

.contact-stack b {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.contact-stack .avatar {
  width: 38px;
  height: 38px;
}

.tile-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(59, 91, 253, 0.7);
}

.tile-blue .eyebrow {
  color: #dbe4ff;
}

.tile-ring {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.week {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.week div {
  text-align: center;
}

.week small {
  font-size: 11px;
  font-weight: 700;
  color: #dbe4ff;
}

.week span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 64px;
  margin-top: 6px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
}

.week .is-today small {
  color: #fff;
}

.week .is-today span {
  background: #fff;
}

.ev {
  display: block;
  border-radius: 6px;
}

.ev-mint { height: 26px; background: var(--mint); }
.ev-bottom { margin-top: auto; }
.ev-coral { height: 18px; background: var(--coral); }
.ev-violet { height: 26px; background: var(--violet-glow); }
.ev-sun { height: 34px; background: var(--sun); }

.source-bars rect { fill: var(--violet); }
.source-bars rect:nth-child(2) { fill: #9b7cf0; }
.source-bars rect:nth-child(3) { fill: #c9b8f8; }
.source-bars rect:nth-child(4) { fill: #e3dafc; }

.source-bars {
  margin-top: auto;
  width: 100%;
  height: 110px;
}

.board-sketch {
  flex: 1 1 300px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: var(--page);
}

.board-sketch div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.board-sketch span {
  height: 54px;
  border-radius: 12px;
  background: #fff;
}

.board-sketch .is-dragging {
  box-shadow: 0 10px 20px -10px rgba(16, 24, 40, 0.4), 0 0 0 2px var(--amber);
  transform: rotate(-4deg);
}

.lane {
  display: block;
  width: 50%;
  height: 8px;
  border-radius: 9px;
}

.lane-blue { background: var(--blue); }
.lane-amber { background: var(--amber); }
.lane-green { background: var(--green); }

.tile-night {
  background: var(--night-2);
  color: var(--on-dark);
}

.tile-night h3 {
  color: #fff;
}

.tile-night p:not(.eyebrow) {
  color: var(--on-dark);
}

.tile-glow {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(closest-side, rgba(79, 240, 196, 0.3), rgba(79, 240, 196, 0));
}

.tile-peach {
  background: var(--coral-soft);
  flex-direction: row;
  align-items: center;
  gap: 20px;
  box-shadow: none;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.bubble {
  max-width: 92%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.bubble-me {
  align-self: flex-end;
  background: var(--night-2);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.bubble-walter {
  align-self: flex-start;
  background: #fff;
  border-radius: 16px 16px 16px 4px;
}

.tile-walter {
  flex: none;
  width: 96px;
  height: 112px;
}

/* Integrations and AI: a hub picture of WalterSuite wired to email, QuickBooks, AI insights and automations,
   then a card for each. */

.connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
  margin-bottom: 40px;
}

.connect-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* The aurora, deepened so it reads on the light page. */
.aurora-text-deep {
  background: linear-gradient(95deg, #0e9a78 0%, #2a6fe0 50%, #6b48e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hub {
  position: relative;
  overflow: hidden;
  height: 340px;
  border-radius: var(--radius);
  background:
    radial-gradient(60% 70% at 20% 0%, rgba(79, 240, 196, 0.22), rgba(79, 240, 196, 0)),
    radial-gradient(60% 70% at 100% 100%, rgba(180, 140, 255, 0.26), rgba(180, 140, 255, 0)),
    var(--night-2);
  box-shadow: 0 40px 70px -40px rgba(11, 20, 48, 0.8);
}

.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-lines path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 9;
  animation: flow 1.6s linear infinite;
}

.line-mint { stroke: var(--mint); }
.line-green { stroke: #3fd99a; animation-direction: reverse; }
.line-violet { stroke: var(--violet-glow); animation-direction: reverse; }
.line-blue { stroke: var(--sky); }

@keyframes flow {
  to { stroke-dashoffset: -30; }
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 22px 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08), 0 0 60px rgba(87, 166, 255, 0.45);
}

.hub-core b {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.hub-walter {
  width: 46px;
  height: 54px;
}

.hub-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-float);
  animation: bob 6s ease-in-out infinite;
}

.hub-email { left: 5%; top: 13%; }
.hub-books { left: 5%; bottom: 13%; animation-delay: -1.5s; }
.hub-ai { right: 5%; top: 13%; animation-delay: -3s; }
.hub-auto { right: 5%; bottom: 13%; animation-delay: -4.5s; }

.hub-icon,
.sync-icon,
.insight-icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-icon svg,
.sync-icon svg,
.insight-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-mint { background: #d9fbef; }
.icon-mint svg { stroke: var(--green-text); }
.icon-green { background: var(--green-soft); }
.icon-green svg { stroke: #157a53; }
.icon-violet { background: var(--violet-soft); }
.icon-violet svg { stroke: var(--violet-text); }
.icon-blue { background: #e6ebff; }
.icon-blue svg { stroke: var(--blue-text); }

.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Who it's for: four kinds of business, side by side, the same height. */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.audience {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience h3 {
  margin: 6px 0 0;
}

.audience p {
  margin: 0;
}

.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* /demo (development only): one card per demo business, side by side, the same height. */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.demo-card {
  gap: 10px;
}

.demo-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.demo-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--ink-2, inherit);
}

.demo-buttons {
  margin-top: auto;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

@media (max-width: 1000px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.eyebrow-mint-dark { color: #0b7a5c; }
.eyebrow-green { color: var(--green-text); }

.sync-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
}

.sync-icon svg {
  stroke: #157a53;
}

.insight {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  background: var(--violet-soft);
}

.insight-icon {
  background: var(--violet);
}

.insight-icon svg {
  stroke: #fff;
}

.tile .insight p {
  color: #2d2160;
  font-size: 15px;
  line-height: 1.5;
}

.insight b {
  color: var(--violet-text);
}

.recipe {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recipe li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--page);
  font-size: 14px;
  font-weight: 600;
}

.recipe li + li::before {
  content: '';
  position: absolute;
  left: 34px;
  top: -9px;
  width: 2px;
  height: 10px;
  background: var(--line-strong);
}

.recipe b {
  min-width: 46px;
  padding: 3px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
}

.recipe li:first-child b {
  background: var(--amber);
  color: var(--night-2);
}

/* Crew app */

.crew {
  padding: 120px 0;
}

.crew .split {
  position: relative;
  gap: 64px;
}

.crew-phones {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.crew-phones .phone {
  width: 230px;
  height: 470px;
  border-radius: 40px;
  background: var(--night-3);
}

.crew-phones .phone-screen {
  border-radius: 32px;
}

.phone-tilt-left {
  transform: rotate(-6deg) translateY(20px);
}

.phone-tilt-right {
  transform: rotate(5deg) translateY(-20px);
}

.phone-title {
  font-family: var(--font-display);
  font-size: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.photo-grid i {
  height: 90px;
  border-radius: 14px;
}

.photo-grid .photo-add {
  background: var(--violet-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-add svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--violet-text);
  stroke-width: 2;
  stroke-linecap: round;
}

.crew-phones .phone-card {
  margin: -12px 12px 0;
  padding: 14px;
  border-radius: 18px;
}

.crew-phones .phone-card-flat {
  margin-top: 12px;
}

.crew-points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crew-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.crew-points strong {
  display: block;
  color: #fff;
}

.point-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.point-mint { background: rgba(79, 240, 196, 0.14); }
.point-mint svg { stroke: var(--mint); }
.point-blue { background: rgba(87, 166, 255, 0.16); }
.point-blue svg { stroke: #7ab8ff; }
.point-violet { background: rgba(180, 140, 255, 0.16); }
.point-violet svg { stroke: #c4a6ff; stroke-width: 2.4; }

/* Pricing */

/* The WalterSuite plan, with Enterprise beside it as a night tile. */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 48px;
}

.plan-wrap {
  position: relative;
}

.plan-wrap::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 32px;
  background: var(--blue);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 0 0 2px var(--night-2);
}

.plan-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
}

.plan-name .tag {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.plan {
  height: 100%;
}

/* Two ways to pay, side by side; annual is the highlighted one. */
.plan-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.plan-option-best {
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.plan-billing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.plan-price {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.plan-price span {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

/* The cheaper seat for the limited role (field team, assistants, associates). */
.plan-seat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--violet-soft);
}

.plan-seat .audience-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
}

.plan-seat-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
}

.plan-seat-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.plan-seat-price {
  flex: none;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.plan-seat-price span {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.plan-fine {
  margin-top: -8px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.enterprise {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  border-radius: 32px;
  background: var(--night-2);
  color: var(--on-dark);
}

.enterprise > * {
  position: relative;
}

.enterprise .tile-glow {
  position: absolute;
}

.enterprise-price {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}

.enterprise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enterprise-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enterprise .button {
  margin-top: auto;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-list li::before,
.enterprise-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.enterprise-list li::before {
  background: var(--mint);
}

/* Final call */

.final-call {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 64px;
  border-radius: 40px;
  background: var(--coral);
}

.ring {
  position: absolute;
  border-radius: 999px;
  border: 2px solid rgba(11, 20, 48, 0.12);
}

.ring-big {
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
}

.ring-small {
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
}

.final-copy {
  position: relative;
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.final-copy .headline {
  font-size: clamp(40px, 5vw, 64px);
}

.final-copy p {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.55;
  color: #2c1206;
}

.final-walter {
  position: relative;
  flex: none;
  width: 200px;
  height: 232px;
}

/* Message pages: Not Found, Sign in, Error */

.hero-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
}

.page-message {
  position: relative;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.message-walter {
  width: 170px;
  height: 200px;
}

/* The code an error was logged under, for support. */
.error-code {
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  user-select: all;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  color: var(--on-dark-muted);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-about p {
  max-width: 340px;
  line-height: 1.6;
}

.site-footer a:not(.brand) {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:not(.brand):hover {
  color: #fff;
}

.footer-about p a {
  font-weight: 600;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

/* ---------- Legal pages: Privacy and Terms ---------- */

.legal-hero {
  padding: 150px 0 76px;
}

.legal-hero .container {
  position: relative;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-hero .lead {
  max-width: 680px;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 600;
}

.legal-updated .icon {
  width: 16px;
  height: 16px;
  stroke: var(--mint);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* On this page: stays in view beside the long text. */
.legal-toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.legal-toc h2 {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-text);
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
}

.legal-toc a::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aurora);
}

.legal-toc a:hover {
  background: var(--blue-soft);
  color: var(--blue-text);
}

.legal-card {
  padding: 48px 56px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

/* The short version: four plain promises, side by side and the same height. */
.legal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.legal-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: var(--page);
  border: 1px solid var(--line);
}

.legal-point .audience-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.legal-point .audience-icon svg {
  width: 22px;
  height: 22px;
}

.legal-point strong {
  display: block;
  margin-bottom: 4px;
  color: var(--night-2);
}

.legal-point p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.icon-coral { background: var(--coral-soft); }
.icon-coral svg { stroke: #c8471a; }
.icon-amber { background: var(--amber-soft); }
.icon-amber svg { stroke: var(--amber-text); }

.legal-text {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
}

.legal-text section {
  scroll-margin-top: 96px;
}

.legal-text section + section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-text h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--night-2);
}

.legal-text h2 span {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 15px;
  letter-spacing: 0;
}

.legal-text h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: var(--night-2);
}

.legal-text p + p,
.legal-text p + ul,
.legal-text ul + p,
.legal-text table + p {
  margin-top: 12px;
}

.legal-text ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-text li + li {
  margin-top: 6px;
}

.legal-text li::marker {
  color: var(--violet);
}

.legal-text strong {
  color: var(--night-2);
}

/* Who we share with: a list that wraps, never a table that scrolls sideways. */
.legal-providers {
  list-style: none;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-providers li {
  margin: 0 !important;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--page);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}

.legal-providers li strong {
  display: block;
}

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.legal-contact a,
.legal-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-weight: 600;
  font-size: 15px;
}

.legal-contact .icon {
  width: 16px;
  height: 16px;
}

/* The developer reference: code that wraps instead of scrolling sideways, and endpoints as a list. */
.legal-text code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.legal-text ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.dev-code {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--night);
  color: #e7ecf8;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dev-code code {
  padding: 0;
  background: none;
  color: inherit;
}

.legal-text .dev-endpoints {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dev-endpoints li {
  margin: 0 !important;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--page);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}

.dev-endpoint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 4px;
}

.dev-method {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dev-get { background: var(--green-soft); color: var(--green-text); }
.dev-post { background: var(--amber-soft); color: var(--amber-text); }
.dev-put { background: var(--violet-soft); color: var(--violet-text); }

.dev-scope {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Smaller screens ---------- */

/* The full menu needs about 1200px; below that, the Menu button takes over. */
@media (max-width: 1200px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .site-menu {
    display: block;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    height: 560px;
    max-width: 640px;
  }

  .journey ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-path {
    display: none;
  }

  .tile-wide,
  .tile-narrow,
  .tile-half {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing,
  .connect-panel,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-visual {
    height: 430px;
  }

  .app-window {
    transform: none;
  }

  .hero-phone {
    top: 170px;
    right: -8px;
    transform: scale(0.78);
    transform-origin: top right;
  }

  .chip-lead {
    left: 0;
    top: -16px;
  }

  .chip-booked,
  .hero-walter {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-tight {
    padding: 24px 0 80px;
  }

  .section-head {
    text-align: left;
    margin-bottom: 40px;
  }

  .notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .journey ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    padding: 24px;
  }

  .tile-peach {
    flex-direction: column;
    align-items: flex-start;
  }

  .crew-phones .phone {
    width: 170px;
    height: 360px;
  }

  .plan {
    padding: 26px;
  }

  .plan-seat {
    flex-wrap: wrap;
  }

  .plan-seat-price {
    padding-left: 60px;
  }

  .plan-list,
  .plan-prices,
  .connect-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hub {
    height: 300px;
  }

  .hub-node {
    gap: 8px;
    padding: 6px 10px 6px 6px;
    font-size: 12px;
  }

  .hub-node .hub-icon {
    width: 26px;
    height: 26px;
  }

  .hub-email,
  .hub-ai { top: 8%; }

  .hub-books,
  .hub-auto { bottom: 8%; }

  .hub-email,
  .hub-books { left: 4%; }

  .hub-ai,
  .hub-auto { right: 4%; }

  .enterprise {
    padding: 26px;
  }

  .plan-wrap::before {
    inset: 12px -10px -12px 10px;
  }

  .final-call {
    padding: 40px 24px;
    border-radius: 28px;
  }

  .final-walter {
    width: 140px;
    height: 162px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .legal-hero {
    padding: 120px 0 56px;
  }

  .legal-card {
    padding: 28px 22px;
  }

  .legal-summary,
  .legal-providers,
  .legal-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-text h2 {
    font-size: 22px;
  }
}

/* Less motion when the computer asks for it: smooth scrolling stays and the ticker runs slower; the floating extras stand still. */
@media (prefers-reduced-motion: reduce) {
  .trades-track {
    animation-duration: 70s;
  }

  .glow,
  .chip,
  .hub-node,
  .hub-lines path {
    animation: none;
  }

  .button,
  .note {
    transition: none;
  }
}
