/* ThreadTrim landing page, v3 */
:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --ink: #0c110f;
  --ink-2: #39423e;
  --muted: #6b746f;
  --faint: #676f6a;
  --line: rgba(12, 17, 15, .08);
  --line-2: rgba(12, 17, 15, .14);
  --green: #14834c;
  --green-2: #0d6a3b;
  --mint: #eaf6ef;
  --mint-2: #d4eedf;
  --gold: #f7c948;
  --gold-2: #f0b917;
  --night: #0b100e;
  --sans: Geist, "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow-1: 0 1px 1px rgba(12,17,15,.04), 0 2px 6px rgba(12,17,15,.04);
  --shadow-2: 0 1px 2px rgba(12,17,15,.05), 0 8px 24px rgba(12,17,15,.07);
  --shadow-3: 0 2px 4px rgba(12,17,15,.04), 0 24px 60px -12px rgba(12,17,15,.18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; color: var(--ink); }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--green); }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; position: relative; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }
.muted { color: var(--faint); font-weight: 500; }

/* Section headings */
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.sec-head.left { text-align: left; margin-left: 0; }
.eyebrow { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.light { color: #7fe0a8; }
h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.12; }
.sub { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 42px; padding: 0 18px; border-radius: var(--r-sm);
  background: linear-gradient(180deg, #1b9659 0%, var(--green) 100%);
  color: #fff; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--green-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(13,106,59,.3), 0 4px 12px -2px rgba(13,106,59,.3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 4px rgba(13,106,59,.3), 0 10px 24px -4px rgba(13,106,59,.4); }
.btn:active { transform: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; gap: 0; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-quiet:hover { filter: none; background: #fff; box-shadow: var(--shadow-2); }
.btn-gold { background: linear-gradient(180deg, #ffd766, var(--gold-2)); color: #2a2200; border-color: #d9a40b; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 12px -2px rgba(217,164,11,.4); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 10px 30px -6px rgba(0,0,0,.4); }
.btn-light .ic { color: var(--green); }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 40; padding: 0 16px; }
.nav-in {
  max-width: 1080px; margin: 0 auto; height: 56px; padding: 0 8px 0 18px;
  display: flex; align-items: center; gap: 28px; border-radius: 14px;
  border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled .nav-in { background: rgba(251, 251, 249, .78); backdrop-filter: saturate(180%) blur(14px); border-color: var(--line); box-shadow: var(--shadow-2); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo img { border-radius: 7px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: background .2s, color .2s; }
.links a:hover { background: rgba(12,17,15,.05); color: var(--ink); }

/* Hero */
.hero { padding: 150px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(20,131,76,.14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero-copy { text-align: center; max-width: 820px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1);
  color: var(--ink-2); font-size: 13px; font-weight: 500; text-decoration: none;
}
.pill .ic { width: 14px; height: 14px; color: var(--faint); transition: transform .2s var(--ease); }
.pill:hover .ic { transform: translateX(2px); }
.pill-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.pill-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20,131,76,.5); } 70%, 100% { box-shadow: 0 0 0 6px rgba(20,131,76,0); } }
h1 { font-size: clamp(36px, 4.7vw, 58px); line-height: 1.04; letter-spacing: -.04em; margin: 26px auto 0; max-width: 15.5ch; }
h1 em { font-size: 1.06em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; margin: 22px auto 0; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.micro { margin-top: 18px; font-size: 13px; color: var(--faint); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.micro i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* Quick answer band */
.answer { background: var(--night); color: #e6ece9; padding: 110px 0; overflow: hidden; }
.answer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 10%, rgba(20,131,76,.28), transparent 70%); pointer-events: none; }
.answer-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; position: relative; }
.answer h2 { color: #fff; }
.answer-lead { font-size: 18px; line-height: 1.65; color: #aab6b0; }
.answer-lead b { color: #fff; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.stat { padding: 26px 18px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.1); }
.stat dt { font-family: var(--serif); font-size: clamp(52px, 6vw, 76px); line-height: .9; color: #fff; letter-spacing: -.02em; }
.stat dd { margin: 12px 0 0; font-size: 14px; color: #8c9a93; line-height: 1.45; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.step { padding: 28px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font: 500 12px var(--mono); color: var(--green); letter-spacing: .08em; }
.step h3 { font-size: 19px; margin: 14px 0 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; }
.video { margin: 72px auto 0; max-width: 940px; }
.video-frame { padding: 8px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); }
.video video { display: block; width: 100%; height: auto; border-radius: 16px; background: #000; }
.video figcaption { text-align: center; color: var(--faint); font-size: 13px; margin-top: 14px; }

/* Bento */
.features { background: linear-gradient(180deg, var(--bg), #f3f5f2); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 250px;
  box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.t-wide { grid-column: span 2; }
.tile-ic { display: block; width: 22px; height: 22px; color: var(--green); margin-bottom: 16px; }
.tile h3 { font-size: 17px; letter-spacing: -.02em; }
.tile p { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 34ch; }
/* Comparison */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 900px; margin: 0 auto; }
.vs-col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; background: rgba(255,255,255,.5); }
.vs-col h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 18px; color: var(--muted); }
.vs-col h3 img { border-radius: 6px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; }
.vs-col li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.vs-col li .ic { width: 16px; height: 16px; margin-top: 3px; color: #c5413a; }
.vs-col.us { background: var(--surface); border-color: rgba(20,131,76,.35); box-shadow: 0 0 0 4px rgba(20,131,76,.06), var(--shadow-2); }
.vs-col.us h3, .vs-col.us li { color: var(--ink); }
.vs-col.us li .ic { color: var(--green); }

/* Founder note */
.story { padding: 40px 0 120px; }
.story-in { margin: 0 auto; max-width: 820px; text-align: center; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.story blockquote::before { content: "\201C"; display: block; font-size: 72px; line-height: .6; color: var(--green); margin-bottom: 14px; }
.story blockquote em { color: var(--green); }
.story figcaption { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; text-align: left; font-size: 14px; color: var(--muted); }
.story figcaption b { color: var(--ink); font-weight: 600; }
.av.big { width: 42px; height: 42px; font-size: 16px; background: linear-gradient(135deg, var(--green), var(--green-2)); }

/* Pricing */
.pricing { background: linear-gradient(180deg, #f3f5f2, var(--bg)); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.plan h3 { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.price { margin-top: 14px; font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.price .cur { font-size: 20px; margin-right: 2px; color: var(--muted); font-weight: 500; align-self: flex-start; margin-top: 4px; }
.price .unit { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.per { margin: 8px 0 22px; font-size: 13.5px; color: var(--faint); }
.plan ul { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 5px 0; color: var(--ink-2); }
.plan li .ic { width: 15px; height: 15px; color: var(--green); }
.plan.best { background: var(--night); border-color: var(--night); box-shadow: 0 24px 60px -16px rgba(11,16,14,.55); }
.plan.best h3, .plan.best .per, .plan.best .price .cur, .plan.best .price .unit { color: #8fa199; }
.plan.best .price { color: #fff; }
.plan.best ul { border-color: rgba(255,255,255,.1); }
.plan.best li { color: #d9e2de; }
.plan.best li .ic { color: #6fdc9b; }
.best-tag { position: absolute; top: 22px; right: 18px; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #6fdc9b; background: rgba(111,220,155,.12); border: 1px solid rgba(111,220,155,.25); padding: 6px 8px; border-radius: 6px; }
.fine { text-align: center; color: var(--faint); font-size: 13px; margin-top: 26px; }

/* Guides */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; min-height: 230px; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:has(a):hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.kicker { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.card h3 { font-size: 18px; line-height: 1.3; margin: 14px 0 10px; letter-spacing: -.02em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.read { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--green); }
.read .ic { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.card:hover .read .ic { transform: translateX(3px); }
.card.soon { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--line-2); }
.card.soon h3 { color: var(--ink-2); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line-2); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); margin: -4px 8px 0 0; }
details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
details p { color: var(--muted); padding: 0 40px 22px 0; font-size: 15.5px; }

/* Final CTA */
.final { padding: 20px 0 120px; }
.final-in { position: relative; overflow: hidden; text-align: center; background: var(--night); border-radius: 28px; padding: 88px 24px; isolation: isolate; }
.final-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.final-glow { position: absolute; z-index: -1; left: 50%; bottom: -220px; width: 700px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(20,131,76,.55), transparent); filter: blur(20px); }
.final h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.final h2 em { color: #7fe0a8; }
.final p { color: #93a39b; margin: 16px 0 32px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { margin-top: 10px; color: var(--faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-links a, .foot-legal a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.foot-legal span:last-child { max-width: 560px; text-align: right; }

/* Try it yourself */
.try { margin-top: 72px; position: relative; }
.try::before { content: ""; position: absolute; left: 10%; right: 10%; top: 25%; bottom: -8%; background: radial-gradient(closest-side, rgba(20,131,76,.22), transparent); filter: blur(40px); z-index: -1; }
.try-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 22px; text-align: center; }
.try-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.try-head p { color: var(--muted); font-size: 15px; }
.shot { max-width: 980px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-3), 0 0 0 6px rgba(255,255,255,.6); text-align: left; }
.shot-bar { position: relative; display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 12px 0 14px; background: #f4f5f3; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfdc; }
.url { flex: 1; max-width: 360px; margin: 0 auto; height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font: 12px/24px var(--mono); color: var(--faint); text-align: center; }
.ext-toggle { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-1); cursor: pointer; user-select: none; font-size: 13px; font-weight: 500; }
.ext-toggle img { border-radius: 5px; }
.bar-toggle { padding-left: 10px; color: var(--ink-2); transition: opacity .3s; }
.shot:not(.tt-on) .bar-toggle { opacity: .45; }
.ext-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #cfd4d1; transition: background .25s var(--ease); }
.switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.ext-toggle input:checked + .switch { background: var(--green); }
.ext-toggle input:checked + .switch i { transform: translateX(16px); }
.ext-toggle input:focus-visible + .switch { outline: 2px solid var(--green); outline-offset: 2px; }
.ext-toggle { position: relative; }
.try-me { position: absolute; right: -4px; top: 44px; z-index: 3; font: 600 12px/1 var(--sans); color: #2a2200; background: var(--gold); padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow-2); animation: bob 2.4s var(--ease) infinite; transition: opacity .3s; }
.try-me::before { content: ""; position: absolute; top: -5px; right: 14px; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }
.shot.touched .try-me { opacity: 0; pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-4px); } }

.shot-body { display: grid; grid-template-columns: 180px 1fr; }
.mail-side { padding: 16px 12px; border-right: 1px solid var(--line); background: #fafbf9; }
.compose-btn { display: inline-block; padding: 10px 18px; border-radius: 12px; background: #e3f0ff; color: #0b3c7a; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.nav-item { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; }
.nav-item.on { background: #e3f0ff; color: #0b3c7a; font-weight: 600; }
.thread { padding: 20px 26px 22px; min-width: 0; }
.thread-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.thread-head .subj { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.chip-count { font: 500 11px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: #f1f2f0; color: var(--muted); }
.msg { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.msg b { display: block; font-weight: 600; }
.msg span { color: var(--muted); }
.msg time { color: var(--faint); font-size: 12px; }
.av, .msg .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 13px; background: #7b5ea7; }
.reply { position: relative; margin-top: 16px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px 16px; box-shadow: var(--shadow-1); }
.reply-to { font-size: 12px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.tt-bar-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.tt-on .tt-bar-wrap { grid-template-rows: 1fr; }
.tt-on.no-bar .tt-bar-wrap { grid-template-rows: 0fr; }
.tt-on.no-bar .tt-bar { opacity: 0; transform: translateY(-6px); }
.tt-clip { overflow: hidden; min-height: 0; }
.tt-bar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #1d4a32; background: var(--mint); border: 1px solid var(--mint-2); border-radius: 8px; padding: 0 10px; height: 34px; margin-top: 10px; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.tt-on .tt-bar { opacity: 1; transform: none; }
.tt-bar .ic { width: 14px; height: 14px; color: var(--green); }
.tt-undo { margin-left: auto; font: inherit; color: #0b57d0; text-decoration: underline; background: none; border: 0; padding: 4px; cursor: pointer; }
.reply-body { font-size: 14px; line-height: 1.6; margin: 12px 0; padding: 4px 6px; margin-left: -6px; border-radius: 6px; outline: none; color: var(--ink); }
.reply-body:focus { background: #fafbf9; box-shadow: inset 0 0 0 1px var(--line-2); }
.history { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.tt-on .history { grid-template-rows: 0fr; }
.history-in { overflow: hidden; min-height: 0; max-height: 210px; overflow-y: auto; opacity: 1; filter: none; transition: opacity .4s var(--ease), filter .4s var(--ease); font-size: 12.5px; color: var(--muted); scrollbar-width: thin; }
.tt-on .history-in { opacity: 0; filter: blur(3px); }
.qhead { padding-top: 4px; }
.qcard { border-left: 2px solid #d5d9d6; padding: 2px 0 2px 10px; margin: 6px 0 0 2px; }
.qcard b { display: block; font-weight: 500; margin-top: 4px; }
.qcard p { color: var(--muted); }
.qmore { font: 12px var(--mono); color: var(--faint); margin: 10px 0 2px; }
.send-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.send { font: 600 13px/1 var(--sans); background: #0b57d0; color: #fff; border: 0; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: filter .2s; }
.send:hover { filter: brightness(1.1); }
.meter { width: 120px; height: 6px; border-radius: 999px; background: #eceeec; overflow: hidden; flex: none; }
.meter-fill { display: block; height: 100%; width: 100%; border-radius: inherit; background: #e0705a; transition: width .6s var(--ease), background .4s; }
.tt-on .meter-fill { width: 8%; background: var(--green); }
.receives { font-size: 12.5px; color: var(--muted); }
.receives b { color: #b4452f; font-weight: 600; }
.tt-on .receives b { color: var(--green); }
.toast { position: absolute; left: 50%; bottom: 64px; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; white-space: nowrap; font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 10px; color: #fff; background: var(--night); box-shadow: var(--shadow-3); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.good::before { content: "✓  "; color: #6fdc9b; }
.toast.bad::before { content: "!  "; color: var(--gold); }

/* Works-with logos */
.works { margin-top: 52px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; }
.works-label { color: var(--faint); font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.logos li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.logos li:hover, .works:hover .logos li { filter: none; opacity: 1; }
.logos li img { display: block; object-fit: contain; }
.logos .wordmark img { height: 18px; width: auto; }
.works .sep { width: 1px; height: 18px; background: var(--line-2); }

/* Bento tile animations (run once the tile is on screen) */
.mini { font-size: 13px; position: relative; }
.tile .mini, .tile .mini * { animation-play-state: paused !important; }
.tile.in .mini, .tile.in .mini * { animation-play-state: running !important; }

/* Undo */
.undo-demo { min-height: 50px; }
.ud-bar { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 14px; height: 46px; border-radius: 12px; border: 1px solid; animation: udbar 6s var(--ease) infinite; }
.ud-a, .ud-b { position: absolute; left: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.ud-a .ic { width: 15px; height: 15px; color: var(--green); }
.ud-a { animation: udA 6s var(--ease) infinite; }
.ud-b { animation: udB 6s var(--ease) infinite; color: #6b4e00; }
.ud-btn { position: relative; margin-left: auto; width: 80px; height: 18px; text-align: right; }
.ud-btn span { position: absolute; right: 0; color: #0b57d0; text-decoration: underline; white-space: nowrap; }
.ud-u { animation: udA 6s var(--ease) infinite; }
.ud-t { animation: udB 6s var(--ease) infinite; }
.cursor { position: absolute; width: 18px; height: 18px; fill: var(--ink); stroke: #fff; stroke-width: 1.5; right: 34px; top: 30px; animation: cursor 6s var(--ease) infinite; }
@keyframes udbar { 0%, 44% { background: var(--mint); border-color: var(--mint-2); color: #1d4a32; } 50%, 94% { background: #fff8e1; border-color: #f3dc9a; } 100% { background: var(--mint); border-color: var(--mint-2); } }
@keyframes udA { 0%, 44% { opacity: 1; transform: none; } 50%, 94% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes udB { 0%, 44% { opacity: 0; transform: translateY(6px); } 50%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes cursor {
  0% { transform: translate(40px, 30px); opacity: 0; }
  20% { transform: translate(40px, 30px); opacity: 1; }
  38% { transform: translate(0, 0); }
  42% { transform: translate(0, 0) scale(.82); }
  46% { transform: translate(0, 0) scale(1); }
  70%, 82% { transform: translate(0, 0); opacity: 1; }
  88% { transform: translate(0, 0) scale(.82); }
  92% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(40px, 30px); opacity: 0; }
}

/* Your call: sliding segmented control */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 11px; background: #f1f2f0; border: 1px solid var(--line); align-self: flex-start; }
.seg span:not(.seg-thumb) { position: relative; z-index: 1; padding: 7px 12px; border-radius: 8px; font-weight: 500; white-space: nowrap; width: 128px; text-align: center; }
.seg-thumb { position: absolute; top: 4px; left: 4px; width: 128px; height: calc(100% - 8px); border-radius: 8px; background: #fff; box-shadow: var(--shadow-1); animation: thumb 5s var(--ease) infinite; }
.seg .s1 { animation: segOn 5s var(--ease) infinite; }
.seg .s2 { animation: segOff 5s var(--ease) infinite; }
@keyframes thumb { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(128px); } 100% { transform: none; } }
@keyframes segOn { 0%, 40% { color: var(--ink); } 50%, 90% { color: var(--muted); } 100% { color: var(--ink); } }
@keyframes segOff { 0%, 40% { color: var(--muted); } 50%, 90% { color: var(--ink); } 100% { color: var(--muted); } }

/* Private: data stops at the lock */
.lockline { display: flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--muted); }
.lockline .ln { position: relative; flex: 1; min-width: 14px; height: 1px; background: rgba(20,131,76,.45); }
.lockline .ln.dash { background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.packet { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(20,131,76,.18); animation: packet 2.6s var(--ease) infinite; }
@keyframes packet { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 80% { left: calc(100% - 7px); opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.lockline .node { position: relative; width: 30px; height: 30px; border-radius: 9px; background: var(--mint); color: var(--green); display: grid; place-items: center; flex: none; }
.lockline .node::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--green); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0%, 76% { opacity: 0; transform: scale(1); } 82% { opacity: .8; } 100% { opacity: 0; transform: scale(1.6); } }
.lockline .node .ic { width: 15px; height: 15px; }
.lockline .nope { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); text-decoration: line-through; white-space: nowrap; }
.lockline .nope .ic { width: 13px; height: 13px; color: #c5413a; animation: shake 2.6s var(--ease) infinite; }
@keyframes shake { 0%, 80% { transform: none; } 84% { transform: translateX(-2px); } 88% { transform: translateX(2px); } 92% { transform: translateX(-1px); } 96%, 100% { transform: none; } }

/* Forwards: the reply gets snipped, the forward doesn't */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-2); font: 12px var(--mono); color: var(--muted); background: #fafbf9; overflow: hidden; }
.chip.re { width: 148px; animation: chipRe 4s var(--ease) infinite; }
.re-txt, .re-done { position: absolute; left: 11px; white-space: nowrap; }
.re-txt { animation: udA 4s var(--ease) infinite; }
.re-done { color: #1d4a32; animation: udB 4s var(--ease) infinite; }
.snip { position: absolute; top: 9px; left: -16px; width: 14px; height: 14px; color: var(--green); animation: snip 4s var(--ease) infinite; }
@keyframes snip { 0% { left: -16px; opacity: 0; } 10% { opacity: 1; } 42% { left: calc(100% + 2px); opacity: 1; } 46%, 100% { left: calc(100% + 2px); opacity: 0; } }
@keyframes chipRe { 0%, 40% { background: #fafbf9; border-color: var(--line-2); } 48%, 94% { background: var(--mint); border-color: var(--mint-2); } 100% { background: #fafbf9; } }
.chip.fwd { animation: fwdGlow 4s var(--ease) infinite; }
@keyframes fwdGlow { 0%, 55% { box-shadow: 0 0 0 0 rgba(20,131,76,0); } 70% { box-shadow: 0 0 0 4px rgba(20,131,76,.12); } 100% { box-shadow: 0 0 0 0 rgba(20,131,76,0); } }

/* Gmail and Outlook: one engine, two inboxes */
.orbit { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; max-width: 230px; }
.o-logo { position: relative; z-index: 1; width: 40px; height: 40px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1); object-fit: contain; animation: float 3.2s ease-in-out infinite; }
.o-logo.o2 { animation-delay: -1.6s; }
@keyframes float { 50% { transform: translateY(-5px); } }
.o-lines { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; }
.o-lines path { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .55; animation: flow 1.2s linear infinite; vector-effect: non-scaling-stroke; }
.o-lines path + path { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.o-center { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(234,246,239,.6); animation: pulse 2.4s ease-in-out infinite; }
.o-center img { width: 26px; height: 26px; border-radius: 6px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(234,246,239,.2); } }

/* No setup: installing -> installed -> ready */
.setup { position: relative; align-self: flex-start; width: 190px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: #fafbf9; font: 12px var(--mono); color: var(--ink-2); overflow: hidden; }
.st { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; opacity: 0; }
.st1 { animation: st1 6s var(--ease) infinite; }
.st2 { animation: st2 6s var(--ease) infinite; }
.st3 { animation: st3 6s var(--ease) infinite; color: var(--green); }
@keyframes st1 { 0%, 26% { opacity: 1; transform: none; } 32%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes st2 { 0%, 28% { opacity: 0; transform: translateY(10px); } 34%, 58% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes st3 { 0%, 60% { opacity: 0; transform: translateY(10px); } 66%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--mint-2); border-top-color: var(--green); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--mint); }

/* Languages: a highlight walks through them */
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); background: #fafbf9; animation: lang 7s var(--ease) infinite; }
.langs span:nth-child(2) { animation-delay: 1s; }
.langs span:nth-child(3) { animation-delay: 2s; }
.langs span:nth-child(4) { animation-delay: 3s; }
.langs span:nth-child(5) { animation-delay: 4s; }
.langs span:nth-child(6) { animation-delay: 5s; }
.langs span:nth-child(7) { animation-delay: 6s; }
@keyframes lang { 0%, 14.3% { background: var(--mint); border-color: rgba(20,131,76,.35); color: var(--green-2); } 18%, 100% { background: #fafbf9; border-color: var(--line-2); color: var(--ink-2); } }

/* Hero: copy left, live demo right */
.hero { padding: 132px 0 40px; }
.hero-grid { max-width: 1090px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.hero-grid .hero-copy { text-align: left; max-width: 540px; padding-top: 34px; }
.hero-grid h1 { margin: 22px 0 0; max-width: 12.5ch; font-size: clamp(36px, 4.2vw, 54px); }
.hero-grid .lead { margin: 20px 0 0; font-size: 17.5px; }
.hero-grid .cta, .hero-grid .micro { justify-content: flex-start; }
.hero-grid .try { margin-top: 0; }
.hero-grid .try-head { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.hero-grid .try-head p { font-size: 14px; }
.hero-grid .shot-body { grid-template-columns: 1fr; }
.hero-grid .mail-side { display: none; }
.hero-grid .thread { padding: 18px 20px 20px; }
.hero-grid .url { max-width: 200px; }

/* Keep the floating nav below the WordPress admin bar when logged in */
body.admin-bar .nav { top: 44px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 54px; } }

/* Sticky install bar (phones) */
.sticky-cta { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; max-width: 760px; }
  .hero-grid .hero-copy { text-align: center; margin: 0 auto; padding-top: 0; }
  .hero-grid h1 { margin: 22px auto 0; max-width: 15ch; }
  .hero-grid .lead { margin: 20px auto 0; }
  .hero-grid .cta, .hero-grid .micro { justify-content: center; }
  .hero-grid .try-head { justify-content: center; text-align: center; }
}
@media (max-width: 960px) {
  section { padding: 96px 0; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .shot-body { grid-template-columns: 1fr; }
  .mail-side { display: none; }
  .answer-in, .faq-in { grid-template-columns: 1fr; gap: 36px; }
  .faq .sec-head { position: static; }
  .bento, .plans, .cards { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  section { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .nav { top: 8px; padding: 0 8px; }
  .nav .nav-in { background: rgba(251, 251, 249, .85); backdrop-filter: blur(14px); border-color: var(--line); padding: 0 6px 0 14px; }
  .hide-sm { display: none; }
  .hero { padding: 118px 0 24px; }
  .lead { font-size: 16.5px; }
  .cta .btn { width: 100%; }
  .try { margin-top: 44px; padding: 0 10px; }
  .url, .ext-name, .meter { display: none; }
  .bar-toggle .ext-name { display: inline; font-size: 12px; }
  .shot-bar { gap: 8px; }
  .shot-bar { justify-content: space-between; }
  .send-row { flex-wrap: wrap; gap: 10px; }
  .toast { white-space: normal; width: calc(100% - 32px); text-align: center; }
  .thread { padding: 16px; }
  .thread-head .subj { font-size: 15px; }
  .works .sep { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 22px; }
  .stat dd { margin: 0; }
  .stat dt { min-width: 90px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bento, .plans, .cards, .vs { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .tile { min-height: 0; }
  .final-in { padding: 64px 20px; border-radius: 22px; }
  .foot-legal span:last-child { text-align: left; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,251,249,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.on { transform: none; }
  .foot { padding-bottom: 96px; }
}
