/* Compliance API page */
.ca-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ca-section { padding: 72px 0; } .ca-section.alt { background: var(--bg-alt); }
.ca-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.ca-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; } .ca-head p { margin: 0; color: var(--text-muted, var(--muted)); font-size: 17px; line-height: 1.6; }
.ca-ladder { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.ca-step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg, 18px); background: var(--surface, var(--bg)); }
.ca-step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 15px; margin-bottom: 12px; }
.ca-step h3 { margin: 0 0 6px; font-size: 19px; } .ca-step p { margin: 0; color: var(--text-muted, var(--muted)); line-height: 1.55; }
.ca-plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: stretch; }
.ca-plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg, 18px); background: var(--surface, var(--bg)); transition: transform .15s, border-color .15s, box-shadow .15s; }
.ca-plan:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.ca-plan.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 34px rgba(0,0,0,.1); }
.ca-badge { align-self: flex-start; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ca-tag { margin: 0 0 4px; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.ca-plan h3 { margin: 0 0 14px; font-size: 21px; line-height: 1.25; }
.ca-price { margin: 0 0 4px; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; } .ca-price span { font-size: 16px; font-weight: 600; color: var(--text-muted, var(--muted)); }
.ca-price.soon { font-size: 24px; } .ca-note { margin: 0 0 16px; color: var(--text-muted, var(--muted)); font-size: 14px; }
.ca-limits { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: var(--bg-alt); font-size: 13.5px; line-height: 1.5; }
.ca-feats { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.ca-feats li { position: relative; padding-left: 26px; line-height: 1.45; font-size: 15px; }
.ca-feats li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.ca-feats li::after { content: ''; position: absolute; left: 5px; top: 7px; width: 5px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.9); }
.ca-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); margin: 0 auto 28px; }
.ca-toggle button { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.ca-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.ca-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.ca-btn.ghost { background: transparent; color: var(--accent); } .ca-btn:disabled { opacity: .6; cursor: wait; }
.ca-box { max-width: 520px; margin: 28px auto 0; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg, 18px); background: var(--surface, var(--bg)); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.ca-box h3 { margin: 0 0 6px; } .ca-box label { display: block; margin: 14px 0 5px; font-weight: 600; font-size: 14px; }
.ca-box input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: inherit; font: inherit; }
.ca-box input:focus { outline: 2px solid var(--accent); outline-offset: 1px; } .ca-msg { margin: 12px 0 0; font-size: 14px; min-height: 1.2em; } .ca-msg.bad { color: #c0392b; }
.ca-key { display: block; padding: 14px; margin: 12px 0; border: 1px dashed var(--accent); border-radius: 10px; background: var(--bg-alt); word-break: break-all; font-size: 14px; }
.ca-code { margin: 0; padding: 22px; border-radius: var(--radius-lg, 18px); background: #0f1722; color: #d7e2f0; font-size: 13.5px; line-height: 1.65; overflow-x: auto; }
.ca-code .k { color: #7fb6ff; } .ca-code .s { color: #9be9a8; } .ca-code .c { color: #7b8aa0; }
.ca-split { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: start; }
.ca-fields { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.ca-fields li { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface, var(--bg)); font-size: 14px; font-weight: 600; }
.ca-faq { max-width: 760px; margin: 0 auto; } .ca-faq details { border-bottom: 1px solid var(--border); padding: 16px 0; } .ca-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; } .ca-faq p { margin: 10px 0 0; line-height: 1.65; color: var(--text-muted, var(--muted)); }
.ca-fine { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 13.5px; color: var(--text-muted, var(--muted)); }
@media (max-width: 860px) { .ca-ladder, .ca-split { grid-template-columns: 1fr; } .ca-section { padding: 52px 0; } .ca-plan { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .ca-plan { transition: none; } .ca-plan:hover { transform: none; } }
