:root {
  color-scheme: light;
  --ink: #15171a;
  --muted: #5d646d;
  --line: #d9dee4;
  --paper: #f7f8f8;
  --white: #ffffff;
  --accent: #177a68;
  --accent-strong: #0f5f52;
  --blue: #255c99;
  --amber: #b4652f;
  --shadow: 0 18px 48px rgba(14, 21, 30, 0.14);
}

* {
  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;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 248, 248, 0.9);
  border-bottom: 1px solid rgba(21, 23, 26, 0.09);
  display: flex;
  height: 64px;
  justify-content: space-between;
  left: 0;
  padding: 0 36px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--blue)), var(--accent);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  display: inline-block;
  height: 24px;
  width: 24px;
}

nav {
  align-items: center;
  display: flex;
  gap: 24px;
  color: #34383e;
  font-size: 14px;
  font-weight: 600;
}

.nav-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 13px;
}

.hero {
  align-items: center;
  display: flex;
  min-height: 86svh;
  overflow: hidden;
  padding: 128px 36px 72px;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 248, 248, 0.96) 0%, rgba(247, 248, 248, 0.85) 30%, rgba(247, 248, 248, 0.18) 66%),
    linear-gradient(0deg, rgba(247, 248, 248, 0.95) 0%, rgba(247, 248, 248, 0) 34%);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 26px;
}

.hero-copy {
  color: #34383e;
  font-size: 23px;
  line-height: 1.35;
  max-width: 650px;
}

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

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  min-height: 48px;
  padding: 0 18px;
}

.primary-action {
  background: var(--ink);
  color: var(--white);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 23, 26, 0.18);
}

.section {
  padding: 76px 36px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
}

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

.intro-grid,
.security-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1.1fr;
}

.intro h2,
.section-heading h2,
.security-grid h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 0;
}

.intro p:not(.section-kicker),
.use-case p,
.security-list p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.use-case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 260px;
  padding: 30px;
}

.use-case-number {
  color: var(--amber);
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 42px;
}

.use-case h3 {
  font-size: 25px;
  letter-spacing: 0;
  line-height: 1.16;
  margin-bottom: 14px;
}

.band {
  background: #e9f0ee;
}

.security-list {
  display: grid;
  gap: 12px;
}

.security-list p {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(21, 23, 26, 0.1);
  border-radius: 8px;
  margin: 0;
  padding: 18px 20px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 28px 36px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.console-section {
  background: #f1f4f4;
  border-bottom: 1px solid var(--line);
}

.console-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.console-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 24px;
}

.console-heading h2 {
  font-size: 32px;
  line-height: 1.08;
  margin-bottom: 0;
}

.auth-slot {
  margin-top: 22px;
  max-width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.auth-slot > *,
.user-slot > * {
  max-width: 100%;
}

.console-section .cl-formFieldInputShowPasswordButton {
  min-width: 40px !important;
  overflow: hidden !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 40px !important;
}

.user-slot {
  align-items: center;
  display: flex;
  min-height: 58px;
}

.status-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.status-row span {
  background: #f5f6f6;
  border: 1px solid rgba(21, 23, 26, 0.08);
  border-radius: 8px;
  color: #34383e;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  min-height: 34px;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.session-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.tool-button {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 14px;
}

.tool-button:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.primary-tool {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.danger-tool {
  color: #8c332d;
}

.transcript-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

textarea {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  min-height: 110px;
  min-width: 0;
  padding: 12px;
  resize: vertical;
}

.console-output {
  background: #14171a;
  border-radius: 8px;
  color: #dfe7e5;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
  margin: 14px 0 0;
  min-height: 156px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 62px;
    padding: 14px 20px;
  }

  nav {
    gap: 12px;
  }

  nav a:not(.nav-action) {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding: 112px 20px 54px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(247, 248, 248, 0.98) 0%, rgba(247, 248, 248, 0.7) 56%, rgba(247, 248, 248, 0.22) 100%),
      linear-gradient(90deg, rgba(247, 248, 248, 0.94) 0%, rgba(247, 248, 248, 0.46) 100%);
  }

  h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .primary-action,
  .secondary-action {
    justify-content: center;
    width: 100%;
  }

  .section {
    padding: 58px 20px;
  }

  .intro-grid,
  .security-grid,
  .console-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .console-panel {
    padding: 18px;
  }

  .auth-slot {
    min-height: 360px;
  }

  .session-actions,
  .transcript-form {
    grid-template-columns: 1fr;
  }

  .use-case {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 26px 20px;
  }
}
