/* Recapo home page */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --panel: #ffffff;
  --text: #16161f;
  --muted: #5f5f72;
  --line: #e7e7ef;
  --accent: #5b5bd6;
  --accent-2: #8e4ec6;
  --accent-soft: #ededfc;
  --ok: #2f9e6b;
  --shadow: 0 1px 2px rgba(20, 20, 50, .06), 0 12px 40px rgba(40, 40, 90, .10);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111117; --bg-alt: #17171f; --panel: #1c1c25; --text: #ececf2; --muted: #a0a0b4; --line: #2b2b38;
    --accent: #8b8bf0; --accent-2: #b98cf0; --accent-soft: #25254a; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 40px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #111117; --bg-alt: #17171f; --panel: #1c1c25; --text: #ececf2; --muted: #a0a0b4; --line: #2b2b38;
  --accent: #8b8bf0; --accent-2: #b98cf0; --accent-soft: #25254a; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(91, 91, 214, .35); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(91, 91, 214, .45); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.white { background: #fff; color: #3d3db0; }
.btn.white:hover { transform: translateY(-1px); }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 17px; font-weight: 800; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { display: grid; gap: 4px; padding: 10px 20px 18px; border-top: 1px solid var(--line); }
.mobile-menu a { padding: 10px 4px; color: var(--text); text-decoration: none; font-weight: 500; }
.mobile-menu .btn { margin-top: 6px; color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px;
  background: radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%),
              radial-gradient(700px 380px at -10% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 54px); font-weight: 800; margin-bottom: 20px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.hero .ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.hero-shot { position: relative; }
.browser { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span:nth-child(1) { background: #ff6159; } .browser-bar span:nth-child(2) { background: #ffbd2e; } .browser-bar span:nth-child(3) { background: #28c941; }
.browser-bar em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 10px; background: var(--panel); padding: 2px 12px; border-radius: 6px; border: 1px solid var(--line); }
.float-card { position: absolute; left: -26px; bottom: -22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 12px; padding: 12px 16px; display: grid; font-size: 14px; animation: float 5s ease-in-out infinite; }
.float-card b { color: var(--ok); }
.float-card span { color: var(--muted); font-size: 13px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* platforms */
.platforms { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.platforms .wrap { display: flex; align-items: center; justify-content: center; gap: 16px 40px; flex-wrap: wrap; }
.platforms p { color: var(--muted); font-size: 14px; font-weight: 600; }
.platforms ul { list-style: none; display: flex; gap: 14px 34px; flex-wrap: wrap; justify-content: center; }
.platforms li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.dot { width: 12px; height: 12px; border-radius: 4px; }
.dot.meet { background: #1e8e3e; } .dot.zoom { background: #2d8cff; } .dot.teams { background: #6264a7; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.showcase { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.showcase.flip .show-copy { order: 2; }
.show-copy h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin-bottom: 14px; }
.show-copy p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat, .case { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 19px; margin-bottom: 14px; }
.feat h4, .case h4 { font-size: 17px; margin-bottom: 6px; }
.feat p, .case p { color: var(--muted); font-size: 15px; }
.case { border-top: 3px solid var(--accent); }

/* pricing */
.toggles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px auto 34px; }
.toggle { display: flex; width: max-content; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 4px; }
.seg { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: none; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.seg.active { background: var(--accent); color: #fff; }
.save { font-size: 12px; font-weight: 500; opacity: .9; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; }
.price.small { font-size: 30px; padding: 6px 0; }
.per { color: var(--muted); font-size: 14px; margin-bottom: 14px; min-height: 22px; }
.plan .ticks { margin-top: 20px; font-size: 15px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 26px auto 0; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* cta + footer */
.cta-band { padding: 80px 0; text-align: center; color: #fff; background: linear-gradient(135deg, #5b5bd6, #7c4dc4); }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { opacity: .9; font-size: 18px; margin-bottom: 26px; }
.foot { border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid > div { display: grid; gap: 8px; align-content: start; }
.foot-grid .brand { margin-bottom: 6px; }
.foot h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: 13px; }
.unset { color: #e5484d; font-weight: 600; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase.flip .show-copy { order: 0; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .float-card { left: 12px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .steps, .grid3, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 460px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) { .mobile-menu { display: none !important; } }
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 48px; }
  .lead { font-size: 17px; }
  .section { padding: 68px 0; }
  .grid4, .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .float-card { position: static; margin-top: 14px; width: max-content; animation: none; }
}
