/* Outflare's Geist typography, shadcn/ui tokens, dark surfaces and green accent.
   Shared token values live in tokens.css; this file is the static site's layout. */
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--foreground);
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 4px;
}
.wrap {
  width: min(1152px, calc(100% - 48px));
  margin-inline: auto;
}
.header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.wordmark img {
  width: 122px;
  height: 28px;
  object-fit: contain;
}
.product-label {
  border-left: 1px solid var(--border);
  padding-left: 16px;
  margin-left: 16px;
  color: var(--muted-foreground);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
}
.muted {
  color: var(--muted-foreground);
}
.header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted-foreground);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 9px 20px;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: opacity 0.15s;
}
.button:hover {
  opacity: 0.9;
  color: var(--primary-foreground);
}
.button.small {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 13px;
}
.hero {
  padding-top: 88px;
  padding-bottom: 64px;
  text-align: center;
}
.hero-copy {
  max-width: 780px;
  margin: auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 11px/1.6 var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--muted-foreground);
}
.hero .eyebrow {
  justify-content: center;
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 12px;
  background: var(--muted);
  margin: 0 0 24px;
  font-size: 10px;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -2.8px;
  line-height: 1.05;
  margin: 0;
  background: linear-gradient(
    to bottom,
    var(--foreground),
    color-mix(in oklch, var(--foreground) 65%, var(--background))
  );
  background-clip: text;
  color: transparent;
  padding-bottom: 4px;
}
.hero h1 em {
  font: inherit;
  color: var(--brand);
}
.lead {
  max-width: 600px;
  margin: 24px auto;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.75;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}
.text-link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-note {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 17px 0 0;
}
.inbox-scene {
  max-width: 880px;
  margin: 48px auto 0;
  text-align: left;
}
.orbit,
.floating-label,
.address-sticker {
  display: none;
}
.mail-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 12px 50px #0004;
}
.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  font: 10px var(--font-mono);
  color: var(--muted-foreground);
  background: var(--muted);
}
.traffic {
  display: flex;
  gap: 6px;
}
.traffic i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
}
.mail-title {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.avatar {
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in oklch, var(--brand) 25%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--brand) 10%, transparent);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 23px;
}
.mail-title strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.mail-title span {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 3px;
}
.mail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  margin: 0 24px;
  border-bottom: 1px solid var(--border);
}
.sender-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--muted-foreground);
  background: var(--muted);
  flex-shrink: 0;
}
.sender-icon.orange {
  color: var(--brand);
  background: color-mix(in oklch, var(--brand) 10%, transparent);
}
.mail-row b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.mail-row div > span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.tag {
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font: 9px var(--font-mono);
  color: var(--muted-foreground);
}
.window-bottom {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  font: 10px var(--font-mono);
  color: var(--muted-foreground);
}
.capability-strip {
  border-block: 1px solid var(--border);
  background: color-mix(in oklch, var(--muted) 30%, var(--background));
}
.capability-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.capability-strip span:first-child {
  font: 10px var(--font-mono);
  color: var(--brand);
}
.section {
  padding-block: 96px;
  scroll-margin-top: 24px;
}
.section-heading {
  max-width: 650px;
}
h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1.3px;
  line-height: 1.18;
  margin: 16px 0;
}
h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.35px;
  line-height: 1.4;
  margin: 20px 0 12px;
}
p {
  line-height: 1.75;
}
.section-heading > p:last-child,
.steps p,
.feature p,
.connect-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted-foreground);
}
.section-heading > p:last-child {
  max-width: 480px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.steps article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.step-number {
  font: 11px var(--font-mono);
  color: var(--brand);
}
.steps p {
  margin-bottom: 0;
}
.steps b {
  font-weight: 500;
  color: var(--foreground);
}
.feature-section {
  border-block: 1px solid var(--border);
  background: color-mix(in oklch, var(--muted) 30%, var(--background));
}
.section-heading.horizontal {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 26px;
}
.feature.large {
  grid-row: span 2;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font: 20px var(--font-mono);
  color: var(--brand);
  background: color-mix(in oklch, var(--brand) 10%, transparent);
  border-radius: var(--radius-md);
}
.feature p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 0;
}
.thread-visual {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 38px;
  font: 11px var(--font-mono);
}
.thread-visual span {
  width: 90%;
  padding: 12px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--muted-foreground);
}
.thread-visual i {
  align-self: center;
  color: var(--muted-foreground);
  font-style: normal;
}
.thread-visual .reply {
  align-self: end;
  color: var(--brand);
  border-color: color-mix(in oklch, var(--brand) 25%, transparent);
  background: color-mix(in oklch, var(--brand) 6%, transparent);
}
.connect {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 64px;
}
.connect > * {
  min-width: 0;
}
.connect-copy .code-note {
  font-size: 11px;
  max-width: 360px;
  margin-top: 24px;
}
.code-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
}
.code-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding: 0 22px;
  background: var(--muted);
}
.code-tabs button {
  background: transparent;
  color: var(--muted-foreground);
  border: 0;
  border-bottom: 2px solid transparent;
  font: 11px var(--font-mono);
  padding: 16px 0;
  min-height: 44px;
}
.code-tabs button[aria-selected="true"] {
  color: var(--foreground);
  border-bottom-color: var(--brand);
}
.code-window [role="tabpanel"] {
  padding: 24px;
  min-height: 280px;
}
.code-caption,
.code-foot {
  font: 11px/1.7 var(--font-mono);
  color: var(--muted-foreground);
}
.code-caption {
  margin: 0 0 24px;
}
.code-foot {
  margin-top: 28px;
}
pre {
  margin: 0;
  font: 12px/1.9 var(--font-mono);
  color: var(--foreground);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  border-top: 1px solid var(--border);
}
details {
  border-bottom: 1px solid var(--border);
}
details:first-child {
  border-top: 1px solid var(--border);
}
summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 22px 28px 22px 0;
  font-size: 14px;
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--muted-foreground);
  font: 18px var(--font-mono);
}
details[open] summary:after {
  content: "−";
}
.questions p {
  font-size: 13px;
  color: var(--muted-foreground);
  margin: 0 24px 22px 0;
}
.closing {
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  margin-bottom: 80px;
}
.closing .eyebrow {
  justify-content: center;
  color: var(--brand);
}
.closing h2 {
  font-size: 42px;
  margin: 20px 0 28px;
}
.closing p:last-child {
  font-size: 12px;
  color: var(--muted-foreground);
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-block: 32px;
}
.footer p,
.footer nav {
  font-size: 12px;
  color: var(--muted-foreground);
}
.footer nav {
  display: flex;
  gap: 22px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  z-index: 10;
}
.skip:focus {
  top: 8px;
}
@media (max-width: 900px) {
  .header {
    gap: 18px;
  }
  .header nav {
    gap: 18px;
  }
  .product-label {
    display: none;
  }
  .connect,
  .faq {
    gap: 32px;
  }
  .feature {
    padding: 20px;
  }
  .capability-strip .wrap {
    flex-wrap: wrap;
    justify-content: center;
  }
  .capability-strip span:first-child {
    width: 100%;
    text-align: center;
  }
  .steps {
    gap: 16px;
  }
  .steps article {
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header {
    height: 64px;
    gap: 16px;
  }
  .wordmark img {
    width: 105px;
    height: 24px;
  }
  .header nav {
    gap: 12px;
  }
  .header nav > a:not(.login) {
    display: none;
  }
  .header .login {
    font-size: 12px;
  }
  .button.small {
    font-size: 12px;
    min-height: 44px;
    padding-inline: 12px;
  }
  .hero {
    padding-top: 54px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0;
    padding-inline: 10px;
  }
  .lead {
    font-size: 16px;
  }
  .actions {
    flex-wrap: wrap;
    gap: 20px;
  }
  .button {
    min-height: 44px;
  }
  .inbox-scene {
    margin-top: 32px;
  }
  .mail-title {
    padding: 18px 16px;
  }
  .mail-title strong {
    font-size: 12px;
  }
  .mail-title span {
    font-size: 10px;
  }
  .mail-row {
    margin-inline: 16px;
    gap: 10px;
  }
  .mail-row b {
    font-size: 12px;
  }
  .mail-row div > span {
    font-size: 10px;
  }
  .tag {
    font-size: 8px;
    padding: 3px 5px;
  }
  .window-top {
    padding-inline: 16px;
    font-size: 8px;
  }
  .window-bottom {
    padding-inline: 16px;
    font-size: 8px;
  }
  .section {
    padding-block: 64px;
  }
  h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .steps,
  .feature-grid,
  .connect,
  .faq {
    grid-template-columns: 1fr;
  }
  .feature.large {
    grid-row: auto;
  }
  .section-heading.horizontal {
    display: block;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature {
    padding: 24px;
  }
  .thread-visual {
    max-width: 380px;
    margin-top: 24px;
  }
  .connect,
  .faq {
    gap: 28px;
  }
  .code-window [role="tabpanel"] {
    padding: 20px;
  }
  pre {
    font-size: 11px;
  }
  .faq h2 br {
    display: none;
  }
  .closing {
    padding: 48px 20px;
    margin-bottom: 48px;
  }
  .closing h2 {
    font-size: 34px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer > .wordmark {
    width: 100%;
  }
  .footer p {
    margin-block: 8px;
  }
  .footer nav {
    margin-left: auto;
  }
  .hero-note {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .header nav {
    display: none;
  }
  .header > .button {
    margin-left: auto;
  }
  .tag {
    display: none;
  }
  .mail-title strong {
    font-size: 11px;
  }
  .window-bottom {
    font-size: 7px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .footer nav {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  flex-shrink: 0;
}
.avatar .icon {
  width: 22px;
  height: 22px;
}
.sender-icon .icon {
  width: 17px;
  height: 17px;
}
.login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Developer-focused product explanation and progressive, user-controlled demo. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  text-align: left;
  padding-block: 80px;
}
.hero-copy {
  min-width: 0;
}
.hero .eyebrow {
  justify-content: start;
  font-size: 9px;
  letter-spacing: 0.15px;
}
.hero h1 {
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.1;
  letter-spacing: -2px;
  background: none;
  color: var(--foreground);
}
.hero h1 em {
  color: var(--brand);
  white-space: nowrap;
}
.hero .lead {
  font-size: 16px;
  margin: 22px 0;
  max-width: 520px;
}
.hero .actions {
  justify-content: start;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 10px;
  line-height: 1.8;
}
.workflow-demo {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 16px 60px #0004;
  overflow: hidden;
  min-width: 0;
}
.demo-badge {
  color: var(--brand);
  font-size: 9px;
}
.demo-controls {
  display: flex;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.demo-controls button {
  flex: 1;
  min-height: 44px;
  font-size: 10px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--muted-foreground);
  background: transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.demo-controls button[aria-pressed="true"] {
  color: var(--foreground);
  background: var(--muted);
  border-color: var(--border);
}
.demo-payload {
  padding: 22px;
  min-height: 238px;
}
.demo-payload pre {
  font-size: 11px;
  line-height: 1.9;
}
.demo-result {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 12px 22px;
  background: color-mix(in oklch, var(--brand) 4%, var(--card));
  min-height: 70px;
}
.demo-result p {
  font-size: 11px;
  color: var(--muted-foreground);
  margin: 0;
}
.demo-disclaimer {
  font-size: 10px;
  color: var(--muted-foreground);
  padding: 12px 22px;
  margin: 0;
  border-top: 1px solid var(--border);
}
.code-window [role="tabpanel"] {
  position: relative;
}
.copy-code {
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--foreground);
  border-radius: var(--radius-md);
  font: 10px var(--font-mono);
  padding: 8px 10px;
  min-height: 36px;
  margin-bottom: 16px;
}
.copy-code:hover {
  background: var(--accent);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.resource-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 24px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.resource-card:hover {
  border-color: color-mix(in oklch, var(--brand) 35%, var(--border));
  background: var(--muted);
}
.resource-kind {
  font: 10px var(--font-mono);
  color: var(--brand);
}
.resource-card h3 {
  font-size: 17px;
}
.resource-card p {
  font-size: 13px;
  color: var(--muted-foreground);
}
.resource-card > span:last-child {
  font-size: 12px;
}
.footer nav {
  flex-wrap: wrap;
  gap: 16px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 70px;
  max-width: 1000px;
  padding-block: 56px 80px;
}
.article-content {
  min-width: 0;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.article-content h1 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 18px 0;
}
.article-intro {
  font-size: 18px;
  color: var(--muted-foreground);
  margin-bottom: 36px;
}
.article-content h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 40px 0 16px;
  scroll-margin-top: 24px;
}
.article-content h3 {
  font-size: 18px;
}
.article-content p,
.article-content li {
  font-size: 14px;
  color: var(--muted-foreground);
}
.article-content li {
  margin-block: 10px;
}
.article-content a:not(.button) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content pre {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 20px;
  margin-block: 20px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.article-content code:not(pre code) {
  font: 12px var(--font-mono);
  color: var(--foreground);
  overflow-wrap: anywhere;
}
.article-content strong {
  font-weight: 500;
  color: var(--foreground);
}
.article-content .copy-code {
  display: block;
}
.article-toc {
  align-self: start;
  position: sticky;
  top: 32px;
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.article-toc p {
  font: 10px var(--font-mono);
  color: var(--muted-foreground);
}
.article-toc a {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground);
  padding: 7px 0;
}
.article-toc a:hover {
  color: var(--foreground);
}
.article-note {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.article-related {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.article-related ul {
  padding-left: 18px;
}
.article-cta {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--card);
}
.article-cta .button {
  margin-top: 12px;
}
.article-cta h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.article-cta p {
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-enter 0.45s ease-out both;
  }
  .workflow-demo {
    animation: hero-enter 0.55s ease-out both;
  }
  @keyframes hero-enter {
    from {
      transform: translateY(8px);
      opacity: 0.6;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 28px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero h1 em {
    white-space: normal;
  }
  .article-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 190px;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .lead {
    max-width: 600px;
  }
  .hero h1 em {
    white-space: normal;
  }
  .workflow-demo {
    width: 100%;
    max-width: 620px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 36px 56px;
  }
  .article-toc {
    position: static;
    grid-row: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
  }
  .article-toc a {
    display: inline-block;
    margin-right: 16px;
    padding: 6px 0;
  }
  .article-content h1 {
    font-size: 34px;
  }
  .article-intro {
    font-size: 16px;
  }
  .header nav a[href="/guides/"] {
    display: none;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 38px;
  }
  .demo-payload {
    padding: 18px;
  }
  .demo-controls button {
    font-size: 9px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
}
.mobile-nav,
.mobile-toc {
  display: none;
}
.header {
  position: relative;
}
@media (max-width: 760px) {
  .article-toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding-inline: 16px;
    margin-block: 24px;
  }
  .mobile-toc nav {
    display: grid;
    padding-bottom: 16px;
    gap: 10px;
  }
  .mobile-toc nav a {
    font-size: 12px;
  }
  .mobile-toc summary {
    padding-block: 14px;
  }
}
@media (max-width: 640px) {
  .header > nav {
    display: none;
  }
  .mobile-nav {
    display: block;
    margin-left: auto;
    border: 0;
  }
  .mobile-nav:first-child {
    border: 0;
  }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 12px;
    color: var(--muted-foreground);
  }
  .mobile-nav summary:after {
    content: none;
  }
  .header .mobile-nav nav {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    gap: 2px;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    z-index: 5;
    box-shadow: 0 12px 30px #0005;
  }
  .header .mobile-nav nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
  }
  .header .mobile-nav nav a:hover {
    background: var(--muted);
    border-radius: var(--radius-md);
  }
}

/* Keep the content usable when scripting is unavailable. */
html:not(.has-js) .copy-code,
html:not(.has-js) .demo-controls,
html:not(.has-js) .code-tabs {
  display: none;
}
html:not(.has-js) [role="tabpanel"][hidden] {
  display: block;
}

/* Product-led homepage. Shared Outflare tokens, AgentsGet.email identity. */
.mail-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: var(--foreground);
  color: var(--background);
  border-radius: 7px;
  font-size: 21px;
  margin-right: 10px;
}
.brand-ending {
  color: var(--muted-foreground);
  font-weight: 450;
}
.product-hero {
  text-align: center;
  padding-top: 78px;
  padding-bottom: 66px;
}
.product-kicker {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.product-hero h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 550;
  margin: 27px 0 24px;
}
.product-intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0 auto 28px;
  max-width: 650px;
}
.product-hero .actions {
  justify-content: center;
  gap: 12px;
}
.button.secondary {
  background: var(--secondary);
  color: var(--foreground);
  border: 1px solid var(--border);
}
.account-note {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 18px;
}
.walkthrough {
  padding-bottom: 64px;
}
.walkthrough-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}
.walkthrough-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 5px 0 0;
  font-weight: 500;
}
.walkthrough-heading .eyebrow {
  font-size: 10px;
  margin: 0;
  letter-spacing: 1.5px;
  color: var(--muted-foreground);
}
.example-tag {
  font-size: 11px;
  color: var(--muted-foreground);
}
.journey-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--card);
}
.journey-nav button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 20px 16px;
  color: var(--muted-foreground);
  font-size: 13px;
  transition:
    background 0.15s,
    color 0.15s;
}
.journey-nav button + button {
  border-left: 1px solid var(--border);
}
.journey-nav button:hover {
  background: var(--secondary);
  color: var(--foreground);
}
.journey-nav button[aria-pressed="true"] {
  color: var(--foreground);
  border-bottom-color: var(--brand);
  background: var(--secondary);
}
.journey-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font: 11px var(--font-mono);
  flex-shrink: 0;
}
.journey-nav button[aria-pressed="true"] .journey-number {
  background: var(--brand);
  color: #07190f;
  border-color: var(--brand);
}
.journey-nav small {
  display: block;
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 4px;
}
.product-preview {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(0, 390px);
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  min-height: 410px;
  overflow: hidden;
  background: var(--card);
}
.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 20px 13px;
  border-right: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted-foreground);
  background: color-mix(in srgb, var(--background) 60%, var(--card));
}
.preview-workspace {
  font-weight: 550;
  color: var(--foreground);
  display: flex;
  justify-content: space-between;
  padding: 0 5px 10px;
}
.preview-section {
  font-size: 9px;
  letter-spacing: 1.3px;
  padding: 0 5px;
}
.sidebar-active {
  background: var(--secondary);
  color: var(--foreground);
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
}
.sidebar-active b {
  float: right;
  font-weight: 400;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.preview-topbar {
  height: 51px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  font-size: 11px;
  gap: 8px;
}
.preview-content {
  padding: 28px 25px;
  min-width: 0;
}
.preview-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--secondary);
  font-size: 16px;
  margin-bottom: 23px;
}
.preview-overline {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}
.preview-content h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.preview-content > p:not(.preview-overline) {
  font-size: 12px;
  color: var(--muted-foreground);
  max-width: 360px;
  min-height: 60px;
}
.inbox-example {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px 10px;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.detail-label {
  color: var(--muted-foreground);
}
.status-dot {
  color: var(--brand);
  font-size: 9px;
}
.preview-status {
  font-size: 10px;
  color: var(--brand-ink);
}
.preview-code {
  border-left: 1px solid var(--border);
  background: var(--background);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.code-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted-foreground);
}
.preview-code pre {
  font: 10px/1.8 var(--font-mono);
  margin: 0;
  padding: 24px 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--foreground);
  min-height: 220px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.code-result {
  padding: 17px 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.response-label {
  font: 10px var(--font-mono);
  color: var(--brand-ink);
}
.code-result p {
  font-size: 11px;
  color: var(--muted-foreground);
  margin: 8px 0 0;
  min-height: 34px;
}
.preview-code > a {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted-foreground);
}
.walkthrough-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
  color: var(--muted-foreground);
  padding-top: 16px;
}
.walkthrough-bottom p {
  max-width: 650px;
  margin: 0;
}
.walkthrough-bottom a {
  white-space: nowrap;
  color: var(--foreground);
}
.practical {
  border-top: 1px solid var(--border);
}
.practical .section-heading {
  max-width: 620px;
}
.practical .section-heading h2 {
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: -1.5px;
  font-weight: 500;
}
.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}
.practical-grid article {
  border-top: 1px solid var(--border);
  padding-top: 25px;
}
.practical-grid h3 {
  font-size: 17px;
  font-weight: 500;
}
.practical-grid p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.8;
}
.practical-grid a {
  font-size: 12px;
}
.practical-grid .feature-icon {
  font-size: 22px;
  color: var(--foreground);
  background: transparent;
  border: 0;
  padding: 0;
  width: auto;
  display: block;
}
@media (max-width: 1000px) {
  .product-preview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .preview-sidebar {
    display: none;
  }
  .journey-nav button {
    padding: 15px 10px;
    gap: 8px;
  }
  .journey-nav small {
    font-size: 9px;
  }
}
@media (max-width: 640px) {
  .product-hero {
    padding-top: 47px;
    padding-bottom: 40px;
  }
  .product-intro {
    font-size: 15px;
  }
  .desktop-break {
    display: none;
  }
  .product-hero h1 {
    font-size: 46px;
  }
  .product-hero .actions {
    flex-direction: row;
  }
  .product-hero .button {
    font-size: 12px;
    padding: 11px 14px;
  }
  .walkthrough-heading {
    display: block;
  }
  .walkthrough-heading > .example-tag {
    display: block;
    margin-top: 8px;
  }
  .walkthrough-heading h2 {
    font-size: 22px;
  }
  .journey-nav {
    grid-template-columns: 1fr 1fr;
  }
  .journey-nav button:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .journey-nav button:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .journey-nav button {
    font-size: 11px;
  }
  .journey-nav small {
    display: none;
  }
  .product-preview {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview-content {
    padding: 22px;
  }
  .preview-content > p:not(.preview-overline) {
    min-height: 0;
  }
  .preview-avatar {
    margin-bottom: 15px;
  }
  .preview-code {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .preview-code pre {
    min-height: 190px;
    font-size: 10px;
  }
  .walkthrough-bottom {
    display: block;
  }
  .walkthrough-bottom a {
    display: inline-block;
    margin-top: 12px;
  }
  .practical-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .practical .section-heading h2 {
    font-size: 30px;
  }
  .wordmark {
    font-size: 16px;
  }
  .mail-mark {
    width: 25px;
    height: 25px;
    font-size: 18px;
    margin-right: 7px;
  }
}
body[data-page="/"] .section {
  padding-top: 70px;
  padding-bottom: 70px;
}
body[data-page="/"] .closing {
  margin-top: 20px;
  margin-bottom: 64px;
  padding-top: 55px;
  padding-bottom: 55px;
}
.product-hero {
  padding-top: 56px;
  padding-bottom: 44px;
}
@media (max-width: 640px) {
  .header {
    gap: 12px;
  }
  .header .wordmark {
    margin-right: auto;
  }
  .header .button.small {
    padding: 9px 10px;
    font-size: 11px;
    gap: 5px;
  }
  .mobile-nav {
    margin-left: 0;
  }
  .header .wordmark {
    font-size: 14px;
  }
  .header .mail-mark {
    width: 22px;
    height: 22px;
    margin-right: 5px;
  }
  .product-hero {
    padding-top: 38px;
  }
  .product-hero h1 {
    font-size: 42px;
  }
  body[data-page="/"] .section {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}
.hero-inbox {
  max-width: 460px;
  margin: 28px auto 0;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 10px 35px #0002;
}
.hero-inbox-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
}
.agent-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: var(--secondary);
}
.hero-inbox-label {
  display: block;
  font-size: 10px;
  color: var(--muted-foreground);
  margin-bottom: 3px;
}
.hero-address {
  display: block;
  font: 12px var(--font-mono);
  min-height: 20px;
  line-height: 20px;
}
.hero-inbox-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.hero-email-example {
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  min-height: 89px;
}
.hero-email-icon {
  color: var(--muted-foreground);
}
.hero-email-example strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.hero-email-example p {
  font-size: 11px;
  color: var(--muted-foreground);
  margin: 5px 0 0;
  line-height: 1.6;
}
.hero-inbox-foot {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 9px 16px;
  font-size: 9px;
  color: var(--muted-foreground);
}
.hero-inbox-foot button {
  background: none;
  border: 0;
  color: var(--muted-foreground);
  font-size: 10px;
  padding: 3px;
  white-space: nowrap;
}
.typing-caret {
  display: none;
}
.is-typing .typing-caret {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 2px;
  background: var(--foreground);
  vertical-align: middle;
  animation: caret-blink 0.7s steps(1) infinite;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing-caret {
    animation: none !important;
  }
}
@media (max-width: 640px) {
  .hero-inbox-top {
    padding: 14px 12px;
    gap: 9px;
  }
  .hero-address {
    font-size: 11px;
  }
  .hero-inbox {
    margin-top: 24px;
  }
  .hero-email-example {
    padding: 16px 12px;
  }
  .hero-inbox-foot {
    padding: 8px 10px;
    font-size: 8px;
  }
  .hero-inbox-foot button {
    font-size: 9px;
  }
}
