/*
 * Lightweight brand refresh for the legacy marketing site.
 * Kept separate from app.css so it can be removed without rebuilding Compass.
 */
:root {
  --embedly-brand: #0ea5e9;
  --embedly-brand-action: #0369a1;
  --embedly-brand-action-hover: #075985;
  --embedly-ink: #0f172a;
  --embedly-copy: #475569;
  --embedly-muted: #64748b;
  --embedly-border: #e2e8f0;
  --embedly-surface: #f8fafc;
  --embedly-white: #ffffff;
  --embedly-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  color: var(--embedly-copy);
  font-family: var(--embedly-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.button {
  font-family: var(--embedly-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--embedly-ink);
  font-style: normal;
  letter-spacing: -0.025em;
  text-rendering: optimizeLegibility;
}

h1 { font-weight: 700; }
h2,
h3 { font-weight: 600; }
h4,
h5,
h6 { font-weight: 600; }

p,
li {
  line-height: 1.65;
}

a {
  color: var(--embedly-brand-action);
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

a:hover,
a:focus {
  color: var(--embedly-brand-action-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.35);
  outline-offset: 2px;
}

/* Shared navigation */
header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--embedly-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

header > .row {
  min-height: 72px;
}

header .brand-link {
  align-items: center;
  display: inline-flex;
  min-height: 72px;
}

header img.brand-logo {
  height: auto;
  margin: 0;
  max-height: 42px;
  width: 156px;
}

header ul li:nth-last-child(n+2) a {
  background: transparent;
  border-bottom: 2px solid transparent;
  border-top: 0;
  color: var(--embedly-copy);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 25px 10px 24px;
  text-transform: none;
}

header ul li:nth-last-child(n+2) a:hover,
header ul li:nth-last-child(n+2) a:focus,
header ul li:nth-last-child(n+2) a.active {
  background: transparent;
  border-color: var(--embedly-brand);
  color: var(--embedly-ink);
}

header ul li:last-child a {
  padding: 18px 10px;
}

header ul li:last-child span,
header #nav-signup {
  background: var(--embedly-brand-action);
  border: 1px solid var(--embedly-brand-action);
  border-radius: 6px;
  box-shadow: none;
  color: var(--embedly-white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 8px 14px;
  text-transform: none;
}

header ul li:last-child a:hover span,
header ul li:last-child a:focus span {
  background: var(--embedly-brand-action-hover);
  border-color: var(--embedly-brand-action-hover);
}

header .expando {
  background: var(--embedly-white);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

header .expando.active {
  border-bottom-color: var(--embedly-border);
}

header .expando .blurb {
  border-left-color: var(--embedly-border);
}

header .expando .expando-content a:not(.button) {
  background: transparent;
  border: 0;
  font-weight: 400;
  text-transform: none;
}

header .expando .expando-content {
  padding: 22px 24px 20px;
}

header .expando .product-menu-label,
header .expando .product-menu-summary {
  margin: 0;
}

header .expando .product-menu-label {
  color: var(--embedly-brand-action);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

header .expando .product-menu-label--muted {
  color: var(--embedly-muted);
}

header .expando .product-menu-summary {
  color: var(--embedly-copy);
  font-size: 0.875rem;
  line-height: 1.4;
  padding-top: 2px;
}

header .expando .product-menu-api-products {
  margin-top: 13px;
}

header .expando .product-menu-item {
  border-radius: 8px !important;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 8px !important;
}

header .expando .product-menu-item:hover,
header .expando .product-menu-item:focus {
  background: var(--embedly-surface) !important;
}

header .expando .product-menu-item img {
  grid-row: 1 / span 2;
  margin: 0 9px 0 0;
  max-width: 28px;
}

header .expando .product-menu-item span {
  color: var(--embedly-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

header .expando .product-menu-item small {
  color: var(--embedly-muted);
  display: block;
  font-size: 0.75rem;
  line-height: 1.3;
}

header .expando .product-menu-cards {
  border-left: 1px solid var(--embedly-border);
  min-height: 164px;
  padding-left: 28px;
}

header .expando .product-menu-item--cards {
  margin-top: 13px;
}

header .expando .product-menu-overview {
  color: var(--embedly-brand-action) !important;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600 !important;
  margin: 13px 0 0 8px;
}

header .right-off-canvas-toggle i {
  color: var(--embedly-copy);
  margin-top: 20px;
}

.right-off-canvas-menu {
  background: var(--embedly-ink);
}

.right-off-canvas-menu ul.off-canvas-list li a {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: var(--embedly-white);
  font-weight: 500;
}

.right-off-canvas-menu ul.off-canvas-list li a:hover,
.right-off-canvas-menu ul.off-canvas-list li a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--embedly-white);
}

/* Buttons and form controls */
.button,
button,
input[type="button"],
input[type="submit"] {
  background: var(--embedly-brand-action);
  border: 1px solid var(--embedly-brand-action);
  border-radius: 6px;
  box-shadow: none;
  color: var(--embedly-white);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: var(--embedly-brand-action-hover);
  border-color: var(--embedly-brand-action-hover);
  color: var(--embedly-white);
}

.button.secondary,
button.secondary {
  background: var(--embedly-white);
  border-color: #cbd5e1;
  color: var(--embedly-ink);
}

.button.secondary:hover,
.button.secondary:focus,
button.secondary:hover,
button.secondary:focus {
  background: var(--embedly-surface);
  border-color: #94a3b8;
  color: var(--embedly-ink);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
select,
textarea {
  background: var(--embedly-white);
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: none;
  color: var(--embedly-ink);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--embedly-brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

/* Common content surfaces */
.embedly-solutions .solutions-thumbs .image-label img {
  height: 72px;
  width: 72px;
}

.panel,
.pricing-table,
table {
  border-color: var(--embedly-border);
}

.gray-bg,
.home .home-customers,
.embedly-product .gray-bg {
  background: var(--embedly-surface);
}

.embedly-product h1,
.embedly-product h2,
.embedly-product h3,
.embedly-pricing .embedly-pricing-hero h1,
.embedly-pricing .embedly-pricing-upgrade h2,
.home .home-customers h2 {
  text-transform: none;
}

.embedly-product .blue,
.embedly-pricing .blue,
.cards-product-header.blue {
  background: var(--embedly-brand);
}

.home .home-hero {
  background: var(--embedly-ink);
}

.home .home-hero h1 {
  font-weight: 700;
  letter-spacing: -0.04em;
}

.home .home-hero .header-rotating {
  align-items: baseline;
  column-gap: 0.22em;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}

.home .home-hero .header-rotating #header-verbs {
  flex: 0 0 4.9em;
  text-align: right;
  width: auto;
}

.home .home-hero .header-rotating #verbs-fixed {
  flex: 0 0 auto;
}

.home .home-hero .button,
.embedly-pricing .embedly-pricing-upgrade .product-blurb .features .button {
  background: var(--embedly-brand-action);
  border: 1px solid var(--embedly-brand-action);
  box-shadow: none;
}

.home .home-hero .button:hover,
.home .home-hero .button:focus,
.embedly-pricing .embedly-pricing-upgrade .product-blurb .features .button:hover,
.embedly-pricing .embedly-pricing-upgrade .product-blurb .features .button:focus {
  background: var(--embedly-brand-action-hover);
  border-color: var(--embedly-brand-action-hover);
}

.home .home-customers img {
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 160ms ease, opacity 160ms ease;
}

.home .home-customers img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.embedly-pricing .embedly-pricing-upgrade .product-container {
  border: 1px solid var(--embedly-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.embedly-pricing .embedly-pricing-upgrade .product-blurb .product-price {
  background: var(--embedly-ink);
  border-color: var(--embedly-ink);
}

/* Documentation and AI-assistant help */
.pricing-agent-help {
  padding: 56px 0;
}

.embedly-pricing .embedly-pricing-faq {
  background: var(--embedly-surface);
  padding: 72px 0 84px;
}

.embedly-pricing .embedly-pricing-faq .faq-heading {
  margin: 0 auto 32px;
  max-width: 680px;
}

.embedly-pricing .embedly-pricing-faq .faq-heading h2 {
  margin-bottom: 10px;
  padding: 0;
}

.embedly-pricing .embedly-pricing-faq .faq-heading p {
  color: var(--embedly-muted);
  margin: 0;
}

.embedly-pricing .embedly-pricing-faq .faq-list {
  margin: 0 auto;
  max-width: 920px;
}

.embedly-pricing .embedly-pricing-faq .faq-item {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 6px;
  margin-bottom: 12px;
}

.embedly-pricing .embedly-pricing-faq .faq-item summary {
  align-items: center;
  color: var(--embedly-ink);
  cursor: pointer;
  display: flex;
  font-size: 1.0625rem;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.45;
  list-style: none;
  padding: 20px 22px;
}

.embedly-pricing .embedly-pricing-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.embedly-pricing .embedly-pricing-faq .faq-item summary::after {
  color: var(--embedly-brand-action);
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  margin-left: 24px;
}

.embedly-pricing .embedly-pricing-faq .faq-item[open] summary::after {
  content: "\2212";
}

.embedly-pricing .embedly-pricing-faq .faq-item summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.24);
  outline: none;
}

.embedly-pricing .embedly-pricing-faq .faq-answer {
  border-top: 1px solid var(--embedly-border);
  color: var(--embedly-muted);
  padding: 18px 22px 20px;
}

.embedly-pricing .embedly-pricing-faq .faq-answer p {
  line-height: 1.65;
  margin: 0;
}

.embedly-pricing .embedly-pricing-faq .faq-answer a {
  font-weight: 600;
}

.agent-help-section {
  background: linear-gradient(90deg, #fbf7f2 0%, #f8fafc 58%, #f3f7fb 100%);
  border-bottom: 1px solid var(--embedly-border);
  border-top: 1px solid var(--embedly-border);
  padding: 56px 0;
}

.agent-help-section--explore {
  margin-top: 48px;
}

/* API explorer */
.try {
  border-top: 0;
}

.try .try-nav {
  background:
    radial-gradient(circle at 16% 0%, rgba(14, 165, 233, 0.13), transparent 36%),
    linear-gradient(110deg, #f5fbff 0%, #f8fafc 58%, #ffffff 100%);
  border-bottom: 1px solid var(--embedly-border);
  margin-bottom: 2rem;
  padding: 34px 0 30px;
}

.try .try-nav > .row > .columns {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.try .try-nav h1 {
  color: var(--embedly-ink);
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0;
  padding: 0;
}

.try .try-nav .try-nav-links {
  flex: 0 1 auto;
}

.try .try-nav ul {
  align-items: center;
  display: flex;
  float: none;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  margin: 0;
}

.try .try-nav ul li {
  margin: 0;
}

.try .try-nav ul a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--embedly-muted);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 9px 11px;
  text-decoration: none;
}

.try .try-nav ul a:hover,
.try .try-nav ul a:focus {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--embedly-border);
  color: var(--embedly-brand-action);
}

.try .try-nav ul li.active a,
.try .try-nav ul li.active a:hover,
.try .try-nav ul li.active a:focus {
  background: var(--embedly-white);
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  color: var(--embedly-ink);
  text-decoration: none;
}

.api .agent-help-section {
  padding: 38px 0;
}

.api .agent-help {
  align-items: center;
  display: flex;
  gap: 48px;
  justify-content: space-between;
  max-width: 1040px;
  text-align: left;
}

.api .agent-help-copy {
  margin: 0;
  max-width: 680px;
}

.api .agent-help h2 {
  font-size: 1.625rem;
  margin-bottom: 8px;
}

.api .agent-help-intro {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.api .agent-help-prompt {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.api .agent-help-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.api .api-overview-hero {
  background:
    radial-gradient(circle at 18% 8%, rgba(14, 165, 233, 0.16), transparent 34%),
    radial-gradient(circle at 82% 4%, rgba(3, 105, 161, 0.10), transparent 30%),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 82%);
  padding-bottom: 32px;
}

.api .api-products-primary {
  background: var(--embedly-white);
  border-bottom: 1px solid var(--embedly-border);
  border-top: 1px solid var(--embedly-border);
}

.api .api-products-primary h2,
.api .cards-secondary h2 {
  padding-bottom: 12px;
}

.api .api-section-label {
  color: var(--embedly-brand-action);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.api .api-section-intro {
  margin: 0 auto 40px;
  max-width: 760px;
}

.api .api-product-grid .api-product p {
  font-size: 1rem;
  line-height: 1.6;
}

.api .api-products-cta {
  margin-top: 32px;
}

.api .cards-secondary {
  padding: 48px 0;
}

.api .cards-secondary-content {
  max-width: 760px;
}

.api .cards-secondary p {
  font-size: 1.0625rem;
}

.agent-help {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto;
  max-width: 920px;
  padding: 0 24px;
  text-align: center;
}

.agent-help-copy {
  margin: 0 auto;
  max-width: 760px;
}

.agent-help h2 {
  font-size: 2rem;
  margin: 0 0 14px;
  padding: 0;
}

.home .home-agent-help .agent-help h2 {
  font-size: 2.5rem;
}

.agent-help-intro,
.agent-help-prompt {
  margin: 0 0 14px;
}

.agent-help-prompt {
  color: var(--embedly-muted);
  font-size: 1.0625rem;
  font-style: italic;
}

.agent-help-actions {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.agent-help-actions .button {
  margin: 0;
  min-width: 132px;
}

.agent-help-actions .agent-help-button--claude {
  background: #d97757;
  border-color: #d97757;
  color: #141413;
}

.agent-help-actions .agent-help-button--claude:hover,
.agent-help-actions .agent-help-button--claude:focus {
  background: #c86645;
  border-color: #c86645;
  color: #141413;
}

.agent-help-actions .agent-help-button--chatgpt {
  background: #111827;
  border-color: #111827;
  color: var(--embedly-white);
}

.agent-help-actions .agent-help-button--chatgpt:hover,
.agent-help-actions .agent-help-button--chatgpt:focus {
  background: #000000;
  border-color: #000000;
  color: var(--embedly-white);
}

/* Provider directory */
.providers section {
  padding: 56px 0;
}

.providers .providers-header {
  background:
    radial-gradient(circle at 14% 6%, rgba(14, 165, 233, 0.16), transparent 34%),
    linear-gradient(135deg, #f4fbff 0%, #ffffff 62%, #f0f7fb 100%);
  border-bottom: 1px solid var(--embedly-border);
  color: var(--embedly-copy);
  padding: 72px 0;
}

.providers .providers-header .row {
  align-items: center;
  display: flex;
}

.providers .providers-header h1 {
  color: var(--embedly-ink);
  font-size: 3.25rem;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 620px;
}

.providers .providers-header p:not(.providers-eyebrow) {
  font-size: 1.1875rem;
  line-height: 1.65;
  max-width: 650px;
}

.providers-eyebrow {
  color: var(--embedly-brand-action);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.providers-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.providers-header-actions .button {
  margin: 0;
}

.providers-header-art {
  text-align: right;
}

.providers-header-art img {
  margin: 0;
  max-height: none;
  width: 100%;
}

.providers .providers-cats {
  background: var(--embedly-white);
  border-bottom: 1px solid var(--embedly-border);
}

.providers .providers-cats > .row {
  display: flex;
  flex-wrap: wrap;
}

.provider-category-card {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 12px;
  height: 100%;
  min-height: 310px;
  padding: 28px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.provider-category-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.provider-category-icon {
  height: 72px;
  margin: 0 0 22px;
  width: 72px;
}

.provider-category-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.provider-category-card p {
  font-size: 1rem;
  margin-bottom: 16px;
}

.provider-category-card > a {
  font-weight: 600;
}

.providers .providers-search {
  background: var(--embedly-surface);
  border-bottom: 0;
  padding: 64px 0 22px;
  scroll-margin-top: 16px;
}

.providers .providers-search h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.providers #service-search {
  background: var(--embedly-white);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: var(--embedly-ink);
  font-size: 1rem;
  height: 54px;
  margin-bottom: 20px;
  padding: 0 18px;
}

.providers #service-search:focus {
  border-color: var(--embedly-brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}

.providers .filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.providers .filters li {
  float: none;
  margin: 0;
}

.providers .filters .extraPad {
  color: var(--embedly-muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 4px;
}

.providers .filters a {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 999px;
  color: var(--embedly-copy);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 7px 13px;
}

.providers .filters .current a,
.providers .filters a:hover,
.providers .filters a:focus {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: var(--embedly-brand-action-hover);
}

.providers .providers-list {
  background: var(--embedly-surface);
  margin: 0;
  padding: 22px 0 64px;
}

.providers .providers-list .services ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.providers .providers-list .services ul li {
  float: none;
  padding: 8px;
  width: 25%;
}

.providers .providers-list .services li a {
  align-items: center;
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 8px;
  color: var(--embedly-ink);
  display: flex;
  min-height: 52px;
  overflow: hidden;
  padding: 9px 12px;
  white-space: nowrap;
}

.providers .providers-list .services li a:hover,
.providers .providers-list .services li a:active,
.providers .providers-list .services li a:focus {
  background: #f0f9ff;
  border: 1px solid #7dd3fc;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.07);
  color: var(--embedly-brand-action-hover);
}

.providers .providers-list .services li img {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 5px;
  box-shadow: none;
  box-sizing: content-box;
  flex: 0 0 auto;
  height: 24px;
  margin: 0 10px 0 0;
  object-fit: contain;
  padding: 3px;
  width: 24px;
}

.providers .providers-list .services li a span {
  font-size: 0.9375rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

.providers .providers-new {
  background: var(--embedly-white);
  border-top: 1px solid var(--embedly-border);
}

.providers .providers-new p {
  font-size: 1.0625rem;
}

/* Product detail pages */
.embedly-product .embedly-product-hero {
  background:
    radial-gradient(circle at 16% 8%, rgba(14, 165, 233, 0.15), transparent 34%),
    linear-gradient(135deg, #f5fbff 0%, #ffffff 68%, #f2f8fc 100%);
  border-bottom: 1px solid var(--embedly-border);
  border-top: 0;
  padding: 72px 0 48px;
}

.embedly-product .embedly-product-hero h1 {
  font-size: 3.25rem;
  line-height: 1.08;
  margin-bottom: 16px;
}

.embedly-product .embedly-product-hero p {
  font-size: 1.125rem;
  line-height: 1.7;
}

.embedly-product .embedly-product-hero .product-hero-icon {
  display: block;
  margin: 0 auto;
  max-height: none;
  width: 200px;
}

.embedly-product .embedly-product-hero .input-container {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--embedly-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  margin-top: 24px;
  padding: 18px 18px 12px;
}

.embedly-product .embedly-product-hero .input-container label {
  color: var(--embedly-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.embedly-product .embedly-product-hero .input-container input {
  font-size: 1rem;
  font-weight: 400;
}

/* Individual provider pages */
.provider section {
  padding: 56px 0;
}

.provider .provider-header {
  background:
    radial-gradient(circle at 14% 8%, rgba(14, 165, 233, 0.15), transparent 34%),
    linear-gradient(135deg, #f5fbff 0%, #ffffff 70%, #f2f8fc 100%);
  border-bottom: 1px solid var(--embedly-border);
  border-top: 0;
  padding: 72px 0 48px;
}

.provider .provider-header > .row > .columns > .row:first-child {
  align-items: center;
  display: flex;
}

.provider-eyebrow {
  color: var(--embedly-brand-action);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.provider .provider-header h1 {
  color: var(--embedly-ink);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 14px;
  text-transform: none;
}

.provider .provider-header h3 {
  color: var(--embedly-copy);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.provider-header-logo {
  text-align: center;
}

.provider .provider-header .provider-header-logo img {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  max-height: 180px;
  max-width: 280px;
  padding: 24px;
}

.provider .provider-header > .row > .columns > .row:last-child {
  border-top: 1px solid var(--embedly-border);
  margin-top: 28px;
  padding-top: 24px;
}

.provider .provider-header > .row > .columns > .row:last-child span {
  color: var(--embedly-copy);
  font-weight: 600;
  margin-right: 16px;
}

.provider .provider-header .button {
  margin: 0;
}

.provider .provider-try {
  background: linear-gradient(135deg, #075985 0%, #0369a1 100%);
  border-bottom: 1px solid #075985;
}

.provider .provider-try h2,
.provider .provider-try h5 {
  color: var(--embedly-white);
  text-transform: none;
}

.provider .provider-try input {
  border: 0;
  border-radius: 8px 0 0 8px;
}

.provider .provider-try a.postfix {
  align-items: center;
  background: var(--embedly-brand);
  border-radius: 0 8px 8px 0;
  color: var(--embedly-ink);
  display: flex;
  justify-content: center;
  padding: 0;
}

.provider .provider-url-schemes {
  border-bottom: 1px solid var(--embedly-border);
}

.provider .provider-url-schemes li {
  color: var(--embedly-copy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
}

.provider .provider-embedly-info {
  background: var(--embedly-surface);
  border-bottom: 1px solid var(--embedly-border);
  color: var(--embedly-copy);
}

.provider .provider-embedly-info h2,
.provider .provider-embedly-info h3 {
  color: var(--embedly-ink);
  text-transform: none;
}

.provider .provider-embedly-info a:not(.button) {
  color: var(--embedly-brand-action);
}

.provider .provider-get-started {
  background: var(--embedly-white);
}

.provider .provider-get-started h2 {
  text-transform: none;
}

.provider-get-started-action {
  text-align: right;
}

/* Company and About */
.company-header {
  background: var(--embedly-white);
  border-bottom: 1px solid var(--embedly-border);
}

.company-header .company-nav {
  float: none;
  margin: 0;
}

.company-header .company-nav ul {
  margin: 0;
}

.company-header .company-nav li {
  margin: 0 28px 0 0;
}

.company-header .company-nav a {
  border-bottom: 2px solid transparent;
  color: var(--embedly-copy);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 18px 0 16px;
  text-decoration: none;
}

.company-header .company-nav a:hover,
.company-header .company-nav a:focus,
.company-header .company-nav li.active a {
  border-bottom-color: var(--embedly-brand);
  color: var(--embedly-ink);
  text-decoration: none;
}

.company-company section {
  margin: 0;
}

.company-company .about-hero {
  background:
    radial-gradient(circle at 14% 4%, rgba(14, 165, 233, 0.17), transparent 35%),
    linear-gradient(135deg, #f4fbff 0%, #ffffff 68%, #f2f8fc 100%);
  border-bottom: 1px solid var(--embedly-border);
  padding: 88px 0 80px;
}

.about-eyebrow {
  color: var(--embedly-brand-action);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.company-company .about-hero h1 {
  font-size: 3.75rem;
  line-height: 1.04;
  margin-bottom: 24px;
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 780px;
}

.company-company .about-story {
  background: var(--embedly-white);
  padding: 72px 0;
}

.company-company .about-story > .row {
  align-items: center;
  display: flex;
}

.about-story h2,
.about-history h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-story p {
  font-size: 1.0625rem;
}

.about-yc-card {
  background: var(--embedly-surface);
  border: 1px solid var(--embedly-border);
  border-radius: 12px;
  padding: 28px;
}

.about-yc-card img {
  height: 56px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
  width: 56px;
}

.about-yc-card .about-yc-label {
  color: var(--embedly-ink);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-yc-card a {
  font-weight: 600;
}

.company-company .about-history {
  background: var(--embedly-surface);
  border-bottom: 1px solid var(--embedly-border);
  border-top: 1px solid var(--embedly-border);
  padding: 72px 0;
}

.about-timeline {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
}

.about-milestone {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 10px;
  height: 100%;
  padding: 26px;
}

.about-year {
  color: var(--embedly-brand-action);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-milestone h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about-milestone p:last-child {
  margin-bottom: 0;
}

.about-sources {
  color: var(--embedly-muted);
  font-size: 0.8125rem;
  margin-top: 28px;
}

.about-sources span {
  font-weight: 600;
  margin-right: 10px;
}

.about-sources a {
  margin-right: 14px;
}

/* Brand kit */
.company-logos section {
  margin: 0;
}

.brand-kit-hero {
  background:
    radial-gradient(circle at 14% 4%, rgba(14, 165, 233, 0.18), transparent 35%),
    linear-gradient(135deg, #f4fbff 0%, #ffffff 68%, #f2f8fc 100%);
  border-bottom: 1px solid var(--embedly-border);
  padding: 80px 0 72px;
}

.brand-kit-eyebrow {
  color: var(--embedly-brand-action);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.brand-kit-hero h1 {
  font-size: 3.5rem;
  line-height: 1.05;
  margin-bottom: 20px;
}

.brand-kit-lead {
  font-size: 1.1875rem;
  line-height: 1.7;
  max-width: 760px;
}

.brand-kit-hero .button {
  margin: 10px 0 0;
}

.brand-kit-section {
  background: var(--embedly-white);
  padding: 68px 0;
}

.brand-kit-section--surface,
.brand-kit-section--guidance {
  background: var(--embedly-surface);
  border-bottom: 1px solid var(--embedly-border);
  border-top: 1px solid var(--embedly-border);
}

.brand-kit-section h2 {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.brand-kit-section-intro {
  font-size: 1.0625rem;
  margin-bottom: 30px;
  max-width: 720px;
}

.brand-asset-grid,
.brand-color-grid {
  display: flex;
  flex-wrap: wrap;
}

.brand-asset-card {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 12px;
  height: 100%;
  overflow: hidden;
}

.brand-asset-preview {
  align-items: center;
  background:
    linear-gradient(45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(-45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f8fafc 75%),
    linear-gradient(-45deg, transparent 75%, #f8fafc 75%),
    var(--embedly-white);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  border-bottom: 1px solid var(--embedly-border);
  display: flex;
  height: 220px;
  justify-content: center;
  padding: 38px;
}

.brand-asset-preview img {
  max-height: 100%;
  max-width: 82%;
}

.brand-asset-preview--mark img {
  height: 112px;
  width: 112px;
}

.brand-asset-details {
  padding: 24px;
}

.brand-asset-details h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.brand-asset-details .button {
  margin: 8px 0 0;
}

.brand-download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

.brand-download-list a {
  font-size: 0.875rem;
  font-weight: 600;
}

.brand-color-card {
  background: var(--embedly-white);
  border: 1px solid var(--embedly-border);
  border-radius: 10px;
  height: 100%;
  overflow: hidden;
  padding-bottom: 18px;
}

.brand-color-swatch {
  height: 112px;
  margin-bottom: 18px;
}

.brand-color-swatch--surface {
  border-bottom: 1px solid var(--embedly-border);
}

.brand-color-card h3,
.brand-color-card code {
  margin-left: 18px;
  margin-right: 18px;
}

.brand-color-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.brand-color-card code {
  background: transparent;
  border: 0;
  color: var(--embedly-muted);
  padding: 0;
}

.brand-kit-section--guidance > .row {
  align-items: flex-start;
  display: flex;
}

.brand-guidelines {
  list-style: none;
  margin: 0;
}

.brand-guidelines li {
  border-bottom: 1px solid var(--embedly-border);
  padding: 12px 0 12px 28px;
  position: relative;
}

.brand-guidelines li::before {
  color: var(--embedly-brand-action);
  content: "\2713";
  font-weight: 700;
  left: 2px;
  position: absolute;
}

.brand-type-note {
  margin: 22px 0 0;
}

/* Footer */
footer {
  background: var(--embedly-surface);
  border-top-color: var(--embedly-border);
  color: var(--embedly-muted);
}

footer .footer-logo {
  height: auto;
  margin: 28px 0 20px;
  width: 132px;
}

footer .footer-links {
  border-bottom-color: var(--embedly-border);
  border-top-color: var(--embedly-border);
}

footer .footer-links a {
  color: var(--embedly-muted);
  font-size: 0.8125rem;
  text-transform: none;
}

footer .footer-links a:hover,
footer .footer-links a:focus {
  color: var(--embedly-brand-action);
}

footer .footer-links h4 a {
  color: var(--embedly-ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

footer .footer-copyright {
  font-size: 0.75rem;
  margin: 12px 0 24px;
}

footer .footer-support {
  margin: 76px 0 0;
}

footer .footer-support span {
  color: var(--embedly-muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

footer .footer-support a {
  color: var(--embedly-brand-action);
  font-size: 0.9375rem;
  font-weight: 600;
}

@media only screen and (max-width: 40em) {
  header > .row,
  header .brand-link {
    min-height: 64px;
  }

  header img.brand-logo {
    width: 140px;
  }

  header .right-off-canvas-toggle i {
    margin-top: 17px;
  }

  .try .try-nav {
    padding: 28px 0 24px;
  }

  .try .try-nav > .row > .columns {
    align-items: flex-start;
    display: block;
  }

  .try .try-nav h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }

  .try .try-nav ul {
    justify-content: flex-start;
  }

  .home .home-hero h1 {
    font-size: 2.75rem;
    line-height: 1.05;
  }

  .home .home-hero .header-rotating {
    align-items: center;
    flex-direction: column;
    row-gap: 0.08em;
    white-space: normal;
  }

  .home .home-hero .header-rotating #header-verbs {
    flex: none;
    text-align: center;
    width: 100%;
  }

  .home section,
  .embedly-product section {
    padding-bottom: 44px;
    padding-top: 44px;
  }

  .agent-help {
    padding: 0 16px;
    text-align: center;
  }

  .agent-help h2 {
    font-size: 1.75rem;
  }

  .agent-help-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .api .agent-help-section {
    padding: 36px 0;
  }

  .api .agent-help {
    align-items: flex-start;
    display: block;
    text-align: left;
  }

  .api .agent-help-actions {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .providers .providers-header {
    padding: 52px 0;
  }

  .providers .providers-header .row,
  .providers .providers-cats > .row {
    display: block;
  }

  .providers .providers-header h1 {
    font-size: 2.5rem;
  }

  .provider-category-card {
    height: auto;
    margin-bottom: 18px;
    min-height: 0;
  }

  .providers .filters {
    align-items: flex-start;
  }

  .providers .filters .extraPad {
    flex-basis: 100%;
    margin-bottom: 4px;
  }

  .providers .providers-list .services ul li {
    width: 50%;
  }

  .embedly-product .embedly-product-hero {
    padding: 52px 0 38px;
  }

  .embedly-product .embedly-product-hero h1,
  .provider .provider-header h1 {
    font-size: 2.5rem;
  }

  .provider .provider-header {
    padding: 52px 0 38px;
  }

  .provider .provider-header > .row > .columns > .row:first-child {
    display: block;
  }

  .provider-header-logo {
    margin-top: 24px;
    text-align: left;
  }

  .provider-get-started-action {
    margin-top: 18px;
    text-align: left;
  }

  .company-header .company-nav li {
    margin-right: 18px;
  }

  .company-company .about-hero {
    padding: 58px 0 52px;
  }

  .company-company .about-hero h1 {
    font-size: 2.75rem;
  }

  .company-company .about-story,
  .company-company .about-history {
    padding: 52px 0;
  }

  .company-company .about-story > .row,
  .about-timeline {
    display: block;
  }

  .about-yc-card {
    margin-top: 28px;
  }

  .about-milestone {
    height: auto;
    margin-bottom: 16px;
  }

  .brand-kit-hero {
    padding: 56px 0 50px;
  }

  .brand-kit-hero h1 {
    font-size: 2.75rem;
  }

  .brand-kit-section {
    padding: 52px 0;
  }

  .brand-asset-grid,
  .brand-color-grid,
  .brand-kit-section--guidance > .row {
    display: block;
  }

  .brand-asset-card,
  .brand-color-card {
    height: auto;
    margin-bottom: 18px;
  }
}

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
  .home .home-hero .header-rotating {
    font-size: clamp(2.75rem, 6vw, 3.75rem);
    line-height: 1.08;
  }
}

@media only screen and (max-width: 30em) {
  .providers .providers-list .services ul li {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
