/* /<lang>/amazon-ppc-mcp-server (templates/index_amazon_ppc_mcp_newww.html), 2026-11-09.
   Scoped to .mcp-*: the landings run on a purged Tailwind build, so a utility class this page invented would not
   exist. Colours are the site's own (navy, primary, slate); orange only on the call to action, as in the menu.
   One deliberate moment of motion (the example conversation plays in), switched off for reduced motion. */

.mcp {
  --mcp-ink: #04143d;
  --mcp-ink-2: #334155;
  --mcp-muted: #64748b;
  --mcp-line: #e2e8f0;
  --mcp-line-2: #cbd5e1;
  --mcp-paper: #ffffff;
  --mcp-band: #f5f7fb;
  --mcp-blue: #046bfc;
  --mcp-blue-ink: #0453c4;
  --mcp-cta: #c2410c;          /* white label 5.2:1 (AA); #f97316 was 2.8:1 */
  --mcp-cta-hover: #9a3412;    /* 7.3:1 */
  --mcp-ok: #047857;
  --mcp-ok-bg: #e8f6ef;
  --mcp-wait: #92400e;
  --mcp-wait-bg: #fdf3e2;
  --mcp-code: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: var(--mcp-ink);
  font-feature-settings: "tnum" 1;
}
.mcp *, .mcp *::before, .mcp *::after { box-sizing: border-box; }
.mcp a { color: var(--mcp-blue-ink); text-underline-offset: 3px; }
.mcp a:focus-visible, .mcp button:focus-visible, .mcp summary:focus-visible {
  outline: 3px solid rgba(4, 107, 252, .45); outline-offset: 2px; border-radius: 6px;
}
.mcp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .mcp-wrap { padding: 0 28px; } }

.mcp-skip { position: absolute; left: -9999px; top: 8px; }
.mcp-skip:focus { left: 8px; z-index: 9999; background: var(--mcp-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

.mcp-section { padding: 56px 0; }
@media (min-width: 900px) { .mcp-section { padding: 88px 0; } }
.mcp-band { background: var(--mcp-band); }
.mcp h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin: 0 0 14px; }
.mcp h3 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; margin: 0 0 6px; }
.mcp p { margin: 0 0 12px; }
.mcp-intro { font-size: 1.06rem; line-height: 1.6; color: var(--mcp-ink-2); max-width: 36em; }

/* ---------- buttons ---------- */
.mcp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 28px 0 0; }
.mcp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 10px; background: var(--mcp-cta); color: #fff !important; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: background-color .15s ease;
}
.mcp-btn:hover { background: var(--mcp-cta-hover); }
.mcp-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.mcp-link:hover { text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.mcp-hero { padding: 28px 0 56px; border-bottom: 1px solid var(--mcp-line); }
@media (min-width: 900px) { .mcp-hero { padding: 40px 0 88px; } }
.mcp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .85rem; color: var(--mcp-muted); }
.mcp-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mcp-line-2); }
.mcp-crumbs a { color: var(--mcp-muted); text-decoration: none; }
.mcp-crumbs a:hover { color: var(--mcp-ink); text-decoration: underline; }
.mcp-hero-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .mcp-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.mcp-hero h1 {
  font-size: clamp(1.95rem, 3.7vw, 2.85rem); line-height: 1.08; font-weight: 800; letter-spacing: -.022em;
  margin: 0 0 20px; max-width: 16em; text-wrap: balance;
}
.mcp-lead { font-size: 1.15rem; line-height: 1.6; color: var(--mcp-ink-2); max-width: 32em; }
.mcp-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 32em; }
.mcp-facts li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.5; color: var(--mcp-ink-2); }
.mcp-facts li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--mcp-ok); border-bottom: 2px solid var(--mcp-ok); transform: rotate(-45deg);
}
.mcp-beta { margin-top: 22px; font-size: .9rem; color: var(--mcp-wait); background: var(--mcp-wait-bg); border-radius: 10px; padding: 10px 14px; max-width: 32em; }

/* ---------- the example conversation ---------- */
.mcp-chat {
  margin: 0; background: var(--mcp-paper); border: 1px solid var(--mcp-line-2); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(4, 20, 61, .04), 0 28px 60px -32px rgba(4, 20, 61, .32);
  overflow: hidden;
}
.mcp-chat-head { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--mcp-line); font-size: .82rem; color: var(--mcp-muted); }
.mcp-chat-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--mcp-ok); display: inline-block; }
.mcp-turns { list-style: none; margin: 0; padding: 18px; display: grid; gap: 12px; }
@media (min-width: 640px) { .mcp-turns { padding: 22px 24px; } }
.mcp-you { justify-self: end; max-width: 86%; background: var(--mcp-ink); color: #fff; border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: .94rem; line-height: 1.45; }
.mcp-ai { max-width: 100%; font-size: .94rem; line-height: 1.5; color: var(--mcp-ink); }
.mcp-ai p { margin: 0; }
.mcp-who { display: block; font-size: .75rem; font-weight: 700; color: var(--mcp-muted); margin-bottom: 4px; }
.mcp-you .mcp-who { color: rgba(255, 255, 255, .7); }
.mcp-call {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: var(--mcp-band);
  border: 1px solid var(--mcp-line); border-radius: 10px; padding: 8px 12px; font-size: .8rem;
}
.mcp-call code { font-family: var(--mcp-code); font-size: .8rem; color: var(--mcp-ink); word-break: break-word; }
.mcp-call code b { color: var(--mcp-blue-ink); font-weight: 700; }
.mcp-state { margin-left: auto; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.mcp-state.is-wait { color: var(--mcp-wait); background: var(--mcp-wait-bg); }
.mcp-state.is-ok { color: var(--mcp-ok); background: var(--mcp-ok-bg); }
.mcp-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .84rem; }
.mcp-table th { text-align: left; font-weight: 600; color: var(--mcp-muted); padding: 0 8px 6px 0; border-bottom: 1px solid var(--mcp-line); }
.mcp-table td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--mcp-line); }
.mcp-table th + th, .mcp-table td + td { text-align: right; }
.mcp-diff { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: .84rem; }
.mcp-diff li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--mcp-line); padding-bottom: 4px; }
.mcp-diff s { color: var(--mcp-muted); }
.mcp-diff strong { color: var(--mcp-ink); }
.mcp-chat-note { margin: 0; padding: 10px 18px 14px; font-size: .78rem; color: var(--mcp-muted); border-top: 1px solid var(--mcp-line); }
@media (prefers-reduced-motion: no-preference) {
  .mcp-turns > li { animation: mcp-in .35s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 150ms + 100ms); }
}
@keyframes mcp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- capabilities ---------- */
.mcp-split { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .mcp-split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
  .mcp-split-aside { position: sticky; top: 96px; align-self: start; }
}
.mcp-scopes { margin: 0; border-top: 1px solid var(--mcp-line); }
.mcp-scope { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--mcp-line); }
@media (min-width: 640px) { .mcp-scope { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; } }
.mcp-scope dt { font-weight: 700; line-height: 1.35; }
.mcp-scope dt small { display: block; font-weight: 600; font-size: .78rem; color: var(--mcp-ok); margin-top: 4px; }
.mcp-scope dd { margin: 0; color: var(--mcp-ink-2); line-height: 1.55; font-size: .97rem; }
.mcp-tools { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mcp-tools code { font-family: var(--mcp-code); font-size: .76rem; color: var(--mcp-ink); background: var(--mcp-band); border: 1px solid var(--mcp-line); border-radius: 6px; padding: 2px 7px; }
.mcp-note { margin-top: 18px; font-size: .92rem; color: var(--mcp-muted); }

/* ---------- control: the consent page in miniature ---------- */
.mcp-mock { background: var(--mcp-paper); border: 1px solid var(--mcp-line-2); border-radius: 16px; padding: 22px; box-shadow: 0 22px 50px -34px rgba(4, 20, 61, .35); }
.mcp-mock-app { display: flex; gap: 12px; align-items: center; }
.mcp-mock-app span:first-child { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--mcp-blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mcp-mock-app strong { font-size: 1rem; line-height: 1.3; }
.mcp-mock-badge { display: inline-block; margin: 10px 0 4px; font-size: .74rem; font-weight: 700; color: var(--mcp-ok); background: var(--mcp-ok-bg); border-radius: 999px; padding: 2px 9px; }
.mcp-mock h4 { margin: 16px 0 6px; font-size: .82rem; font-weight: 700; color: var(--mcp-muted); }
.mcp-mock ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mcp-mock li { display: flex; align-items: center; gap: 9px; font-size: .88rem; border: 1px solid var(--mcp-line); border-radius: 9px; padding: 7px 10px; }
.mcp-box { flex: 0 0 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--mcp-line-2); }
.mcp-box.on { background: var(--mcp-blue); border-color: var(--mcp-blue); box-shadow: inset 0 0 0 3px #fff; }
.mcp-box.radio { border-radius: 50%; }
.mcp-mock-actions { display: flex; gap: 8px; margin-top: 16px; }
.mcp-mock-actions span { font-size: .85rem; font-weight: 700; border-radius: 9px; padding: 8px 16px; border: 1px solid var(--mcp-blue); }
.mcp-mock-actions span:first-child { background: var(--mcp-blue); color: #fff; }
.mcp-mock-actions span:last-child { color: var(--mcp-blue-ink); }
.mcp-points { margin: 22px 0 0; display: grid; gap: 18px; }
.mcp-points dt { font-weight: 700; margin-bottom: 2px; }
.mcp-points dd { margin: 0; color: var(--mcp-ink-2); line-height: 1.55; }

/* ---------- lifecycle (a real sequence, so numbered) ---------- */
.mcp-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: mcp-step; }
@media (min-width: 1000px) { .mcp-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }
.mcp-steps li { position: relative; padding-left: 46px; counter-increment: mcp-step; }
@media (min-width: 1000px) { .mcp-steps li { padding: 48px 0 0; } }
.mcp-steps li::before {
  content: counter(mcp-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--mcp-paper); border: 2px solid var(--mcp-ink); color: var(--mcp-ink); font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1000px) {
  .mcp-steps li::after { content: ""; position: absolute; top: 16px; left: 40px; right: -12px; height: 2px; background: var(--mcp-line-2); }
  .mcp-steps li:last-child::after { display: none; }
}
.mcp-steps p { color: var(--mcp-ink-2); line-height: 1.55; font-size: .95rem; margin: 0; }

/* ---------- security spec sheet ---------- */
.mcp-spec { margin: 30px 0 0; border-top: 2px solid var(--mcp-ink); }
.mcp-spec div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--mcp-line-2); }
@media (min-width: 640px) { .mcp-spec div { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.mcp-spec dt { font-weight: 700; }
.mcp-spec dd { margin: 0; color: var(--mcp-ink-2); line-height: 1.55; }

/* ---------- connect ---------- */
.mcp-url { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 26px 0 30px; max-width: 760px; }
.mcp-url code {
  flex: 1 1 280px; min-width: 0; font-family: var(--mcp-code); font-size: 1.02rem; color: var(--mcp-ink);
  background: var(--mcp-paper); border: 1.5px solid var(--mcp-ink); border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere;
}
.mcp-url button {
  min-height: 48px; padding: 0 20px; border-radius: 10px; border: 0; background: var(--mcp-ink); color: #fff;
  font-weight: 700; font-size: .95rem; cursor: pointer;
}
.mcp-url button:hover { background: #0b2459; }
.mcp-clients { display: grid; gap: 14px; }
@media (min-width: 800px) { .mcp-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.mcp-client { border: 1px solid var(--mcp-line-2); border-radius: 14px; padding: 18px 20px; background: var(--mcp-paper); }
.mcp-client p { margin: 0; color: var(--mcp-ink-2); line-height: 1.55; font-size: .95rem; }
.mcp-client pre { margin: 10px 0 0; padding: 10px 12px; background: var(--mcp-ink); color: #e2e8f0; border-radius: 9px; overflow-x: auto; font-size: .8rem; line-height: 1.5; }
.mcp-client pre code { font-family: var(--mcp-code); white-space: pre; }
.mcp-who-for { margin-top: 28px; display: grid; gap: 10px; max-width: 760px; color: var(--mcp-ink-2); }
.mcp-who-for p { margin: 0; line-height: 1.55; }

/* ---------- FAQ ---------- */
.mcp-faq { max-width: 820px; margin: 26px 0 0; border-top: 1px solid var(--mcp-line-2); }
.mcp-faq details { border-bottom: 1px solid var(--mcp-line-2); }
.mcp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.04rem; }
.mcp-faq summary::-webkit-details-marker { display: none; }
.mcp-faq summary::after { content: "+"; flex: 0 0 auto; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--mcp-muted); transition: transform .2s ease; }
.mcp-faq details[open] summary::after { transform: rotate(45deg); }
.mcp-faq-a { padding: 0 0 18px; color: var(--mcp-ink-2); line-height: 1.6; max-width: 46em; }

/* ---------- closing ---------- */
.mcp-family { margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--mcp-line-2); max-width: 820px; }
.mcp-family a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--mcp-line-2); text-decoration: none; color: var(--mcp-ink); }
@media (min-width: 640px) { .mcp-family a { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.mcp-family a strong { font-size: 1.05rem; }
.mcp-family a span { color: var(--mcp-ink-2); line-height: 1.55; }
.mcp-family a:hover strong { color: var(--mcp-blue-ink); text-decoration: underline; }
