:root {
  --navy: #071a33;
  --navy-2: #0d2c55;
  --blue: #1e63ff;
  --sage: #67d4b5;
  --sage-dark: #247a66;
  --cyan: #51d6ff;
  --mint: #bdf7d2;
  --ink: #101827;
  --muted: #5b677a;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dbe3ee;
  --shadow: 0 24px 70px rgba(7, 26, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.top-strip {
  padding: 10px 22px;
  background: var(--navy);
  color: var(--mint);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.top-strip p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #25364f;
  font-size: 15px;
  font-weight: 750;
}

nav a,
.site-footer a,
.legal-page a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

nav a:hover,
.site-footer a:hover,
.legal-page a:hover {
  text-decoration-color: currentColor;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.nav-cta,
.button.primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(30, 99, 255, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
}

.button.wide {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 103px);
  padding: clamp(72px, 9vw, 122px) clamp(22px, 6vw, 78px);
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 26, 51, 0.96), rgba(7, 26, 51, 0.82) 48%, rgba(13, 44, 85, 0.7));
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.pricing-hero .eyebrow,
.contact-hero .eyebrow,
.proof-card .eyebrow {
  color: var(--cyan);
}

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

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(46px, 7.3vw, 98px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(34px, 4.9vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
}

.lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.24;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 850;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
}

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.panel-top span {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
}

.panel-top span:nth-child(2) {
  background: var(--mint);
}

.panel-top span:nth-child(3) {
  background: var(--blue);
}

.assistant-card,
.panel-grid div,
.feature-grid article,
.steps article,
.access-list article,
.price-card,
.proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.assistant-card {
  padding: 22px;
  margin-bottom: 14px;
}

.assistant-card small,
.panel-grid small,
.price-note,
.site-footer small {
  color: var(--muted);
}

.assistant-card strong,
.panel-grid strong {
  display: block;
  color: var(--navy);
}

.assistant-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.panel-grid div {
  padding: 16px;
}

.video-section {
  padding: clamp(34px, 6vw, 78px) clamp(22px, 6vw, 78px);
  background: var(--paper);
}

.video-frame {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.intro-video {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(7, 26, 51, 0.18);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.video-play::before {
  content: "";
  width: clamp(68px, 10vw, 112px);
  height: clamp(68px, 10vw, 112px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 18px 46px rgba(7, 26, 51, 0.28);
}

.video-play::after {
  content: "";
  position: absolute;
  border-top: clamp(16px, 2.4vw, 26px) solid transparent;
  border-bottom: clamp(16px, 2.4vw, 26px) solid transparent;
  border-left: clamp(24px, 3.5vw, 40px) solid var(--blue);
  transform: translateX(12%);
}

.video-frame.is-playing .video-play {
  display: none;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.logo-strip span {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 6vw, 78px);
}

.two-column,
.product-story,
.proof-section,
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.stack {
  display: grid;
  gap: 22px;
  color: #26344a;
  font-size: clamp(19px, 2vw, 25px);
}

.stack p {
  margin: 0;
}

.feature-section,
.faq {
  background: var(--white);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.steps article,
.access-list article {
  min-height: 210px;
  padding: 26px;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
}

.feature-grid p,
.steps p,
.access-list p,
.proof-card p {
  margin: 0;
  color: var(--muted);
}

.product-story {
  background: #edf3fb;
}

.product-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 21px;
}

.product-copy p + p {
  margin-top: 18px;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.access-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 86px);
  background: var(--navy);
  color: var(--white);
}

.access-band h2,
.proof-card h2 {
  color: var(--white);
}

.access-list {
  display: grid;
  gap: 16px;
}

.access-list article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.access-list h3 {
  color: var(--white);
}

.access-list p {
  color: rgba(255, 255, 255, 0.78);
}

.proof-section {
  align-items: center;
}

.proof-card {
  padding: clamp(30px, 5vw, 54px);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.proof-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.proof-list,
.tick-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(18px, 2vw, 23px);
}

.proof-list li,
.tick-list li {
  position: relative;
  padding-left: 30px;
}

.proof-list li::before,
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
}

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

.cta-section h2,
.cta-section p {
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 23px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  color: var(--navy);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 950;
}

details p {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 19px;
}

.pricing-hero,
.contact-hero {
  min-height: 56vh;
  padding: 120px clamp(22px, 6vw, 78px) 90px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.94), rgba(13, 44, 85, 0.76)),
    url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.price-card {
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.price-line {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 26px 0 16px;
}

.currency {
  padding-bottom: 16px;
  color: var(--navy);
  font-size: 38px;
  font-weight: 950;
}

.blank-price {
  width: min(260px, 48vw);
  height: 86px;
  border-bottom: 8px solid var(--navy);
}

.per {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 850;
}

.included {
  padding-top: 14px;
}

.legal-page {
  max-width: 1000px;
  padding: 80px clamp(22px, 6vw, 78px) 112px;
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(42px, 7vw, 84px);
}

.legal-page h2 {
  margin-top: 46px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
}

.legal-page p,
.legal-page li {
  color: #26344a;
  font-size: 19px;
}

.legal-page ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 6vw, 78px);
  background: var(--navy);
  color: var(--white);
}

.site-footer p {
  margin: 0 0 4px;
  font-weight: 950;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.app-body {
  min-height: 100vh;
  background: #eef3f8;
}

.app-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100vh;
  padding: 24px;
  background: var(--navy);
  color: var(--white);
}

.app-brand {
  color: var(--white);
}

.workspace-card,
.session-panel {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.workspace-card small,
.session-panel small,
.workspace-card span,
.session-panel span {
  color: rgba(255, 255, 255, 0.68);
}

.workspace-card strong,
.session-panel strong {
  color: var(--white);
}

.app-nav {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.app-nav a,
.app-nav button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: inherit;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.app-nav a:hover,
.app-nav a[aria-current="page"],
.app-nav button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.app-nav span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  background: var(--white);
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 950;
}

.session-panel {
  margin-top: auto;
}

.session-panel form {
  margin-top: 10px;
}

.text-button {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.app-main {
  min-width: 0;
  padding: clamp(20px, 4vw, 42px);
}

.app-body .eyebrow {
  color: var(--navy);
}

.app-body .button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.app-body .button.primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.app-topbar h1 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(36px, 5vw, 58px);
}

.mode-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mode-switch button {
  min-width: 82px;
  min-height: 38px;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mode-switch button.is-active {
  background: var(--navy);
  color: var(--white);
}

.assistant-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 18px;
  align-items: stretch;
}

.chat-panel,
.voice-panel,
.side-panel,
.app-panel,
.summary-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 620px;
}

.chat-panel[hidden],
.voice-panel[hidden] {
  display: none;
}

.voice-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 620px;
}

.app-chat-focus {
  min-height: calc(100vh - 150px);
}

.voice-stage {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: clamp(22px, 5vw, 44px);
  text-align: center;
}

.voice-widget {
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  min-height: 420px;
}

.voice-message {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  color: var(--muted);
}

.status-pill {
  padding: 7px 10px;
  background: #f2f6f1;
  border: 1px solid var(--sage);
  border-radius: 999px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  overflow: auto;
}

.message {
  max-width: min(78%, 620px);
  padding: 14px 16px;
  border-radius: 8px;
}

.message p {
  margin: 0;
}

.assistant-message {
  align-self: flex-start;
  background: #f0f4f9;
  color: #20324d;
}

.user-message {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
}

.composer {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.composer label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 950;
}

.composer div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.side-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.summary-block,
.app-panel {
  padding: 22px;
}

.summary-block + .summary-block {
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.summary-block small,
.app-panel small {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
}

.summary-block h2,
.app-panel h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.08;
}

.app-list,
.connection-list,
.memory-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-list li,
.connection-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.app-list span,
.connection-list span {
  color: #24354c;
}

.app-list strong,
.connection-list strong {
  color: var(--navy);
}

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

.app-panel p {
  color: var(--muted);
}

.memory-list li {
  position: relative;
  padding-left: 20px;
  color: #24354c;
}

.memory-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}

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

.channel-grid span {
  min-height: 42px;
  padding: 10px;
  background: #f0f4f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 900;
}

.app-page-topbar h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.app-page-panel {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-page-intro {
  max-width: 760px;
}

.app-page-intro h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.app-page-intro p {
  margin: 0;
  color: var(--muted);
}

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

.task-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.task-list strong,
.task-list span {
  display: block;
}

.task-list strong {
  color: var(--navy);
}

.task-list span {
  margin-top: 3px;
  color: var(--muted);
}

.task-list button {
  min-height: 38px;
  padding: 9px 13px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.task-list button:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(18px, 5vw, 48px);
}

.login-panel {
  display: grid;
  gap: 18px;
  width: min(100%, 460px);
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-panel .eyebrow {
  color: var(--navy);
}

.login-panel h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 7vw, 58px);
  line-height: 0.98;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  color: var(--navy);
  font-weight: 950;
}

.login-form input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.login-form .button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.login-form .button.primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
}

.form-error {
  margin: 0;
  color: #b42318;
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px clamp(14px, 4vw, 24px);
  }

  nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    justify-content: stretch;
    overflow: visible;
    padding-bottom: 0;
    font-size: 14px;
  }

  nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    line-height: 1.15;
  }

  .nav-cta {
    justify-self: end;
    min-height: 40px;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .hero,
  .two-column,
  .product-story,
  .proof-section,
  .pricing-layout,
  .access-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

  .site-footer {
    flex-direction: column;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    height: auto;
  }

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

  .app-nav a,
  .app-nav button {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .session-panel {
    margin-top: 0;
  }

  .assistant-workspace,
  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .top-strip {
    padding: 9px 14px;
    font-size: 13px;
    line-height: 1.25;
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    font-size: 13px;
  }

  nav a {
    min-height: 38px;
    padding: 8px 8px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero-points {
    max-width: none;
  }

  .app-sidebar {
    padding: 18px;
  }

  .app-topbar {
    display: grid;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-switch button {
    flex: 1;
    min-width: 0;
  }

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

  .app-nav a,
  .app-nav button {
    min-height: 40px;
    padding: 9px 10px;
  }

  .chat-panel {
    min-height: 560px;
  }

  .message {
    max-width: 92%;
  }

  .composer div {
    grid-template-columns: 1fr;
  }

  .composer .button {
    width: 100%;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .logo-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }
}
