/* The public home page, MCP only (owner, Nov 25: one offer, a remote MCP server that gives an agent a real phone).
   Loaded after site.css, which keeps the shared header and footer. Cobalt and navy are the brand; SIM gold appears only
   on the SIM tiers; "glass" is only for things that are screens (the phone, the call log, the code). Motion: the hero
   demo only (site-home.js), off with reduced motion. */
body.mcp {
  --h-paper:#f4f6fa; --h-white:#fff; --h-ink:#0e1834; --h-ink-2:#46516c; --h-ink-3:#66718b; --h-line:#d7deec;
  --h-cobalt:#1f4fd8; --h-cobalt-2:#173da8; --h-cobalt-soft:#e4ebfd; --h-gold:#c9a030; --h-gold-2:#8c6c12;
  --h-glass:#0b1736; --h-glass-2:#16285a; --h-glass-ink:#dce5fb; --h-glass-dim:#8fa1cd; --h-glass-fn:#a9c1ff;
  --h-max:1160px;
  --maxw:var(--h-max);        /* the shared header and footer (.wrap) on the same left edge as the sections */
  background:var(--h-paper); color:var(--h-ink);
}

.h-wrap { max-width:var(--h-max); margin:0 auto; padding:0 24px; }
.h-narrow > * { max-width:820px; }          /* the same left edge as every section, a shorter measure */
.mcp main h1, .mcp main h2, .mcp main h3 { color:var(--h-ink); }
.mcp main h1 { font-size:clamp(2.6rem,5.4vw,4.5rem); font-weight:780; letter-spacing:-.032em; line-height:1.02; margin:0 0 24px; }
.mcp main h2 { font-size:clamp(1.9rem,3.2vw,2.6rem); font-weight:740; letter-spacing:-.03em; line-height:1.08; margin:0 0 16px; }
.mcp main h3 { font-size:1.06rem; font-weight:700; letter-spacing:-.01em; line-height:1.3; margin:0 0 10px; }
.mcp main p { margin:0 0 16px; max-width:66ch; }
.mcp main p code, .mcp main dd code, .mcp main li code { font-size:.86em; background:var(--h-cobalt-soft); border:0; border-radius:5px; padding:2px 6px; color:var(--h-cobalt-2); }
.h-sub { color:var(--h-ink-2); margin-bottom:40px !important; }
.h-more { font-size:.95rem; color:var(--h-ink-2); margin-top:28px !important; }
.h-more a, .h-note a { color:var(--h-cobalt-2); text-underline-offset:3px; }

/* buttons */
.h-btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 24px; border-radius:10px;
  font-weight:650; font-size:1rem; text-decoration:none; border:1.5px solid transparent; transition:background .15s, border-color .15s; }
.h-btn-primary { background:var(--h-cobalt); color:#fff; }
.h-btn-primary:hover { background:var(--h-cobalt-2); }
.h-btn-quiet { border-color:var(--h-ink); color:var(--h-ink); }
.h-btn-quiet:hover { background:rgba(14,24,52,.06); }
.h-btn:focus-visible, .h-tablist button:focus-visible, .h-replay:focus-visible, .h-faq summary:focus-visible, .h-panel:focus-visible {
  outline:3px solid var(--h-cobalt); outline-offset:3px; }

/* hero */
.h-hero { padding:72px 0 96px; }
.h-hero-grid { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:56px; align-items:center; }
.h-lede { font-size:clamp(1.1rem,1.6vw,1.25rem); line-height:1.55; color:var(--h-ink-2); margin-bottom:32px !important; }
.h-cta { display:flex; flex-wrap:wrap; gap:12px; }
.h-fine { margin-top:18px !important; font-size:.92rem; color:var(--h-ink-3); }

.h-demo { margin:0; display:grid; grid-template-columns:minmax(0,1fr) 268px; align-items:center; position:relative; }
.h-demo figcaption { grid-column:1 / -1; margin-top:22px; font-size:.9rem; color:var(--h-ink-3); max-width:52ch; }
.h-calls { background:var(--h-glass); color:var(--h-glass-ink); border-radius:16px; padding:22px 66px 22px 22px; margin-right:-48px;
  min-height:330px; display:flex; flex-direction:column; position:relative; z-index:1; }
.h-log { list-style:none; margin:0; padding:0; font:12.5px/1.6 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace; }
.h-log li { margin:0 0 14px; overflow-wrap:anywhere; transition:opacity .3s; }
.mcp main .h-log code { color:#fff; background:none; padding:0; border-radius:0; font-size:1em; }
.mcp main .h-log b { color:var(--h-glass-fn); font-weight:600; }
.h-log samp { display:block; color:var(--h-glass-dim); font-family:inherit; padding-left:1.2em; }
.h-log samp::before { content:"→ "; margin-left:-1.2em; }
.h-replay { margin-top:auto; align-self:flex-start; background:none; border:1px solid var(--h-glass-2); color:var(--h-glass-ink);
  border-radius:8px; padding:6px 12px; font-size:.85rem; cursor:pointer; }
.h-replay:hover { border-color:var(--h-glass-dim); }

.h-phone { position:relative; z-index:2; width:268px; aspect-ratio:9 / 19; background:#121a2e; border-radius:40px; padding:9px;
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset, 0 34px 60px -28px rgba(14,24,52,.55); }
.h-screen { position:relative; height:100%; background:#fff; border-radius:32px; overflow:hidden; color:#151a24;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.h-status { display:flex; justify-content:space-between; align-items:center; height:30px; padding:2px 22px 0; font-size:11px; font-weight:650; }
.h-net { display:flex; align-items:center; gap:5px; font-size:10px; }
.h-bars { display:inline-flex; align-items:flex-end; gap:1.5px; height:9px; }
.h-bars i { width:2.5px; background:#151a24; border-radius:1px; }
.h-bars i:nth-child(1) { height:3px; } .h-bars i:nth-child(2) { height:5px; } .h-bars i:nth-child(3) { height:7px; } .h-bars i:nth-child(4) { height:9px; }
.h-batt { width:18px; height:9px; border:1.2px solid #151a24; border-radius:2.5px; position:relative; }
.h-batt::after { content:""; position:absolute; inset:1px 4px 1px 1px; background:#151a24; border-radius:1px; }
.h-chrome { display:flex; align-items:center; gap:8px; padding:4px 12px 10px; border-bottom:1px solid #eceff5; }
.h-url { flex:1; min-width:0; background:#eef1f7; border-radius:16px; padding:7px 12px; font-size:10.5px; color:#3b4252;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.h-tabs { width:18px; height:18px; border:1.5px solid #3b4252; border-radius:4px; font-size:9px; font-weight:700; display:grid; place-items:center; }
.h-page { position:absolute; left:0; right:0; top:76px; bottom:0; padding:14px 14px 0; transition:opacity .35s; }
.h-search { position:relative; height:36px; border:1px solid #cdd4e2; border-radius:9px; padding:0 12px; display:flex; align-items:center; font-size:13px; }
.h-count { font-size:10.5px !important; color:#6b7385; margin:12px 0 2px !important; }
.h-item { position:relative; display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid #eef0f5; }
.h-item strong { display:block; font-size:12.5px; line-height:1.25; }
.h-item small { display:block; font-size:10.5px; color:#6b7385; }
.h-item .h-price { font-size:11.5px; color:#151a24; font-weight:600; }
.h-cover { display:block; width:36px; height:50px; border-radius:2px 4px 4px 2px; box-shadow:inset 3px 0 0 rgba(0,0,0,.18); }
.h-cover.c1 { background:#1e6b5c; } .h-cover.c2 { background:#7b4f9e; } .h-cover.c3 { background:#c98a2b; }
.h-cover.h-big { width:96px; height:136px; margin:6px 0 16px; }
.h-book { opacity:0; }
.h-book strong { display:block; font-size:17px; line-height:1.2; }
.h-book small { display:block; font-size:12px; color:#6b7385; margin:2px 0 10px; }
.h-book p { font-size:11.5px !important; color:#6b7385; }
.h-buy { display:block; margin-top:14px; background:#151a24; color:#fff; text-align:center; border-radius:9px; padding:10px; font-size:12.5px; font-weight:650; }
/* numbered controls, as browser_snapshot lists them */
.h-screen em { position:absolute; left:-4px; top:6px; font:600 9.5px/1 ui-monospace,"SF Mono",Menlo,monospace; font-style:normal;
  background:var(--h-cobalt); color:#fff; padding:3px 4px; border-radius:4px; transition:opacity .25s, transform .25s; }
.h-search em { left:-6px; top:-7px; }
.h-tap { position:absolute; left:40px; top:104px; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%;
  background:rgba(31,79,216,.28); transform:scale(0); pointer-events:none; }

/* the played sequence: hidden until each step (without the script, or with reduced motion, the read state shows) */
.h-play .h-log li { opacity:0; }
.h-play[data-step="1"] .h-log li:nth-child(-n+1), .h-play[data-step="2"] .h-log li:nth-child(-n+2),
.h-play[data-step="3"] .h-log li:nth-child(-n+3), .h-play[data-step="4"] .h-log li { opacity:1; }
.h-play .h-screen em { opacity:0; transform:scale(.6); }
.h-play[data-step="2"] .h-screen em, .h-play[data-step="3"] .h-screen em { opacity:1; transform:none; }
.h-play[data-step="2"] .h-item:nth-of-type(2) em { transition-delay:.08s; } .h-play[data-step="2"] .h-item:nth-of-type(3) em { transition-delay:.16s; }
.h-play[data-step="2"] .h-item:nth-of-type(4) em { transition-delay:.24s; }
.h-play[data-step="0"] .h-results { opacity:0; }
.h-play[data-step="0"] .h-url { color:transparent; }
.h-play[data-step="3"] .h-tap { animation:h-tap .55s ease-out forwards; }
.h-play[data-step="4"] .h-results { opacity:0; }
.h-play[data-step="4"] .h-book { opacity:1; }
.h-play[data-step="4"] .h-url { font-size:0; }
.h-play[data-step="4"] .h-url::after { content:"books.example/the-long-signal"; font-size:10.5px; }
@keyframes h-tap { 0% { transform:scale(0); opacity:1; } 100% { transform:scale(1.6); opacity:0; } }

/* sections */
.h-connect, .h-tools, .h-real, .h-pricing, .h-how, .h-faq { padding:96px 0; border-top:1px solid var(--h-line); }
.h-split { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:64px; align-items:start; }
.h-pair { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px 18px; margin:28px 0; align-items:baseline; }
.h-pair dt { font-weight:650; color:var(--h-ink-2); font-size:.95rem; }
.h-pair dd { margin:0; overflow-wrap:anywhere; }
.h-note { font-size:.98rem; color:var(--h-ink-2); }

.h-code { background:var(--h-glass); border-radius:16px; color:var(--h-glass-ink); overflow:hidden; scroll-margin-top:80px; }   /* below the sticky header when a pick scrolls to it */
.h-tablist { display:flex; gap:4px; padding:10px 12px 0; border-bottom:1px solid var(--h-glass-2); overflow-x:auto; }
.h-tablist button { background:none; border:0; border-bottom:2px solid transparent; color:var(--h-glass-dim); font:600 .9rem/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  padding:12px 12px 14px; cursor:pointer; white-space:nowrap; min-height:0; }
.h-tablist button:hover { color:var(--h-glass-ink); }
.h-tablist button[aria-selected="true"] { color:#fff; border-bottom-color:var(--h-glass-fn); }
.h-panel { padding:4px 0 0; min-height:226px; }
.h-panel pre { margin:0; padding:20px 24px 24px; overflow-x:auto; font:13px/1.65 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace; color:var(--h-glass-ink); background:none; border:0; }
.h-panel pre code { background:none; border:0; padding:0; color:inherit; font-size:1em; }
/* one-click installs under the config file: Cursor's own button, unaltered, and a plain button of the same size */
.h-oneclick { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:2px 24px 6px; }
.h-oc { display:inline-flex; align-items:center; height:32px; border-radius:6px; text-decoration:none; }
.h-oc img { display:block; width:144px; height:32px; }
.h-oc-vscode { padding:0 14px; background:#e9ecf3; color:#151a24; font:600 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.h-oc-vscode:hover { background:#fff; }
.h-oc:focus-visible { outline:3px solid var(--h-glass-fn); outline-offset:3px; }
.mcp main .h-oc-note { margin:8px 0 0; max-width:none; padding:0 24px 20px; color:var(--h-glass-dim); font-size:.88rem; }

.h-steps-small { margin:0; padding:22px 24px 22px 44px; font-size:.98rem; line-height:1.6; }
.h-steps-small li { margin-bottom:10px; }
.mcp main .h-steps-small code { background:var(--h-glass-2); color:#fff; }
.h-code .h-more { margin:0 !important; padding:14px 24px 18px; border-top:1px solid var(--h-glass-2); color:var(--h-glass-dim); }
.h-code .h-more a { color:#fff; }

/* the clients, by setup: each picks its tab above and shows its own note (a link to the docs without the script);
   names only until each owner approves its logo */
.h-clients { margin-top:56px; }
.mcp main .h-clients h3 { font-size:1.15rem; margin-bottom:20px; }
.h-client-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; }
.h-cg h4 { font-size:.95rem; font-weight:650; color:var(--h-ink-2); margin:0 0 12px; padding-top:12px; border-top:2px solid var(--h-ink); }
.h-cg ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.h-client { display:flex; align-items:center; min-height:44px; padding:0 14px; border:1px solid var(--h-line); border-radius:10px;
  background:var(--h-white); color:var(--h-ink); text-decoration:none; font-weight:600; font-size:.95rem; line-height:1.3; transition:border-color .15s; }
.h-client:hover { border-color:var(--h-ink-3); }
.h-client[aria-current] { border-color:var(--h-cobalt); box-shadow:inset 0 0 0 1px var(--h-cobalt); color:var(--h-cobalt-2); }
.h-client:focus-visible { outline:3px solid var(--h-cobalt); outline-offset:3px; }
.mcp main .h-tm { margin-top:20px; font-size:.85rem; color:var(--h-ink-3); }
.mcp main .h-client-note { margin:0; max-width:none; padding:14px 24px; border-top:1px solid var(--h-glass-2); color:#fff;
  font:13px/1.6 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace; overflow-wrap:anywhere; }

.h-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; }
.mcp .h-groups > section { padding:0; border:0; }
.h-groups h3 { padding-top:14px; border-top:2px solid var(--h-ink); }
.h-groups dl { margin:0; }
.h-groups dt { margin-top:16px; }
.h-groups dt code { font:600 .88rem/1.4 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace; color:var(--h-cobalt-2); background:none; padding:0; }
.h-groups dd { margin:2px 0 0; color:var(--h-ink-2); font-size:.96rem; line-height:1.5; }

.h-facts { margin:0; display:grid; grid-template-columns:minmax(120px,auto) minmax(0,1fr); }
.h-facts dt, .h-facts dd { padding:16px 0; border-top:1px solid var(--h-line); margin:0; }
.h-facts dt { font-weight:650; padding-right:24px; }
.h-facts dd { color:var(--h-ink-2); }

/* pricing tiles cut like a SIM card: the SIM tiers carry the chip, the Wi-Fi tier an empty tray */
.h-sims { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.h-sim { --cut:36px; background:var(--h-line); padding:1.5px; clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%); }
.h-sim-in { height:100%; background:var(--h-white); padding:28px 28px 30px; display:flex; flex-direction:column;
  clip-path:polygon(0 0,calc(100% - var(--cut) + 1px) 0,100% calc(var(--cut) - 1px),100% 100%,0 100%); }
.h-chip { width:46px; height:34px; margin-bottom:22px; }
.h-chip rect { fill:var(--h-gold); stroke:var(--h-gold-2); stroke-width:1.2; }
.h-chip path { fill:none; stroke:var(--h-gold-2); stroke-width:1.2; }
.h-sim-empty .h-chip rect { fill:none; stroke:var(--h-ink-3); stroke-dasharray:3 3; }
.mcp main .h-price { margin:4px 0 18px; color:var(--h-ink-2); font-size:.98rem; }
.h-price b, .h-price .h-or { font-size:2.3rem; font-weight:760; letter-spacing:-.03em; color:var(--h-ink); margin-right:4px; }
.h-price .h-or { font-size:1.5rem; margin-left:16px; }
.h-sim ul { list-style:none; margin:0 0 26px; padding:0; }
.h-sim li { padding:9px 0; border-top:1px solid var(--h-line); font-size:.96rem; color:var(--h-ink-2); }
.h-sim .h-btn { margin-top:auto; }

.h-flow { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; counter-reset:step; }
.h-flow li { counter-increment:step; }
.h-flow li::before { content:counter(step); display:block; font-size:2.6rem; font-weight:760; line-height:1; color:var(--h-cobalt); margin-bottom:14px; letter-spacing:-.04em; }
.h-flow p { color:var(--h-ink-2); font-size:.98rem; }

.h-faq details { border-top:1px solid var(--h-line); }
.h-faq details:last-of-type { border-bottom:1px solid var(--h-line); }
.h-faq summary { list-style:none; cursor:pointer; padding:20px 40px 20px 0; position:relative; font-weight:650; font-size:1.06rem; }
.h-faq summary::-webkit-details-marker { display:none; }
.h-faq summary::after { content:""; position:absolute; right:6px; top:50%; width:12px; height:12px; margin-top:-8px;
  border-right:2px solid var(--h-ink); border-bottom:2px solid var(--h-ink); transform:rotate(45deg); transition:transform .2s; }
.h-faq details[open] summary::after { transform:rotate(225deg); margin-top:-2px; }
.h-faq details p { color:var(--h-ink-2); padding-bottom:12px; }

.mcp .h-end { padding:88px 0; background:var(--h-glass); border:0; }
.mcp main .h-end h2 { color:#fff; max-width:22ch; margin-bottom:28px; }
.h-end .h-btn-primary { background:#fff; color:var(--h-ink); }
.h-end .h-btn-primary:hover { background:var(--h-cobalt-soft); }

@media (max-width:1020px) {
  .h-hero-grid { grid-template-columns:1fr; gap:48px; }
  .h-demo { grid-template-columns:minmax(0,1fr) 248px; }
  .h-phone { width:248px; }
}
@media (max-width:860px) {
  .h-split, .h-groups, .h-sims { grid-template-columns:1fr; }
  .h-client-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .h-split { gap:32px; }
  .h-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .h-sims { max-width:460px; }
}
@media (max-width:640px) {
  .h-wrap { padding:0 16px; }
  .h-hero { padding:44px 0 64px; }
  .h-connect, .h-tools, .h-real, .h-pricing, .h-how, .h-faq { padding:64px 0; }
  .h-demo { grid-template-columns:1fr; justify-items:center; }
  .h-phone { order:-1; width:232px; }
  .h-calls { margin:-60px 0 0; padding:80px 18px 18px; width:100%; min-height:0; }
  .h-demo figcaption { justify-self:start; }
  .h-flow { grid-template-columns:1fr; gap:24px; }
  .h-facts { grid-template-columns:1fr; }
  .h-client-groups { grid-template-columns:1fr; gap:22px; }
  .h-facts dd { border-top:0; padding-top:0; }
  .h-cta .h-btn { flex:1 1 100%; }
}
@media (prefers-reduced-motion:reduce) {
  .h-log li, .h-page, .h-screen em, .h-btn, .h-faq summary::after { transition:none; }
}
