/* DataDial marketing — UI kit styles
   (supplements colors_and_type.css) */

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.nav .inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 48px; display: flex; align-items: center; gap: 28px; }
.nav .mark { display: flex; align-items: center; gap: 10px; }
.nav .mark img { width: 28px; height: 28px; display: block; }
.nav .mark span { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; margin-left: 32px; }
.nav a { color: var(--graphite); font-size: 14px; text-decoration: none; transition: color var(--t-fast) var(--ease); white-space: nowrap; }
.nav .btn, .hero .btn { white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav .login { color: var(--graphite); font-size: 14px; text-decoration: none; }
.nav .login:hover { color: var(--ink); }

/* Section scaffolding */
section { padding: var(--section-y) 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.section-bone { background: var(--bone); }
.eyebrow { font-size: 12px; font-weight: 500; color: var(--indigo-600); text-transform: uppercase; letter-spacing: 0.12em; }
.section-title { font-size: 44px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); margin: 14px 0 16px; max-width: 700px; }
.section-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.section-sub { font-size: 18px; color: var(--graphite); line-height: 1.45; max-width: 620px; }

/* Hero */
.hero {
  padding-top: 80px; padding-bottom: 100px;
  background-color: var(--paper);
  background-image: radial-gradient(var(--indigo-100) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { max-width: 920px; margin: 0 auto; text-align: center; padding: 0 48px; }
.hero h1 {
  font-size: 88px; line-height: 0.96; letter-spacing: -0.035em;
  font-weight: 600; color: var(--ink); margin: 22px 0 22px;
}
.hero .cta-row .btn { font-size: 15px; padding: 13px 20px; white-space: nowrap; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero .lede { font-size: 20px; line-height: 1.45; color: var(--graphite); max-width: 620px; margin: 0 auto 32px; }
.hero .cta-row { display: inline-flex; align-items: center; gap: 12px; }
.hero .below { margin-top: 44px; font-size: 12px; color: var(--slate); letter-spacing: 0.08em; text-transform: uppercase; }
.hero .logos { display: flex; gap: 32px; justify-content: center; margin-top: 16px; opacity: 0.7; font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--slate); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .s { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stats .s:last-child { border-right: none; }
.stats .n { font-size: 44px; line-height: 1; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); }
.stats .l { font-size: 13px; color: var(--slate); }

/* Feature grid */
.features { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 48px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.feature:hover { border-color: #C9C9D2; box-shadow: var(--shadow-card); }
.feature .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--mist); color: var(--indigo-600); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.feature h3 { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--graphite); line-height: 1.5; margin: 0; }

/* Process / how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 14px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -26px; left: 0; font-family: var(--font-serif); font-style: italic; font-size: 24px; color: var(--indigo-600); }
.step h4 { font-size: 15px; font-weight: 600; margin: 6px 0 6px; }
.step p { font-size: 13px; color: var(--slate); line-height: 1.5; margin: 0; }

/* Testimonial */
.quote-block { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-block q { font-family: var(--font-serif); font-style: italic; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); quotes: "\201C""\201D"; display: block; }
.quote-block .by { margin-top: 28px; font-size: 13px; color: var(--slate); letter-spacing: 0.04em; }
.quote-block .by strong { color: var(--ink); font-weight: 600; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 48px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan.featured h3, .plan.featured .price { color: var(--paper); }
.plan.featured .price-u, .plan.featured li { color: rgba(255,255,255,0.72); }
.plan h3 { font-size: 15px; margin: 0; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--indigo-600); }
.plan .price { font-size: 48px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.plan .price-u { font-size: 14px; color: var(--slate); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 14px; color: var(--graphite); display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.plan li i { flex-shrink: 0; margin-top: 2px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 80px 0 48px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer .brand-block .mark { display: flex; align-items: center; gap: 10px; }
.footer .brand-block .mark img { width: 28px; height: 28px; }
.footer .brand-block .mark span { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.footer .brand-block p { font-size: 13px; line-height: 1.5; max-width: 280px; margin: 0; }
.footer .bot { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.45); }

/* Buttons (scoped) */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font-sans); padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.btn-primary { background: var(--indigo-600); color: var(--paper); }
.btn-primary:hover { background: var(--indigo-700); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--border-strong); }
.btn-on-ink { background: var(--paper); color: var(--ink); }

/* Primary with ring + deep-violet gradient — echoes hero blob in darker register.
   Mirrors the 3rd "focus" primary variant in preview/buttons.html (white inner gap, indigo outer ring). */
.btn-primary-ring {
  background: linear-gradient(135deg, #3A1D9E 0%, #5A3FEF 45%, #7C3AED 100%);
  color: var(--paper);
  border-color: transparent;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3.5px #3A1D9E,
    0 6px 18px -8px rgba(58, 29, 158, 0.5);
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-primary-ring:hover {
  background: linear-gradient(135deg, #2E1580 0%, #4A2EE0 45%, #6B2EE0 100%);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3.5px #2E1580,
    0 8px 22px -8px rgba(46, 21, 128, 0.6);
}
.btn-primary-ring:active {
  transform: translateY(0.5px);
}
.btn-primary-ring:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4.5px #5A3FEF;
}

/* Inbox preview graphic */
.inbox-shot { margin-top: 56px; max-width: 980px; margin-left: auto; margin-right: auto; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px -40px rgba(14,14,18,0.2), 0 8px 24px -12px rgba(14,14,18,0.08); }
.inbox-shot .bar { height: 36px; background: var(--bone); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.inbox-shot .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.inbox-shot .body { display: grid; grid-template-columns: 224px 1fr 304px; min-height: 480px; }
.inbox-shot .sidebar { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 4px; background: var(--bone); min-width: 0; }
.inbox-shot .sb-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--graphite); white-space: nowrap; min-width: 0; }
.inbox-shot .sb-item.active { background: var(--paper); color: var(--ink); font-weight: 500; }
.inbox-shot .sb-item .sb-label { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.inbox-shot .sb-item .count { font-size: 11px; color: var(--slate); flex-shrink: 0; }
.inbox-shot .main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; min-width: 0; }
.inbox-shot .row-item { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.inbox-shot .row-item:last-child { border-bottom: none; }
.inbox-shot .av { width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--indigo-700); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inbox-shot .ri-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.inbox-shot .ri-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.inbox-shot .ri-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.inbox-shot .ri-meta { font-size: 11px; color: var(--slate); margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.inbox-shot .ri-bot { display: flex; align-items: center; gap: 8px; min-width: 0; }
.inbox-shot .ri-snip { font-size: 12px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.inbox-shot .ri-badge { flex-shrink: 0; font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 9999px; white-space: nowrap; }
.inbox-shot .rightcol { border-left: 1px solid var(--line); padding: 20px; background: var(--bone); display: flex; flex-direction: column; gap: 14px; }
.inbox-shot .right-h { font-size: 11px; color: var(--slate); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.inbox-shot .draft-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.5; color: var(--graphite); }
.inbox-shot .sources { display: flex; flex-direction: column; gap: 8px; }
.inbox-shot .src-row { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; }
.inbox-shot .src-row span { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
