* { box-sizing: border-box; }

html { scroll-padding-block-start: 1rem; }

body {
  margin: 0;
  background: var(--tb-paper);
  color: var(--tb-text);
  font-family: var(--tb-font);
  line-height: 1.5;
}

a { color: var(--tb-link); }
a:hover { text-decoration-thickness: 2px; }
p, figure, dl, dd { margin: 0; }

.shell {
  width: min(100% - 4.5rem, 72rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 1;
  padding: .65rem 1rem;
  background: var(--tb-paper);
  border: 1px solid var(--tb-outline);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header { border-block-end: 1px solid var(--tb-line); }

.header-row, .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
}

.header-row { min-height: 4.125rem; }

.brand, .header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.brand {
  gap: .52rem;
  color: var(--tb-text);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.brand-section {
  margin-inline-start: .5rem;
  padding-inline-start: .65rem;
  border-inline-start: 1px solid var(--tb-line);
  color: var(--tb-secondary);
  font-size: .9rem;
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem clamp(.9rem, 2.4vw, 1.6rem);
  font-size: .95rem;
  font-weight: 600;
}

.header-nav a:hover { text-decoration: underline; }
.header-nav a:not(.sign-in) { color: var(--tb-text); }

.status-pill {
  width: fit-content;
  max-width: 100%;
  margin-block-end: .85rem;
  margin-inline-start: auto;
  padding: .4rem .7rem;
  border: 1px solid var(--tb-outline);
  border-radius: 2rem;
  color: var(--tb-text);
  font-size: .825rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1.75rem, 5.6vw, 5.125rem);
  padding-block: clamp(3.1rem, 7.25vw, 6.25rem);
}

.hero h1 {
  margin-block: 0 1.2rem;
  font-size: clamp(2.85rem, 5.8vw, 5.15rem);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.056em;
}

.lede {
  max-width: 30rem;
  color: var(--tb-secondary);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.lede strong { color: var(--tb-text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.35rem;
  margin-block-start: 1.85rem;
}

.primary-action, .text-action {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 3rem;
  font-weight: 600;
}

.primary-action {
  padding: .55rem .95rem .55rem 1.1rem;
  background: var(--tb-action);
  border-radius: .55rem;
  color: var(--tb-on-action);
  text-decoration: none;
}

.primary-action:hover { background: #1e5cde; }

.text-action {
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.example {
  min-width: 0;
  overflow: hidden;
  background: var(--tb-raised);
  border: 1px solid var(--tb-line);
  border-radius: 1.1rem;
}

.example-header, .example-note {
  display: flex;
  align-items: center;
  gap: .7rem 1rem;
  padding: .8rem 1.15rem;
}

.example-header {
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 3.4rem;
  border-block-end: 1px solid var(--tb-line);
  font-size: .92rem;
  font-weight: 600;
}

.sample-label {
  color: var(--tb-secondary);
  font-size: .785rem;
  font-weight: 400;
}

.request {
  padding: 1rem 1.15rem 1.1rem;
  font-family: var(--tb-mono);
  font-size: .76rem;
  line-height: 1.63;
}

.request-endpoint, .request-auth { overflow-wrap: anywhere; }
.request-endpoint span {
  margin-inline-end: .35rem;
  color: var(--tb-link);
  font-weight: 700;
}

.request code { font-family: inherit; }
.request-auth { margin-block: .25rem .75rem; color: var(--tb-secondary); }
.request-auth span { color: var(--tb-link); }

.request pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}

.request pre span { color: var(--tb-link); }

.example-note {
  background: var(--tb-paper);
  border-block-start: 1px solid var(--tb-line);
}

.example-note-graphic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .6rem;
  background: var(--tb-accent-soft);
  color: var(--tb-link);
}

.example-note-copy { min-width: 0; }
.example-destination { display: flex; flex-wrap: wrap; gap: .15rem .6rem; font-size: .875rem; }
.example-destination strong { font-weight: 600; }
.example-destination span, .example-transcript { color: var(--tb-secondary); }
.example-transcript { font-size: .875rem; margin-block-start: .1rem; }

.access {
  padding-block: 1.6rem clamp(3rem, 6vw, 5rem);
  border-block-start: 1px solid var(--tb-line);
}

.access h2 {
  margin-block: 0 1.35rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.15;
}

.access-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1.25rem, 3.25vw, 2.75rem);
}

.access-details dt { margin-block-end: .35rem; font-weight: 600; }
.access-details dd { color: var(--tb-secondary); font-size: .95rem; }

.site-footer {
  border-block-start: 1px solid var(--tb-line);
  color: var(--tb-secondary);
  font-size: .875rem;
}

.footer-row { min-height: 4.5rem; padding-block: .5rem; flex-wrap: wrap; }

.footer-links { display: flex; flex-wrap: wrap; gap: .2rem 1.35rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--tb-link);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.footer-links a:hover { text-decoration-thickness: 2px; }
.theme-picker { display: inline-flex; gap: .65rem; align-items: center; }
.theme-picker select {
  min-height: 2.75rem;
  padding: .3rem .5rem;
  background: var(--tb-paper);
  border: 1px solid var(--tb-outline);
  border-radius: .5rem;
  color: var(--tb-text);
  font: inherit;
}

@media (max-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; padding-block: 3rem; }
  .hero h1 { font-size: clamp(2.6rem, 8.5vw, 4.5rem); text-wrap: balance; }
  .headline-break { display: none; }
}

@media (max-width: 40rem) {
  .shell { width: calc(100% - 2rem); }
  .access-details { grid-template-columns: minmax(0, 1fr); }
  .footer-row { gap: .2rem 1.2rem; }
}

@media (max-width: 26rem) {
  .header-row { flex-wrap: wrap; gap: 0 .75rem; align-content: center; padding-block: .3rem; }
  .example-header, .example-note, .request { padding-inline: .8rem; }
  .example-note { gap: .65rem; }
}

@media (forced-colors: active) {
  .primary-action, .example, .example-note-graphic { border: 1px solid ButtonText; }
}

/* Connected-product landing: the useful paths lead, the held protocol demo follows. */
.hero { display: block; padding-block: clamp(56px,8vw,100px) 48px; }
.hero-copy { max-width: 850px; }
.hero h1 { font-family: 'Hubot Sans',var(--tb-font); font-weight: 500; font-size: clamp(44px,6.4vw,86px); letter-spacing: -.055em; line-height: 1.04; margin-top: 25px; }
.lede { max-width: 540px; font-size: 17px; line-height: 1.8; margin-top: 26px; }
.landing-eyebrow,.landing-journeys > a > span { color: var(--tb-secondary); letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.landing-journeys { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--tb-line); border-radius: 12px; overflow: hidden; margin-bottom: 80px; }
.landing-journeys > a { padding: 30px; text-decoration: none; color: var(--tb-text); border-right: 1px solid var(--tb-line); display: flex; flex-direction: column; }
.landing-journeys > a:first-child { background: var(--tb-accent-soft); }
.landing-journeys > a:last-child { border: 0; }
.landing-journeys > a:hover { background: var(--tb-raised); }
.landing-journeys h2 { font: 500 27px/1.15 'Hubot Sans',var(--tb-font); letter-spacing: -.04em; margin: 24px 0 15px; }
.landing-journeys p { font-size: 13px; color: var(--tb-secondary); line-height: 1.85; margin-bottom: 24px; }
.landing-journeys strong { font-size: 12px; color: var(--tb-link); margin-top: auto; }
.protocol-example { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 70px; }
.protocol-example h2 { font: 500 clamp(32px,4vw,48px)/1.08 'Hubot Sans',var(--tb-font); letter-spacing: -.045em; margin: 25px 0; }
.protocol-example > div > p { font-size: 14px; color: var(--tb-secondary); line-height: 1.85; margin: 15px 0; }
.protocol-example > div > a { display: inline-block; margin-top: 14px; font-size: 13px; }
.protocol-example .example { box-shadow: none; }
@media(max-width:750px) { .landing-journeys,.protocol-example { grid-template-columns: 1fr; } .landing-journeys > a { border-right: 0; border-bottom: 1px solid var(--tb-line); } .protocol-example { gap: 30px; } .hero { padding-top: 45px; } .hero h1 { font-size: 47px; } }
