.integration-grid { align-items: stretch; gap: 20px; }
.integration-grid > .surface { position: relative; min-height: 268px; padding: 27px; overflow: hidden; border-color: rgba(6,34,112,.09); box-shadow: 0 18px 45px rgba(6,34,112,.06); }
.integration-grid > .surface::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--brand-orange, #ff6500), #ff9a57); content: ""; }
.integration-grid > .surface:nth-child(2)::before { background: linear-gradient(90deg, var(--brand-navy, #062270), #5274c9); }
.integration-grid .surface-header { align-items: flex-start; }
.integration-grid .surface-header h2 { margin-bottom: 7px; font-size: 1rem; letter-spacing: -.035em; }
.integration-grid .surface-header p { max-width: 310px; font-size: .68rem; line-height: 1.55; }
.secure-pill { display: inline-flex; align-items: center; gap: 5px; color: #bd4b0b !important; background: var(--brand-orange-soft, #fff0e6) !important; }
.secure-pill::before { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--brand-orange, #ff6500); content: ""; }
.api-key-box { position: relative; min-height: 76px; margin-top: 24px; padding: 28px 11px 10px 15px; align-items: flex-end; background: linear-gradient(135deg, #fffaf6, #f8faff); border: 1px solid #f1dfd4; border-radius: 13px; }
.api-key-box::before { position: absolute; top: 10px; left: 15px; color: #a37d6a; font-size: .57rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; content: "Public widget key"; }
.api-key-box code { min-width: 0; color: var(--brand-navy, #062270); font-size: .69rem; font-weight: 650; }
.copy-button { width: auto; min-width: 72px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--brand-navy, #062270); background: #fff; border-color: #eaded6; border-radius: 9px; font-size: 0; box-shadow: 0 3px 9px rgba(6,34,112,.05); }
.copy-button::before { font-size: .66rem; font-weight: 800; content: "Copy"; }
.copy-button::after { width: 10px; height: 10px; display: inline-block; border: 1.5px solid var(--brand-orange, #ff6500); border-radius: 2px; content: ""; box-shadow: 3px -3px 0 -1px #fff, 3px -3px 0 .5px var(--brand-orange, #ff6500); }
.copy-button:hover { color: #fff; background: var(--brand-orange, #ff6500); border-color: var(--brand-orange, #ff6500); transform: translateY(-1px); }
.copy-button:hover::after { border-color: #fff; box-shadow: 3px -3px 0 -1px var(--brand-orange, #ff6500), 3px -3px 0 .5px #fff; }
.copy-button[data-copied] { color: #fff; background: var(--brand-navy, #062270); border-color: var(--brand-navy, #062270); }
.copy-button[data-copied]::before { content: "Copied"; }
.copy-button[data-copied]::after { border-color: #fff; box-shadow: none; }
.api-key-actions { align-items: center; margin-top: 17px; }
.api-key-actions .secondary-button { min-height: 39px; border-radius: 10px; }
.api-key-actions .text-button { color: var(--brand-orange, #ff6500); }
.code-block { position: relative; min-height: 116px; margin: 24px 0 15px; padding: 31px 15px 14px; overflow: auto; background: #f7f9fd; border: 1px solid #e5eaf4; border-radius: 13px; }
.code-block::before { position: absolute; top: 10px; left: 15px; color: #7e8da8; font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; content: "JavaScript embed snippet"; }
.code-block code { display: block; overflow-wrap: anywhere; white-space: pre-wrap; color: #344d78; font-size: .67rem; line-height: 1.75; }
.code-footnote { gap: 8px; padding-left: 2px; }
.code-footnote .status-dot { width: 7px; height: 7px; background: #2dbb91; box-shadow: 0 0 0 4px rgba(45,187,145,.11); }
.heading-actions { flex-wrap: wrap; }
@media (max-width: 760px) { .integration-grid > .surface { min-height: 0; padding: 22px; } .api-key-box code { font-size: .61rem; } .copy-button { min-width: 68px; } }
