/* SetMyCalls funnel. Colours and type from setmycalls-brand-kit/README.txt */
:root {
  --midnight: #1E1B4B;
  --indigo: #3730A3;
  --sky: #A5C8FF;
  --mist: #EEF2FF;
  --white: #FFFFFF;

  --bg: #16143A;          /* deep midnight base */
  --bg-2: #1E1B4B;        /* Midnight, alt sections */
  --card: #262262;
  --line: rgba(165, 200, 255, .14);
  --text: #FFFFFF;
  --muted: #B9C3E6;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { letter-spacing: -.05em; }
h3 { letter-spacing: -.02em; font-weight: 600; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(22,20,58,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav-links .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--sky); color: var(--midnight); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(165,200,255,.25); }
.btn-ghost { border: 1px solid rgba(165,200,255,.35); color: var(--text); }
.btn-ghost:hover { background: rgba(165,200,255,.08); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.ig { width: 18px; height: 18px; }

/* hero */
.hero { padding: 76px 0 72px; background: radial-gradient(900px 500px at 85% 20%, rgba(55,48,163,.55), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--sky); background: rgba(165,200,255,.08); border: 1px solid rgba(165,200,255,.25); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.02; font-weight: 800; margin-bottom: 22px; }
h1 em { font-style: normal; color: var(--sky); }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* phone */
.phone { background: #0F0E2A; border: 1px solid var(--line); border-radius: 32px; padding: 18px; max-width: 380px; margin: 0 auto; width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ff8a5c, #e04ed1); flex-shrink: 0; }
.phone-head b { font-size: 14px; display: block; font-weight: 600; }
.phone-head small { font-size: 12px; color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: 8px; }
.ts { text-align: center; font-size: 11px; color: var(--muted); margin: 6px 0; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(6px); animation: pop .35s forwards; }
.bubble.in { background: #2A2760; align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.out { background: var(--indigo); align-self: flex-end; border-bottom-right-radius: 5px; }
.booked { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; background: rgba(165,200,255,.12); color: var(--sky); border: 1px solid rgba(165,200,255,.3); padding: 6px 12px 6px 8px; border-radius: 999px; opacity: 0; animation: pop .35s forwards; }
.booked img { width: 18px; height: 18px; }
@keyframes pop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bubble, .booked { animation: none; opacity: 1; transform: none; } }

/* sections */
section { padding: 92px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--sky); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; margin-bottom: 16px; max-width: 780px; }
.sub { color: var(--muted); font-size: 17px; max-width: 660px; margin-bottom: 48px; }

/* leak: inbox + cards */
.leak { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .leak { grid-template-columns: 1fr; } }
.inbox { background: #0F0E2A; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0; }
.inbox-head { display: flex; justify-content: space-between; padding: 10px 18px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.inbox-head b { color: var(--text); font-weight: 600; }
.thread { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid rgba(165,200,255,.06); }
.thread:last-child { border-bottom: 0; }
.thread .av { width: 40px; height: 40px; border-radius: 50%; }
.thread b { font-size: 14px; font-weight: 600; display: block; }
.thread span { font-size: 13px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag.seen { background: rgba(255,255,255,.07); color: var(--muted); }
.tag.cold { background: rgba(255,122,122,.12); color: #ff9c9c; }
.tag.none { background: rgba(255,196,105,.12); color: #ffcf86; }
.av1 { background: linear-gradient(135deg,#f97316,#ec4899); }
.av2 { background: linear-gradient(135deg,#22c55e,#0ea5e9); }
.av3 { background: linear-gradient(135deg,#a855f7,#6366f1); }
.av4 { background: linear-gradient(135deg,#eab308,#f97316); }
.av5 { background: linear-gradient(135deg,#06b6d4,#3b82f6); }
.av6 { background: linear-gradient(135deg,#f43f5e,#a855f7); }
.leak-cards { display: grid; gap: 14px; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: s; content: "0" counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--indigo); color: var(--white); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step .who { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--sky); }
.effort { margin-top: 28px; display: flex; gap: 14px; align-items: center; background: rgba(165,200,255,.07); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; color: var(--muted); font-size: 15px; }
.effort b { color: var(--text); font-weight: 600; }
.effort img { width: 36px; height: 36px; flex-shrink: 0; }

/* compare table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
thead th { font-size: 14px; font-weight: 600; color: var(--muted); background: rgba(0,0,0,.15); }
thead th.us { color: var(--midnight); background: var(--sky); }
td.us { background: rgba(165,200,255,.08); color: var(--text); font-weight: 600; }
td:first-child { color: var(--text); font-weight: 500; }
td { color: var(--muted); }
.y { color: var(--sky); font-weight: 700; margin-right: 6px; }
.n { color: #ff9c9c; font-weight: 700; margin-right: 6px; }
.m { color: #ffcf86; font-weight: 700; margin-right: 6px; }

/* fit */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h3 { font-size: 20px; margin-bottom: 18px; }
.list { list-style: none; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; }
.list li::before { content: "✓"; color: var(--sky); font-weight: 800; flex-shrink: 0; }
.list.no li::before { content: "✕"; color: #ff9c9c; }

/* founding offer */
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--indigo), #2a2486); border-radius: 26px; padding: 48px; border: 1px solid rgba(165,200,255,.25); }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; padding: 32px; } }
.offer h2 { margin-bottom: 14px; }
.offer p { color: #dbe4ff; font-size: 16.5px; }
.spots { display: flex; gap: 10px; margin: 22px 0 6px; }
.spot { width: 46px; height: 46px; border-radius: 12px; border: 2px dashed rgba(165,200,255,.55); display: grid; place-items: center; }
.spot img { width: 30px; height: 30px; opacity: .9; }
.spots-note { font-size: 13px; color: #c9d5ff; }
.offer .list li { color: #e6ecff; }

/* try it */
.try { text-align: center; }
.try h2, .try .sub { margin-left: auto; margin-right: auto; }
.try .cta-row { justify-content: center; }
.try-steps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 34px; }
.try-steps span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; color: var(--muted); }
.try-steps b { color: var(--sky); margin-right: 6px; }

/* founder */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; max-width: 820px; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }
.photo { width: 120px; height: 120px; border-radius: 50%; background: var(--card); border: 2px dashed rgba(165,200,255,.4); display: grid; place-items: center; font-size: 12px; color: var(--muted); text-align: center; padding: 10px; }
.founder p { color: var(--muted); font-size: 16.5px; margin-bottom: 12px; }
.founder .sig { color: var(--text); font-weight: 600; }

/* faq */
.faq { max-width: 800px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sky); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

/* final cta */
.final { text-align: center; background: radial-gradient(700px 360px at 50% 100%, rgba(55,48,163,.6), transparent 70%); }
.final h2, .final .sub { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer img { height: 24px; }
footer .links { display: flex; gap: 20px; }
footer .links a:hover { color: var(--text); }
.disclaimer { width: 100%; font-size: 12px; opacity: .7; }

/* book page */
.book { padding: 56px 0 88px; }
.book .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .book .wrap { grid-template-columns: 1fr; } }
.book h1 { font-size: clamp(34px, 4.5vw, 48px); }
.expect { list-style: none; display: grid; gap: 18px; margin: 28px 0; }
.expect li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.expect .num { width: 34px; height: 34px; border-radius: 10px; background: var(--indigo); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.expect b { display: block; margin-bottom: 2px; font-weight: 600; }
.expect span { color: var(--muted); font-size: 15px; }
.alt-route { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 14.5px; color: var(--muted); }
.alt-route a { color: var(--sky); font-weight: 600; }
.cal-box { background: var(--white); border-radius: var(--radius); overflow: hidden; min-height: 700px; border: 1px solid var(--line); }
.cal-fallback { padding: 40px; color: var(--midnight); text-align: center; }
.cal-fallback a { color: var(--indigo); text-decoration: underline; }

/* thank you */
.thanks { padding: 92px 0; text-align: center; }
.thanks .check { width: 84px; height: 84px; margin: 0 auto 28px; }
.thanks h1, .thanks .lead { margin-left: auto; margin-right: auto; }
.next { max-width: 720px; margin: 48px auto 0; text-align: left; display: grid; gap: 14px; }
.next .card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.next .num { color: var(--sky); font-size: 14px; font-weight: 700; padding-top: 3px; }
