/* Public home page ("/"), same design as the v2 landing on Vercel. Same Inter and indigo as the workspace. */
:root {
  --page: #f5f6fb;
  --bg: #ffffff;
  --ink: #17182b;
  --mute: #5e6478;
  --line: #e4e7f2;
  --soft: #eef0fb;
  --accent: #2f2a86;
  --accent-ink: #ffffff;
  --brand-ai: #2f2a86;
  --shadow: 0 18px 50px rgba(23, 24, 43, .08);
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #12131c;
  --bg: #1c1d2b;
  --ink: #f4f5fb;
  --mute: #b7bdd4;
  --line: rgba(244, 245, 251, .14);
  --soft: #262840;
  --accent: #c5c2f2;
  --accent-ink: #17182b;
  --brand-ai: #a5b4fc;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.12; font-weight: 700; }
.skip {
  position: absolute; left: 12px; top: 8px; transform: translateY(-140%);
  background: var(--ink); color: var(--page); padding: 8px 12px; border-radius: 8px; z-index: 30;
}
.skip:focus { transform: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.mark {
  width: 30px; height: 30px; border-radius: 50%; background: transparent; display: block; flex: none;
}
.wm { font-weight: 800; letter-spacing: -.04em; }
.wm-ai { color: var(--brand-ai); }
.nav { display: flex; gap: 16px; margin-left: 8px; font-size: 13px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--mute); }
.nav a:hover { color: var(--ink); }
.topacts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 0 16px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 600; border: 1px solid transparent;
}
.btn.solid { background: var(--accent); color: var(--accent-ink); }
.btn.solid:hover { filter: brightness(1.08); }
.btn.line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.line:hover { background: var(--soft); }
.ib {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer;
}
.mob { display: none; margin-left: auto; }
.mob summary { cursor: pointer; list-style: none; font-weight: 600; }
.mob summary::-webkit-details-marker { display: none; }
.sheet { display: grid; gap: 10px; padding: 8px 0 12px; }
.sheet a { text-decoration: none; }
main { padding-bottom: 40px; }
.hero { display: grid; grid-template-columns: 0.78fr 1.4fr; gap: 40px; align-items: center; padding: clamp(52px, 7vw, 88px) 0 40px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 14px; }
h1 { max-width: 12ch; font-size: clamp(44px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--mute); max-width: 36rem; }
.heroacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fine { margin-top: 16px; color: var(--mute); font-size: 13px; line-height: 1.6; max-width: 36rem; }
.shot { min-width: 0; margin: 0; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.shot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; color: var(--mute); font-size: 12px; font-weight: 600; }
.shot figcaption span:first-child { color: var(--ink); }
.shot img { display: block; width: 100%; height: auto; }
.dashmock-app {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) 230px; min-height: 540px;
  background: var(--page); color: var(--ink); font-size: 15px; line-height: 1.4; text-align: left;
}
.dashmock-side, .dashmock-chief { padding: 14px 12px; background: var(--bg); }
.dashmock-side { border-right: 1px solid var(--line); }
.dashmock-chief { border-left: 1px solid var(--line); background: #1b1836; color: #f4f5fb; }
.dashmock-brand { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.dashmock-brand img { width: 18px; height: 18px; }
.dashmock-brand b, .dashmock-brand small { display: block; }
.dashmock-brand small, .dashmock-sub, .dashmock-chief small { color: var(--mute); font-size: 11px; }
.dashmock-chief small { color: #b7bdd4; }
.dashmock-side p { margin: 0; padding: 7px 8px; border-radius: 8px; color: var(--mute); }
.dashmock-side p.on { background: var(--soft); color: var(--ink); font-weight: 650; }
.dashmock-side b { float: right; background: var(--accent); color: var(--accent-ink); border-radius: 99px; padding: 0 6px; font-size: 11px; }
.dashmock-main { padding: 16px 14px; }
.dashmock-main h3 { font-size: 22px; margin-bottom: 4px; }
.dashmock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.dashmock-kpis div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.dashmock-kpis small { display: block; color: var(--mute); font-size: 11px; }
.dashmock-kpis b { font-size: 20px; }
.dashmock-main h4 { font-size: 14px; margin: 8px 0; }
.dashmock-main article { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.dashmock-main header { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.dashmock-main header span { color: #8a5a00; font-size: 11px; font-weight: 700; }
.dashmock-main article p { margin-top: 6px; color: var(--mute); }
.dashmock-main article i { display: inline-block; margin: 8px 6px 0 0; font-style: normal; font-weight: 650; background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 4px 8px; }
.dashmock-main article i + i { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.dashmock-chief header b { display: block; font-size: 15px; }
.dashmock-chief .ask { margin: 16px 0 10px; font-weight: 700; }
.dashmock-chief p { margin: 6px 0; padding: 8px 10px; border: 1px solid rgba(244,245,251,.2); border-radius: 10px; }
.setup-flow { margin-top: 28px; }
.setup-flow-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 14px; }
.setup-flow-head .eyebrow { margin-bottom: 6px; }
.setup-flow-head h3 { font-size: 22px; }
.setup-flow-head > p { color: var(--mute); font-size: 14px; }
.setup-gallery { display: grid; gap: 14px; }
.setup-shot { min-width: 0; margin: 0; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.setup-shot img { display: block; width: 100%; height: auto; }
.setup-shot figcaption { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px; }
.setup-shot figcaption span { flex: none; color: var(--accent); font-size: 13px; font-weight: 700; }
.setup-shot figcaption b { font-size: 15px; }
.setup-controls { display: flex; justify-content: center; align-items: center; gap: 12px; }
.setup-arrow, .setup-steps button { display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.setup-arrow { width: 42px; height: 42px; border-radius: 50%; font-size: 30px; line-height: 1; }
.setup-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.setup-steps button { width: 38px; height: 38px; border-radius: 50%; font-size: 14px; font-weight: 700; }
.setup-arrow:hover, .setup-steps button:hover { border-color: var(--accent); }
.setup-steps button[aria-current="step"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.setup-arrow:focus-visible, .setup-steps button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sec { padding: clamp(56px, 7vw, 80px) 0; }
.sec h2 { max-width: 22ch; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.sec .dek { margin-top: 14px; color: var(--mute); max-width: 42rem; font-size: 17px; line-height: 1.65; }
.grid { display: grid; gap: 14px; margin-top: 28px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.problem-grid { grid-template-columns: repeat(6, 1fr); }
.problem-grid > * { grid-column: span 2; }
.problem-grid > :nth-child(4) { grid-column: 2 / span 2; }
.problem-grid > :nth-child(5) { grid-column: 4 / span 2; }
.g2 { grid-template-columns: 1fr 1fr; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 8px; }
.card p, .card li { color: var(--mute); line-height: 1.65; }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.steps { counter-reset: n; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.step em {
  font-style: normal; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.tabs button {
  min-width: 0; min-height: 48px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: 12px; padding: 10px 12px; cursor: pointer; line-height: 1.3; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.tabs button:hover { border-color: var(--accent); background: var(--soft); }
.tabs button[aria-selected="true"], .tabs button[aria-selected="true"]:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.panel { margin-top: 12px; }
.panel[hidden] { display: none; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; margin-top: 36px; }
.feature.reverse { grid-template-columns: 1.1fr 1fr; }
.feature.reverse .copy { order: 2; }
.feature .copy h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.14; }
.feature .copy .dek { font-size: 17px; }
.faq { display: grid; gap: 8px; margin-top: 24px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin-top: 8px; color: var(--mute); }
.cta {
  background: var(--accent); color: var(--accent-ink); border-radius: 20px; padding: 40px 32px; text-align: center;
}
.cta h2 { max-width: none; margin: 0 auto; }
.cta p { margin: 12px auto 0; max-width: 36rem; color: color-mix(in srgb, var(--accent-ink) 82%, transparent); }
.cta .heroacts { justify-content: center; }
.cta .btn.solid { background: var(--accent-ink); color: var(--accent); }
.cta .btn.line { border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); color: var(--accent-ink); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink); }
@media (max-width: 900px) {
  .nav, .topacts .btn { display: none; }
  .mob { display: block; }
  .hero, .g3, .g2, .feature, .feature.reverse { grid-template-columns: 1fr; }
  .problem-grid, .problem-grid > *, .problem-grid > :nth-child(4), .problem-grid > :nth-child(5) { grid-column: auto; grid-template-columns: 1fr; }
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature.reverse .copy { order: 0; }
  .hero { padding-top: 48px; gap: 28px; }
  .dashmock-app { grid-template-columns: 1fr; min-height: 0; }
  .dashmock-side, .dashmock-chief { border: 0; border-top: 1px solid var(--line); }
  .sec { padding: 48px 0; }
  .setup-controls { gap: 8px; }
  .setup-steps { gap: 5px; }
  .setup-steps button { width: 34px; height: 34px; }
  .setup-flow-head { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(42px, 12vw, 54px); }
  .lead { font-size: 17px; }
  .sec h2 { font-size: clamp(30px, 9vw, 38px); }
  .sec .dek { font-size: 16px; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tabs button { min-height: 46px; padding: 9px 10px; font-size: 14px; }
  .setup-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn.solid:hover, .tabs button { filter: none; transition: none; }
}
