/* ============================================================
   SendMyAvailability — marketing site
   Brand: purple #6d35c4 / gold #c6a05a / Georgia + Arial
   ============================================================ */

:root {
  --purple: #6d35c4;
  --purple-light: #9d72e7;
  --purple-dark: #4f2496;
  --purple-tint: #f3eefc;
  --purple-tint-2: #ebe3fa;
  --gold: #c6a05a;
  --gold-tint: #f7efdd;
  --bg: #fbf9ff;
  --white: #ffffff;
  --dark: #171321;
  --muted: #5e566c;
  --line: #e9e3f4;
  --line-strong: #d9cfee;
  --green: #1f7a4d;
  --green-tint: #e4f3ea;

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(23, 19, 33, 0.04), 0 2px 8px rgba(23, 19, 33, 0.05);
  --shadow-md: 0 4px 14px rgba(23, 19, 33, 0.06), 0 18px 40px rgba(79, 36, 150, 0.08);
  --shadow-lg: 0 10px 30px rgba(23, 19, 33, 0.08), 0 30px 80px rgba(79, 36, 150, 0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--dark);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--purple); text-decoration: none; }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 21px; color: var(--muted); line-height: 1.55; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 18px;
}
.eyebrow.gold { color: var(--gold); }
.center .eyebrow { display: block; }

.h-xl { font-size: clamp(40px, 5.6vw, 68px); }
.h-lg { font-size: clamp(32px, 4.2vw, 50px); }
.h-md { font-size: clamp(26px, 3vw, 36px); }

.section-head { max-width: 720px; margin: 0 auto 60px; }
.section-head.left { margin-left: 0; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--purple); background: var(--purple-tint); }
.btn-ghost { background: #fff; color: var(--dark); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--purple-light); }
.btn-lg { font-size: 17px; padding: 17px 32px; }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: var(--purple-tint); }
.btn-arrow::after { content: "→"; font-weight: 700; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center .cta-row { justify-content: center; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.center .cta-note { text-align: center; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--purple); color: #fff;
  display: grid; place-items: center; flex: none;
  font-size: 19px; box-shadow: 0 3px 10px rgba(109,53,196,.35);
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--dark); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.nav-links a { color: var(--dark); font-size: 15.5px; font-weight: 400; }
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); font-weight: 700; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-signin { color: var(--dark); font-size: 15.5px; }
.nav-signin:hover { color: var(--purple); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--purple-tint-2) 0%, rgba(235,227,250,0) 60%),
    radial-gradient(800px 400px at 5% 0%, #f5edff 0%, rgba(245,237,255,0) 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center;
  padding: 78px 0 96px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.hero p.lead { margin-top: 24px; max-width: 540px; }
.hero .cta-row { margin-top: 34px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px 7px 9px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--dark);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-badge span.tag { color: var(--purple); }

/* ---------- Browser frame ---------- */
.frame {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-bar {
  height: 42px; display: flex; align-items: center; gap: 7px;
  padding: 0 16px; background: #f4f0fb; border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6cdea; display: inline-block; }
.frame-bar i:nth-child(1) { background: #f0a3a3; }
.frame-bar i:nth-child(2) { background: #f0d49a; }
.frame-bar i:nth-child(3) { background: #a8d8b0; }
.frame-url {
  margin-left: 14px; flex: 1; height: 24px; border-radius: 7px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 12px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  max-width: 420px;
}
.frame img { display: block; width: 100%; }
.frame.tall img { max-height: 560px; object-fit: cover; object-position: top; }

.hero-figure { position: relative; }
.hero-float {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}

/* ---------- Logos / proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; padding: 28px 0; }
.proof-inner span { font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: 0.02em; }
.proof-label { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--purple-light); }

/* ---------- Generic cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* icon chip */
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--purple-tint); color: var(--purple);
  font-size: 22px; font-family: var(--serif); font-weight: 700;
}
.icon.gold { background: var(--gold-tint); color: var(--gold); }

/* ---------- Problem (dark) section ---------- */
.dark-sec { background: var(--dark); color: #efeaf7; }
.dark-sec h2, .dark-sec h3 { color: #fff; }
.dark-sec .muted { color: #b6acc9; }
.dark-sec .eyebrow { color: var(--purple-light); }

.chat-demo {
  background: #221c30; border: 1px solid #342b47; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-md);
}
.chat-line { display: flex; margin-bottom: 12px; }
.chat-line.them { justify-content: flex-start; }
.chat-line.you { justify-content: flex-end; }
.bubble {
  max-width: 78%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.45;
}
.bubble.them { background: #322a44; color: #e7e0f3; border-bottom-left-radius: 5px; }
.bubble.you { background: var(--purple); color: #fff; border-bottom-right-radius: 5px; }
.chat-meta { font-size: 12px; color: #8a7fa3; margin-top: 4px; }

/* ---------- Steps ---------- */
.step { position: relative; }
.step-num {
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--purple); color: #fff; display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.flip .split-media { order: 2; }
.split + .split { margin-top: 104px; }
.split-body h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.split-body .lead { font-size: 18px; }
.feat-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--dark); }
.feat-list li::before {
  content: "✓"; flex: none; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-tint); color: var(--purple);
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.pill-tag {
  display: inline-block; background: var(--gold-tint); color: #8a6a1f;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}

/* ---------- Comparison table ---------- */
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--sans); font-size: 14px; }
.compare thead th.us { background: var(--purple-tint); color: var(--purple); border-bottom-color: var(--purple-tint-2); }
.compare tbody td { font-size: 15.5px; color: var(--dark); }
.compare td.col-feat { color: var(--dark); font-weight: 400; }
.compare td.us { background: rgba(243,238,252,.5); text-align: center; font-weight: 700; }
.compare td.them { text-align: center; color: var(--muted); }
.compare tr:last-child td { border-bottom: none; }
.yes { color: var(--purple); font-weight: 700; }
.no { color: #c3b9d5; }
.compare-head-us { display: flex; flex-direction: column; gap: 2px; }
.compare-head-us small { font-weight: 400; color: var(--purple-light); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--purple); box-shadow: var(--shadow-lg); position: relative; }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.price-card .tagline { color: var(--muted); font-size: 14.5px; margin-top: 6px; min-height: 42px; }
.price-amt { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.price-amt .amt { font-family: var(--serif); font-size: 50px; font-weight: 700; letter-spacing: -0.02em; }
.price-amt .per { color: var(--muted); font-size: 16px; }
.price-card .btn { width: 100%; justify-content: center; margin: 22px 0; }
.price-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--dark); }
.price-feats li::before { content: "✓"; color: var(--purple); font-weight: 700; flex: none; }
.price-feats li.off { color: #b3a9c6; }
.price-feats li.off::before { content: "—"; color: #d2c8e4; }

/* full pricing matrix */
.matrix { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.matrix th, .matrix td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { font-family: var(--serif); font-size: 18px; }
.matrix thead th.feat-col, .matrix td.feat-col { text-align: left; font-family: var(--sans); }
.matrix td.feat-col { color: var(--dark); font-weight: 400; font-size: 15px; }
.matrix th.pop { color: var(--purple); }
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix .yes { color: var(--purple); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700;
  font-size: 17px; color: var(--dark); display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 24px; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 80% 120%, rgba(157,114,231,.45) 0%, rgba(157,114,231,0) 60%),
    linear-gradient(135deg, #5b2aa8 0%, var(--purple) 55%, #7a44d4 100%);
  border-radius: var(--radius-lg); padding: 72px 56px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.cta-band p { color: #e7d9fb; margin: 18px auto 32px; max-width: 560px; font-size: 19px; }

/* ---------- Stat / quote ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.quote-card .q { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--dark); }
.quote-card .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.quote-card .who b { display: block; font-size: 15px; }
.quote-card .who small { color: var(--muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cabfdd; padding: 72px 0 36px; }
.footer a { color: #cabfdd; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #2c2440; }
.footer .brand-name { color: #fff; }
.footer-tag { color: #9286ad; font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #8a7ea6; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom small { color: #8a7ea6; font-size: 13.5px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 13.5px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 50% -20%, var(--purple-tint-2) 0%, rgba(235,227,250,0) 65%),
    var(--bg);
  padding: 80px 0 64px; text-align: center;
}
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.page-hero p { margin: 22px auto 0; max-width: 640px; }

/* ---------- misc ---------- */
.tint-sec { background: #fff; }
.kicker-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 14px; }
.mini-stat { text-align: center; }
.mini-stat .n { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--purple); }
.mini-stat .l { color: var(--muted); font-size: 14.5px; }

.soon-tag {
  display: inline-block; background: var(--dark); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-left: 10px; vertical-align: middle;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 72px; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-media { order: 0; }
  .split + .split { margin-top: 72px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links, .nav-signin { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .kicker-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 52px 26px; }
  .compare { overflow-x: auto; }
  .matrix-wrap { overflow-x: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-float { display: none; }
}
