/* KudoAsk: warm, plain, trustworthy. Coral accent on cream, deep navy ink, Figtree. */
:root {
  --ink: #1b1d3a;
  --ink-2: #33375c;
  --muted: #5f6480;
  --coral: #e5533d;
  --coral-600: #c9432e;
  --coral-50: #fff1ec;
  --coral-100: #ffe1d7;
  --cream: #fffaf5;
  --sand: #f7efe6;
  --card: #ffffff;
  --line: #ecdfd2;
  --line-2: #e3d5c6;
  --ok: #1a7f55;
  --ok-50: #e6f5ee;
  --warn: #a15c00;
  --bad: #b3261e;
  --bad-50: #fdecea;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27, 29, 58, .06);
  --shadow: 0 1px 2px rgba(27, 29, 58, .05), 0 12px 32px -14px rgba(27, 29, 58, .22);
  --shadow-lg: 0 2px 4px rgba(27, 29, 58, .04), 0 28px 60px -24px rgba(27, 29, 58, .32);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 Figtree, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--coral-600); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
img, svg, canvas { max-width: 100%; }
code { font: 14px ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--sand); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
nav { display: flex; align-items: center; gap: 6px; }
nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
nav a:hover { background: var(--sand); color: var(--ink); }
nav a[aria-current="page"] { color: var(--coral-600); background: var(--coral-50); }
nav a.btn { margin-left: 6px; }

/* Type */
main { padding: 0 0 72px; }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; margin: 12px 0 18px; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-600); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.eyebrow.pill-eyebrow { background: var(--coral-50); border: 1px solid var(--coral-100); padding: 6px 12px; border-radius: 99px; }
.section-head { max-width: 680px; margin: 0 0 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--coral); color: #fff; border: 1px solid var(--coral); border-radius: 12px; padding: 13px 22px; font: 700 16px/1.2 Figtree, system-ui, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px -8px rgba(229, 83, 61, .7); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--coral-600); border-color: var(--coral-600); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.small { padding: 9px 15px; font-size: 14.5px; border-radius: 10px; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--line-2); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.sand { background: var(--sand); }

/* Hero */
.hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(229, 83, 61, .14), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; }
.hero .lead { margin-bottom: 28px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--ok); flex: none; }

/* Hero visual: an invite email with a QR card behind it */
.visual { position: relative; min-height: 440px; padding-bottom: 40px; }
.mail { position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 440px; margin-left: auto; }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #faf6f1; border-bottom: 1px solid var(--line); }
.mail-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e7dccf; display: block; }
.mail-head { display: flex; gap: 12px; align-items: center; padding: 18px 22px 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; flex: none; }
.mail-from { font-weight: 700; line-height: 1.25; }
.mail-meta { font-size: 13.5px; color: var(--muted); }
.mail-subject { padding: 0 22px 6px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.mail-body { padding: 4px 22px 22px; color: var(--ink-2); font-size: 15.5px; }
.mail-body .btn { margin-top: 6px; }
.mail-foot { padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: #fdfbf8; }
.qr-card { position: absolute; z-index: 3; right: -26px; bottom: -22px; width: 164px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 14px 10px; text-align: center; transform: rotate(5deg); }
.qr-card b { display: block; font-size: 14px; }
.qr-card span { display: block; font-size: 12.5px; color: var(--coral-600); font-weight: 700; margin-bottom: 8px; }
.qr-card svg { width: 104px; height: 104px; display: block; margin: 0 auto 6px; }
.qr-card small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.toast { position: absolute; z-index: 3; left: -28px; top: -20px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 14px; font-weight: 600; }
.toast .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: grid; place-items: center; flex: none; }
.toast small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }

/* Steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 24px; right: 24px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--coral-100); }
.step p { color: var(--muted); margin: 0; }

/* Icons in tiles */
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--coral-50); color: var(--coral-600); margin-bottom: 16px; border: 1px solid var(--coral-100); }
.icon svg { width: 22px; height: 22px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: start; }
.feature .icon { margin: 2px 0 0; }
.feature p { color: var(--muted); margin: 0; }

/* Customer-view split */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.check-list svg { color: var(--ok); margin-top: 3px; }
.mail.static { margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); position: relative; }
.price-card.featured { border: 2px solid var(--coral); }
.price-tag { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price-tag b { font-size: 48px; letter-spacing: -.03em; line-height: 1; }
.price-tag span { color: var(--muted); font-weight: 600; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--coral); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.tool-links { display: grid; gap: 12px; margin-top: 8px; }
.tool-link { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.tool-link:hover { border-color: var(--coral); background: var(--coral-50); color: var(--ink); }
.tool-link .icon { margin: 0; width: 40px; height: 40px; }
.tool-link b { display: block; }
.tool-link small { color: var(--muted); font-size: 14px; }
.arrow { color: var(--coral-600); font-weight: 800; }

/* Final call to action */
.cta-band { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(229, 83, 61, .45), transparent 70%); }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #c9cbe0; margin: 0; font-size: 18px; }
.cta-band .btn { position: relative; z-index: 1; }

/* Inner pages */
.inner { padding-top: 52px; }
.inner > h1:first-child, .inner .prose > h1:first-child { margin-top: 0; }
.inner h2 { margin-top: 48px; font-size: clamp(24px, 2.6vw, 30px); }
.inner .grid + h2, .inner .card + h2 { margin-top: 56px; }
.page-head { padding: 56px 0 8px; }
.page-head .lead { margin-bottom: 8px; }
.prose { max-width: 740px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose h3 { margin-top: 22px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.stack > * + * { margin-top: 20px; }

/* Cards, forms and bits used across pages and the dashboard */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin: 16px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 32px; height: 32px; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
label { display: block; font-weight: 700; margin: 16px 0 6px; font-size: 15.5px; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
input[type=text], input[type=email], input[type=url], textarea, select { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; font: 16px Figtree, system-ui, sans-serif; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input[type=text]:hover, input[type=email]:hover, textarea:hover, select:hover { border-color: #d3c2b0; }
textarea { min-height: 120px; resize: vertical; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--coral); flex: none; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(229, 83, 61, .15); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(229, 83, 61, .45); outline-offset: 2px; }
details summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.out { background: var(--coral-50); border: 1px dashed var(--coral); border-radius: 10px; padding: 12px 14px; word-break: break-all; font: 14px ui-monospace, Consolas, monospace; }
.ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.note { background: var(--coral-50); border: 1px solid var(--coral-100); border-left: 4px solid var(--coral); padding: 14px 18px; border-radius: 12px; }
.fine { font-size: 13.5px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--line); }
td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--sand); color: var(--ink-2); }
.pill.sent { background: var(--ok-50); color: var(--ok); } .pill.clicked { background: #e8eeff; color: #2446a8; } .pill.skipped, .pill.failed { background: var(--bad-50); color: var(--bad); }
.meter { height: 10px; background: var(--sand); border-radius: 99px; overflow: hidden; } .meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), #f07a5f); border-radius: 99px; }
.faq { margin: 0; }
.faq dt { font-weight: 800; margin-top: 22px; font-size: 18px; } .faq dd { margin: 6px 0 0; color: var(--ink-2); }
.hide { display: none !important; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--card); padding: 48px 0 32px; font-size: 15px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .07em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--coral-600); }
.foot .brand { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .pricing { grid-template-columns: 1fr; gap: 40px; }
  .visual { min-height: 0; padding: 24px 0 70px; }
  .mail { margin: 0 auto; }
  .qr-card { right: 2%; bottom: 0; width: 150px; }
  .qr-card svg { width: 96px; height: 96px; }
  .toast { left: 2%; }
  .steps3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top .wrap { min-height: 60px; }
  nav a:not(.btn) { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 48px; }
  .features { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature .icon { margin-bottom: 14px; }
  .qr-card { display: none; }
  .toast { position: relative; left: auto; top: auto; margin: 0 0 14px; display: inline-flex; }
  .visual { padding: 8px 0 0; }
  .price-card { padding: 26px 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}
