/* sawdustsoftware.com. Colors and fonts come from brand/theme.css (Evergreen). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: var(--dls); margin: 0; line-height: 1.12; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 750; }
p { margin: 0 0 14px; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } body { font-size: 16px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: var(--r-btn); font: 700 16px/1.2 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: 9px 14px; font-size: 15px; }
.btn.lg { padding: 16px 24px; font-size: 17px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { background: #f3f5f1; color: var(--bar); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.btn.primary:hover { background: #fff; }
.btn.ghost { border-color: rgba(243,245,241,.35); color: #f3f5f1; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.solid { background: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-ink); }
.btn.line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn.line:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #7ec4a0; outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bar); color: #f3f5f1; padding: 22px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1000px 480px at 85% -10%, rgba(126,196,160,.25), transparent 60%), radial-gradient(800px 420px at -10% 100%, rgba(126,196,160,.14), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.nav { display: flex; align-items: center; gap: 20px; }
.wordmark { display: flex; align-items: center; gap: 10px; font: var(--dw) 22px var(--f-display); letter-spacing: var(--dls); text-decoration: none; color: #f3f5f1; }
.wordmark img { display: block; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.wordmark.dark { color: var(--ink); font-size: 18px; }
.wordmark.dark img { box-shadow: none; }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav .links a, .nav .signin { font-size: 15px; font-weight: 650; color: #cfe0d6; text-decoration: none; }
.nav .links a:hover, .nav .signin:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; margin-left: 18px; }
@media (max-width: 900px) { .nav .links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 420px) { .nav-cta .signin { display: none; } }
.hero-body { padding: 72px 0 52px; max-width: 900px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a9cbb8; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #7ec4a0; box-shadow: 0 0 0 4px rgba(126,196,160,.2); flex: none; }
.hero h1 { font-size: clamp(38px, 6.6vw, 72px); line-height: 1.02; margin: 18px 0 22px; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: #9fd7b8; }
.hero p.sub { font-size: clamp(17px, 2.2vw, 21px); color: #d6e3db; max-width: 700px; margin: 0 0 32px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: #b9d0c3; font-size: 15px; font-weight: 650; }
.proof span::before { content: "✓"; color: #7ec4a0; margin-right: 8px; }
@media (max-width: 560px) { .hero-body { padding: 48px 0 40px; } .btns .btn { width: 100%; } }

.hero-shot { position: relative; margin: 0 auto -1px; max-width: 1060px; }
.frame { margin: 0; background: #fff; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #eef1ec; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd2; }
.frame-bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.frame img { display: block; width: 100%; height: auto; }
.hero-shot .frame.phone { position: absolute; right: -28px; bottom: 28px; width: 23%; max-width: 250px; border-radius: 18px; border: 6px solid #0f2a20; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hero-shot .frame.phone img { aspect-ratio: 486 / 900; object-fit: cover; object-position: top; }
@media (max-width: 1140px) { .hero-shot .frame.phone { right: 8px; } }
@media (max-width: 700px) { .hero-shot .frame.phone { display: none; } }

/* ---------- strip ---------- */
.strip { padding: 34px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.strip p { margin: 0; text-align: center; font-size: clamp(17px, 2vw, 20px); font-weight: 650; color: var(--ink); }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: 10px 0 14px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.kicker.light { color: #9fd7b8; }
.lead { font-size: 19px; color: var(--muted); margin: 0; }

/* ---------- pains ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pain b { font: 750 19px/1.25 var(--f-display); margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: 16px; flex: 1; }
.pain .fix { display: block; font-size: 15px; font-weight: 700; color: var(--accent-ink); padding-top: 14px; border-top: 1px dashed var(--line); }
.pain .fix::before { content: "→ "; }

/* ---------- features ---------- */
.features { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.show { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.show:last-child { margin-bottom: 0; }
.show.flip { grid-template-columns: 1fr 1.3fr; }
.show.flip .frame { order: 2; }
.show .frame { border-radius: 14px; box-shadow: 0 20px 50px rgba(20,35,28,.14), 0 0 0 1px var(--line); }
.show .frame img.tall { max-height: 420px; object-fit: cover; object-position: top; }
.step { font: 800 14px var(--f-num); color: var(--accent); background: var(--accent-soft); display: inline-block; border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; letter-spacing: .06em; }
.show h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.show p { color: var(--muted); font-size: 18px; }
@media (max-width: 860px) { .show, .show.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; } .show.flip .frame { order: 0; } }
ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231e5a43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- autopilot ---------- */
.auto { background: var(--bar); color: #f3f5f1; position: relative; overflow: hidden; }
.auto::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 400px at 100% 0%, rgba(126,196,160,.18), transparent 60%); }
.auto .wrap { position: relative; }
.auto .lead { color: #c4d6cb; }
.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .auto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .auto-grid { grid-template-columns: 1fr; } }
.auto .tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 24px; }
.auto .tile b { display: block; font: 750 19px var(--f-display); margin: 12px 0 6px; }
.auto .tile p { color: #c4d6cb; font-size: 16px; margin: 0; }
.ico { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(126,196,160,.18); color: #9fd7b8; font-size: 20px; }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } }
.story-badge { background: linear-gradient(160deg, var(--accent), var(--bar)); color: #f3f5f1; border-radius: 22px; padding: 36px 32px; box-shadow: 0 24px 60px rgba(20,35,28,.25); }
.story-badge .big { font: 800 64px/1 var(--f-display); letter-spacing: -.03em; }
.story-badge .small { font-size: 16px; color: #cfe0d6; margin-top: 6px; font-weight: 600; }
.story-badge .rule { height: 1px; background: rgba(255,255,255,.2); margin: 26px 0; }
.story h2 { margin: 10px 0 22px; }
.story p { font-size: 18px; color: #2c3d34; }
.sig { font: 750 20px var(--f-display); color: var(--ink) !important; margin-top: 24px !important; }
.sig span { display: block; font: 600 15px var(--f-body); color: var(--muted); }

/* ---------- try ---------- */
.try { background: var(--sunk); }
.try-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .try-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .try-grid { grid-template-columns: 1fr; } }
.try-tile { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.try-tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.try-tile b { font: 750 18px var(--f-display); }
.try-tile span { color: var(--muted); font-size: 15px; flex: 1; }
.try-tile em { font-style: normal; font-weight: 750; color: var(--accent); font-size: 15px; margin-top: 8px; }

/* ---------- pricing ---------- */
.founding { max-width: 620px; margin: -24px auto 32px; text-align: center; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(30,90,67,.18); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.plan .price { font: 800 50px/1 var(--f-num); letter-spacing: -.03em; margin: 14px 0 8px; }
.plan .price span { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); margin-bottom: 18px; }
.plan ul { flex: 1; margin-bottom: 24px; font-size: 16px; }
.terms-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 34px; color: var(--muted); font-size: 16px; }
.terms-row b { color: var(--ink); }

/* ---------- setup ---------- */
.setup { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
ol.steps { list-style: none; counter-reset: s; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { ol.steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { ol.steps { grid-template-columns: 1fr; } }
ol.steps li { counter-increment: s; position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
ol.steps li::before { content: counter(s); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 12px; }
ol.steps b { display: block; font: 750 18px var(--f-display); margin-bottom: 4px; }
ol.steps span { color: var(--muted); font-size: 16px; }
.setup a, .final a, .faq a { color: var(--accent-ink); font-weight: 700; }

/* ---------- faq ---------- */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font: 700 18px var(--f-display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- final ---------- */
.final { background: var(--bar); color: #f3f5f1; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 50% 120%, rgba(126,196,160,.28), transparent 65%); }
.final .wrap { position: relative; }
.final h2 { max-width: 760px; margin: 0 auto 14px; }
.final p { color: #c4d6cb; font-size: 19px; margin-bottom: 28px; }
.final .fine { font-size: 15px; margin: 22px 0 0; }
.final .fine a { color: #fff; }

/* ---------- footer ---------- */
.foot { padding: 40px 0 48px; font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ink); }
.foot-row .muted { margin-left: auto; }
@media (max-width: 760px) { .foot-row .muted { margin-left: 0; width: 100%; } }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .try-tile { transition: none; } }
