/* The public pages (front page, Uploads, Connectors, Pricing, FAQ): layout on top of anchor.css.
   After anythingllm.com: wide light sections fading slate-200 to slate-50, dark zinc-950 sections,
   a demo clip beside each section's words. */
.inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
nav.top { position: sticky; top: 0; z-index: 10; background: rgba(226, 232, 240, .7); backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top, 0px); transition: background .2s, box-shadow .2s; }
nav.top.scrolled, nav.top.solid { background: rgba(248, 250, 252, .9); box-shadow: 0 1px 0 var(--line); }
nav.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
nav.top .links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
nav.top .links a.plain { text-decoration: none; color: var(--mute-2); }
nav.top .links a.plain:hover, nav.top .links a.plain[aria-current="page"] { color: var(--ink-strong); }
nav.top .links a.plain[aria-current="page"] { font-weight: 600; }
.menu-btn { display: none; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); border-radius: 999px;
  padding: 7px 13px; font: 600 13px/1 var(--font-sans); cursor: pointer; }
.menu-btn svg { width: 16px; height: 16px; }

.kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-media); background: var(--panel); aspect-ratio: 16 / 10; position: relative; }
.media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media .missing { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); font-size: 14px; background: var(--soft); }

section.feature { padding: 104px 0; }
section.feature .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
section.feature.flip .text { order: 2; }
section.feature h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 12px 0 16px; color: var(--ink-strong); }
section.feature p { font-size: 16.5px; color: var(--mute-2); margin: 0 0 14px; }
section.dark { background: var(--dark); color: var(--on-dark); }
section.dark h2 { color: #fff; } section.dark p, section.dark .kicker { color: var(--on-dark-mute); }
section.dark .media { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
section.soft { background: linear-gradient(to bottom, var(--bg), #e2e8f0); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--ink-strong); text-decoration: none; margin-top: 8px; }
.more:hover { text-decoration: underline; }
section.dark .more { color: #fff; }

/* A section with a clip on one side and an accordion on the other (anythingllm.com "Preconfigured for productivity") */
section.accord { padding: 104px 0; }
section.accord h2 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; margin: 10px 0 44px; color: var(--ink-strong); letter-spacing: -.02em; }
section.accord .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
  font: 500 clamp(19px, 2vw, 23px)/1.25 var(--font-display); color: var(--ink-strong); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.acc details p { margin: -6px 0 20px; color: var(--mute-2); font-size: 16px; max-width: 520px; }
.acc details .more { margin: -8px 0 22px; font-size: 15px; }

/* A phone frame around a clip recorded at phone size */
section.phone { padding: 96px 0; }
section.phone .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
section.phone h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.025em; margin: 10px 0 18px; }
section.phone .kicker { text-transform: none; letter-spacing: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 400; font-family: var(--font-sans); }
section.phone p { max-width: 560px; font-size: 17px; }
section.phone.flip .inner { grid-template-columns: auto minmax(0, 1fr); }
section.phone + section.phone.flip { padding-top: 24px; }  /* one dark band: the phone, then scanning on it */
figure.clip { margin: 0; display: grid; justify-items: center; gap: 14px; }
figure.clip figcaption { max-width: min(330px, 78vw); text-align: center; font-size: 13px; line-height: 1.5; color: var(--on-dark-mute); }
.handset { width: min(330px, 78vw); aspect-ratio: 412 / 915; border-radius: 46px; padding: 11px; background: #1c1c1f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -20px rgba(0, 0, 0, .7); position: relative; margin: 0 auto; }
.handset::before { content: ""; position: absolute; top: 19px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #0b0b0d; z-index: 2;
  box-shadow: 0 0 0 2px #2a2a2e; }
.handset .media { border-radius: 36px; aspect-ratio: auto; height: 100%; box-shadow: none; background: #fff; }

/* "Why Anchor?" - a two-column comparison (manus.im "Why Manus?") */
section.why { padding: 104px 0; text-align: center; }
section.why h2 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 16px; color: var(--ink-strong); }
section.why .lead { max-width: 700px; margin: 0 auto 44px; color: var(--mute-2); font-size: 17px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow-card); text-align: left; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
table.compare th, table.compare td { padding: 22px 28px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
table.compare thead th { font: 600 16px/1.3 var(--font-sans); color: var(--ink-strong); padding-top: 26px; padding-bottom: 26px; }
table.compare tbody th { font-weight: 600; color: var(--ink-strong); width: 26%; }
table.compare td { color: var(--mute); width: 37%; }
table.compare td.us { color: var(--ink); }
table.compare td b { color: var(--ink-strong); }

section.proof { padding: 104px 0; }
.proof h2, .steps-sec h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; margin: 0 0 14px; color: var(--ink-strong); }
.proof .lead { color: var(--mute-2); max-width: 680px; font-size: 16.5px; margin: 0 0 40px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.stat b { display: block; font: 500 clamp(36px, 4.6vw, 52px)/1 var(--font-display); color: var(--ink-strong); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 12px; color: var(--mute-2); font-size: 15px; }
.fine { font-size: 13px; color: var(--mute); margin-top: 18px; max-width: 780px; }

section.steps-sec { padding: 104px 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 44px; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps .n { width: 44px; height: 44px; border-radius: 12px; background: var(--ink-strong); color: #fff; display: grid; place-items: center; font: 600 18px/1 var(--font-display); }
.steps h3 { font: 600 20px/1.3 var(--font-sans); color: var(--ink-strong); margin: 22px 0 8px; }
.steps p { color: var(--mute-2); margin: 0; }

section.cta { padding: 128px 0; text-align: center; background: linear-gradient(to bottom, var(--bg), #e2e8f0); }
section.cta h2 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -.02em; color: var(--ink-strong); margin: 0 auto 26px; max-width: 820px; }

/* Inner pages: a plain hero, then content */
.page-hero { background: linear-gradient(to bottom, #e2e8f0, var(--bg)); padding: 76px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 72px); line-height: 1.03; letter-spacing: -.025em; color: var(--ink-strong); margin: 14px auto 16px; max-width: 900px; }
.page-hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--mute-2); max-width: 680px; margin: 0 auto 28px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  border-radius: 999px; padding: 5px 11px; background: var(--soft); color: var(--mute-2); border: 1px solid var(--line); }
.badge.soon { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.badge.good { background: #d1fae5; color: #047857; border-color: #a7f3d0; }
section.block { padding: 88px 0; }
section.block h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 10px 0 14px; color: var(--ink-strong); }
section.block .lead { color: var(--mute-2); max-width: 680px; font-size: 16.5px; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-card); }
.card h3 { font: 600 18px/1.3 var(--font-sans); color: var(--ink-strong); margin: 14px 0 6px; }
.card p { margin: 0; color: var(--mute-2); font-size: 15px; }
.card .cites { margin-top: 12px; font-size: 13px; color: var(--mute); }
.card .cites b { color: var(--ink); font-weight: 600; }
.chip-ext { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; background: var(--soft); color: var(--ink);
  font: 700 12px/1 var(--font-sans); letter-spacing: .03em; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; color: var(--mute-2); font-size: 15px; }
.note b { color: var(--ink-strong); }

footer { background: var(--dark); color: var(--on-dark-mute); font-size: 13.5px; padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
footer .cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer .brand { color: #fff; font-size: 20px; }
footer h4 { color: #fff; font: 600 13px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { color: var(--on-dark-mute); text-decoration: none; } footer a:hover { color: #fff; }
footer .small { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }

@media (max-width: 860px) {
  section.feature .inner, section.accord .grid, section.phone .inner, section.phone.flip .inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  section.phone.flip figure.clip { order: 2; }
  section.feature.flip .text { order: 0; }
  section.feature, section.proof, section.steps-sec, section.accord, section.why, section.phone, section.block { padding: 72px 0; }
  .stats, .steps, .steps.four, .cards, .cards.two { grid-template-columns: minmax(0, 1fr); }
  footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  .menu-btn { display: inline-flex; }
  nav.top .links { display: none; position: absolute; top: calc(68px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-media); }
  nav.top .links.open { display: flex; }
  nav.top .links a.plain { padding: 11px 12px; border-radius: 10px; font-size: 16px; }
  nav.top .links a.plain:hover { background: var(--soft); }
  nav.top .links .btn { justify-content: center; padding: 12px; }
  .page-hero { padding-top: 48px; }
}
/* Phones: the comparison stacks, one card per row, so the Anchor column is never off-screen */
@media (max-width: 600px) {
  table.compare { min-width: 0; }
  table.compare thead { display: none; }
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: auto; }
  table.compare tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  table.compare tr:last-child { border-bottom: 0; }
  table.compare tbody th { padding: 0 0 8px; border: 0; width: auto; }
  table.compare td { padding: 3px 0; border: 0; font-size: 15px; }
  table.compare td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--mute-2); }
  table.compare td.us::before { color: var(--ink-strong); }
}
@media (min-width: 861px) and (max-width: 1060px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
