/* 7Sense marketing site — extends tokens.css with web-scale layout.
   Calm, editorial, restrained. Paper and ink. */

html, body { margin:0; padding:0; }
body {
  font-family: var(--font-sans);
  background: var(--paper-0);
  color: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
  line-height: 1.5;
}
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }

/* layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* eyebrow */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content:''; width: 18px; height: 1px; background: var(--ink-3); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,240,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .wordmark { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; }
.nav-logo .wordmark b { color: var(--brand); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-1);
  padding: 8px 14px; border-radius: 10px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a.active { color: var(--ink-0); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 13px;
  font: 600 14.5px/1 var(--font-sans); letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, opacity .15s, background .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink-0); color: var(--paper-0); }
.btn-primary:hover { opacity: 0.9; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-0); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 11px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; border-radius: 15px; }

/* hero */
.hero { padding: 88px 0 72px; overflow: hidden; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 22px 0 0;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede { font-size: clamp(16px, 2vw, 20px); color: var(--ink-1); max-width: 540px; margin: 24px 0 0; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

/* ambient blob behind hero phone */
.ambient-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 560px; }
.ambient-stage .blob {
  position: absolute; border-radius: 50%; filter: blur(8px);
}

/* section spacing */
.s-pad { padding: 80px 0; }
.s-pad-sm { padding: 56px 0; }
.section-head { max-width: 640px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.section-head p { font-size: 17px; color: var(--ink-1); margin: 16px 0 0; line-height: 1.6; }

/* cards */
.card {
  background: var(--paper-1); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 26px;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-card .ficon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin: 4px 0 0; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 24px; border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .v { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -0.02em; }
.stat .l { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
.stat .tag { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-text h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 0; }
.split-text p { font-size: 16px; color: var(--ink-1); margin: 16px 0 0; line-height: 1.6; }
.split-list { margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.split-list .li { display: flex; gap: 12px; align-items: flex-start; }
.split-list .li .dot { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.split-list .li .t { font-size: 14.5px; color: var(--ink-1); line-height: 1.5; }
.split-list .li .t b { color: var(--ink-0); font-weight: 600; }

/* phone showcase */
.phone-shell {
  width: 300px; border-radius: 42px; padding: 8px;
  background: #1A1814;
  box-shadow: 0 0 0 1px rgba(24,22,18,0.16), 0 40px 80px -40px rgba(24,22,18,0.45), 0 12px 30px rgba(24,22,18,0.12);
  position: relative; flex-shrink: 0;
}
.phone-shell .notch { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 86px; height: 26px; border-radius: 13px; background: #000; z-index: 30; }
.phone-shell .scr { width: 100%; aspect-ratio: 320 / 692; border-radius: 34px; overflow: hidden; background: var(--paper-0); position: relative; }
.phone-shell .scr > div { position: absolute; inset: 0; }

/* big CTA */
.cta-band { background: var(--ink-0); color: var(--paper-0); border-radius: 28px; padding: 64px 56px; overflow: hidden; position: relative; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; max-width: 640px; }
.cta-band h2 em { font-style: italic; color: var(--brand); }
.cta-band p { font-size: 17px; color: rgba(244,239,230,0.7); margin: 18px 0 0; max-width: 480px; line-height: 1.6; }
.cta-band .cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--paper-0); color: var(--ink-0); }
.cta-band .btn-ghost { color: var(--paper-0); border-color: rgba(244,239,230,0.25); }
.cta-band .btn-ghost:hover { background: rgba(244,239,230,0.08); }

/* tone pills (reused from app) */
.amb { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:500; letter-spacing:0.02em; padding:4px 9px; border-radius:999px; text-transform:uppercase; }
.amb-dot { width:6px; height:6px; border-radius:50%; }
.amb.calm { color: var(--calm); background: var(--calm-bg); } .amb.calm .amb-dot { background: var(--calm); }
.amb.soft { color:#8A6F2E; background: var(--soft-bg); } .amb.soft .amb-dot { background: var(--soft); }
.amb.lively { color:#A65A28; background: var(--lively-bg); } .amb.lively .amb-dot { background: var(--lively); }
.amb.intense { color:#8A2F22; background: var(--intense-bg); } .amb.intense .amb-dot { background: var(--intense); }

/* footer */
.footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.footer a { display: block; font-size: 14px; color: var(--ink-1); padding: 5px 0; }
.footer a:hover { color: var(--ink-0); }
.footer .legal { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--ink-3); }

/* divider */
.hr { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* pill row */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 12.5px; font-weight: 500; color: var(--ink-1); background: var(--paper-2); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--hairline); }

/* badge above hero */
.tag-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 12.5px; font-weight: 600; }
.tag-badge .b-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* timeline / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; }
.step { position: relative; }
.step .n { font-family: var(--font-display); font-size: 15px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; color: var(--brand); background: var(--paper-1); }
.step h4 { font-size: 16px; font-weight: 600; margin: 16px 0 0; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.55; }

/* quote */
.quote { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 38px); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink-0); }
.quote em { font-style: italic; color: var(--brand); }

/* form */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--paper-1); border: 1px solid var(--hairline); border-radius: 13px;
  padding: 13px 15px; font: 500 15px/1.3 var(--font-sans); color: var(--ink-0);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-3); font-weight: 400; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* market viz bars */
.market-bars { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.market-row { display: grid; grid-template-columns: 120px 1fr 70px; align-items: center; gap: 14px; }
.market-row .ml { font-size: 13px; color: var(--ink-1); font-weight: 500; }
.market-row .track { height: 28px; border-radius: 8px; background: var(--paper-2); overflow: hidden; position: relative; }
.market-row .fill { position: absolute; inset: 0; border-radius: 8px; }
.market-row .mv { font-family: var(--font-display); font-size: 18px; text-align: right; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .ambient-stage { min-height: 480px; }
  .cta-band { padding: 44px 28px; }
}
