/* Agent Talk To Me home (Claude Design canvas "Dok sites", board "Agent Talk To Me · v2").
   Built by scripts/build-home.py. Scoped under .attm: the page renders inside the
   Dok layout (Tailwind preflight). Dark only, like the app's chat screen. */

:root {
  --attm-bg: #14161A;
  --attm-deep: #0D0E11;
  --attm-card: #1B1E23;
  --attm-line: #2A2D35;
  --attm-ink: #F2F0EB;
  --attm-soft: #C9C7C1;
  --attm-mute: #9EA1AA;
  --attm-violet: #8B7BFF;
  --attm-violet-2: #B5AAFF;
  --attm-green: #4FD18B;
  --attm-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --attm-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html:has(.attm), body:has(.attm) { background: var(--attm-bg); color-scheme: dark; margin: 0; }

.attm { background: var(--attm-bg); color: var(--attm-ink); font: 17px/1.6 var(--attm-sans); -webkit-font-smoothing: antialiased; }
.attm *, .attm *::before, .attm *::after { box-sizing: border-box; }
.attm h1, .attm h2, .attm h3, .attm p, .attm ol, .attm ul, .attm figure, .attm blockquote, .attm pre { margin: 0; }
.attm h1, .attm h2, .attm h3 { font-weight: 600; color: inherit; text-wrap: balance; }
.attm a { color: var(--attm-violet-2); text-underline-offset: 4px; }
.attm a:hover { color: #D6CFFF; }
.attm a:focus-visible, .attm summary:focus-visible { outline: 2px solid var(--attm-violet); outline-offset: 3px; border-radius: 4px; }
.attm code, .attm pre, .attm .mono { font-family: var(--attm-mono); }
.attm code { font-size: 0.92em; color: var(--attm-ink); }

.attm-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.attm-band { background: var(--attm-deep); border-block: 1px solid var(--attm-line); }
.attm-rule { border-top: 1px solid var(--attm-line); }
.attm-muted { color: var(--attm-soft); }

/* Header */
.attm-header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-block: 18px; }
.attm-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--attm-ink) !important; text-decoration: none; font-weight: 600; font-size: 18px; }
.attm-brand i { width: 26px; height: 22px; background: var(--attm-violet); border-radius: 10px 10px 10px 2px; }
.attm-nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 16px; }
.attm-nav a { padding: 12px; color: var(--attm-ink); text-decoration: none; }
.attm-nav a:hover { text-decoration: underline; }
.attm-nav .attm-lang { color: var(--attm-mute); font-family: var(--attm-mono); }

/* Hero */
.attm-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; padding-block: 40px 88px; }
.attm-hero-text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.attm h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.attm-lead { font-size: 21px; line-height: 1.55; color: var(--attm-soft); max-width: 27em; }
.attm-voice { display: flex; align-items: center; gap: 14px; align-self: flex-start; max-width: 100%; padding: 12px 18px; border: 1px solid var(--attm-line); border-radius: 999px; }
.attm-voice svg { flex: none; }
.attm-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.attm-wave span { width: 3px; border-radius: 2px; background: var(--attm-violet); }
.attm-voice p { font-size: 15px; color: var(--attm-soft); }
.attm-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.attm-store { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--attm-violet); color: var(--attm-bg) !important; font-weight: 600; font-size: 17px; text-decoration: none; }
.attm-store:hover { background: var(--attm-violet-2); }
.attm-store.is-alt { background: transparent; color: var(--attm-ink) !important; border: 1.5px solid var(--attm-line); }
.attm-store.is-alt:hover { border-color: var(--attm-violet); }
.attm-note { font-size: 15px; color: var(--attm-mute); }
.attm-phone { justify-self: center; width: min(100%, 300px); aspect-ratio: 9 / 16; border: 10px solid var(--attm-line); border-radius: 38px; overflow: hidden; background: #000; }
.attm-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Moments */
.attm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; padding-block: 80px; }
.attm-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 14px; background: var(--attm-card); border: 1px solid var(--attm-line); }
.attm-card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.attm-where { font-family: var(--attm-mono); font-size: 13px; color: var(--attm-violet-2); }
.attm-soon { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--attm-violet-2); border: 1px solid var(--attm-violet); border-radius: 999px; padding: 4px 10px; }
.attm-card h3 { font-size: 23px; letter-spacing: -0.01em; }
.attm-card p { color: var(--attm-soft); }

/* Switch + quote */
.attm-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; align-items: center; padding-block: 88px; }
.attm-split > div { display: flex; flex-direction: column; gap: 18px; }
.attm h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.attm-split p { font-size: 19px; color: var(--attm-soft); max-width: 28em; }
.attm-quote { display: flex; flex-direction: column; gap: 16px; }
.attm-quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 88px; line-height: .5; color: var(--attm-violet); }
.attm-quote blockquote { font-size: 22px; line-height: 1.5; }
.attm-quote figcaption { font-size: 15px; color: var(--attm-mute); }

/* Steps */
.attm-steps-block { display: flex; flex-direction: column; gap: 36px; padding-block: 88px; }
.attm-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.attm-steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--attm-violet); }
.attm-steps .attm-n { font-family: var(--attm-mono); font-size: 13px; color: var(--attm-violet-2); }
.attm-steps h3 { font-size: 22px; }
.attm-steps p { color: var(--attm-soft); }

/* For agents */
.attm-agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: start; padding-block: 80px; }
.attm-agents > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.attm-tag { font-family: var(--attm-mono); font-size: 13px; color: var(--attm-green); }
.attm-agents h2 { font-size: 36px; }
.attm-agents p { color: var(--attm-soft); }
.attm-pre { font-size: 14px; line-height: 1.75; color: var(--attm-soft); background: var(--attm-bg); border: 1px solid var(--attm-line); border-radius: 10px; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.attm-ref { grid-column: 1 / -1; border: 1px solid var(--attm-line); border-radius: 10px; background: var(--attm-bg); }
.attm-ref summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 20px; font-weight: 600; }
.attm-ref summary::-webkit-details-marker { display: none; }
.attm-ref summary::after { content: "+"; font-family: var(--attm-mono); color: var(--attm-violet-2); font-size: 20px; }
.attm-ref[open] summary::after { content: "\2212"; }
.attm-ref-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; padding: 4px 20px 24px; }
.attm-ref-body section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.attm-ref-body h3 { font-size: 18px; }
.attm-ref-body h4 { margin: 8px 0 0; font-size: 16px; font-weight: 600; }
.attm-ref-body p, .attm-ref-body li { color: var(--attm-soft); font-size: 16px; }
.attm-ref-body ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.attm-flow { font-family: var(--attm-mono); font-size: 13px; color: var(--attm-mute); }

/* Facts */
.attm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; padding-block: 88px; }
.attm-facts > div { display: flex; flex-direction: column; gap: 12px; }
.attm-facts h2 { font-size: 30px; }
.attm-facts p { color: var(--attm-soft); }

/* Footer */
.attm-footer { display: flex; flex-direction: column; gap: 8px; padding-block: 32px 48px; border-top: 1px solid var(--attm-line); font-size: 15px; color: var(--attm-mute); }
.attm-footer a { color: var(--attm-soft); }

@media (max-width: 640px) {
  .attm-hero { gap: 40px; padding-block: 16px 64px; }
  .attm-lead { font-size: 19px; }
  .attm-cards, .attm-split, .attm-steps-block, .attm-agents, .attm-facts { padding-block: 56px; }
}
