/* Warmback marketing site. Same "Aurora" look as the app: light, cool, blue-to-violet. */
:root {
  --bg: #f6f8fd;
  --surface: #ffffff;
  --surface-2: #f0f3fa;
  --text: #0f172a;
  --muted: #5b6478;
  --border: #e2e7f1;
  --accent: #2f5bea;
  --accent-strong: #1d3fc4;
  --accent-soft: #e9efff;
  --violet: #6d4aff;
  --ok: #0f7b4a;
  --warn: #b45309;
  --warn-soft: #fdf3e3;
  --bubble-in: #eef1f7;
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #6d4aff 55%, #c026d3 100%);
  --button-gradient: linear-gradient(135deg, #2f5bea 0%, #6d4aff 100%);
  --button-gradient-hover: linear-gradient(135deg, #1d3fc4 0%, #5b34f0 100%);
  --demo-bg: linear-gradient(120deg, #0a1a5c 0%, #1e3fd8 45%, #6d4aff 80%, #a21caf 100%);
  --glow: radial-gradient(900px 520px at 100% -10%, rgb(109 74 255 / 0.13), transparent 60%),
    radial-gradient(800px 480px at -10% 0%, rgb(37 99 235 / 0.12), transparent 60%);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 10px 30px rgb(47 91 234 / 0.08);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.05), 0 24px 60px rgb(47 91 234 / 0.16);
  --radius: 18px;
  --header-bg: rgb(246 248 253 / 0.8);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1f;
    --surface: #111a2e;
    --surface-2: #0e1628;
    --text: #eef2fb;
    --muted: #9aa6c0;
    --border: #243049;
    --accent: #8aa6ff;
    --accent-strong: #b3c4ff;
    --accent-soft: #1a2647;
    --ok: #4ade80;
    --warn: #fbbf24;
    --warn-soft: #2e2410;
    --bubble-in: #1b2540;
    --glow: radial-gradient(900px 520px at 100% -10%, rgb(109 74 255 / 0.22), transparent 60%),
      radial-gradient(800px 480px at -10% 0%, rgb(37 99 235 / 0.18), transparent 60%);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 60px rgb(0 0 0 / 0.45);
    --header-bg: rgb(10 15 31 / 0.8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--glow), var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-e { text-align: center; display: block; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 46rem; }
.center.sub { margin: 14px auto 0; }
.small { font-size: 0.88rem; }
.muted { color: var(--muted); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }

.grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); margin-right: 6px; vertical-align: 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--button-gradient); color: #fff; box-shadow: 0 6px 18px rgb(47 91 234 / 0.3); }
.btn-primary:hover { background: var(--button-gradient-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-small { padding: 8px 16px; font-size: 0.92rem; }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; padding-top: env(safe-area-inset-top, 0px); }
.site-header.scrolled { border-bottom-color: var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-gradient); position: relative; flex: none; box-shadow: 0 4px 12px rgb(109 74 255 / 0.3); }
/* The logo ("Soft W"): a W with round bottoms under a warm dot, drawn with two masks so each look can colour it
   (--mark-ink for the W, --mark-dot for the dot). The tile behind it is the look's brand colour. */
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; inset: 0; -webkit-mask: var(--mark-shape) center / 78% no-repeat; mask: var(--mark-shape) center / 78% no-repeat; }
.brand-mark::after { --mark-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M14 34C20 62 25 74 32 74C40 74 43 46 50 46C57 46 60 74 68 74C75 74 80 62 86 34' fill='none' stroke='%23000' stroke-width='11' stroke-linecap='round'/%3E%3C/svg%3E"); background: var(--mark-ink, #fff); }
.brand-mark::before { --mark-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='22' r='9' fill='%23000'/%3E%3C/svg%3E"); background: var(--mark-dot, #fde68a); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--accent); }
.menu-button { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: 0 auto; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

@media (max-width: 920px) {
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 14px; }
}

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.lead { font-size: 1.18rem; color: var(--muted); margin-top: 20px; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.93rem; }
.hero-points li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 7px; }

.hero-visual { position: relative; min-width: 0; padding: 20px 0 20px 30px; }
.phone { background: var(--surface); border: 1px solid var(--border); border-radius: 30px; box-shadow: var(--shadow-lg); padding: 18px; max-width: 400px; margin-left: auto; }
.phone-top { display: flex; flex-direction: column; align-items: center; padding: 4px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.phone-name { font-weight: 700; }
.phone-sub { font-size: 0.8rem; color: var(--muted); }
.bubbles { display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; line-height: 1.45; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 18px; opacity: 0; transform: translateY(8px); animation: pop .45s ease forwards; }
.bubble b { display: block; font-size: 0.7rem; font-weight: 600; opacity: .75; margin-bottom: 2px; }
.bubble.in { background: var(--bubble-in); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.out { background: var(--button-gradient); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble .tag { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .85; margin-bottom: 2px; }
.bubble:nth-child(1) { animation-delay: .2s; } .bubble:nth-child(2) { animation-delay: .8s; } .bubble:nth-child(3) { animation-delay: 1.4s; }
.bubble:nth-child(4) { animation-delay: 2s; } .bubble:nth-child(5) { animation-delay: 2.6s; } .bubble:nth-child(6) { animation-delay: 3.2s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bubble, .float-card { animation: none !important; opacity: 1 !important; transform: none !important; } }

.float-card { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; font-size: 0.85rem; opacity: 0; animation: pop .5s ease forwards; }
.float-card.needs { left: 0; bottom: -6px; max-width: 250px; animation-delay: 3.8s; }
.float-card.first { left: 6px; top: 14px; text-align: center; animation-delay: .9s; }
.fc-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--warn); margin-bottom: 4px; }
.fc-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; }
.fc-meta { display: block; margin-top: 6px; color: var(--ok); font-weight: 600; font-size: 0.78rem; }
.fc-num { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-num span { font-size: 1.1rem; }
.float-card.first p { color: var(--muted); font-size: 0.78rem; max-width: 110px; }

@media (max-width: 920px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { padding-left: 0; }
  .phone { margin: 0 auto; }
}
@media (max-width: 560px) {
  .float-card.first { display: none; }
  .float-card.needs { position: relative; left: auto; bottom: auto; margin: -24px 12px 0; max-width: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--surface-2); }
.band { padding: 80px 0; background: var(--surface); border-block: 1px solid var(--border); }
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.problem { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.problem h3 { margin: 14px 0 8px; }
.problem p { color: var(--muted); }
.p-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 800; }

.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps h3 { margin: 16px 0 8px; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.s-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-gradient); color: #fff; font-weight: 800; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 52px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }
.f-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.safety-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.safety-grid h2 { margin-bottom: 16px; }
.safety-grid .btn { margin-top: 26px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rules li { padding: 18px 20px 18px 54px; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; color: var(--muted); }
.rules li b { color: var(--text); display: block; margin-bottom: 2px; }
.rules li::before { content: ''; position: absolute; left: 18px; top: 21px; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z'/%3E%3C/svg%3E") center/contain no-repeat; }

.industries { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.also { margin-top: 18px; }
.industries li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; font-size: 0.95rem; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 48px auto 24px; }
.plan { position: relative; padding: 34px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-gradient) border-box; box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; right: 24px; background: var(--brand-gradient); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan-for { color: var(--muted); margin-top: 4px; }
.plan-price { font-size: 1.05rem; font-weight: 700; margin: 18px 0 6px; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: 0.96rem; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* Demo */
.demo { background: var(--demo-bg); color: #fff; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.demo-copy p { color: rgb(255 255 255 / 0.85); font-size: 1.12rem; margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li::before { content: '✓'; font-weight: 800; margin-right: 10px; color: #a7f3d0; }
.demo-form { background: var(--surface); color: var(--text); border-radius: 22px; padding: 30px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.3); display: grid; gap: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; min-width: 0; }
.field i { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border); background: var(--bg); color: var(--text); width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid='true'] { border-color: #c0262d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #c0262d; font-size: 0.92rem; font-weight: 500; }
.demo-form .small a { text-decoration: underline; }

@media (max-width: 920px) {
  .problems, .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .safety-grid, .demo-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .section { padding: 68px 0; }
  .band { padding: 60px 0; }
  .problems, .features, .steps, .plans, .field-row { grid-template-columns: 1fr; }
  .demo-form { padding: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Footer */
.site-footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: var(--surface); }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-row .small { margin-top: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-size: 0.93rem; }
.footer-nav a:hover { color: var(--accent); }
.copy { margin-top: 28px; }

/* Thank-you and error pages */
.page-simple { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.page-simple .card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 44px 36px; max-width: 560px; margin: 0 auto; }
.page-simple h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 18px 0 12px; }
.page-simple p { color: var(--muted); }
.page-simple .btn { margin-top: 26px; }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-gradient); display: grid; place-items: center; margin: 0 auto; color: #fff; font-size: 2rem; font-weight: 800; }
.spaced { margin-top: 16px; }

/* Prices */
.founding { text-align: center; margin: 22px auto 0; max-width: 40rem; padding: 10px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.95rem; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 2px; }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price .per { color: var(--muted); font-weight: 500; }
.plan-alt { color: var(--muted); font-size: 0.9rem; }
.plan-setup { margin-top: 10px; font-size: 0.92rem; font-weight: 600; }
.plan ul { align-content: start; }
