/* The campaign preserves SmAIl's navy and mint identity. */
body { background: var(--bg); color-scheme: dark; }
body::before, .ambient-field { display: none; }
.skip-link { position: fixed; top: -8rem; left: 1rem; z-index: 100; padding: 1rem; background: var(--bg); }
.skip-link:focus { top: 1rem; }
.hero { min-height: auto; padding-block: clamp(3rem, 6vw, 6rem); }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; }
.hero-title { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.06; }
.hero-subtitle { font-size: 1.08rem; }
.hero-result { max-width: 62ch; color: var(--muted); }
.cta-note, .preview-caption, figcaption { color: var(--muted); font-size: .9rem; }
.cta-note { max-width: 47ch; margin-top: .85rem; }
.product-preview { min-height: 0; margin: 0; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.preview-top > span { color: var(--muted); font-size: .85rem; }
.preview-heading { padding: 1.4rem 1.25rem; display: grid; gap: .3rem; }
.preview-heading strong { font-size: 1.55rem; color: var(--ink); }
.preview-heading span { color: var(--muted); }
.preview-mail { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.preview-mail strong, .preview-mail b { display: block; font-size: .88rem; }
.preview-mail b { font-weight: 500; margin-top: .3rem; }
.preview-mail p { margin: .2rem 0 0; font-size: .82rem; color: var(--muted); }
.preview-avatar { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--panel-2); color: var(--ink); font-size: .75rem; }
.preview-tag { font-size: .75rem; color: var(--mint); padding: .25rem .45rem; border: 1px solid var(--line-strong); border-radius: 5px; }
.preview-reminder { display: flex; gap: .8rem; margin: 1rem; padding: 1rem; background: var(--panel-2); border-radius: 10px; }
.preview-reminder > span { color: var(--mint); font-size: 1.5rem; }
.preview-reminder p { margin: .2rem 0 0; font-size: .85rem; }
figcaption { padding: 0 1rem 1rem; }
.connector-band { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; padding-block: 1.5rem; border-block: 1px solid var(--line); }
.connector-band > span { color: var(--muted); margin-right: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-intro h2, .workflow-copy h2, .proof-copy h2, .contact-copy h2, .mid-cta h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -.03em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.reply-example { padding: clamp(1.2rem, 2.5vw, 2rem); min-height: 0; }
.reply-example .preview-top { padding: 0 0 1rem; margin-bottom: 1.5rem; }
.reply-example blockquote { margin: 1.5rem 0; color: var(--text); }
.reply-example blockquote span, .reply-draft > span { display: block; color: var(--muted); font-size: .85rem; margin-bottom: .6rem; }
.reply-draft { padding: 1.2rem; background: var(--bg); border-radius: 10px; }
.reply-draft p { margin: 0; }
.reply-example .preview-caption { font-size: .85rem; margin-top: 1rem; }
.workflow-copy { position: static; }
.stack-card { min-height: auto; background: var(--panel); }
.stack-card > span { margin-bottom: .6rem; }
.mid-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-block: 1px solid var(--line); padding-block: 2.5rem; }
.mid-cta h2 { max-width: 23ch; margin: 0; }
.proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-copy > .text-link { display: inline-block; margin-top: 1.5rem; }
.human-proof { padding: clamp(1.5rem, 3vw, 3rem); background: var(--panel); border-radius: 16px; }
.human-proof h3 { font-size: 1.8rem; line-height: 1.25; color: var(--ink); }
.text-link { text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover { color: var(--mint); }
.contact-section { background: var(--bg-deep); scroll-margin-top: 6rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-copy h2 { margin-top: 0; }
.contact-steps { padding-left: 1.4rem; }
.contact-steps li { padding: .5rem 0 .5rem .3rem; }
.contact-panel { background: var(--panel); padding: clamp(1.2rem, 3vw, 2rem); border-radius: 16px; border: 1px solid var(--line); }
.contact-panel h3 { margin: 0 0 .5rem; color: var(--ink); font-size: 1.6rem; }
.contact-panel form > p { margin-top: 0; font-size: .9rem; }
.contact-panel label { display: block; margin: 1rem 0 .4rem; font-weight: 600; }
.contact-panel label span { font-weight: 400; color: var(--muted); }
.contact-panel input:not([type=hidden]) { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.contact-panel .contact-privacy { margin-block: 1.3rem; color: var(--muted); }
.contact-panel button { width: 100%; font: inherit; font-weight: 700; cursor: pointer; white-space: normal; }
.contact-error { border: 1px solid currentColor; padding: .9rem; color: var(--ink); }
.contact-success { padding-block: 2rem; }
.success-mark { color: var(--mint); font-size: 2.5rem; }
.footer { padding-block: 3rem 1.5rem; }
.footer-grid { gap: 2rem; }
.legal-content { max-width: 75ch; padding-block: 4rem; }
.legal-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.12; color: var(--ink); }
.legal-content h2 { margin-top: 2.5rem; }
.contacts-table { width: 100%; border-collapse: collapse; }
.contacts-table th, .contacts-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
@media (max-width: 1000px) {
  .hero-grid, .contact-grid, .proof-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 48rem; }
  .hero-title { max-width: 22ch; }
  .product-preview { max-width: 44rem; width: 100%; justify-self: center; }
  .nav-links { display: none; }
  .mid-cta { flex-direction: column; align-items: start; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 2rem); }
  .hero-title { font-size: clamp(2.3rem, 9vw, 3.5rem); }
  .preview-mail { grid-template-columns: 2rem minmax(0, 1fr); }
  .preview-tag { grid-column: 2; justify-self: start; }
  .preview-top { flex-wrap: wrap; }
  .hero-product { min-height: 0; }
  .nav-bar { grid-template-columns: 1fr auto; }
  .nav-actions { display: none; }
  .mobile-toggle { display: inline-flex; }
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9fc;
    --bg-deep: #edf2f7;
    --ink: #122339;
    --text: #24364b;
    --muted: #526173;
    --panel: #ffffff;
    --panel-2: #e9f1f4;
    --mint: #08744d;
    --line: #d3dce5;
    --line-strong: #a6b4c3;
  }
  body { color-scheme: light; }
  .nav-shell, .nav-shell.is-scrolled, .mobile-menu, .footer { background: var(--bg-deep); }
  .nav-links { background: var(--panel); }
  .btn-light, .btn-primary { background: #60d8a8; }
  .bento-card:hover, .stack-card:hover { background-color: var(--panel-2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .btn, .product-preview, .preview-reminder, .contact-panel, .bento-card { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}

/* From vgpu's layered hero: the scene sits below real, readable HTML.
   Its lower edge dissolves into the page, never across the controls. */
.hero { isolation: isolate; overflow: clip; }
.hero-grid { position: relative; z-index: 1; }
.hero-atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; mask-image: linear-gradient(to right, transparent 25%, #000 72%); }
.hero-atmosphere::before { content: ''; position: absolute; width: 70%; height: 80%; top: 8%; right: -10%; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--mint) 18%, transparent), transparent 68%); }
.hero-atmosphere::after { content: ''; position: absolute; inset: 78% 0 0; background: linear-gradient(to top, var(--bg), transparent); }
.hero-atmosphere canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 500ms ease-out; }
.hero-atmosphere canvas.is-ready { opacity: .65; }
.hero .product-preview { background: #0d1828; border: 0; box-shadow: 0 32px 72px #0006; }
.hero .preview-heading { padding-block: 1.8rem; }
.hero .preview-heading strong { font-size: clamp(1.55rem, 2.5vw, 2rem); letter-spacing: -.025em; }
.hero .preview-mail { padding-block: 1.1rem; }
.hero .preview-tag { background: color-mix(in srgb, var(--mint) 9%, transparent); }
.hero .preview-reminder { margin-top: 1.4rem; }
.hero-line { font-weight: 600; }
.hero-ctas .btn, .mid-cta .btn { padding: .9rem 1.4rem; min-height: 48px; }
.hero .cta-note { line-height: 1.6; }
/* A single finite arrival: each message settles into its existing place. */
@media (prefers-reduced-motion: no-preference) {
  .hero .product-preview { animation: inbox-arrive 900ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero .preview-mail { animation: mail-settle 800ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero .preview-mail:nth-of-type(3) { animation-delay: 100ms; }
  .hero .preview-mail:nth-of-type(4) { animation-delay: 200ms; }
  .hero .preview-mail:nth-of-type(5) { animation-delay: 300ms; }
  @keyframes inbox-arrive {
    from { transform: perspective(1200px) rotateY(-5deg) translateY(16px); }
    to { transform: perspective(1200px) rotateY(0) translateY(0); }
  }
  @keyframes mail-settle {
    from { transform: translateX(18px); opacity: .6; }
    to { transform: translateX(0); opacity: 1; }
  }
}
@media (prefers-color-scheme: light) {
  .hero .product-preview { background: #fff; box-shadow: 0 28px 65px #163b5921; }
  .hero-atmosphere canvas.is-ready { opacity: .45; }
}
@media (max-width: 1000px) {
  .hero-atmosphere { mask-image: linear-gradient(to bottom, transparent 35%, #000 75%); }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .hero-atmosphere { display: none; }
  .hero .product-preview { animation: none; }
  .hero .preview-mail { animation: none; }
}
@media (forced-colors: active) {
  .hero .product-preview { border: 1px solid CanvasText; background: Canvas; box-shadow: none; }
}
