/* Generated from canh-web shared CSS regions. Do not edit by hand. */

/* canh-shared:start foundation */
:root {
  /* color */
  --bg: #faf7ee;             /* default page (paper) */
  --sand: #ece7da;           /* landing bg / alternate sections */
  --surface: #faf7ee;        /* cards / sections (paper) */
  --surface-alt: #ffffff;    /* inputs, code blocks, inset items */
  --ink: #1b1814;            /* primary text, dark buttons */
  --ink-2: #2a211a;          /* dark brown sections / CTA */
  --ink-inverse: #ece7da;    /* text on dark */
  --muted: #4c4537;          /* body / secondary */
  --accent: #c0140d;         /* primary CTAs, the "." , accessible accents */
  --accent-hover: #a9110a;
  --gold: #e6b84d;           /* hover chip / choice card / menu item */
  --gold-soft: #f0cd96;      /* dark-section accents, chat bubble */
  --hero-sand: #e9c79a;      /* hero right panel */
  --band-tan: #f1e3c8;       /* agent-handoff band */
  --card-tan: #f0d9a8;       /* feature cards / coworker card */
  --tint-red: #fbe9e8;       /* icon chips, canh chat row */
  --success: #1b8a4a;        /* check marks */
  --border: #d8cfba;         /* card + input borders */
  --divider: #e3ddcd;        /* step guide lines */
  --divider-strong: #d8d0bd; /* labeled dividers */
  --caution-surface: #faf3df;
  --caution-border: #ecd9a6;
  --caution-icon: #b88a17;
  --caution-label: #80620f;
  --caution-body: #5a4b22;
  --toggle-off: #cabfa8;

  /* type */
  --font-display: "Anton", system-ui, sans-serif;
  --font-ui: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* radius / shadow */
  --r-btn: 3px;
  --r-card: 3px;
  --r-pill: 999px;
  --shadow-card-hover: 0 10px 24px rgba(27, 24, 20, 0.1);
  --shadow-dropdown: 0 18px 40px -22px rgba(27, 24, 20, 0.55);

  /* layout */
  --gutter: clamp(22px, 6vw, 80px);
  --hero-pad: clamp(14px, 2.2vw, 30px); /* hero-frame inset; also aligns the
                                           stacked sign-in button (FR-35) */
}

/* reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}
/* fixed film-grain noise overlay (decorative) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.05;
}

[hidden] { display: none !important; }

a { color: inherit; }

/* ---- accessibility helpers --------------------------------------------- */
/* Off-screen but available to assistive tech (skip-link target, live regions). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Skip-to-content link: hidden until keyboard-focused, then slides in above the
   film-grain overlay (z-index 9999). */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: var(--ink);
  color: var(--ink-inverse);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.16s;
}
.skip-link:focus { transform: translateY(0); }

/* Visible keyboard-focus ring across interactive controls. :focus-visible keeps
   it off mouse clicks, and an offset outline reads on the dark/red/gold surfaces
   where the browser default washes out. Inputs keep their own gold ring below. */
a:focus-visible,
button:focus-visible,
.oauth-permission--toggle:focus-visible,
.choice-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---- navigation -------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  z-index: 100;
}
.nav--sticky {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 238, 0.85);
  backdrop-filter: blur(8px);
}
.nav--floating { position: absolute; top: 0; left: 0; right: 0; }
.nav__right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }

.wordmark {
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--r-btn);
  padding: 13px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.12s, transform 0.12s, border-color 0.12s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--dark {
  background: var(--ink);
  color: var(--ink-inverse);
  border: 1.5px solid var(--ink);
}
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--google {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn--google:hover { background: var(--bg); }
.btn--chip {
  background: var(--divider);
  color: var(--ink);
  font-weight: 600;
  font-size: 11px;
  border-radius: var(--r-btn);
  padding: 6px 11px;
  transition: background-color 0.18s ease;
}
.btn--chip:hover { background-color: var(--gold); }
.btn--link {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font-ui);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.btn--sm { font-size: 12.5px; padding: 8px 0; width: 88px; }

/* ---- text bits --------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.display-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.display-h1--sm { font-size: clamp(26px, 4vw, 34px); line-height: 1.1; }
.display-h1 .accent, .display-h2 .accent { color: var(--accent); }
.lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}
.label-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
code { font-family: var(--font-mono); font-size: 13px; }

.display-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.display-h2--section { font-size: clamp(34px, 5vw, 68px); line-height: 1.04; }
.display-h2--card { font-size: clamp(26px, 3.4vw, 38px); }

/* ---- surfaces ---------------------------------------------------------- */
.page { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 7vh, 80px) var(--gutter) 120px; }
.page--narrow { max-width: 700px; }
.card {
  background: #fff; /* white card on the paper (--bg) page, per the mockups */
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(30px, 3.4vw, 44px);
}
.card--pad-lg { padding: clamp(44px, 5vw, 64px); }
.centered-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(96px, 13vh, 128px) clamp(20px, 5vw, 56px) 56px;
}

/* canh-shared:end foundation */

/* canh-shared:start callout */
/* ---- callout ----------------------------------------------------------- */
.callout {
  position: relative;
  border: 1.5px solid var(--caution-border);
  background: var(--caution-surface);
  border-radius: var(--r-card);
  padding: 16px 18px;
}
.callout--danger { border-color: var(--accent); background: var(--surface-alt); }
.callout__head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.callout__head i { font-size: 19px; color: var(--caution-icon); }
.callout--danger .callout__head { color: var(--accent); }
.callout--danger .callout__head i { color: var(--accent); }
.callout__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caution-label);
}
.callout__title { font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; }
.callout--danger .callout__title { color: var(--accent); }
.callout__body { font-size: 14.5px; line-height: 1.6; color: var(--caution-body); }
.callout--danger .callout__body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 62ch;
}
.callout__body strong, .callout__list strong, .step__text strong, .substep__body strong {
  color: var(--ink);
  font-weight: 600;
}
.callout__dismiss {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
}
.callout__dismiss:hover { color: var(--ink); }
.callout__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.callout__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: var(--caution-body); }
.callout__list i { font-size: 18px; color: var(--caution-icon); flex: none; margin-top: 1px; }
.callout--row { display: flex; align-items: flex-start; gap: 13px; }
.callout--row > i { flex: none; margin-top: 1px; }

/* canh-shared:end callout */

/* canh-shared:start copy-field */
/* ---- copy field (code block + copy button) ----------------------------- */
.copy-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.copy-field { position: relative; }
.copy-field__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.copy-field code {
  display: block;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 12px 44px 12px 14px;
  overflow-x: auto;
  white-space: nowrap;
}
.copy-field__btn {
  position: absolute;
  top: 7px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 6px;
  display: flex;
  align-items: center;
}
.copy-field__btn:hover { color: var(--accent); }
.copy-field__btn .ph-check { color: var(--accent); }
.copy-field__btn .ph-warning-circle { color: var(--accent); }
.copy-field__btn:disabled { cursor: wait; opacity: .65; }
.copy-field__status {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}
.copy-field__status:empty { display: none; }

/* canh-shared:end copy-field */

/* canh-shared:start choice-cards */
/* ---- integration-picker choice cards ----------------------------------- */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
.choice-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 38px 30px;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.choice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); background: var(--gold); }
.choice-card h2 { font-family: var(--font-ui); font-weight: 800; font-size: 21px; line-height: 1.15; }
.choice-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; }

/* canh-shared:end choice-cards */

/* canh-shared:start reduced-motion */
/* Honor the OS "reduce motion" setting site-wide. landing.js already gates its
   own JS reveal/stagger; this neutralizes the CSS transitions (button lifts,
   menu fade, toggle slide, caret rotation, card/chip hover) and smooth scroll. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* canh-shared:end reduced-motion */
