:root {
  --bg: #E0E0E0;
  --card: #FFFFFF;
  --border: #D9D9D9;
  --ink: #232323;
  --text: #000000;
  --muted: #5F5F5F;
  --soft: #979797;
  --light: #F1F1F1;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 28px; min-height: 72px; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.brand { display: block; flex: none; }
.brand img { height: 32px; width: auto; display: block; }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.links a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 16px; }
.links a:hover { background: var(--light); }
.links a[aria-current="page"] { background: var(--light); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.login { text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 6px; }
.login:hover { text-decoration: underline; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #FFFFFF; cursor: pointer; padding: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; content: ""; position: relative; margin: 0 auto; }
.menu-toggle span::before { position: absolute; top: -6px; left: 0; }
.menu-toggle span::after { position: absolute; top: 6px; left: 0; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-dark { background: var(--bg); color: var(--text); border-color: #C9C9C9; }
.btn-dark:hover { background: #D2D2D2; }
.btn-light { background: var(--bg); color: var(--text); border-color: #C9C9C9; }
.btn-light:hover { background: #D2D2D2; }
.btn-outline { border-color: #BDBDBD; color: var(--text); background: #FFFFFF; }
.btn-outline:hover { background: #F1F1F1; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: rgba(0,0,0,0.06); }
.btn-disabled { background: var(--soft); color: #FFFFFF; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero */
.hero { background: #FFFFFF; color: var(--text); overflow: hidden; border-bottom: 1px solid var(--border); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.hero p.lead { margin: 22px 0 0; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 32em; }

/* Phone illustration */
.phone-stage { display: flex; justify-content: center; padding: 10px 0; }
.phone { width: 260px; background: #FFFFFF; border: 1px solid #CFCFCF; border-radius: 40px; padding: 11px; transform: rotate(7deg); box-shadow: 0 24px 50px rgba(0,0,0,0.14); }
.screen { background: var(--bg); border-radius: 30px; padding: 22px 16px 20px; color: var(--text); min-height: 460px; }
.screen .kicker { font-size: 12px; font-weight: 600; color: var(--soft); margin: 6px 0 4px; }
.screen .greeting { font-size: 22px; font-weight: 700; margin: 0 0 16px; letter-spacing: -0.01em; }
.screen .mini { background: #FFFFFF; border-radius: 16px; padding: 16px; margin-bottom: 12px; border: 1px solid var(--border); }
.screen .mini h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.screen .mini .meta { font-size: 12px; color: var(--soft); font-weight: 600; margin-bottom: 8px; }
.screen .mini p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.screen .mini.plain { background: transparent; border-color: #FFFFFF; }
.screen .mini.plain h4 { font-size: 14px; }
.screen .pillbtn { display: block; text-align: center; background: var(--soft); color: #FFFFFF; font-size: 13px; font-weight: 600; padding: 11px; border-radius: 999px; margin-top: 14px; }

/* Sub page hero */
.page-hero { background: #FFFFFF; color: var(--text); border-bottom: 1px solid var(--border); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { margin: 0; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.page-hero p { margin: 16px 0 0; font-size: 19px; color: var(--muted); max-width: 34em; }

/* Sections */
section.block { padding: 64px 0 0; }
section.block:last-of-type { padding-bottom: 72px; }
.eyebrow { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--soft); }
h2.title { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.section-intro { margin: 0 0 28px; font-size: 18px; color: var(--muted); max-width: 40em; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .grid.four { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16.5px; }
.card p + p { margin-top: 12px; }
.card .btn { margin-top: 20px; }
.card.outline { background: transparent; border-color: #FFFFFF; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid #C9C9C9; color: var(--text); font-weight: 700; font-size: 15px; margin-bottom: 14px; }

ul.ticks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
ul.ticks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
ul.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: #EDEDED url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }

.band { background: #FFFFFF; }
.band-dark { background: #FFFFFF; color: var(--text); }
.band-dark .eyebrow { color: var(--soft); }
.band-dark .section-intro, .band-dark p { color: var(--muted); }
section.band, section.band-dark { margin-top: 64px; padding: 64px 0; }
section.band + section.block, section.band-dark + section.block { padding-top: 64px; }

.cta { text-align: center; }
.cta .title { margin-bottom: 10px; }
.cta p { margin: 0 auto; max-width: 34em; font-size: 18px; }
.cta .btn-row { justify-content: center; }

.login-grid { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 820px; }
@media (min-width: 700px) { .login-grid { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: #F1F1F1; border-top: 1px solid var(--border); margin-top: 0; }
.foot { display: grid; gap: 32px; padding: 48px 24px 28px; max-width: 1120px; margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot img { height: 30px; width: auto; display: block; margin-bottom: 14px; }
.foot p { margin: 0; color: var(--muted); font-size: 15px; max-width: 22em; }
.foot h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--soft); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; font-size: 16px; font-weight: 500; }
.foot a:hover { text-decoration: underline; }
.copy { max-width: 1120px; margin: 0 auto; padding: 0 24px 36px; font-size: 14px; color: var(--soft); }

/* Phones and small screens */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .phone-stage { order: 2; }
  .phone { transform: rotate(4deg); }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 8px; }
  .nav.open { display: flex; }
  .links { flex-direction: column; }
  .links a { padding: 14px 12px; }
  .actions { margin-left: 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .login { padding: 14px 12px; }
  .actions .btn { text-align: center; }
}

/* ---- v2 additions ---- */
.hero .note { margin: 18px 0 0; font-size: 15px; color: var(--soft); font-weight: 500; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badge { display: inline-flex; flex-direction: column; justify-content: center; min-width: 160px; padding: 10px 20px; border: 1px solid #BDBDBD; background: #FFFFFF; border-radius: 14px; line-height: 1.2; }
.badge small { font-size: 12px; color: var(--soft); font-weight: 600; }
.badge strong { font-size: 17px; font-weight: 600; color: var(--text); }
.band .badge, .cta .badge { background: #F6F6F6; }

/* Benefit strip */
.strip { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip .item { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.strip .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.strip .ic svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.strip h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.strip p { margin: 0; font-size: 15px; color: var(--muted); }
section.block.tight { padding-top: 40px; }

/* Feature rows */
.feature { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; padding: 28px 0; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 36px 0; }
  .feature.reverse .copy-col { order: 2; }
}
.feature h3 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.feature .copy-col p { margin: 0; font-size: 18px; color: var(--muted); max-width: 30em; }
.feature .tag { display: inline-block; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--soft); }
.feature .btn { margin-top: 22px; }
.feature .phone-stage { padding: 0; }
.phone.flat { transform: none; box-shadow: 0 18px 40px rgba(0,0,0,0.10); width: 270px; }
.phone.flat .screen { min-height: 400px; }
.screen .ex { display: inline-block; font-size: 11px; font-weight: 600; color: var(--soft); border: 1px solid #C9C9C9; border-radius: 999px; padding: 2px 9px; margin-bottom: 10px; }
.screen .mini h4 + p { margin-top: 2px; }
.screen .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--soft); font-weight: 600; }
.screen .dot { width: 6px; height: 6px; border-radius: 50%; background: #BDBDBD; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.chip { background: #FFFFFF; border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-size: 16px; font-weight: 600; }

/* Split card */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; background: var(--bg); border-radius: 24px; padding: 36px 28px; }
@media (min-width: 860px) { .split { grid-template-columns: 1.3fr 1fr; padding: 48px; gap: 48px; } }
.split h2 { margin: 0 0 10px; }
.split p { margin: 0; font-size: 18px; color: var(--muted); }
.split .side { display: grid; gap: 12px; }
.split .side div { background: #FFFFFF; border-radius: 14px; padding: 16px 18px; font-size: 16px; font-weight: 600; }
.split .side span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #FFFFFF; border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 17px; max-width: 40em; }

.help-line { margin: 0 auto; max-width: 1120px; padding: 0 24px 8px; font-size: 14px; color: var(--muted); }
.help-line strong { color: var(--text); }

/* ---- v3: app-live hero (Cal AI style) ---- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: #FAFAFA; font-size: 15px; font-weight: 600; margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #9A9A9A; display: inline-block; }
.hero h1 .light { display: block; font-weight: 500; color: #3C3C3C; }
.hero .badge-row { margin-top: 30px; }
.badge { text-decoration: none; color: inherit; }
.badge:hover { background: #F1F1F1; }
.badge.sm { min-width: 0; padding: 6px 14px; border-radius: 10px; }
.badge.sm small { font-size: 10px; }
.badge.sm strong { font-size: 14px; }
.actions .badge-row { margin: 0; gap: 8px; }
.duo { position: relative; height: 520px; width: 100%; max-width: 540px; margin: 0 auto; }
.duo .phone { position: absolute; width: 235px; box-shadow: 0 24px 50px rgba(0,0,0,0.14); }
.duo .phone .screen { min-height: 380px; }
.duo .p1 { left: 0; top: 56px; transform: rotate(-6deg); z-index: 1; }
.duo .p2 { right: 0; top: 0; transform: rotate(6deg); z-index: 2; }
.float { position: absolute; z-index: 3; background: #FFFFFF; border: 1px solid var(--border); border-radius: 14px; padding: 8px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px rgba(0,0,0,0.10); line-height: 1.25; }
.float small { display: block; font-size: 12px; color: var(--soft); font-weight: 600; }
.float.f1 { left: -4px; top: 20px; }
.float.f2 { right: 4px; top: 440px; }
.float.f3 { left: 30px; bottom: 6px; }
@media (max-width: 860px) {
  .duo { height: 430px; max-width: 360px; }
  .duo .phone { width: 180px; padding: 8px; border-radius: 32px; }
  .duo .phone .screen { padding: 16px 11px; min-height: 300px; border-radius: 24px; }
  .duo .screen .greeting { font-size: 17px; margin-bottom: 10px; }
  .duo .screen .mini { padding: 10px; }
  .duo .screen .mini p { font-size: 11px; }
  .duo .screen .mini h4 { font-size: 13px; }
  .duo .p1 { top: 50px; }
  .float { font-size: 12px; padding: 6px 10px; }
  .float.f1 { left: 0; top: 10px; }
  .float.f2 { right: 0; top: 280px; }
  .float.f3 { left: 10px; bottom: 0; }
  .actions .badge-row { flex-direction: column; }
  .actions .badge.sm { width: 100%; }
}

/* ---- v4: store badges with logos ---- */
.badge { flex-direction: row; align-items: center; gap: 12px; min-width: 0; padding: 9px 20px 9px 16px; }
.badge span { display: flex; flex-direction: column; line-height: 1.15; }
.badge .logo { width: 26px; height: 26px; flex: none; }
.badge:hover { background: #F1F1F1; }
.badge.sm { padding: 6px 12px 6px 10px; gap: 8px; border-radius: 10px; }
.badge.sm .logo { width: 20px; height: 20px; }
@media (max-width: 860px) { .actions .badge.sm { justify-content: flex-start; } }

/* Header shared with the home page */
.hd{display:flex;align-items:center;gap:32px;padding:0 max(80px,calc((100% - 1280px)/2));height:84px;box-sizing:border-box;background:#FFFFFF;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}
.hd-brand{display:flex}
.hd-brand img{height:34px;width:auto;display:block}
.hd-nav{margin-left:auto;display:flex;align-items:center;gap:32px;font-size:17px;font-weight:600}
.hd-nav a{color:inherit;text-decoration:none}
.hd-btn{background:#E0E0E0;border:1px solid #C9C9C9;border-radius:999px;padding:11px 24px}
@media (max-width:760px){
.hd{padding:0 20px;height:68px;gap:12px}
.hd-brand img{height:28px}
.hd-nav{gap:16px;font-size:16px}
.hd-nav .hd-l:nth-child(-n+3){display:none}
.hd-btn{padding:9px 16px}
}

/* keep the page width the same on every page so nothing shifts */
html{overflow-y:scroll}

.section-intro + .section-intro{margin-top:-12px}
.inline-link{color:var(--text);text-decoration:underline;text-underline-offset:3px;font-weight:600}
