/* The Claude Code page. Builds on home.css and roadmap.css. */
.cc-hero .rm-hero-in { align-items: center; }
.cc-small { margin: 18px 0 0; font: 400 12px/1.5 var(--mono); color: var(--taupe); }

/* The dock, as it looks with Claude Code connected */
.cc-stack { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px; background: var(--espresso); box-shadow: 0 40px 80px -40px rgba(42, 21, 18, .6); }
.cc-stack .hcard { background: #3A1E1A; }
.cc-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-pill { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border-radius: 12px; background: rgba(239, 232, 223, .08); box-shadow: inset 0 0 0 1px rgba(239, 232, 223, .08); color: var(--cream); font-size: 12.5px; }
.cc-pill > span:nth-child(2) { min-width: 0; }
.cc-pill b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-pill small { display: block; color: var(--mist); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-pill .sq { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(239, 232, 223, .12); font: 500 10px/1 var(--mono); }
.cc-pill .d { flex: none; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; }
.cc-pill .d.ask { background: #E0A25B; }
.cc-pill .d.done { background: #6BBF7F; }
.cc-limits { padding: 14px 16px; border-radius: 12px; background: rgba(239, 232, 223, .06); color: var(--cream); }
.cc-limits .k { display: block; margin-bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.cc-bar { display: grid; grid-template-columns: 64px 1fr 36px; align-items: center; gap: 10px; font-size: 12px; }
.cc-bar + .cc-bar { margin-top: 8px; }
.cc-bar span { color: var(--mist); }
.cc-bar b { position: relative; height: 6px; border-radius: 99px; background: rgba(239, 232, 223, .12); }
.cc-bar b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--cream); }
.cc-bar em { font: 500 11px/1 var(--mono); font-style: normal; text-align: right; color: var(--cream); }

/* Text sections */
.cc-narrow > * { max-width: 860px; }
.cc-narrow .h2, .sec .h2 { margin-top: 22px; }
.cc-narrow .lede { max-width: 720px; margin: 22px 0 0; }
.sec code, .cc-list code { padding: 1px 6px; border-radius: 5px; background: rgba(28, 20, 18, .07); font: 500 .86em/1.4 var(--mono); }
.dark code { background: rgba(239, 232, 223, .1); color: var(--cream); }
.cc-why { padding-bottom: 40px; }

.cc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: none; }
.cc-steps li { padding: 26px; border-radius: 18px; background: rgba(239, 232, 223, .06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.cc-steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--espresso); font: 500 14px/1 var(--mono); }
.cc-steps h3 { margin: 22px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.cc-steps p { margin: 10px 0 0; color: var(--mist); font-size: 15px; line-height: 1.6; }

.cc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.cc-grid article { padding: 24px; border-radius: 18px; background: var(--parch); }
.cc-grid h3 { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.cc-grid p { margin: 10px 0 0; color: var(--clay); font-size: 15px; line-height: 1.6; }

.cc-vs { margin: 48px 0 0; max-width: none; }

.cc-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.cc-list li { padding: 14px 0; border-bottom: 1px solid var(--line-light); color: var(--clay); }
.cc-list b { color: var(--ink); font-weight: 500; }

.cc-faq .qs { margin-top: 36px; }

@media (max-width: 1000px) {
  .cc-steps, .cc-grid { grid-template-columns: minmax(0, 1fr); }
  .cc-stack { max-width: 460px; }
}
@media (max-width: 640px) {
  .cc-pills { grid-template-columns: minmax(0, 1fr); }
  .cc-vs .vs-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; font-size: 14px; }
  .cc-vs .vs-head { font-size: 10px; letter-spacing: .03em; overflow-wrap: anywhere; }
  .sec code { overflow-wrap: anywhere; }
}
