/* Guest marketing surface; isolated from the operational app. */
.marketing {
  --m-ink: #292434;
  --m-muted: #655f70;
  --m-paper: #fcfbfd;
  --m-lilac: #eee9f6;
  --m-lilac-strong: #d8c9ed;
  --m-line: #dad5e2;
  --m-mint: #c7edda;
  --m-green: #265844;
  --m-surface: #fff;
  color: var(--m-ink);
  background: var(--m-paper);
  font-family: "Geist", sans-serif;
  isolation: isolate;
  scrollbar-color: var(--m-muted) var(--m-lilac);
}
.dark .marketing {
  --m-ink: #f4eefb;
  --m-muted: #c1b9cc;
  --m-paper: #211e28;
  --m-lilac: #302a3c;
  --m-lilac-strong: #4c3d63;
  --m-line: #51495f;
  --m-mint: #294c3f;
  --m-green: #c7edda;
  --m-surface: #292530;
}
.marketing *, .marketing *::before, .marketing *::after { box-sizing: border-box; }
.marketing ::selection { background: var(--m-mint); color: var(--m-ink); }
.marketing a { text-underline-offset: .25em; }
.marketing :focus-visible { outline: 3px solid var(--m-green); outline-offset: 5px; }
.marketing button { cursor: pointer; }
.marketing [hidden] { display: none !important; }
.marketing section[id] { scroll-margin-top: 100px; }
.m-wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.m-skip { position: absolute; left: 24px; top: -80px; padding: 12px 20px; z-index: 100; background: var(--m-paper); }
.m-skip:focus { top: 12px; }
.m-header { position: sticky; top: 0; z-index: 30; background: var(--m-paper); border-bottom: 1px solid transparent; }
.m-header.is-scrolled { border-color: var(--m-line); }
.m-nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.m-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 720; letter-spacing: -.035em; }
.m-nav-links, .m-nav-actions { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 550; }
.m-nav-links a { color: var(--m-muted); }
.m-nav-links a:hover, .m-signin:hover { color: var(--m-ink); text-decoration: underline; }
.m-nav-actions { gap: 20px; }
.m-theme { display: grid; place-items: center; height: 44px; width: 36px; background: none; border: 0; color: var(--m-muted); }
.m-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 15px 22px; background: var(--m-ink); color: var(--m-paper); border-radius: 7px; font-size: 15px; font-weight: 620; line-height: 1.4; transition: background-color 180ms ease, color 180ms ease; }
.m-button:hover { background: var(--m-green); color: var(--m-paper); }
.dark .m-button:hover { background: var(--m-mint); color: var(--m-ink); }
.m-button-small { min-height: 42px; padding: 11px 17px; font-size: 13px; }
.m-text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; }
.m-text-link:hover { text-decoration: underline; }
.m-hero { padding-top: 54px; }
.m-hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 56px; align-items: center; padding-bottom: 66px; }
.marketing .m-hero h1 { margin: 0; font-size: clamp(48px, 5.3vw, 76px); font-weight: 650; line-height: 1.04; letter-spacing: -.04em; text-wrap: nowrap; }
.m-hero h1 span, .m-close h2 span { color: #87709e; }
.dark .m-hero h1 span, .dark .m-close h2 span { color: #c7a9e8; }
.m-hero-description { margin-top: 28px; font-size: 21px; line-height: 1.5; letter-spacing: -.025em; }
.m-hero-detail { color: var(--m-muted); max-width: 390px; font-size: 16px; line-height: 1.7; margin-top: 18px; }
.m-hero-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.m-hero-note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--m-muted); margin-top: 30px; }
.m-week-stage { background: var(--m-lilac); padding: 24px; border-radius: 20px; transform: rotate(1deg); }
.m-week-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 21px; font-size: 13px; font-weight: 570; }
.m-planner { background: var(--m-surface); border-radius: 12px; padding: 22px; box-shadow: 0 16px 38px -20px #36234c40; transform: rotate(-1deg); }
.m-planner-top { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 550; color: var(--m-muted); padding-bottom: 18px; }
.m-day-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.m-day-tabs button { display: flex; align-items: center; flex-direction: column; gap: 6px; border: 0; border-radius: 7px; padding: 11px 8px; color: var(--m-muted); background: var(--m-paper); font-size: 11px; }
.m-day-tabs button:hover { background: var(--m-lilac); }
.m-day-tabs button[aria-selected="true"] { background: var(--m-ink); color: var(--m-paper); }
.m-day-tabs strong { font-size: 21px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.m-day-load { display: block; width: 27px; height: 3px; background: var(--m-line); margin-top: 3px; }
.m-day-load i { display: block; width: var(--day-load); height: 100%; background: #8ba89a; }
.m-day-tabs [aria-selected="true"] .m-day-load i { background: #c7edda; }
.m-day-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 25px; }
.m-day-title h2 { font-size: 27px; font-weight: 580; letter-spacing: -.035em; line-height: 1.2; }
.m-day-title > span { font-size: 10px; color: var(--m-muted); }
.m-capacity { margin-top: 15px; }
.m-capacity > div:first-child { display: flex; justify-content: space-between; font-size: 11px; color: var(--m-muted); }
.m-capacity strong { color: var(--m-ink); font-weight: 600; }
.m-capacity-bar { height: 5px; background: var(--m-lilac); margin-top: 9px; border-radius: 5px; overflow: hidden; }
.m-capacity-bar span { display: block; height: 100%; background: #91bea7; }
.m-tasks { list-style: none; margin: 17px 0 0; padding: 0; }
.m-tasks li { min-height: 73px; border-bottom: 1px solid var(--m-line); display: flex; align-items: center; gap: 11px; }
.m-task-check { width: 15px; height: 15px; border: 1.5px solid var(--m-line); border-radius: 4px; flex-shrink: 0; }
.m-tasks li > div { flex: 1; min-width: 0; }
.m-tasks strong { display: block; font-size: 12px; font-weight: 560; line-height: 1.4; }
.m-tasks li div span { display: block; color: var(--m-muted); font-size: 10px; margin-top: 5px; }
.m-estimate { font-size: 11px; color: var(--m-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-breathing-room { display: flex; align-items: center; gap: 9px; padding: 13px; margin-top: 18px; border-radius: 6px; background: var(--m-mint); color: var(--m-green); font-size: 10px; line-height: 1.6; }
.m-breathing-room svg { flex-shrink: 0; }
.m-breathing-room strong { display: block; font-size: 12px; font-weight: 600; }
.m-example-label { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--m-muted); margin-top: 17px; }
.m-hero-baseline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--m-line); }
.m-hero-baseline > p { font-size: 15px; font-weight: 580; letter-spacing: -.02em; }
.m-hero-baseline > div { display: flex; flex-wrap: wrap; gap: 30px; font-size: 12px; color: var(--m-muted); }
.m-section { padding-block: 100px; }
.m-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.marketing h2 { letter-spacing: -.035em; }
.m-section-heading h2, .m-workflow h2, .m-integration h2 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.1; font-weight: 580; }
.m-section-heading > p, .m-workflow > div > p { font-size: 15px; color: var(--m-muted); line-height: 1.7; }
.m-features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.m-features article { display: flex; align-items: flex-start; gap: 20px; padding: 31px 0; border-top: 1px solid var(--m-line); }
.m-feature-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--m-muted); }
.m-features h3 { font-size: 19px; font-weight: 580; letter-spacing: -.025em; }
.m-features p { font-size: 14px; line-height: 1.8; color: var(--m-muted); margin-top: 10px; max-width: 46ch; }
.m-tour { background: var(--m-lilac); }
.m-tour-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--m-line); margin-bottom: 28px; }
.m-tour-tabs button { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: none; color: var(--m-muted); border: 0; border-bottom: 2px solid transparent; padding: 18px 20px; font-size: 14px; font-weight: 550; }
.m-tour-tabs button[aria-selected="true"] { border-bottom-color: var(--m-ink); color: var(--m-ink); }
.m-tour-tabs button:hover { background: var(--m-lilac-strong); }
.m-tour-tabs svg { opacity: 0; }
.m-tour-tabs [aria-selected="true"] svg { opacity: 1; }
.m-tour-panel { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: center; }
.m-tour-image { min-width: 0; }
.m-tour-image img { width: 100%; height: auto; border-radius: 10px; display: block; }
.m-tour-image > span { display: block; margin-top: 12px; font-size: 11px; color: var(--m-muted); }
.m-tour-copy h3 { font-size: 32px; font-weight: 550; letter-spacing: -.035em; line-height: 1.2; }
.m-tour-copy p { margin-top: 20px; font-size: 15px; line-height: 1.8; color: var(--m-muted); }
.m-tour-copy a { margin-top: 28px; }
.m-workflow { display: grid; grid-template-columns: 1fr 1.2fr; gap: 110px; }
.m-workflow > div > p { margin-top: 25px; }
.m-steps article { display: flex; gap: 24px; border-top: 1px solid var(--m-line); padding: 28px 0; }
.m-step-number { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; color: var(--m-muted); border: 1px solid var(--m-line); border-radius: 50%; font-size: 12px; }
.m-steps h3 { font-size: 22px; font-weight: 560; letter-spacing: -.025em; }
.m-steps p { font-size: 14px; color: var(--m-muted); line-height: 1.8; margin-top: 10px; }
.m-integration { background: #292434; color: #f4eefb; padding-block: 80px; }
.m-integration-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.m-integration h2 { font-size: 39px; }
.m-integration p { font-size: 15px; line-height: 1.8; color: #c4bbcf; margin-top: 22px; }
.m-integration .m-text-link { margin-top: 25px; color: #c7edda; }
.m-agent-example { border: 1px solid #62566f; border-radius: 12px; padding: 26px; }
.m-agent-example > div { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.m-agent-example > div > span:last-child { margin-left: auto; color: #c4bbcf; font-size: 10px; }
.m-agent-example blockquote { font-size: 23px; line-height: 1.5; letter-spacing: -.02em; margin-top: 32px; }
.m-agent-example > p { display: flex; align-items: center; gap: 9px; font-size: 11px; margin-top: 30px; }
.m-close { padding-block: 108px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.m-close h2 { font-size: clamp(60px, 6.5vw, 90px); font-weight: 580; line-height: 1; }
.m-close p { font-size: 23px; line-height: 1.5; letter-spacing: -.02em; margin-bottom: 25px; }
.m-close > div > span { display: block; color: var(--m-muted); font-size: 12px; margin-top: 22px; }
.m-close > div > span a { text-decoration: underline; }
.marketing footer[data-public-footer] { background: var(--m-paper); color: var(--m-ink); border-color: var(--m-line); }
.marketing footer .text-white, .marketing footer .text-zinc-100, .marketing footer .text-zinc-300 { color: var(--m-ink); }
.marketing footer .text-zinc-400, .marketing footer .text-zinc-500 { color: var(--m-muted); }
.marketing footer .bg-emerald-500 { background: var(--m-mint); color: var(--m-green); }
.marketing footer [class*="border-white"] { border-color: var(--m-line); }
.marketing footer h2 { letter-spacing: normal; }
@media (prefers-reduced-motion: no-preference) {
  .m-day-panel:not([hidden]) { animation: m-day-arrive 260ms cubic-bezier(.16, 1, .3, 1); }
  @keyframes m-day-arrive { from { transform: translateY(5px); } to { transform: translateY(0); } }
}
@media (max-width: 1100px) {
  .m-wrap { width: calc(100% - 64px); }
  .m-nav-links { gap: 18px; }
  .m-nav-links a:last-child { display: none; }
  .m-hero-grid { gap: 30px; }
  .marketing .m-hero h1 { font-size: 5.2vw; }
  .m-week-stage { padding: 18px; }
  .m-planner { padding: 17px; }
  .m-hero-description { font-size: 19px; }
  .m-example-year { display: none; }
  .m-features { column-gap: 40px; }
  .m-workflow, .m-integration-grid, .m-close { gap: 60px; }
  .m-tour-panel { gap: 30px; }
}
@media (max-width: 760px) {
  .m-wrap { width: calc(100% - 40px); }
  .m-nav { min-height: 72px; gap: 12px; }
  .m-brand { font-size: 20px; }
  .m-nav-links { display: none; }
  .m-nav-actions { gap: 8px; }
  .m-signin { display: none; }
  .m-theme { width: 32px; }
  .m-hero { padding-top: 34px; }
  .m-hero-grid { grid-template-columns: 1fr; gap: 42px; padding-bottom: 34px; }
  .marketing .m-hero h1 { font-size: clamp(40px, 8.8vw, 64px); }
  .m-hero-description { font-size: 20px; margin-top: 23px; }
  .m-hero-detail { max-width: 43ch; font-size: 15px; margin-top: 14px; }
  .m-hero-actions { gap: 18px; margin-top: 24px; }
  .m-hero-note { margin-top: 22px; }
  .m-week-stage { transform: none; padding: 20px; border-radius: 14px; }
  .m-planner { transform: none; padding: 18px; }
  .m-week-top { font-size: 12px; }
  .m-day-title > span { font-size: 9px; }
  .m-tasks strong { font-size: 11px; }
  .m-tasks li { gap: 9px; }
  .m-hero-baseline { align-items: flex-start; flex-direction: column; gap: 15px; }
  .m-hero-baseline > div { gap: 10px 21px; }
  .m-section { padding-block: 64px; }
  .m-section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .m-features { grid-template-columns: 1fr; }
  .m-features article { padding-block: 24px; }
  .m-tour-tabs { grid-template-columns: repeat(2, 1fr); gap: 8px; border-bottom: 0; }
  .m-tour-tabs button { padding: 14px 10px; font-size: 13px; border-bottom: 1px solid var(--m-line); }
  .m-tour-tabs button[aria-selected="true"] { border-bottom-width: 2px; }
  .m-tour-panel { grid-template-columns: 1fr; gap: 25px; }
  .m-tour-copy h3 { font-size: 28px; }
  .m-tour-copy p { margin-top: 14px; }
  .m-workflow { grid-template-columns: 1fr; gap: 35px; }
  .m-workflow h2 br:nth-child(2) { display: none; }
  .m-steps article { gap: 18px; }
  .m-integration { padding-block: 58px; }
  .m-integration-grid { grid-template-columns: 1fr; gap: 35px; }
  .m-integration h2 { font-size: 34px; }
  .m-agent-example { padding: 22px; }
  .m-agent-example blockquote { font-size: 21px; }
  .m-agent-example > div { flex-wrap: wrap; }
  .m-agent-example > div > span:last-child { font-size: 9px; }
  .m-close { padding-block: 65px; grid-template-columns: 1fr; gap: 30px; }
  .m-close h2 { font-size: 64px; }
  .m-close p { font-size: 21px; }
}
@media (max-width: 360px) {
  .m-wrap { width: calc(100% - 32px); }
  .m-brand { gap: 7px; font-size: 18px; }
  .m-week-stage { padding: 13px; }
  .m-planner { padding: 12px; }
  .m-day-title > span { display: none; }
  .m-example-label { font-size: 9px; }
  .m-week-top { font-size: 11px; }
}
