/* =========================================================
   Hey Wilma — marketing page styles
   ========================================================= */

:root {
  --ink: #0B1540;
  --ink-2: #1a2454;
  --ink-soft: #4a536e;
  --paper: #ffffff;
  --paper-warm: #faf8f4;
  --paper-tinted: #f3f5fb;
  --line: #e6e8f0;
  --line-strong: #d3d8e6;
  --accent: #007AFF;          /* iMessage blue */
  --accent-2: #0A84FF;
  --accent-soft: #e7f1ff;
  --green: #34C759;           /* iMessage green */
  --gray-bubble: #e9e9eb;
  --text: #11163a;
  --text-soft: #5a6278;
  --text-muted: #8a92a8;
  --shadow-sm: 0 1px 2px rgba(11, 21, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 21, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 21, 64, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }

p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #060e2e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--paper-tinted);
  border-color: var(--ink-soft);
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(11, 21, 64, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-name { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-by { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-left: 2px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 9px 18px; font-size: 0.95rem; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 72px 0 24px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 122, 255, 0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(11, 21, 64, 0.05), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 24px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-tinted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
}

.lede {
  font-size: 1.18rem;
  color: var(--text-soft);
  margin-top: 22px;
  max-width: 36em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 500;
}
.hero-bullets svg {
  width: 20px; height: 20px; flex: none;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  padding: 2px;
}

/* ----- Phone mockup ----- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.18), transparent 70%);
  z-index: 0;
  filter: blur(20px);
}
.phone {
  position: relative;
  width: 360px;
  max-width: 100%;
  height: 720px;
  background: #fff;
  border-radius: 48px;
  border: 11px solid #0a0d1a;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #0a0d1a;
  border-radius: 16px;
  z-index: 3;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.phone-status-icons { display: inline-flex; gap: 5px; align-items: center; color: var(--ink); }

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px;
  border-bottom: 1px solid #ececef;
  background: rgba(247, 247, 250, 0.85);
  backdrop-filter: blur(10px);
}
.phone-back { color: var(--accent); font-size: 1.4rem; line-height: 1; padding: 0 4px; cursor: default; }
.phone-info { color: var(--accent); font-weight: 600; }
.phone-title { display: flex; align-items: center; gap: 10px; }
.phone-title-text { display: flex; flex-direction: column; line-height: 1.1; }
.phone-title-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.phone-title-status { font-size: 0.7rem; color: var(--text-muted); }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B1540, #2438a0);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.chat {
  flex: 1;
  overflow: hidden;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  position: relative;
}

.bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.35;
  word-wrap: break-word;
  animation: bubble-in 0.32s cubic-bezier(.2,.8,.2,1) both;
  position: relative;
}
.bubble.them {
  align-self: flex-start;
  background: var(--gray-bubble);
  color: #1a1a1a;
  border-bottom-left-radius: 6px;
}
.bubble.me {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble.attachment {
  background: #f4f6fa;
  border: 1px solid #e6e8f0;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bubble.attachment::before {
  content: '📎';
  font-size: 1rem;
}
.bubble.system {
  align-self: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 0 2px;
  font-weight: 600;
}
.bubble.typing {
  align-self: flex-start;
  background: var(--gray-bubble);
  padding: 12px 14px;
  border-bottom-left-radius: 6px;
  display: inline-flex;
  gap: 4px;
}
.typing-dot {
  width: 7px; height: 7px;
  background: #8a8f99;
  border-radius: 50%;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
.bubble.cta {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  width: max-content;
  max-width: 78%;
}
.bubble.cta:hover {
  background: var(--accent-2);
  text-decoration: none;
}
.bubble.cta:active { transform: scale(0.98); }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.phone-input {
  padding: 10px 14px 14px;
  background: rgba(247, 247, 250, 0.85);
  border-top: 1px solid #ececef;
}
.input-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d8d8de;
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  color: #8a8f99;
  font-size: 0.9rem;
}
.input-plus {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #ececef;
  display: grid; place-items: center;
  color: #8a8f99;
  font-weight: 700;
}
.input-placeholder { flex: 1; }
.phone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 4px;
  background: #0a0d1a;
  border-radius: 2px;
}

/* ============ Hero marquee ============ */
.hero-marquee {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  padding: 14px 0;
  animation: marquee 38s linear infinite;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.marquee-track span { flex: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Shift section ============ */
.shift {
  padding: 80px 0;
  background: var(--paper);
  text-align: center;
}
.shift-line {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.shift-line .strike {
  display: inline-block;
  margin: 4px 8px;
  text-decoration: line-through;
  text-decoration-color: rgba(0, 122, 255, 0.5);
  text-decoration-thickness: 2px;
  color: var(--text-muted);
  font-weight: 500;
}
.shift-now {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: 1.2em;
}

/* ============ Section base ============ */
.section { padding: 96px 0; }
.section-tinted { background: var(--paper-tinted); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.78); }

@media (max-width: 700px) { .section { padding: 64px 0; } }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin-top: 16px; }
.section-sub {
  color: var(--text-soft);
  font-size: 1.08rem;
  margin-top: 16px;
}
.section-sub.light { color: rgba(255, 255, 255, 0.8); }

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); }

/* ============ Ask grid ============ */
.ask-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1080px) { .ask-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ask-grid { grid-template-columns: 1fr; } }

.ask-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ask-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.ask-icon { font-size: 1.4rem; line-height: 1; }
.ask-prompt {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
}
.ask-prompt em { font-style: normal; color: var(--text-muted); font-weight: 500; }
.ask-result { color: var(--text-soft); font-size: 0.9rem; }

/* ============ Compare ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 880px) { .compare { grid-template-columns: 1fr; } }

.compare-col {
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.compare-them {
  background: var(--paper-tinted);
  border: 1px solid var(--line);
}
.compare-them h3 { color: var(--text-soft); }
.compare-them ul li { color: var(--text-soft); }
.compare-them .x { color: #c75050; font-weight: 700; }

.compare-us {
  background: linear-gradient(160deg, var(--ink) 0%, #1a2a7e 100%);
  color: #fff;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-md);
}
.compare-us h3 { color: #fff; }
.compare-us ul li { color: rgba(255, 255, 255, 0.92); }
.compare-us .check {
  color: #fff;
  background: var(--green);
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  margin-right: 10px;
}
.compare-them .x {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(199, 80, 80, 0.12);
  margin-right: 10px;
  font-size: 0.85rem;
}
.compare-badge {
  display: inline-block;
  background: var(--green);
  color: #03330f;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.compare ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.compare ul li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 1rem;
}

.quote {
  margin-top: 56px;
  text-align: center;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}
.quote cite {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============ White-label ============ */
.white-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .white-grid { grid-template-columns: 1fr; } }

.white-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.white-list li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  padding-left: 20px;
  position: relative;
}
.white-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.white-list strong { color: #fff; }
.mono {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.browser {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f3f4f7;
  border-bottom: 1px solid #e3e5ec;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }
.browser-url {
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid #e3e5ec;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-family: 'SF Mono', Menlo, monospace;
}
.browser-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}
.browser-side {
  background: #fafafc;
  border-right: 1px solid #ececf2;
  padding: 18px 14px;
  font-size: 0.9rem;
}
.browser-logo {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.browser-logo span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}
.side-item {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-soft);
  cursor: default;
  font-weight: 500;
}
.side-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.browser-main { padding: 22px; }
.browser-h {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tag {
  font-size: 0.7rem;
  background: #e6f7ec;
  color: #1a7f3c;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.browser-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f1f5;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}
.browser-row .muted { color: var(--text-muted); font-weight: 400; font-size: 0.88rem; }
.browser-foot {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
  font-style: italic;
}

@media (max-width: 560px) {
  .browser-body { grid-template-columns: 1fr; }
  .browser-side { display: none; }
}

/* ============ Security grid ============ */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: 1fr; } }

.sec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sec-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.sec-card h3 { margin-bottom: 6px; }
.sec-card p { color: var(--text-soft); font-size: 0.95rem; }

/* ============ Who-it's-for ============ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .who-grid { grid-template-columns: 1fr; } }
.who-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.who-card h3 { color: var(--accent); margin-bottom: 8px; }
.who-card p { color: var(--text-soft); }

/* ============ CTA section ============ */
.section-cta {
  background:
    radial-gradient(700px 380px at 90% 20%, rgba(0, 122, 255, 0.25), transparent 60%),
    radial-gradient(700px 380px at 0% 80%, rgba(52, 199, 89, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #050a25 100%);
  color: #fff;
}
.section-cta h2 { color: #fff; margin-top: 16px; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
}
.cta-list li {
  color: rgba(255, 255, 255, 0.88);
  padding-left: 26px;
  position: relative;
}
.cta-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.cta-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}
.cta-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.cta-form label em { font-style: normal; font-weight: 500; color: var(--text-muted); }
.cta-form input,
.cta-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}
.cta-fineprint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 4px 0 0;
}
.cta-calendar {
  text-align: center;
  align-content: center;
}
.cta-calendar-h {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
}
.cta-calendar-p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* =========================================================
   Micro apps
   ========================================================= */

/* ---- 1) Ask Wilma sandbox ---- */
.sandbox {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sandbox-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.sandbox-head h2 { margin-top: 4px; }
.sandbox-head .section-sub { max-width: 520px; }

.sandbox-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding: 4px 4px 8px;
  scroll-behavior: smooth;
}
.sandbox-thread[hidden] { display: none; }
.sandbox-thread .bubble {
  max-width: 78%;
}

.sandbox-composer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer-attach {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.composer-attach:hover {
  background: var(--paper-tinted);
  color: var(--ink);
}
.composer-pill {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px 6px 6px 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.composer-pill:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12), var(--shadow-md);
}
.composer-pill input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1rem;
  padding: 14px 14px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.composer-pill input::placeholder { color: var(--text-muted); }
.composer-send {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.composer-send:hover { background: var(--accent-2); }
.composer-send:active { transform: scale(0.94); }
.composer-send svg { transform: translateX(1px) translateY(-1px); }

.sandbox-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.sandbox-chip {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.sandbox-chip:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- 2) Time & money savings calculator ---- */
.calc {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.calc-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.calc-stat { text-align: center; }
.calc-stat-num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-stat-num.accent { color: var(--accent); }
.calc-stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.calc-stat-divider {
  width: 1px;
  height: 56px;
  background: var(--line-strong);
}
@media (max-width: 560px) {
  .calc { padding: 24px; }
  .calc-stats { grid-template-columns: 1fr; gap: 18px; padding-bottom: 22px; margin-bottom: 22px; }
  .calc-stat-divider { width: 56px; height: 1px; justify-self: center; }
}

.calc-inputs {
  display: grid;
  gap: 22px;
}
.calc-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.calc-label {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 600;
}
.calc-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--fill, 50%), var(--line-strong) var(--fill, 50%), var(--line-strong) 100%);
  outline: none;
}
.calc-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease;
}
.calc-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: pointer;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.calc-foot {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
}
.calc .btn-block { margin-top: 18px; }

/* ---- 3) Live white-label preview controls ---- */
.wl-controls {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.wl-controls-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wl-controls-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.wl-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wl-control > span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}
.wl-control input[type="text"] {
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wl-control input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}
.wl-control-color { flex-shrink: 0; }
.wl-control input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 4px;
}
.wl-control input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.wl-control input[type="color"]::-webkit-color-swatch { border: none; border-radius: 8px; }
.wl-control input[type="color"]::-moz-color-swatch { border: none; border-radius: 8px; }

/* Tint the live preview mock with the chosen brand color */
.white-mock { --wl-brand: var(--accent); --wl-brand-soft: var(--accent-soft); }
.white-mock .browser-logo span { color: var(--wl-brand); }
.white-mock .side-item.active {
  background: var(--wl-brand-soft);
  color: var(--wl-brand);
}

/* ---- 4) Minute book health-check quiz ---- */
.quiz {
  max-width: 640px;
  margin: 0 auto;
}
.quiz-progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 14px;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}
.quiz-step-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.quiz-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.quiz-card.flipping {
  opacity: 0;
  transform: translateY(6px);
}
.quiz-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.01em;
}
.quiz-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.quiz-btn {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  min-width: 110px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.quiz-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.quiz-btn:active { transform: scale(0.97); }
.quiz-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.quiz-btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

.quiz-result {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.quiz-score {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.9rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.quiz-result h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quiz-result p {
  color: var(--text-soft);
  max-width: 480px;
  line-height: 1.6;
}
.quiz-result .btn { margin-top: 8px; }

@media (max-width: 560px) {
  .quiz-card { padding: 30px 22px; }
  .quiz-question { font-size: 1.1rem; }
  .quiz-result { padding: 30px 22px; }
}

/* ============ Footer ============ */
.footer {
  background: #050a25;
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-name { font-weight: 800; color: #fff; font-size: 1.05rem; }
.footer-by { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 700px) {
  .footer-meta { align-items: flex-start; }
}
