/* H: the SmartSpectra SDK page. Built on site.css and home.css; only what is new to this page lives here. */

/* Hero: the homepage's copy-only hero, with its buttons back */
.sk-h0 .h0-b { display: flex; }
.sk-h0 .h0-go { display: inline-flex; }
.sk-h0 .h0-film { text-decoration: none; }
.h0-ci { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Get started: two steps at the left, the agent route in a black card at the right */
.gs2 { padding: 112px 0; }
.gs2-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 48px clamp(40px, 6vw, 96px); max-width: 1240px; margin-inline: auto; padding-inline: max(56px, env(safe-area-inset-left, 0px)) max(56px, env(safe-area-inset-right, 0px)); }
.gs2-s { display: grid; gap: 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.gs2-s li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.gs2-s i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); font: 500 15px/1 var(--font); font-style: normal; color: #fff; }
.gs2-s b { display: block; font: 500 19px/26px var(--font); color: var(--ink); }
.gs2-s span { display: block; margin-top: 4px; font: 400 16px/24px var(--font); color: var(--mute); }
.gs2-s .sd-dev { margin-top: 10px; }

.ag { padding: 40px; border-radius: 28px; background: #0e0e10; color: #f2f2f4; }
.ag-k { font: 500 13px/1 var(--font); letter-spacing: 0.02em; color: #9a9aa3; }
.ag-h { margin-top: 12px; font: 450 clamp(24px, 2.2vw, 30px)/1.2 var(--font); letter-spacing: -0.01em; color: #fff; }
.ag-b { margin-top: 28px; padding-top: 24px; border-top: 1px solid #26262c; }
.ag-l { font: 500 15px/22px var(--font); color: #fff; }
.ag-d { margin-top: 4px; font: 400 15px/22px var(--font); color: #9a9aa3; }
.ag-cmd { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 12px 12px 16px; border: 1px solid #2b2b32; border-radius: 12px; background: #17171b; }
.ag-cmd code { flex: 1; min-width: 0; overflow-x: auto; font: 400 13.5px/20px var(--mono); white-space: nowrap; color: #e8e8ec; scrollbar-width: none; }
.ag-cmd code::-webkit-scrollbar { display: none; }
.ag-p { margin-right: 8px; color: #6c6c75; }
.ag-cp { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #9a9aa3; cursor: pointer; }
.ag-cp:hover { background: #24242a; color: #fff; }
.ag-cp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ag-cp.ok { color: #6fd08c; }
.ag-a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font: 400 14px/20px var(--font); color: #9a9aa3; text-decoration: none; }
.ag-a:hover { color: #fff; }
.ag-a svg { width: 11px; height: 11px; }

/* Platforms: each platform names its docs and its requirement */
.pl-l small { margin-left: 6px; font-size: 0.92em; color: var(--mute); }
.pl-a { color: inherit; text-decoration: none; font-weight: 500; }
.pl-a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Pricing: one card, so the copy and the card share the row */
.sk-pr .pr-g { grid-template-columns: minmax(0, 1fr); max-width: 520px; }

/* More: the developer site's links as a grid of quiet cards */
.rs { padding: 112px 0 40px; }
.rs-in { max-width: 1240px; margin-inline: auto; padding-inline: max(56px, env(safe-area-inset-left, 0px)) max(56px, env(safe-area-inset-right, 0px)); }
.rs-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rs-c { display: block; padding: 24px 24px 26px; border-radius: 20px; background: #f1f1f3; text-decoration: none; transition: background-color 0.2s ease; }
.rs-c:hover { background: #e9e9ec; }
.rs-c b { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 18px/24px var(--font); color: var(--ink); }
.rs-c b svg { width: 12px; height: 12px; flex: none; color: var(--mute); }
.rs-c span { display: block; margin-top: 6px; font: 400 15px/22px var(--font); color: var(--mute); }
.rs-f { max-width: 720px; margin-top: 28px; font: 400 13px/19px var(--font); color: var(--mute); }

/* Start: the two cards from the eSSESSMENT page */
.e-go { padding: 72px 24px 128px; }
.e-go2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1128px; margin: 0 auto; }
.e-go-c { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 40px; border-radius: 28px; background: #f1f1f3; }
.e-go-ch { font: 450 clamp(28px, 3vw, 40px)/1.1 var(--font); letter-spacing: -0.02em; color: var(--ink); }
.e-go-cp { margin-top: 12px; font: 400 17px/25px var(--font); color: var(--mute); }
.e-go-c .btn { display: inline-flex; align-items: center; height: 48px; margin-top: 28px; padding: 0 24px; border-radius: 999px; font: 500 16px/1 var(--font); text-decoration: none; }
.e-go-dk { background: #0e0e10; }
.e-go-dk .e-go-ch { color: #fff; }
.e-go-dk .e-go-cp { color: #9a9aa3; }
.e-go-b1 { background: #0e0e10; color: #fff; }
.e-go-b1:hover { background: #2a2a2e; }
.e-go-b2 { background: #fff; color: #0e0e10; }
.e-go-b2:hover { background: #e9e9ee; }

@media (max-width: 899px) {
  .gs2 { padding: 72px 0; }
  .gs2-in, .rs-in { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .ag { padding: 28px 22px; border-radius: 22px; }
  .rs { padding-top: 72px; }
  .rs-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .e-go { padding: 48px 16px 88px; }
  .e-go2 { grid-template-columns: minmax(0, 1fr); }
  .e-go-c { padding: 32px 24px; border-radius: 22px; }
}
@media (max-width: 559px) {
  .rs-g { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: the hero pill without the "New" tag (the SDK is not new) */
@media (max-width: 639px) { .sk-h0 .h0-k { padding-left: 14px; } .sk-h0 .h0-k::before { content: none; } }

/* Pricing: the SDK card in black, as on the homepage */
#pricing.sk-pr .pr-c { background: #0e0e10; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 48px -28px rgba(0, 0, 0, 0.5); color: #fff; }
#pricing.sk-pr .pr-c .pr-p b, #pricing.sk-pr .pr-c .pr-l li { color: #fff; }
#pricing.sk-pr .pr-c .pr-n, #pricing.sk-pr .pr-c .pr-tag, #pricing.sk-pr .pr-c .pr-p span, #pricing.sk-pr .pr-c .pr-f { color: #8f8f98; }
#pricing.sk-pr .pr-c .pr-f a { color: #fff; }
#pricing.sk-pr .pr-c .pr-l svg { color: #e08a8a; }
#pricing.sk-pr .pr-c .pr-b { background: #fff; color: #0e0e10; }
#pricing.sk-pr .pr-c .pr-b:hover { background: #e4e4e8; }
#pricing.sk-pr .pr-c .pr-tag { background: rgba(255, 255, 255, 0.12); color: #e9e9ee; }
#pricing.sk-pr .pr-c .pr-n { color: #fff; }
#pricing.sk-pr .pr-c .pr-l { border-top-color: rgba(255, 255, 255, 0.16); }
#pricing.sk-pr .pr-c .pr-s { color: #8f8f98; }
#pricing.sk-pr .pr-c .pr-s { border-bottom-color: rgba(255, 255, 255, 0.16); }
#pricing.sk-pr .pr-c .pr-l svg { color: #fff; }
#pricing.sk-pr .pr-c .pr-m li { color: #8f8f98; }
#pricing.sk-pr .pr-c .pr-m a { color: #fff; }

/* Get started: as wide as the platforms below; the heading across, then two cards: yourself, or an agent */
.gs2-in { display: block; max-width: 1232px; padding-inline: max(24px, env(safe-area-inset-left, 0px)) max(24px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.gs2-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.gs2-c { padding: 40px; border-radius: 28px; background: #f1f1f3; }
.gs2-c .ag-k { color: var(--mute); }
.gs2-c .ag-h { color: var(--ink); }
.gs2-c .ag-d { color: var(--mute); }
.gs2-c .gs2-s { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e4e4e8; }
@media (max-width: 899px) { .gs2-g { grid-template-columns: minmax(0, 1fr); } .gs2-c { padding: 28px 22px; border-radius: 22px; } }
@media (max-width: 639px) { .gs2-in { padding-inline: max(6.25vw, env(safe-area-inset-left, 0px)) max(6.25vw, env(safe-area-inset-right, 0px)); } }
@media (min-width: 640px) { .gs2-in { max-width: 1280px; } }
/* Get started sits closer to the hero; More now leads into pricing */
.gs2 { padding-top: 32px; }
.rs { padding-bottom: 112px; }
@media (max-width: 899px) { .gs2 { padding-top: 24px; } .rs { padding-bottom: 72px; } }
/* More: same width as the sections around it */
@media (min-width: 640px) { .rs-in { max-width: 1280px; padding-inline: max(24px, env(safe-area-inset-left, 0px)) max(24px, env(safe-area-inset-right, 0px)); box-sizing: border-box; } }
.gs2-g { margin-top: 0; }
/* Platform tabs: a pill at the end of the row opens the chosen platform's docs */
.sd-tabs .sd-od { display: none; align-items: center; gap: 6px; height: 40px; margin-left: auto; padding: 0 18px; border-radius: 99px; background: var(--ink); font: 500 15px/1 var(--font); color: #fff; text-decoration: none; }
.sd-tabs .sd-od:hover { background: #2a2a2e; }
.sd-od svg { width: 11px; height: 11px; }
.sd-v[data-lang="swift"] ~ .sd-tabs .sd-od[data-lang="swift"], .sd-v[data-lang="kotlin"] ~ .sd-tabs .sd-od[data-lang="kotlin"], .sd-v[data-lang="cpp"] ~ .sd-tabs .sd-od[data-lang="cpp"], .sd-v[data-lang="node"] ~ .sd-tabs .sd-od[data-lang="node"] { display: inline-flex; }
@media (max-width: 639px) { .sd-od { height: 34px; padding: 0 14px; font-size: 14px; } }
/* The docs pill, quieter: outlined like "Read the docs", not filled */
.sd-tabs .sd-od { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-weight: 600; }
.sd-tabs .sd-od:hover { background: #f1f1f3; }
/* The docs pill matches "Read the docs": outlined, medium weight, a text arrow; on phones a plain bold link */
.sd-tabs .sd-od { gap: 0; box-shadow: inset 0 0 0 1px #d9d8d5; font: 500 15px/1 var(--font); }
.sd-tabs .sd-od::after { content: " \2197"; margin-left: 4px; }
@media (max-width: 639px) { .sd-tabs .sd-od { height: auto; padding: 0; border-radius: 0; box-shadow: none; background: none; font: 600 16px/24px var(--font); } .sd-tabs .sd-od:hover { background: none; } }
/* The docs pill sits right after the tabs, a thin divider between them */
.sd-tabs .sd-od { position: relative; margin-left: 21px; }
.sd-tabs .sd-od::before { content: ""; position: absolute; left: -12px; top: 50%; width: 1px; height: 20px; translate: 0 -50%; background: #d9d8d5; }
@media (max-width: 639px) { .sd-tabs .sd-od { margin-left: 17px; } .sd-tabs .sd-od::before { left: -9px; height: 16px; } }
@media (max-width: 639px) { .sd-tabs .sd-od { margin: 6px 0 0 14px; } .sd-tabs .sd-od::before { content: none; } }   /* phones: the link wraps under the tabs, so no divider */
@media (max-width: 639px) { .sd-tabs .sd-od { display: none !important; } }   /* phones: the browser bar already has Open docs */
/* Divider centred between the end of "Node.js" (18px of tab padding + 4px gap) and the pill */
@media (min-width: 640px) { .sd-tabs .sd-od { margin-left: 9px; } .sd-tabs .sd-od::before { left: -16px; } }
/* Capabilities: each measure links to its entry in the docs' data types */
a.cp-lk { text-decoration: none; color: inherit; transition: transform 0.2s ease; }
a.cp-lk:hover { transform: translateY(-2px); }
.cp-ll { color: inherit; text-decoration: none; }
.cp-ll:hover { text-decoration: underline; text-underline-offset: 3px; }
.cp-doc { margin-top: 28px; margin-left: 0; text-decoration: none; color: var(--ink); }
.cp-doc::after { content: " \2197"; margin-left: 4px; }
@media (max-width: 639px) { .cp-doc { height: auto; padding: 0; border-radius: 0; box-shadow: none; margin-top: 20px; font: 600 16px/24px var(--font); } }
@media (max-width: 639px) { .cp-doc { order: 3; justify-self: start; margin: 20px 25px 0; } }   /* phones: under the copy, inset like it */
/* Start: the two cards centred, as wide as the sections above */
.sk-go .e-go2 { max-width: 1232px; margin-inline: auto; }

/* The page shows once this, its last stylesheet, is in (see the head) */
body { opacity: 1; }

/* Get started: each card's kicker, title and line sit on white above the card. */
.gs2-g { grid-template-areas: "hd1 hd2" "c1 c2"; row-gap: 24px; }
.gs2-hd-1 { grid-area: hd1; } .gs2-hd-2 { grid-area: hd2; }
.gs2-c { grid-area: c1; } .gs2-g > .ag { grid-area: c2; }
.gs2-hd .ag-k { color: var(--mute); }
.gs2-hd .ag-h { color: var(--ink); }
.gs2-hd .ag-d { color: var(--mute); }
.gs2-c .gs2-s { margin-top: 0; padding-top: 0; border-top: 0; }
.gs2-g > .ag > .ag-b:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 899px) { .gs2-g { grid-template-areas: "hd1" "c1" "hd2" "c2"; } .gs2-hd-2 { margin-top: 32px; } }
.gs2-hd .ag-h { margin-top: 0; }
@media (max-width: 899px) { .gs2 { padding-top: 64px; } }
/* Tighter gap between Get started and Choose your platform. */
.gs2 { padding-bottom: 0; }
#sdk-dark { padding-top: 96px; }
@media (max-width: 899px) { #sdk-dark { padding-top: 64px; } }

/* One section rhythm below the hero: 112px between sections on desktop, 72px on phones and tablets. */
#sdk-dark, #measure, #more, #pricing, #go { padding-top: 112px; }
#start, #sdk-dark, #measure, #more, #pricing { padding-bottom: 0; }
@media (max-width: 899px) {
  #sdk-dark, #measure, #more, #pricing, #go { padding-top: 72px; }
}
#go { padding-bottom: 48px; }
@media (max-width: 899px) { #go { padding-bottom: 8px; } }
/* Pricing sits on a gray band, so it keeps its own bottom padding; Go starts 112px below the band. */
#pricing { padding-bottom: 112px; }
@media (max-width: 899px) { #pricing { padding-bottom: 72px; } }
#more { padding-bottom: 112px; }
@media (max-width: 899px) { #more { padding-bottom: 72px; } }

/* Hero headline: same size, line height and tracking as "Your protocol. Their phone." on eSSESSMENT */
.sk-h0 .h0-h { font-size: min(60px, calc((100vw - 48px) / 14.2)); line-height: 1; letter-spacing: -0.01em; }
@media (max-width: 639px) { .sk-h0 .h0-h { font-size: 34px; line-height: 1.11; } }
/* Section subcopy in the homepage gray (note, Oct 30). */
main[data-view="site-sdk"] > section:not(#intro) :is(.ie-p,.f2-p),main[data-view="site-sdk"] > section:not(#intro) :is(.ie-p,.f2-p) .lp{color:#7d7d80}
