/* DailyCRM — marketing site. Display: Cal Sans, text/UI: Google Sans Flex. Accent = CRM accent #3e63dd. */
:root {
  --ink: #12141c;
  --ink-2: #3b3f4c;
  --muted: #6b7080;
  --line: #e4e4e0;
  --line-2: #d6d6d0;
  --paper: #ffffff;
  --sand: #f5f4ef;
  --sand-2: #ecebe4;
  --accent: #3e63dd;
  --accent-hover: #3252c4;
  --accent-soft: #edf1fd;
  --accent-ink: #2c47a8;
  --night: #0f1220;
  --night-2: #181c2e;
  --sun: #ffd166;
  --display: 'Cal Sans', 'Google Sans Flex', system-ui, sans-serif;
  --text: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --radius: 10px;
  --shadow-lg: 0 1px 2px rgba(18, 20, 28, 0.06), 0 12px 32px -8px rgba(18, 20, 28, 0.16), 0 40px 80px -24px rgba(18, 20, 28, 0.18);
  --shadow-md: 0 1px 2px rgba(18, 20, 28, 0.06), 0 8px 24px -10px rgba(18, 20, 28, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-xs { width: 14px; height: 14px; stroke-width: 2.25; }
.i-sm { width: 16px; height: 16px; stroke-width: 2; }
.i-lg { width: 26px; height: 26px; stroke-width: 1.6; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 6px; box-shadow: var(--shadow-md); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; border: 1px solid transparent; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--sun); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost-light:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-ink); }
.link-arrow:hover { gap: 9px; }

/* Announcement */
.announce { background: var(--night); color: #d9dbe6; font-size: 14px; }
.announce-row { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; }
.announce strong { color: #fff; font-weight: 600; }
.announce a { display: inline-flex; align-items: center; gap: 6px; color: var(--sun); font-weight: 600; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.is-stuck, .site-header.is-open { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.6) blur(12px); } }
.header-row { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 30px; height: 30px; fill: var(--accent); }
.brand-name { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; line-height: 1; padding-top: 2px; }
.nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color 0.15s, color 0.15s; }
.nav-link:hover, .nav-link[aria-expanded='true'] { color: var(--ink); background: var(--sand); }
.nav-link .i { transition: transform 0.2s; }
.nav-link[aria-expanded='true'] .i { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; }
.menu-toggle .i { width: 24px; height: 24px; }
.menu-toggle .i-shut, .menu-toggle[aria-expanded='true'] .i-open { display: none; }
.menu-toggle[aria-expanded='true'] .i-shut { display: block; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(18, 20, 28, 0.22); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.16s ease, transform 0.16s ease; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 32px; padding-bottom: 32px; }
.mega-inner--industries { grid-template-columns: 1fr 340px; }
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; }
.mega-cols--2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.mega-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 12px; }
.mega-link { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; transition: background-color 0.12s; }
.mega-link:hover { background: var(--sand); }
.mega-link b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mega-link small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.mega-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }
.mega-link:hover .mega-ico { background: var(--accent); color: #fff; }
.mega-feature { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--sand); }
.mega-feature-img { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; aspect-ratio: 16 / 9; }
.mega-feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mega-feature b { font-size: 16px; font-weight: 600; }
.mega-feature small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.mega-feature:hover b { color: var(--accent-ink); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--accent-ink); border: 1px solid var(--line); }
.mega-aside { padding: 20px; border-radius: var(--radius); background: var(--sand); font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; gap: 12px; align-self: start; }
.mega-aside .mega-title { margin: 0; }
.mega-foot { background: var(--sand); border-top: 1px solid var(--line); }
.mega-foot-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 14px; color: var(--muted); }
.mega-foot-links { display: flex; gap: 28px; }
.mega-foot-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.mega-foot-links a:hover { color: var(--accent-ink); }

/* Mobile menu */
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 24px 24px; max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .i { transform: rotate(180deg); }
.mm-group { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 0 0 16px; }
.mm-group a { padding: 8px 0; color: var(--ink-2); font-size: 15px; }
.mm-link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.mm-actions { display: grid; gap: 10px; margin-top: 24px; }

/* Hero */
.hero { position: relative; background: var(--sand); overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-ink); margin-bottom: 20px; }
.kicker--light { color: var(--sun); }
h1 { font-size: 64px; line-height: 1.02; letter-spacing: -0.022em; }
h1 .hl { display: block; color: var(--accent); }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.hero-notes li { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes .i { color: #1f9d6b; }
.hero-visual { position: relative; margin-right: -180px; }

.frame { position: relative; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(18, 20, 28, 0.08); margin: 0; }
.frame--browser .frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f7f7f5; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #deded8; }
.frame-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.frame--phone { position: absolute; width: 200px; border-radius: 28px; border: 6px solid #15171f; box-shadow: var(--shadow-lg); left: -44px; bottom: -64px; }
.frame--phone img { border-radius: 22px; }
.float-card { position: absolute; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--paper); border-radius: 10px; box-shadow: var(--shadow-md); border: 1px solid var(--line); font-size: 13px; }
.float-card b { display: block; font-weight: 600; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d6b; margin-top: 6px; box-shadow: 0 0 0 4px rgba(31, 157, 107, 0.15); }
.float-card--lead { top: -26px; left: 200px; }

/* Industries strip */
.industries { padding: 40px 0; border-bottom: 1px solid var(--line); }
.eyebrow-title { font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; margin-bottom: 20px; }
.industry-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.industry-row li { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.industry-row .i { color: var(--accent); }

/* Sections */
.section { padding: 112px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
h2 { font-size: 46px; line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.005em; }
.section-lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* Flow tabs */
.flow-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.flow-tabs { display: flex; flex-direction: column; gap: 4px; }
.flow-tab { display: flex; gap: 16px; text-align: left; padding: 20px; border-radius: var(--radius); border: 1px solid transparent; transition: background-color 0.15s, border-color 0.15s; }
.flow-tab:hover { background: var(--sand); }
.flow-tab[aria-selected='true'] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-md); }
.flow-num { font-family: var(--display); font-size: 15px; color: var(--muted); padding-top: 3px; }
.flow-tab[aria-selected='true'] .flow-num { color: var(--accent); }
.flow-text b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.25; }
.flow-text small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.flow-tab[aria-selected='false'] .flow-text small { display: none; }
.flow-panels { position: sticky; top: 104px; }
.flow-panel[hidden] { display: none; }

/* Website section (dark) */
.website { background: var(--night); color: #c9ccda; overflow: hidden; }
.website h2 { color: #fff; }
.website .section-lead { color: #b3b7c9; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.ticks { display: grid; gap: 14px; margin: 32px 0 40px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.ticks .i { color: var(--sun); margin-top: 3px; }
.ticks b { color: #fff; font-weight: 600; }
.split-visual { position: relative; margin-right: -160px; padding-bottom: 40px; }
.frame--dark { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.frame--phone-site { left: auto; right: 220px; bottom: -20px; width: 180px; border-color: #000; }

/* Feature grid */
.features { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.feature .i-lg { color: var(--accent); }
.feature h3 { margin-top: 20px; }
.feature p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Pricing */
.pricing { background: var(--sand); }
.billing-toggle { display: inline-flex; margin-top: 32px; padding: 4px; border-radius: 10px; background: var(--sand-2); border: 1px solid var(--line); }
.billing-toggle button { height: 40px; padding: 0 16px; border-radius: 7px; font-size: 15px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed='true'] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 20, 28, 0.08); }
.save { font-size: 12px; font-weight: 600; color: #177a53; background: #dff3ea; padding: 2px 8px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.plan--main { border: 2px solid var(--accent); padding: 31px; box-shadow: var(--shadow-md); }
.plan-badge { position: absolute; top: -13px; left: 31px; font-size: 12px; font-weight: 600; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 26px; }
.plan-for { margin-top: 6px; font-size: 15px; color: var(--muted); min-height: 24px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 24px 0; }
.amount { font-family: var(--display); font-size: 48px; line-height: 1; letter-spacing: -0.02em; }
.per { font-size: 14px; color: var(--muted); }
.plan-list { display: grid; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .i { color: var(--accent); margin-top: 3px; }
.pricing-note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { color: var(--muted); transition: transform 0.2s; }
.faq-list details[open] summary .i { transform: rotate(45deg); color: var(--ink); }
.faq-list details p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--accent); color: #dfe6ff; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { color: #fff; font-size: 40px; }
.cta-band p { margin-top: 12px; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; flex: none; }

/* Footer */
.site-footer { background: var(--paper); padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 260px; }
.footer-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid a:not(.brand) { display: block; padding: 5px 0; color: var(--ink-2); }
.footer-grid a:not(.brand):hover { color: var(--accent-ink); }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 1180px) {
  .header-row { gap: 24px; }
  .mega-cols { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: 1fr 260px; }
  h1 { font-size: 56px; }
  .hero-visual { margin-right: -120px; }
  .split-visual { margin-right: -100px; }
}
@media (max-width: 1024px) {
  .nav, .nav-signin { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .split, .flow-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 56px; gap: 56px; }
  .hero-visual { margin: 0 -24px 0 32px; }
  .flow-panels { position: static; }
  .flow-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .flow-tab[aria-selected='false'] .flow-text small { display: block; }
  .split-visual { margin-right: -24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature:not(:nth-child(3n + 1)) { padding: 32px 24px 36px 0; border-left: 0; }
  .feature:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .faq-grid { gap: 32px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .announce-row { font-size: 13px; gap: 10px; justify-content: space-between; }
  .announce p { flex: 1; }
  .announce p span { display: none; }
  .header-row { height: 64px; }
  .header-actions .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .brand-name { font-size: 20px; }
  .hero-grid { padding-top: 40px; padding-bottom: 72px; }
  h1 { font-size: 40px; line-height: 1.05; }
  .lead { font-size: 17px; margin-top: 18px; }
  .hero-cta { flex-direction: column; margin-top: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { margin: 0 -40px 0 24px; }
  .frame--phone { width: 120px; left: -32px; bottom: -40px; border-width: 4px; border-radius: 20px; }
  .frame--phone img { border-radius: 16px; }
  .float-card--lead { display: none; }
  .industries { padding: 32px 0; }
  .industry-row { justify-content: flex-start; gap: 12px 20px; }
  .industry-row li { font-size: 15px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; text-align: left; }
  h2 { font-size: 34px; }
  .section-lead { font-size: 17px; }
  .flow-tabs { grid-template-columns: 1fr; }
  .flow-tab { padding: 16px; }
  .split { gap: 48px; }
  .frame--phone-site { right: 24px; width: 110px; bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2n), .feature:not(:nth-child(3n + 1)) { padding: 28px 0; border-left: 0; }
  .plan, .plan--main { padding: 24px; }
  .plan--main { padding: 23px; }
  .faq-list summary { font-size: 17px; padding: 20px 0; }
  .faq-list details p { padding-right: 0; }
  .cta-band h2 { font-size: 32px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
