:root {
  color-scheme: light;
  --bg: #f7faf8;
  --bg-soft: #edf7f0;
  --surface: #ffffff;
  --surface-light: #f1f6f3;
  --text: #1f2c34;
  --muted: #667781;
  --muted-light: #4f5f56;
  --gold: #25d366;
  --gold-light: #075e54;
  --gold-dark: #054c44;
  --green-dark: #075e54;
  --line: rgba(31, 44, 52, 0.11);
  --line-strong: rgba(7, 94, 84, 0.24);
  --success: #25d366;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 94, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, rgba(244, 180, 31, 0.09), transparent 23rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
  pointer-events: none;
}

::selection {
  color: #161006;
  background: var(--gold-light);
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 214, 108, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #111;
  background: var(--gold-light);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header,
header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
}

nav a,
.footer-links a {
  color: var(--muted-light);
  transition: color 180ms ease;
}

nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  justify-self: end;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(244, 180, 31, 0.34);
  border-radius: 11px;
  color: var(--gold-light);
  background: rgba(244, 180, 31, 0.08);
  font-size: 13px;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(244, 180, 31, 0.62);
  background: rgba(244, 180, 31, 0.14);
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: 64px;
  padding-block: 90px 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label,
.badge,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(244, 180, 31, 0.24);
  border-radius: 999px;
  background: rgba(244, 180, 31, 0.07);
  letter-spacing: 0.07em;
  text-transform: none;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(99, 214, 154, 0.1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin: 22px 0 22px;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--gold-light);
}

h2 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 650px;
  margin-bottom: 0;
  color: #bcc4d0;
  font-size: 18px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn svg,
.text-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  border-color: transparent;
  color: #171106;
  background: linear-gradient(135deg, #eaa000, var(--gold-light));
  box-shadow: 0 12px 28px rgba(226, 151, 0, 0.18);
}

.btn.primary:hover {
  box-shadow: 0 15px 34px rgba(226, 151, 0, 0.28);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.035);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.065);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8f99a9;
}

.hero-points li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-stage {
  position: relative;
  min-width: 0;
  padding: 30px 0 48px 18px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.glow-one {
  top: -4%;
  right: 2%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(244, 180, 31, 0.17), transparent 68%);
}

.glow-two {
  bottom: 0;
  left: -8%;
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgba(97, 118, 255, 0.1), transparent 68%);
}

.product-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: #0c1016;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.56), 0 0 0 7px rgba(255, 255, 255, 0.018);
  transform: perspective(1100px) rotateY(-2.5deg) rotateX(1deg);
}

.window-bar {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-bottom: 1px solid var(--line);
  background: #11161e;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e9edf4;
  font-size: 12px;
  font-weight: 750;
}

.window-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #96a0af;
  font-size: 10px;
  font-weight: 700;
}

.window-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.workspace {
  display: grid;
  min-height: 398px;
  grid-template-columns: 190px minmax(0, 1fr);
}

.conversation-list {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #0e1219;
}

.list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 6px 14px;
  color: #e9edf3;
  font-size: 11px;
  font-weight: 750;
}

.count {
  display: inline-grid;
  min-width: 22px;
  height: 20px;
  place-items: center;
  border-radius: 7px;
  color: var(--gold-light);
  background: rgba(244, 180, 31, 0.1);
  font-size: 9px;
}

.conversation {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 8px;
  border-radius: 11px;
}

.conversation + .conversation {
  margin-top: 4px;
}

.conversation.active {
  background: rgba(244, 180, 31, 0.09);
}

.conversation > span:last-of-type,
.chat-head > span:nth-child(2),
.floating-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.conversation strong {
  overflow: hidden;
  color: #e9edf4;
  font-size: 10px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation small {
  overflow: hidden;
  color: #717d8e;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation i {
  position: absolute;
  top: 13px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.avatar.gold {
  color: #1c1405;
  background: linear-gradient(135deg, #e89e00, #ffd76d);
}

.avatar.blue {
  background: #365eaf;
}

.avatar.green {
  background: #257157;
}

.chat-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 180, 31, 0.035), transparent 12rem),
    #0b0f15;
}

.chat-head {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.chat-head strong {
  color: #eef1f5;
  font-size: 11px;
}

.chat-head small {
  color: #778292;
  font-size: 8px;
}

.assigned {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(99, 214, 154, 0.16);
  border-radius: 999px;
  color: #7bdba8;
  background: rgba(99, 214, 154, 0.07);
  font-size: 7px;
  font-weight: 750;
}

.messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 16px;
}

.day-label {
  align-self: center;
  margin-bottom: 18px;
  color: #657081;
  font-size: 7px;
  text-transform: uppercase;
}

.message {
  display: flex;
  width: 72%;
  flex-direction: column;
  margin-bottom: 12px;
  padding: 10px 11px 7px;
  border-radius: 11px;
  color: #d7dce4;
  background: #171c25;
  font-size: 9px;
}

.message small {
  margin-top: 5px;
  color: #778291;
  font-size: 6px;
}

.message.sent {
  align-self: flex-end;
  color: #241b08;
  background: linear-gradient(135deg, #d99500, #f7c750);
}

.message.sent small {
  color: rgba(36, 27, 8, 0.58);
}

.message.short {
  width: 53%;
}

.composer {
  display: flex;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  margin: 0 14px 14px;
  padding: 0 7px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #687383;
  background: #11161e;
  font-size: 9px;
}

.composer button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #211807;
  background: var(--gold);
}

.composer svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(19, 24, 33, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.response-card {
  right: -24px;
  bottom: 13px;
}

.secure-card {
  top: 0;
  left: -12px;
}

.mini-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--gold-light);
  background: rgba(244, 180, 31, 0.1);
}

.mini-icon svg,
.feature-icon svg,
.platform-note svg,
.check-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-card small {
  color: #7f8998;
  font-size: 8px;
}

.floating-card strong {
  color: #f0f2f6;
  font-size: 11px;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.trust-items {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #919baa;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.025em;
}

.trust-items i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(244, 180, 31, 0.7);
}

.section-shell {
  padding-block: 116px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.section-intro h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.section-intro > p {
  margin: 0 0 7px;
  font-size: 16px;
}

.section-intro.compact {
  display: block;
}

.section-intro.compact h2 {
  max-width: 760px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.capability-card,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(23, 28, 37, 0.88), rgba(13, 17, 23, 0.94));
}

.feature-card {
  min-height: 290px;
  padding: 30px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.feature-card:hover,
.capability-card:hover {
  border-color: rgba(244, 180, 31, 0.24);
  transform: translateY(-3px);
}

.feature-card::after,
.capability-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 31, 0.06), transparent 66%);
  content: "";
  pointer-events: none;
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(255, 255, 255, 0.17);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 58px;
  border: 1px solid rgba(244, 180, 31, 0.16);
  border-radius: 14px;
  color: var(--gold-light);
  background: rgba(244, 180, 31, 0.08);
}

.feature-card p,
.capability-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.platform-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 18px;
  padding: 19px 22px;
  border: 1px solid rgba(244, 180, 31, 0.12);
  border-radius: 16px;
  color: var(--gold-light);
  background: rgba(244, 180, 31, 0.045);
}

.platform-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.platform-note p {
  margin: 0;
  color: #b6beca;
  font-size: 13px;
}

.platform-note strong {
  color: #f0d28b;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability-card {
  min-height: 240px;
  padding: 28px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.capability-card .feature-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 35px;
}

.capability-featured {
  display: grid;
  min-height: 330px;
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.78fr) minmax(220px, 1.22fr);
  align-items: end;
  gap: 18px 24px;
}

.capability-featured > .feature-icon {
  position: absolute;
  top: 28px;
  left: 28px;
}

.card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.message-demo {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(7, 10, 14, 0.55);
}

.demo-bubble {
  max-width: 80%;
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  color: #d4d9e2;
  background: #1b212b;
  font-size: 11px;
}

.demo-bubble.right {
  align-self: flex-end;
  color: #231a08;
  background: linear-gradient(135deg, #dd9800, #f4c452);
}

.typing {
  display: flex;
  width: 48px;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1b212b;
}

.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7e8998;
}

.security-section {
  margin-top: 116px;
  padding-block: 94px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 50%, rgba(244, 180, 31, 0.09), transparent 26rem),
    rgba(255, 255, 255, 0.018);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: 100px;
}

.security-copy h2 {
  max-width: 620px;
}

.security-copy > p {
  max-width: 570px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
}

.text-link:hover {
  color: #fff0be;
}

.security-list {
  display: grid;
  gap: 8px;
}

.security-list > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(9, 12, 17, 0.64);
}

.security-list > div > span:last-child {
  display: flex;
  flex-direction: column;
}

.security-list strong {
  color: #edf0f5;
  font-size: 14px;
}

.security-list small {
  margin-top: 3px;
  color: #8994a4;
  font-size: 12px;
}

.check-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--success);
  background: rgba(99, 214, 154, 0.09);
}

.check-icon svg {
  width: 15px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-block: 96px;
  padding: 52px 56px;
  border: 1px solid rgba(244, 180, 31, 0.16);
  border-radius: 25px;
  background:
    radial-gradient(circle at 90% 50%, rgba(244, 180, 31, 0.11), transparent 22rem),
    linear-gradient(135deg, #141921, #0e1218);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 3.6vw, 45px);
}

.cta-section p {
  margin-bottom: 0;
}

.cta-section .btn {
  flex: 0 0 auto;
}

footer {
  padding: 48px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 50px;
}

.footer-brand .brand img {
  width: 42px;
  height: 42px;
}

.footer-brand p {
  margin: 8px 0 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #778190;
  font-size: 12px;
}

/* Shared content-page styles */
.page-head {
  padding: 78px 0 34px;
}

.page-head h1 {
  max-width: 900px;
  margin: 15px 0 16px;
  font-size: clamp(42px, 7vw, 70px);
}

.page-head .lead {
  max-width: 850px;
}

.section {
  margin: 30px 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 21, 29, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

main.container {
  padding-bottom: 60px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 24px;
}

.section-head small {
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid2,
.grid3,
.grid4 {
  display: grid;
  gap: 18px;
}

.grid2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 23px;
}

.card p {
  margin-bottom: 0;
}

.icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 13px;
  color: var(--gold-light);
  background: rgba(244, 180, 31, 0.1);
  font-weight: 900;
}

.notice {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(244, 180, 31, 0.13);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  color: #ffe5a5;
  background: rgba(244, 180, 31, 0.08);
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
}

.checklist li::before {
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.prose {
  max-width: 920px;
}

.prose h2 {
  margin-top: 38px;
  font-size: 28px;
}

.prose h3 {
  margin-top: 25px;
}

.prose strong {
  color: #fff;
}

.prose ul {
  padding-left: 22px;
}

.meta {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  background: #0d1117;
}

details {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d1117;
}

summary {
  color: #f3f5f8;
  cursor: pointer;
  font-weight: 800;
}

table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #f5c861;
  background: #10151c;
}

td {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 78px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-stage {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .section-intro {
    gap: 35px;
  }

  .security-grid {
    gap: 55px;
  }
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .principle-grid,
  .grid2,
  .grid3,
  .grid4,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-featured {
    grid-column: span 2;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .security-grid {
    gap: 35px;
  }

  .trust-items {
    justify-content: center;
  }

  .trust-items span:nth-of-type(even),
  .trust-items i:nth-of-type(even) {
    display: none;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 13px;
  }

  .hero {
    gap: 38px;
    padding-block: 60px 72px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 60px);
    letter-spacing: -0.06em;
  }

  .lead {
    font-size: 16px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-points {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stage {
    padding: 8px 0 40px;
  }

  .product-window {
    border-radius: 18px;
    transform: none;
  }

  .workspace {
    min-height: 360px;
    grid-template-columns: 1fr;
  }

  .conversation-list {
    display: none;
  }

  .response-card {
    right: -7px;
  }

  .secure-card {
    top: -20px;
    left: -5px;
  }

  .floating-card {
    min-width: 170px;
  }

  .trust-items {
    min-height: 68px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .trust-items span:nth-of-type(2),
  .trust-items i {
    display: none;
  }

  .section-shell {
    padding-top: 84px;
  }

  .feature-card {
    min-height: 250px;
    padding: 24px;
  }

  .feature-icon {
    margin-bottom: 45px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-featured {
    min-height: auto;
    grid-column: auto;
    grid-template-columns: 1fr;
    padding-top: 94px;
  }

  .message-demo {
    min-height: 200px;
  }

  .security-section {
    margin-top: 84px;
    padding-block: 72px;
  }

  .cta-section {
    margin-block: 72px;
    padding: 32px 25px;
  }

  .cta-section .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .section {
    padding: 24px 20px;
  }

  .page-head {
    padding-top: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* MIIGO light theme */
body {
  background: var(--bg);
}

body::before {
  background-image:
    linear-gradient(rgba(7, 94, 84, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 94, 84, 0.025) 1px, transparent 1px);
}

::selection {
  color: #073b31;
  background: #a9efc1;
}

:focus-visible {
  outline-color: rgba(37, 211, 102, 0.48);
}

.skip-link {
  color: #073b31;
  background: var(--gold);
}

.site-header,
header {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.brand {
  color: var(--green-dark, #075e54);
}

nav a,
.footer-links a {
  color: #4f5f56;
}

nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: #075e54;
}

.nav-cta {
  border-color: rgba(7, 94, 84, 0.24);
  border-radius: 8px;
  color: #075e54;
  background: #effaf2;
}

.nav-cta:hover {
  border-color: rgba(7, 94, 84, 0.45);
  background: #e2f7e8;
}

.eyebrow {
  border-color: rgba(7, 94, 84, 0.18);
  background: #effaf2;
}

.status-dot {
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}

h1 span {
  color: #075e54;
}

.lead {
  color: #53645b;
}

.btn {
  border-radius: 8px;
  color: #1f2c34;
}

.btn.primary {
  color: #073b31;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.2);
}

.btn.primary:hover {
  background: #20c75a;
  box-shadow: 0 15px 34px rgba(37, 211, 102, 0.3);
}

.btn.secondary {
  border-color: rgba(7, 94, 84, 0.2);
  background: #fff;
}

.btn.secondary:hover {
  border-color: rgba(7, 94, 84, 0.38);
  background: #effaf2;
}

.hero-points li {
  color: #607169;
}

.glow {
  display: none;
}

.product-window {
  border-color: #d8e2dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 94, 84, 0.16), 0 0 0 6px rgba(37, 211, 102, 0.035);
}

.window-bar {
  background: #f0f2f5;
}

.window-brand,
.list-title,
.conversation strong,
.chat-head strong {
  color: #1f2c34;
}

.window-status,
.conversation small,
.chat-head small,
.day-label {
  color: #667781;
}

.conversation-list {
  background: #fff;
}

.conversation.active {
  background: #eaf8ee;
}

.avatar.gold {
  color: #fff;
  background: #128c7e;
}

.avatar.blue {
  background: #5276a7;
}

.avatar.green {
  background: #36a070;
}

.chat-panel {
  background: #f1f7f3;
}

.assigned {
  border-color: rgba(7, 94, 84, 0.14);
  color: #075e54;
  background: #e8f8ed;
}

.message {
  color: #1f2c34;
  background: #fff;
  box-shadow: 0 1px 2px rgba(31, 44, 52, 0.08);
}

.message small {
  color: #667781;
}

.message.sent {
  color: #1f2c34;
  background: #d9fdd3;
}

.message.sent small {
  color: #65756b;
}

.composer {
  color: #718078;
  background: #fff;
}

.composer button {
  color: #073b31;
  background: #25d366;
}

.floating-card {
  border-color: #d8e2dc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(7, 94, 84, 0.14);
}

.mini-icon {
  border-radius: 8px;
  background: #e8f8ed;
}

.floating-card small,
.trust-items,
.copyright {
  color: #667781;
}

.floating-card strong {
  color: #1f2c34;
}

.trust-strip {
  background: #fff;
}

.trust-items i {
  background: #25d366;
}

.feature-card,
.capability-card,
.card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(7, 94, 84, 0.055);
}

.feature-card:hover,
.capability-card:hover {
  border-color: rgba(7, 94, 84, 0.28);
}

.feature-card::after,
.capability-card::after {
  display: none;
}

.feature-number {
  color: rgba(7, 94, 84, 0.25);
}

.feature-icon {
  border-color: rgba(7, 94, 84, 0.14);
  border-radius: 8px;
  background: #eaf8ee;
}

.platform-note {
  border-color: rgba(7, 94, 84, 0.14);
  border-radius: 8px;
  background: #effaf2;
}

.platform-note p {
  color: #53645b;
}

.platform-note strong {
  color: #075e54;
}

.message-demo {
  border-radius: 8px;
  background: #f1f7f3;
}

.demo-bubble,
.typing {
  color: #1f2c34;
  background: #fff;
  box-shadow: 0 1px 2px rgba(31, 44, 52, 0.08);
}

.demo-bubble.right {
  color: #1f2c34;
  background: #d9fdd3;
}

.typing i {
  background: #7a8980;
}

.security-section {
  background: #edf8f0;
}

.security-list > div {
  border-radius: 8px;
  background: #fff;
}

.security-list strong,
.prose strong,
summary {
  color: #1f2c34;
}

.security-list small {
  color: #667781;
}

.check-icon {
  border-radius: 8px;
  color: #075e54;
  background: #dcf8e4;
}

.cta-section {
  border-color: rgba(7, 94, 84, 0.16);
  border-radius: 8px;
  background: #e7f7eb;
}

.section {
  background: #fff;
  box-shadow: 0 12px 36px rgba(7, 94, 84, 0.06);
}

.icon {
  border-radius: 8px;
  background: #eaf8ee;
}

.notice {
  border-color: rgba(7, 94, 84, 0.14);
  border-left-color: #25d366;
  border-radius: 8px;
  color: #075e54;
  background: #effaf2;
}

.meta,
details {
  border-radius: 8px;
  background: #f8fbf9;
}

th {
  color: #075e54;
  background: #edf8f0;
}
