:root {
  --ink: #102a2a;
  --ink-soft: #244646;
  --forest: #183f3b;
  --forest-deep: #0d2928;
  --mint: #b9f5d8;
  --mint-bright: #79e8b3;
  --mint-soft: #e6f8ef;
  --cream: #f7f4eb;
  --sand: #ebe5d7;
  --white: #fffefa;
  --blue: #77a6d9;
  --gold: #e3b85f;
  --line: rgba(16, 42, 42, 0.14);
  --shadow: 0 26px 70px rgba(8, 35, 32, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  position: relative;
  align-items: center;
  width: 46px;
  height: 32px;
}

.brand-mark span {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 2px solid var(--mint-bright);
  border-radius: 50%;
}

.brand-mark span:nth-child(1) {
  left: 0;
}

.brand-mark span:nth-child(2) {
  left: 10px;
}

.brand-mark span:nth-child(3) {
  left: 20px;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: var(--white);
}

.hero {
  overflow: hidden;
  position: relative;
  padding: 164px 0 108px;
  background:
    linear-gradient(115deg, rgba(7, 32, 31, 0.98), rgba(19, 62, 57, 0.96)),
    var(--forest-deep);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -48%;
  width: 690px;
  height: 690px;
  border: 1px solid rgba(185, 245, 216, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(185, 245, 216, 0.025),
    0 0 0 160px rgba(185, 245, 216, 0.018);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: 8%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 215, 165, 0.17), transparent 68%);
}

.hero-glow-two {
  top: -25%;
  right: 12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(113, 168, 201, 0.13), transparent 70%);
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: 74px;
  align-items: center;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 20px;
  color: #417064;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow,
.eyebrow-light {
  color: var(--mint-bright);
}

.hero h1 {
  max-width: 630px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.4vw, 5.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--mint-bright);
  color: var(--forest-deep);
}

.button-primary:hover {
  background: #93f0c2;
}

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

.product-frame {
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(249, 251, 246, 0.97);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.32);
  color: var(--ink);
  transform: rotate(1.2deg);
}

.product-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(30, 77, 70, 0.06);
}

.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 22px;
  border-bottom: 1px solid #dfe8e2;
  background: var(--white);
}

.frame-brand {
  display: flex;
  gap: 11px;
  align-items: center;
}

.frame-brand > span:last-child,
.message-heading > span:first-child {
  display: grid;
}

.frame-brand strong,
.message-heading strong {
  font-size: 0.76rem;
}

.frame-brand small,
.message-heading small {
  color: #78908a;
  font-size: 0.62rem;
}

.frame-logo {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 36% 50%, transparent 6px, var(--mint-bright) 6.5px 8px, transparent
    8.5px),
    radial-gradient(circle at 66% 50%, transparent 6px, var(--mint-bright) 6.5px 8px, transparent
    8.5px),
    var(--forest-deep);
}

.connection-state {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #cfe8dc;
  border-radius: 999px;
  background: #f0fbf6;
  color: #356657;
  font-size: 0.6rem;
  font-weight: 750;
}

.connection-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45b47c;
}

.frame-body {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 440px;
}

.conversation-list {
  padding: 16px 12px;
  border-right: 1px solid #e0e7e3;
  background: #f7f9f5;
}

.mock-search {
  display: block;
  height: 28px;
  margin: 0 4px 13px;
  border-radius: 8px;
  background: #e9efeb;
}

.mock-contact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 12px 9px;
  border-radius: 10px;
}

.mock-contact.is-active {
  background: #e1f5e9;
}

.mock-contact > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.mock-contact strong {
  font-size: 0.67rem;
}

.mock-contact small {
  overflow: hidden;
  color: #78908a;
  font-size: 0.54rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-contact time {
  align-self: start;
  color: #78908a;
  font-size: 0.48rem;
}

.mock-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #addfc6;
  color: #1d5b47;
  font-size: 0.55rem;
  font-weight: 800;
}

.mock-avatar-blue {
  background: #d5e3f3;
  color: #416788;
}

.mock-avatar-gold {
  background: #f0dfba;
  color: #755c2a;
}

.message-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  background:
    linear-gradient(rgba(248, 246, 238, 0.88), rgba(248, 246, 238, 0.88)),
    radial-gradient(circle, rgba(24, 63, 59, 0.08) 1px, transparent 1px);
  background-size: auto, 15px 15px;
}

.message-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 15px;
  border-bottom: 1px solid #e3e8e3;
  background: rgba(255, 254, 250, 0.92);
}

.window-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e0f5e8;
  color: #3b765f;
  font-size: 0.5rem;
  font-weight: 750;
}

.message-stream {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 14px;
}

.date-marker {
  align-self: center;
  margin-bottom: 18px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #71837d;
  font-size: 0.5rem;
}

.bubble {
  max-width: 84%;
  margin: 0 0 10px;
  padding: 10px 10px 6px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(30, 62, 55, 0.05);
  font-size: 0.62rem;
  line-height: 1.45;
}

.bubble small {
  display: block;
  margin-top: 4px;
  color: #71837d;
  font-size: 0.47rem;
  text-align: right;
}

.bubble-in {
  border-top-left-radius: 3px;
  background: var(--white);
}

.bubble-out {
  align-self: flex-end;
  border-top-right-radius: 3px;
  background: #d8f4e2;
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  padding: 8px 8px 8px 12px;
  border: 1px solid #dfe7e1;
  border-radius: 11px;
  background: var(--white);
  color: #8b9c97;
  font-size: 0.55rem;
}

.composer i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.75rem;
  font-style: normal;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 84px;
  margin: 0;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.trust-grid p:first-child {
  padding-left: 0;
}

.trust-grid p:last-child {
  border-right: 0;
}

.trust-grid span {
  color: #7b9990;
  font-family: Georgia, serif;
  font-size: 0.7rem;
}

.section {
  padding: 116px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: 80px;
  align-items: end;
}

.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 4.4vw, 4.15rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-intro > p {
  margin: 0 0 6px;
  color: #60746f;
}

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

.feature-card {
  position: relative;
  min-height: 358px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, 0.72);
}

.feature-card-dark {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: #81958f;
  font-family: Georgia, serif;
  font-size: 0.72rem;
}

.feature-card-dark .card-number {
  color: rgba(255, 255, 255, 0.42);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 90px;
  border-radius: 15px;
  background: var(--mint-soft);
  color: var(--forest);
}

.feature-card-dark .feature-icon {
  background: rgba(121, 232, 179, 0.12);
  color: var(--mint-bright);
}

.feature-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: #687b76;
  font-size: 0.88rem;
}

.feature-card-dark p {
  color: rgba(255, 255, 255, 0.62);
}

.connection-section {
  background: var(--forest-deep);
  color: var(--white);
}

.connection-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 112px;
}

.connection-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.mode-list {
  display: grid;
  gap: 1px;
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.12);
}

.mode-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 24px 0;
  background: var(--forest-deep);
}

.mode-list article > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 34px;
  border: 1px solid rgba(121, 232, 179, 0.32);
  border-radius: 999px;
  color: var(--mint-bright);
  font-size: 0.66rem;
  font-weight: 800;
}

.mode-list h3 {
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.mode-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.steps {
  display: grid;
  gap: 0;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  position: relative;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 0 0 44px;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  width: 1px;
  background: rgba(121, 232, 179, 0.2);
}

.steps li > span {
  display: grid;
  position: relative;
  z-index: 1;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(121, 232, 179, 0.28);
  border-radius: 50%;
  background: #102f2d;
  color: var(--mint-bright);
  font-family: Georgia, serif;
}

.steps strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}

.steps p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
}

.data-section {
  background: var(--white);
}

.data-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
  gap: 120px;
}

.data-heading {
  position: sticky;
  top: 50px;
  align-self: start;
}

.data-heading > p:not(.eyebrow) {
  margin: 26px 0;
  color: #647772;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.data-list {
  display: grid;
}

.data-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.data-list article:first-child {
  padding-top: 0;
}

.data-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #37685b;
  font-family: Georgia, serif;
}

.data-list h3 {
  margin: 2px 0 8px;
  font-size: 1rem;
}

.data-list p {
  margin: 0;
  color: #667975;
  font-size: 0.9rem;
}

.company-section {
  padding-top: 0;
  background: var(--white);
}

.company-card {
  display: grid;
  grid-template-columns: 1.2fr 0.62fr;
  gap: 90px;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream);
}

.company-card h2 {
  font-size: clamp(2.3rem, 3.6vw, 3.45rem);
}

.company-card p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: #61746f;
}

.company-card address {
  display: grid;
  align-content: center;
  padding-left: 42px;
  border-left: 1px solid var(--line);
  color: #637772;
  font-size: 0.86rem;
  font-style: normal;
}

.company-card address strong {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.95rem;
}

.company-card address a {
  margin-top: 9px;
  color: var(--forest);
  font-weight: 750;
}

.cta-section {
  padding: 26px 0 100px;
  background: var(--white);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 64px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(110deg, rgba(14, 44, 42, 0.97), rgba(28, 78, 70, 0.94)),
    var(--forest);
  color: var(--white);
}

.cta-card h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-card p:not(.eyebrow) {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.button-light {
  flex: 0 0 auto;
  margin-left: 40px;
  background: var(--white);
  color: var(--forest-deep);
}

.site-footer {
  padding: 74px 0 30px;
  background: #091f1e;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.6fr 0.6fr;
  gap: 80px;
  padding-bottom: 54px;
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 370px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid nav strong {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

/* Legal pages */
.legal-body {
  background: var(--white);
}

.legal-header {
  position: static;
  background: var(--forest-deep);
}

.legal-hero {
  padding: 86px 0 76px;
  background: var(--cream);
}

.legal-hero .shell {
  max-width: 860px;
}

.legal-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.legal-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: #627570;
  font-size: 1.02rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 640px);
  gap: 72px;
  max-width: 930px;
  padding-top: 70px;
  padding-bottom: 110px;
}

.legal-aside {
  position: sticky;
  top: 28px;
  align-self: start;
}

.legal-aside strong {
  display: block;
  margin-bottom: 14px;
  color: #769088;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-aside a {
  display: block;
  margin: 8px 0;
  color: #5c716b;
  font-size: 0.8rem;
  text-decoration: none;
}

.legal-aside a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.legal-content section {
  scroll-margin-top: 24px;
  padding: 0 0 38px;
}

.legal-content h2 {
  margin: 0 0 15px;
  font-family: Georgia, serif;
  font-size: 1.72rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 0.96rem;
}

.legal-content p,
.legal-content li {
  color: #4f6660;
  font-size: 0.92rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: #235d50;
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 4px 0 38px;
  padding: 22px 24px;
  border-left: 3px solid var(--mint-bright);
  border-radius: 0 12px 12px 0;
  background: var(--mint-soft);
}

.legal-callout p {
  margin: 0;
  color: #315f54;
}

.request-card {
  margin: 22px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.request-card h3 {
  margin-top: 0;
}

.request-card .button {
  margin-top: 8px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .product-frame {
    max-width: 720px;
    transform: none;
  }

  .connection-grid,
  .data-grid {
    gap: 70px;
  }

  .company-card {
    gap: 50px;
  }
}

@media (max-width: 820px) {
  .main-nav a:not(.nav-cta) {
    display: none;
  }

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

  .trust-grid p:nth-child(2) {
    border-right: 0;
  }

  .trust-grid p:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-intro,
  .connection-grid,
  .data-grid,
  .company-card {
    grid-template-columns: 1fr;
  }

  .connection-grid {
    gap: 70px;
  }

  .data-heading {
    position: static;
  }

  .company-card address {
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .button-light {
    margin: 30px 0 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-aside {
    display: none;
  }
}

@media (max-width: 580px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 38px;
    transform: scale(0.85);
    transform-origin: left center;
  }

  .brand-copy strong {
    font-size: 0.86rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav .nav-cta {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  .hero {
    padding: 126px 0 74px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-frame {
    margin-top: 8px;
  }

  .frame-body {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .conversation-list {
    display: none;
  }

  .connection-state {
    display: none;
  }

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

  .trust-grid p,
  .trust-grid p:first-child {
    min-height: 66px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 82px 0;
  }

  .section-intro {
    gap: 24px;
  }

  .feature-grid {
    margin-top: 38px;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 56px;
  }

  .connection-grid {
    gap: 54px;
  }

  .data-grid {
    gap: 50px;
  }

  .company-card,
  .cta-card {
    padding: 38px 26px;
    border-radius: 22px;
  }

  .cta-section {
    padding-bottom: 70px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .legal-hero {
    padding: 58px 0;
  }

  .legal-layout {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
