:root {
  --av-ink: #17212b;
  --av-muted: #61707f;
  --av-paper: #f7f4ef;
  --av-white: #fff;
  --av-line: #dfe5e9;
  --av-blue: #2878ff;
  --av-blue-dark: #1559c8;
  --av-coral: #e85f4a;
  --av-soft-blue: #eaf2ff;
  --av-soft-coral: #fff0ec;
  --av-green: #277a59;
  --av-shadow: 0 24px 60px rgba(23, 33, 43, .13);
  --av-radius: 22px;
  --av-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--av-paper);
  color: var(--av-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--av-blue-dark); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.av-shell { width: min(calc(100% - 40px), var(--av-shell)); margin-inline: auto; }
.av-skip-link {
  position: fixed; z-index: 1000; left: 16px; top: 12px;
  transform: translateY(-160%); padding: 10px 16px; border-radius: 10px;
  background: var(--av-ink); color: #fff; text-decoration: none;
}
.av-skip-link:focus { transform: none; }

.av-site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(23,33,43,.08); background: rgba(247,244,239,.92); }
.av-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.av-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--av-ink); font-weight: 850; font-size: 23px; letter-spacing: -.045em; text-decoration: none; }
.av-brand > span:last-child span, .av-brand-footer span { color: var(--av-coral); }
.av-brand-mark { position: relative; width: 36px; height: 28px; display: flex; align-items: center; justify-content: center; gap: 3px; border-radius: 9px 9px 9px 3px; background: var(--av-coral); }
.av-brand-mark::after { content: ""; position: absolute; left: 4px; bottom: -5px; border-width: 5px 6px 0 0; border-style: solid; border-color: var(--av-coral) transparent transparent transparent; }
.av-brand-mark i { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.av-nav ul, .av-footer-nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.av-nav a { color: var(--av-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.av-nav a:hover, .av-nav a:focus-visible { color: var(--av-coral); }

.av-hero { position: relative; overflow: hidden; padding: 86px 0 72px; text-align: center; }
.av-hero::before, .av-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.av-hero::before { width: 440px; height: 440px; right: -250px; top: -250px; background: rgba(40,120,255,.08); }
.av-hero::after { width: 300px; height: 300px; left: -170px; bottom: -220px; background: rgba(232,95,74,.09); }
.av-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.av-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--av-green); font-size: 13px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.av-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #35a16e; box-shadow: 0 0 0 5px rgba(53,161,110,.12); }
.av-hero h1 { max-width: 850px; margin: 18px auto 16px; font-size: clamp(43px, 7vw, 78px); line-height: .98; letter-spacing: -.065em; }
.av-lead { max-width: 710px; margin: 0 auto; color: #465461; font-size: clamp(19px, 2.3vw, 23px); line-height: 1.5; }
.av-trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 24px; margin: 31px 0 0; padding: 0; list-style: none; color: var(--av-muted); font-size: 14px; font-weight: 700; }
.av-trust-list li::before { content: "✓"; margin-right: 7px; color: var(--av-green); font-weight: 900; }
.av-install-card {
  width: min(100%, 650px); display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 13px 16px; align-items: center; margin: 28px auto 0; padding: 14px 15px;
  border: 1px solid rgba(23,33,43,.12); border-radius: 18px; background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(23,33,43,.09); text-align: left;
}
.av-install-card > img { display: block; width: 56px; height: 56px; border-radius: 14px; }
.av-install-copy { min-width: 0; line-height: 1.35; }
.av-install-copy strong, .av-install-copy span { display: block; }
.av-install-copy strong { font-size: 15px; }
.av-install-copy span { margin-top: 3px; color: var(--av-muted); font-size: 13px; }
.av-button-install { min-height: 44px; padding: 9px 16px; background: var(--av-ink); color: #fff; font-size: 14px; }
.av-button-install:hover { background: #293744; }
.av-install-help { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: var(--av-soft-blue); color: #174b92; }
.av-install-help p { margin: 0 0 10px; font-size: 14px; }
.av-install-share-cue {
  width: fit-content; min-height: 48px; display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 10px; padding: 8px 15px; border: 1px solid rgba(23,33,43,.12); border-radius: 16px;
  background: #fff; color: #111; box-shadow: 0 5px 14px rgba(23,33,43,.08); font-size: 18px;
}
.av-install-share-cue svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.av-install-help[data-browser="chrome"] .av-install-share-cue { min-width: 74px; justify-content: center; border-color: transparent; border-radius: 24px; background: #e5e7eb; color: #747b82; box-shadow: none; }
.av-install-help[data-browser="chrome"] .av-install-share-label { display: none; }
.av-install-help .av-text-button { color: #174b92; }
.av-install-status { grid-column: 1 / -1; min-height: 0; margin: 0; color: var(--av-green); font-size: 13px; font-weight: 700; }

.av-tool-section { padding: 0 0 100px; }
.av-tool-layout { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; gap: 28px; align-items: start; }
.av-tool-layout.has-ad { grid-template-columns: minmax(0, 820px) 300px; }
.av-tool-wrap { min-width: 0; }
.av-tool-heading { margin: 0 0 18px; text-align: center; }
.av-step-label, .av-kicker { margin: 0 0 5px; color: var(--av-coral); font-size: 13px; line-height: 1.4; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.av-tool-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.035em; line-height: 1.15; }
.av-setup-card, .av-complete { padding: clamp(24px, 5vw, 48px); border: 1px solid rgba(23,33,43,.09); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: var(--av-shadow); }
.av-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.av-field { margin-bottom: 20px; }
.av-field label, .av-anger-field legend, .av-situation-field legend { display: block; margin: 0 0 7px; color: var(--av-ink); font-size: 15px; font-weight: 780; }
.av-field label span { color: var(--av-muted); font-size: 12px; font-weight: 600; }
.av-field input, .av-field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #cbd4db; border-radius: 12px;
  background: #fff; color: var(--av-ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.av-field input:focus, .av-field select:focus, .av-composer textarea:focus { border-color: var(--av-blue); box-shadow: 0 0 0 4px rgba(40,120,255,.14); }
.av-field input[aria-invalid="true"] { border-color: #bc3325; }
.av-field small { display: block; margin-top: 6px; color: var(--av-muted); font-size: 12px; line-height: 1.4; }
.av-field-error { display: block; min-height: 0; margin-top: 5px; color: #a8291d; font-size: 13px; font-weight: 700; }
.av-situation-field { margin: 0 0 22px; padding: 0; border: 0; }
.av-situation-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.av-situation-options input { position: absolute; opacity: 0; pointer-events: none; }
.av-situation-options label {
  min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 9px 8px;
  border: 1px solid #d5dde3; border-radius: 11px; background: #fff; color: var(--av-muted);
  font-size: 13px; font-weight: 760; line-height: 1.25; text-align: center; cursor: pointer; transition: .15s ease;
}
.av-situation-options label:hover { border-color: #aebbc5; color: var(--av-ink); }
.av-situation-options input:checked + label { border-color: var(--av-coral); background: var(--av-soft-coral); color: #873126; box-shadow: inset 0 0 0 1px var(--av-coral); }
.av-situation-options input:focus-visible + label { outline: 3px solid rgba(40,120,255,.35); outline-offset: 2px; }
.av-situation-field > small { display: block; margin-top: 7px; color: var(--av-muted); font-size: 12px; line-height: 1.4; }
.av-anger-field, .av-after-scale { margin: 2px 0 24px; padding: 0; border: 0; }
.av-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.av-scale input { position: absolute; opacity: 0; pointer-events: none; }
.av-scale label {
  position: relative; min-height: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--av-level-border); border-radius: 11px; background: var(--av-level-bg); color: var(--av-level-ink);
  cursor: pointer; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.av-scale label span { font-weight: 850; }
.av-scale label small { min-height: 13px; font-size: 10px; line-height: 1.2; }
.av-scale #av-anger-1 + label { --av-level-bg: #fff3a6; --av-level-ink: #513d00; --av-level-border: #d8b643; }
.av-scale #av-anger-2 + label { --av-level-bg: #ffd166; --av-level-ink: #4b3200; --av-level-border: #d19a26; }
.av-scale #av-anger-3 + label { --av-level-bg: #ff9f43; --av-level-ink: #402000; --av-level-border: #d56c13; }
.av-scale #av-anger-4 + label { --av-level-bg: #f04f3d; --av-level-ink: #3b0c08; --av-level-border: #bd2f22; }
.av-scale #av-anger-5 + label { --av-level-bg: #e00000; --av-level-ink: #fff; --av-level-border: #a60000; }
.av-scale label:hover { filter: brightness(.96); transform: translateY(-1px); }
.av-scale input:checked + label { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--av-ink); transform: translateY(-1px); }
.av-scale input:checked + label::after {
  content: "\2713"; position: absolute; top: 4px; right: 5px; width: 16px; height: 16px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--av-ink); box-shadow: 0 0 0 1px rgba(23,33,43,.24); font-size: 11px; font-weight: 900; line-height: 1;
}
.av-scale input:focus-visible + label { outline: 3px solid rgba(40,120,255,.35); outline-offset: 2px; }
.av-privacy-note { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 24px; padding: 14px 16px; border-radius: 12px; background: #f1f7f4; color: #315d4b; font-size: 13px; line-height: 1.5; }
.av-privacy-note p { margin: 0; }
.av-lock { position: relative; flex: 0 0 16px; width: 16px; height: 13px; margin-top: 7px; border-radius: 3px; background: #3a7c60; }
.av-lock::before { content: ""; position: absolute; width: 9px; height: 8px; left: 3px; top: -7px; border: 2px solid #3a7c60; border-bottom: 0; border-radius: 7px 7px 0 0; }
.av-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 12px 20px; border: 0; border-radius: 13px; font-weight: 820; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.av-button:hover { transform: translateY(-1px); }
.av-button:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(40,120,255,.4); outline-offset: 3px; }
.av-button-primary { width: 100%; background: var(--av-ink); color: #fff; box-shadow: 0 10px 24px rgba(23,33,43,.18); }
.av-button-primary:hover { background: #293744; }
.av-button-primary span { font-size: 22px; line-height: 1; }
.av-button-secondary { border: 1px solid #cbd4db; background: #fff; color: var(--av-ink); }
.av-button-quiet { background: transparent; color: #8d392f; }
.av-button:disabled { opacity: .52; cursor: default; transform: none; }
.av-start-actions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.av-start-actions .av-button { width: 100%; }

.av-chat-stage { max-width: 720px; margin-inline: auto; }
.av-simulation-banner { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 auto 10px; color: var(--av-green); font-size: 11px; line-height: 1.3; font-weight: 900; letter-spacing: .1em; }
.av-simulation-banner span { width: 7px; height: 7px; border-radius: 50%; background: #35a16e; }
.av-demo-note { margin: 0 0 12px; padding: 11px 14px; border: 1px solid #f1c8c0; border-radius: 12px; background: var(--av-soft-coral); color: #71362e; text-align: center; }
.av-demo-note p { margin: 0 0 2px; font-size: 13px; }
.av-phone-shell { position: relative; height: min(690px, calc(100vh - 160px)); min-height: 560px; display: flex; flex-direction: column; overflow: hidden; border: 8px solid #1c242b; border-radius: 38px; background: #f5f5f7; box-shadow: 0 30px 70px rgba(23,33,43,.22); }
.av-phone-top { flex: 0 0 28px; display: flex; align-items: center; padding: 3px 22px 0; color: #1c1c1e; font-size: 10px; font-weight: 800; }
.av-phone-top span { margin-right: auto; }
.av-phone-top i { width: 14px; height: 8px; margin-right: 6px; border: 1.5px solid #111; border-width: 0 0 1.5px 1.5px; transform: skew(-25deg); }
.av-phone-top b { width: 17px; height: 8px; border: 1.5px solid #111; border-radius: 2px; }
.av-contact-bar { flex: 0 0 66px; display: grid; grid-template-columns: 38px 42px 1fr 38px; align-items: center; gap: 7px; padding: 4px 10px 9px; border-bottom: 1px solid rgba(23,33,43,.09); background: rgba(248,248,250,.96); }
.av-icon-button { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--av-blue); font-size: 36px; font-weight: 350; line-height: 1; cursor: pointer; }
.av-info-button { border: 1.5px solid var(--av-blue); font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.av-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #81909d, #53616d); color: #fff; font-size: 17px; font-weight: 800; }
.av-contact-text { min-width: 0; text-align: center; line-height: 1.2; }
.av-contact-text strong, .av-contact-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-contact-text strong { font-size: 13px; }
.av-contact-text small { margin-top: 3px; color: #71717a; font-size: 10px; }
.av-chat-log { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 22px; scrollbar-width: thin; }
.av-chat-date { margin: 1px 0 15px; color: #8a8a91; font-size: 10px; font-weight: 700; text-align: center; }
.av-message-row { display: flex; align-items: flex-end; gap: 7px; margin: 5px 0; animation: av-message-in .22s ease-out; }
.av-message-row.is-user { justify-content: flex-end; }
.av-message { position: relative; max-width: 76%; margin: 0; padding: 9px 13px; border-radius: 18px; color: #111; font-size: 15px; line-height: 1.34; white-space: pre-wrap; overflow-wrap: anywhere; }
.av-message-row.is-user .av-message { border-bottom-right-radius: 5px; background: var(--av-blue); color: #fff; }
.av-message-row.is-bot .av-message { border-bottom-left-radius: 5px; background: #e4e5e9; }
.av-message-time { display: block; margin-top: 3px; opacity: .65; font-size: 9px; text-align: right; }
@keyframes av-message-in { from { transform: translateY(7px); opacity: 0; } to { transform: none; opacity: 1; } }
.av-typing { position: absolute; left: 16px; bottom: 75px; z-index: 4; align-items: center; gap: 4px; width: 52px; height: 31px; padding: 0 12px; border-radius: 16px 16px 16px 5px; background: #e4e5e9; }
.av-typing:not([hidden]) { display: flex; }
.av-typing i { width: 5px; height: 5px; border-radius: 50%; background: #8d8e94; animation: av-dot 1s infinite ease-in-out; }
.av-typing i:nth-child(2) { animation-delay: .13s; }
.av-typing i:nth-child(3) { animation-delay: .26s; }
@keyframes av-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.av-composer { position: relative; flex: 0 0 auto; display: grid; grid-template-columns: 40px 1fr 40px; align-items: end; gap: 7px; padding: 9px 10px 19px; border-top: 1px solid rgba(23,33,43,.06); background: rgba(248,248,250,.97); }
.av-composer textarea { width: 100%; min-height: 42px; max-height: 116px; resize: none; padding: 9px 48px 9px 13px; border: 1px solid #c7c7cc; border-radius: 21px; background: #fff; color: #111; font-size: 15px; line-height: 1.35; outline: none; }
.av-composer button { width: 38px; height: 38px; margin-bottom: 2px; padding: 0; border: 0; border-radius: 50%; background: var(--av-blue); color: #fff; font-size: 23px; line-height: 1; font-weight: 900; cursor: pointer; }
.av-composer button:disabled { background: #a8c5f5; cursor: default; }
.av-char-count { position: absolute; right: 63px; bottom: 27px; color: #8a8a91; font-size: 9px; pointer-events: none; }
.av-composer .av-emoji-toggle { border: 1px solid #c7c7cc; background: #fff; color: #5e6670; font-size: 23px; font-weight: 600; }
.av-emoji-panel { position: absolute; z-index: 8; left: 9px; bottom: 72px; width: min(330px, calc(100% - 18px)); display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; padding: 9px; border: 1px solid #cbd4db; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(23,33,43,.2); }
.av-composer .av-emoji-panel button { width: 43px; height: 43px; margin: 0; border-radius: 10px; background: #f3f4f6; color: #111; font-size: 24px; font-weight: 400; }
.av-composer .av-emoji-panel button:hover { background: var(--av-soft-blue); }
.av-quick-starts {
  flex: 0 0 auto; display: flex; gap: 7px; overflow-x: auto; padding: 8px 10px 5px;
  border-top: 1px solid rgba(23,33,43,.06); background: rgba(248,248,250,.97); scrollbar-width: thin;
}
.av-quick-starts button {
  flex: 0 0 auto; min-height: 36px; padding: 7px 11px; border: 1px solid #c7d6e8; border-radius: 18px;
  background: #fff; color: #174b92; font-size: 12px; font-weight: 750; cursor: pointer;
}
.av-quick-starts button:hover { background: var(--av-soft-blue); }
.av-safety-message { margin: 0 12px 8px; padding: 12px 14px; border: 2px solid #b73127; border-radius: 12px; background: #fff2f1; color: #79231c; font-size: 13px; line-height: 1.45; }
.av-safety-message p { margin: 3px 0 6px; }
.av-text-button { padding: 0; border: 0; background: transparent; color: #79231c; font-size: 13px; font-weight: 850; text-decoration: underline; cursor: pointer; }
.av-chat-actions { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.av-chat-actions .av-button { min-width: 0; padding-inline: 14px; font-size: 14px; }
.av-button-burn { background: #a93424; color: #fff; }
.av-button-burn:hover { background: #84271b; }
.av-button-shred { border: 1px dashed #68747e; background: #eef1f3; color: var(--av-ink); }
.av-share-panel { margin-top: 16px; padding: 22px; border: 1px solid #cbd4db; border-radius: 18px; background: rgba(255,255,255,.95); box-shadow: 0 16px 38px rgba(23,33,43,.11); }
.av-share-panel h3 { margin: 0 0 5px; font-size: 22px; line-height: 1.2; }
.av-share-panel > p { margin: 0 0 15px; color: var(--av-muted); font-size: 14px; }
.av-share-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 17px; padding: 0; border: 0; }
.av-share-modes > label { position: relative; min-width: 0; cursor: pointer; }
.av-share-modes input { position: absolute; opacity: 0; pointer-events: none; }
.av-share-modes span { min-height: 96px; display: flex; flex-direction: column; padding: 12px; border: 1px solid #d6dde2; border-radius: 12px; background: #fff; }
.av-share-modes strong { font-size: 14px; }
.av-share-modes small { margin-top: 4px; color: var(--av-muted); font-size: 11px; line-height: 1.35; }
.av-share-modes input:checked + span { border-color: var(--av-blue); background: var(--av-soft-blue); box-shadow: inset 0 0 0 1px var(--av-blue); }
.av-share-modes input:focus-visible + span { outline: 3px solid rgba(40,120,255,.35); outline-offset: 2px; }
.av-share-field-title { margin: 0 0 8px !important; color: var(--av-ink) !important; font-size: 13px !important; font-weight: 800; }
.av-share-options { display: grid; gap: 7px; max-height: 260px; overflow-y: auto; margin: 0 0 14px; padding: 2px; }
.av-share-option { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; padding: 10px; border: 1px solid #dce2e6; border-radius: 11px; background: #fff; color: var(--av-ink); font-size: 13px; line-height: 1.4; cursor: pointer; }
.av-share-option:has(input:checked) { border-color: var(--av-blue); background: var(--av-soft-blue); }
.av-share-option input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--av-blue); }
.av-blur-note { display: flex; align-items: center; gap: 9px; margin: -2px 0 17px !important; color: #315d4b !important; font-size: 12px !important; font-weight: 700; }
.av-blur-note span { width: 72px; height: 17px; border-radius: 9px; background: repeating-linear-gradient(90deg, rgba(23,33,43,.2) 0 8px, rgba(97,112,127,.35) 8px 15px); filter: blur(2.5px); }
.av-share-controls { display: flex; flex-wrap: wrap; gap: 9px; }
.av-share-controls .av-button { width: auto; flex: 1 1 190px; }
.av-share-controls [hidden] { display: none !important; }
.av-share-preview { margin-top: 18px; }
.av-share-preview img { display: block; width: min(100%, 540px); max-height: 620px; object-fit: contain; margin: 0 auto 13px; border: 1px solid #d5dde3; border-radius: 13px; background: var(--av-paper); }
.av-share-help { max-width: 640px; margin: 0 auto 13px !important; color: var(--av-muted) !important; font-size: 13px !important; text-align: center; }
.av-share-export-controls { max-width: 740px; margin-inline: auto; }
.av-print-sheet { display: none; }
.av-share-status { min-height: 21px; margin: 12px 0 0 !important; color: var(--av-green) !important; font-size: 13px !important; font-weight: 700; }
.av-breathe-box { display: grid; justify-items: center; gap: 10px; margin-top: 18px; padding: 22px; border-radius: 18px; background: var(--av-soft-blue); color: #174b92; }
.av-breathe-orb { width: 70px; height: 70px; border-radius: 50%; background: rgba(40,120,255,.3); animation: av-breathe 8s infinite ease-in-out; }
@keyframes av-breathe { 0%, 100% { transform: scale(.65); } 50% { transform: scale(1); } }
.av-complete { text-align: center; }
.av-complete-mark { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #e5f5ed; color: var(--av-green); font-size: 31px; font-weight: 900; }
.av-destroy-stage { position: relative; width: min(100%, 460px); height: 82px; overflow: hidden; margin: -8px auto 18px; border-radius: 16px; background: #17212b; }
.av-destroy-stage::before { content: "CHATTHISTORIK"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .14em; }
.av-destroy-stage.is-burn::after { content: ""; position: absolute; inset: auto 0 0; height: 76%; background: linear-gradient(0deg, #e85f4a, #ffb13b 48%, transparent); transform-origin: bottom; animation: av-burn 1.25s ease-out both; }
.av-destroy-stage.is-shred::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 12px, #f7f4ef 12px 17px); animation: av-shred 1.1s ease-in both; }
@keyframes av-burn { 0% { transform: scaleY(0); opacity: .6; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1.2); opacity: 0; } }
@keyframes av-shred { 0% { transform: translateY(-100%); } 100% { transform: translateY(105%); } }
.av-complete h2 { margin: 0 0 10px; font-size: clamp(29px, 4vw, 42px); line-height: 1.15; letter-spacing: -.04em; }
.av-complete > p { max-width: 560px; margin: 0 auto 24px; color: var(--av-muted); }
.av-session-summary { margin: 0 auto 22px; padding: 15px 17px; border: 1px solid #d6e4dc; border-radius: 13px; background: #f1f7f4; color: #315d4b; font-size: 14px; font-weight: 800; }
.av-after-scale { margin-inline: auto; }
.av-after-scale legend { width: 100%; margin-bottom: 10px; font-weight: 800; }
.av-after-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.av-after-buttons button {
  position: relative; min-width: 46px; min-height: 46px; padding: 9px 13px; border: 1px solid var(--av-level-border); border-radius: 10px;
  background: var(--av-level-bg); color: var(--av-level-ink); font-size: 14px; font-weight: 850; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.av-after-buttons button:nth-child(1) { --av-level-bg: #fff3a6; --av-level-ink: #513d00; --av-level-border: #d8b643; }
.av-after-buttons button:nth-child(2) { --av-level-bg: #ffd166; --av-level-ink: #4b3200; --av-level-border: #d19a26; }
.av-after-buttons button:nth-child(3) { --av-level-bg: #ff9f43; --av-level-ink: #402000; --av-level-border: #d56c13; }
.av-after-buttons button:nth-child(4) { --av-level-bg: #f04f3d; --av-level-ink: #3b0c08; --av-level-border: #bd2f22; }
.av-after-buttons button:nth-child(5) { --av-level-bg: #e00000; --av-level-ink: #fff; --av-level-border: #a60000; }
.av-after-buttons button:hover { filter: brightness(.96); transform: translateY(-1px); }
.av-after-buttons button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--av-ink); transform: translateY(-1px); }
.av-after-buttons button[aria-pressed="true"]::after {
  content: "\2713"; position: absolute; top: 3px; right: 4px; width: 14px; height: 14px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--av-ink); box-shadow: 0 0 0 1px rgba(23,33,43,.24); font-size: 10px; font-weight: 900; line-height: 1;
}
.av-feedback { margin: 12px auto 18px !important; color: var(--av-green) !important; font-size: 14px; font-weight: 700; }
.av-complete-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 0 12px; }
.av-complete-actions .av-button { min-width: 190px; }
.av-complete > .av-button-primary { margin-top: 8px; }

.av-ad { position: relative; }
.av-ad-label { display: block; margin-bottom: 5px; color: #77838d; font-size: 10px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.av-ad-card { overflow: hidden; border: 1px solid rgba(23,33,43,.1); border-radius: 14px; background: rgba(255,255,255,.75); }
.av-ad-card > * { margin: 0; }
.av-ad-card img { display: block; }
.av-ad-title { padding: 12px 14px 0; font-size: 14px; }
.av-ad-top, .av-ad-below { max-width: 970px; margin-bottom: 46px; }
.av-ad-side { position: sticky; top: 22px; margin-top: 74px; }

.av-info-section { padding: 100px 0; background: var(--av-ink); color: #fff; }
.av-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.av-info-grid h2 { max-width: 560px; margin: 9px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.05em; }
.av-info-copy { color: #c6d0d8; font-size: 18px; }
.av-info-copy p:first-child { margin-top: 0; }
.av-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 68px; }
.av-feature-grid article { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.04); }
.av-feature-grid article > span { color: #ff917f; font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.av-feature-grid h3 { margin: 14px 0 6px; font-size: 20px; }
.av-feature-grid p { margin: 0; color: #adbac4; font-size: 14px; }
.av-faq-section { padding: 100px 0; }
.av-faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 9vw, 120px); }
.av-faq-wrap h2 { margin: 8px 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; }
.av-faq-list details { border-bottom: 1px solid #ccd5dc; }
.av-faq-list summary { position: relative; padding: 20px 40px 20px 0; font-weight: 800; cursor: pointer; list-style: none; }
.av-faq-list summary::-webkit-details-marker { display: none; }
.av-faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; color: var(--av-coral); font-size: 26px; font-weight: 400; }
.av-faq-list details[open] summary::after { content: "−"; }
.av-faq-list details p { margin: -4px 30px 20px 0; color: var(--av-muted); }

.av-site-footer { padding: 55px 0 28px; border-top: 1px solid rgba(23,33,43,.1); background: #f0ede8; }
.av-footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.av-brand-footer { font-size: 22px; }
.av-footer-grid p { margin: 7px 0 0; color: var(--av-muted); font-size: 14px; }
.av-footer-nav a { color: var(--av-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.av-footer-note { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(23,33,43,.1); color: var(--av-muted); font-size: 12px; }
.av-footer-note p { margin: 0; }
.av-content-main { min-height: 64vh; padding: 80px 0; }
.av-content-shell { max-width: 820px; }
.av-entry h1, .av-not-found h1 { margin: 0 0 24px; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -.05em; }
.av-entry-content > * { max-width: 760px; }

@media (max-width: 1050px) {
  .av-tool-layout.has-ad { grid-template-columns: minmax(0, 820px); }
  .av-ad-side { position: static; width: min(100%, 720px); margin: 14px auto 0; }
}
@media (max-width: 760px) {
  .av-shell { width: min(calc(100% - 28px), var(--av-shell)); }
  .av-site-header { position: static; }
  .av-header-inner { min-height: 64px; }
  .av-nav { display: none; }
  .av-hero { padding: 56px 0 50px; }
  .av-hero h1 { font-size: clamp(41px, 13vw, 59px); }
  .av-trust-list { display: grid; gap: 7px; text-align: left; }
  .av-install-card { grid-template-columns: 52px minmax(0, 1fr); padding: 13px; }
  .av-install-card > img { width: 52px; height: 52px; border-radius: 13px; }
  .av-install-card .av-button-install { grid-column: 1 / -1; width: 100%; }
  .av-tool-section { padding-bottom: 70px; }
  .av-field-row, .av-info-grid, .av-feature-grid, .av-faq-wrap { grid-template-columns: 1fr; }
  .av-situation-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-situation-options input:last-of-type + label { grid-column: 1 / -1; }
  .av-start-actions { grid-template-columns: 1fr; }
  .av-setup-card, .av-complete { padding: 24px 18px; border-radius: 20px; }
  .av-phone-shell { height: calc(100dvh - 130px); min-height: 520px; border-width: 5px; border-radius: 29px; }
  .av-message { max-width: 84%; }
  .av-chat-actions { flex-direction: column; }
  .av-chat-actions .av-button { width: 100%; }
  .av-share-modes { grid-template-columns: 1fr; }
  .av-share-modes span { min-height: 0; }
  .av-share-panel { padding: 18px 14px; }
  .av-info-section, .av-faq-section { padding: 72px 0; }
  .av-feature-grid { margin-top: 40px; }
  .av-footer-grid { display: grid; }
  .av-footer-nav ul { flex-wrap: wrap; gap: 12px 20px; }

  body.av-mobile-chat-open {
    position: fixed; top: var(--av-page-lock-top, 0); width: 100%; overflow: hidden;
    overscroll-behavior: none; touch-action: manipulation;
  }
  body.av-mobile-chat-open .av-chat-stage {
    position: fixed; z-index: 1000; top: 0; left: 0; right: 0;
    width: 100%; max-width: none; height: var(--av-chat-vv-height, 100dvh); margin: 0;
    display: flex; flex-direction: column; gap: 0; overflow: hidden;
    padding: max(6px, env(safe-area-inset-top)) 8px max(6px, env(safe-area-inset-bottom));
    transform: translateY(var(--av-chat-vv-top, 0));
    background: linear-gradient(180deg, #111820 0%, #202b35 100%);
  }
  body.av-mobile-chat-open .av-simulation-banner {
    flex: 0 0 auto; min-height: 24px; margin: 0 0 5px; color: #bcefd8; font-size: 10px;
  }
  body.av-mobile-chat-open .av-simulation-banner span { box-shadow: 0 0 0 4px rgba(53,161,110,.2); }
  body.av-mobile-chat-open .av-demo-note { flex: 0 0 auto; margin: 0 0 6px; padding: 7px 10px; font-size: 12px; }
  body.av-mobile-chat-open .av-phone-shell {
    flex: 1 1 auto; width: 100%; height: auto; min-height: 0;
    border: 1px solid rgba(255,255,255,.18); border-radius: 25px;
    box-shadow: 0 18px 46px rgba(0,0,0,.34);
  }
  body.av-mobile-chat-open .av-chat-log {
    min-height: 0; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch;
  }
  body.av-mobile-chat-open .av-composer { padding-bottom: 10px; }
  body.av-mobile-chat-open .av-composer textarea { font-size: 16px; }
  body.av-mobile-chat-open .av-char-count { bottom: 18px; }
  body.av-mobile-chat-open .av-chat-actions {
    flex: 0 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
    margin: 6px 0 0;
  }
  body.av-mobile-chat-open .av-chat-actions .av-button {
    width: 100%; min-height: 42px; padding: 7px 4px; border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.1); color: #fff; font-size: 11px; line-height: 1.15;
    box-shadow: none;
  }
  body.av-mobile-chat-open .av-chat-actions .av-button-burn { color: #ffd0c8; }
  body.av-mobile-chat-open .av-chat-actions .av-button-shred { color: #dbe8ff; }
  body.av-mobile-chat-open .av-chat-stage.is-input-focused .av-chat-actions,
  body.av-mobile-chat-open .av-chat-stage.is-keyboard-open .av-chat-actions { display: none; }
  body.av-mobile-chat-open .av-share-panel {
    position: absolute; z-index: 40; inset: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
    max-height: none; margin: 0; overflow-y: auto; overscroll-behavior: contain;
    border: 0; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.42);
  }
  body.av-mobile-chat-open .av-breathe-box {
    position: absolute; z-index: 45; left: 18px; right: 18px; top: 50%; margin: 0;
    transform: translateY(-50%); box-shadow: 0 20px 56px rgba(0,0,0,.3);
  }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .av-shell { width: min(calc(100% - 20px), var(--av-shell)); }
  .av-hero { padding-top: 44px; }
  .av-hero h1 { font-size: 43px; }
  .av-lead { font-size: 18px; }
  .av-scale { gap: 5px; }
  .av-scale label { min-height: 53px; }
  .av-tool-heading h2 { font-size: 28px; }
  .av-phone-shell { height: calc(100dvh - 112px); min-height: 500px; }
  .av-composer { padding-bottom: max(13px, env(safe-area-inset-bottom)); }
  .av-char-count { bottom: max(21px, calc(env(safe-area-inset-bottom) + 8px)); }
  body.av-mobile-chat-open .av-phone-shell { height: auto; min-height: 0; }
  body.av-mobile-chat-open .av-composer { padding-bottom: 9px; }
  body.av-mobile-chat-open .av-char-count { bottom: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@page { margin: 12mm; }
@media print {
  body:not(.av-share-printing) > * { display: none !important; }
  body:not(.av-share-printing)::before { content: "Använd Skriv ut-knappen i delningspanelen för att skriva ut en vald delningsbild."; display: block; padding: 30px; font: 18px/1.5 sans-serif; }
  body.av-share-printing { margin: 0; background: #fff; }
  body.av-share-printing * { visibility: hidden !important; }
  body.av-share-printing #av-print-sheet,
  body.av-share-printing #av-print-sheet * { visibility: visible !important; }
  body.av-share-printing #av-print-sheet { display: block !important; position: absolute; inset: 0; margin: 0; padding: 0; background: #fff; }
  body.av-share-printing #av-print-sheet img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; margin: 0 auto; border: 0; border-radius: 0; object-fit: contain; }
}
