/* Center the introduction in its own band, before the tablet image begins. */
.device-section { padding-top: 0; }
.device-heading {
  min-height: 320px;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tablet-composition { margin-top: 0; }

/* Use the button lime consistently, with a dark ground for small text. */
.device-heading .eyebrow,
.program .section-heading .eyebrow,
.origin .eyebrow {
  display: inline-block;
  align-self: center;
  width: fit-content;
  color: var(--lime);
  background: var(--navy-deep);
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1.5;
}
.clarity h2 em {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: .12em;
  text-underline-offset: .13em;
  text-decoration-skip-ink: none;
}
.platform .text-link { color: var(--ink); }
.platform .text-link span { color: var(--ink); background: var(--lime); border-radius: 50%; padding: 3px 7px; }
.feature-number { color: var(--ink); }
.feature-copy li::before { color: var(--ink); }

/* Four distinct, inviting tabs with a strong selected state. */
.feature-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  margin-bottom: 22px;
}
.feature-tabs button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  min-height: 66px;
  padding: 11px 16px;
  border: 1px solid #d4dde2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 10px #0f1c3508;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.feature-tabs button span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin: 0;
  border-radius: 50%;
  background: #edf1f3;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.feature-tabs button:hover {
  border-color: var(--lime);
  background: #f4f8e9;
  box-shadow: 0 5px 15px #0f1c3510;
  transform: translateY(-2px);
}
.feature-tabs button[aria-selected='true'] {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--lime);
  box-shadow: inset 0 -3px 0 var(--lime), 0 5px 15px #0f1c3512;
}
.feature-tabs button[aria-selected='true'] span {
  background: var(--lime);
  color: var(--navy-deep);
}
.feature-tabs button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.feature-panel { border: 1px solid #e3e8eb; border-radius: 14px; }

/* Real operating experience, shown through the supplied photographs. */
.origin-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 64px;
}
.origin-photos img { width: 100%; height: auto; border-radius: 8px; }
.platform h3 { max-width: 640px; }
.platform p { max-width: 640px; }
.footer-inner { justify-content: space-between; }

/* A compact diagram showing Connect within the broader operating system. */
.platform { align-items: center; }
.platform > .platform-map:first-child {
  padding: 28px 22px;
  border-radius: 14px;
  border: 1px solid #263449;
  background: radial-gradient(ellipse at top left, #253628 0%, #0f1c35 40%, #0f1c35 80%);
  justify-content: center;
  width: 100%;
  min-width: 0;
  color: #fff;
}
.platform-map-brand { width: 100%; text-align: center; margin-bottom: 24px; }
.platform .platform-map-brand .platform-wordmark { display: block; width: min(220px, 100%); height: auto; max-height: none; margin: 0 auto 12px; object-position: center; }
.platform-map-brand > span { display: block; margin-top: 7px; font-size: 9px; font-weight: 600; letter-spacing: .1em; color: #c4d0da; }
.platform-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; width: 100%; list-style: none; }
.platform-modules li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 13px 6px; min-height: 82px; border: 1px solid #ffffff1c; border-radius: 8px; background: #ffffff05; }
.platform-modules svg { display: block; width: 23px; height: 23px; color: var(--lime); flex-shrink: 0; }
.platform-modules li > span { text-align: center; font-family: 'Manrope', Arial, sans-serif; font-size: 11px; line-height: 1.4; font-weight: 600; color: #edf2f5; }
.platform-map-connector { width: 1px; height: 22px; background: var(--lime); opacity: .7; }
.platform-connect { width: 100%; padding: 17px 10px 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: #b2db3510; border: 1px solid var(--lime); border-radius: 9px; }
.platform .platform-connect img { width: 140px; height: auto; max-height: none; object-position: center; }
.platform-connect > span { font-size: 11px; line-height: 1.4; text-align: center; color: #d7e5bc; }

@media (max-width: 1100px) {
  .feature-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .device-heading { min-height: 280px; padding: 44px 0; }
  .feature-tabs button { font-size: 16px; }
}
@media (max-width: 780px) {
  .platform { grid-template-columns: 1fr; }
  .platform > .platform-map:first-child { max-width: 460px; justify-self: center; }
}
@media (max-width: 600px) {
  .device-heading { min-height: 290px; padding: 44px 0; }
  .device-heading h2 { font-size: clamp(25px, 6vw, 34px); }
  .device-heading > p:last-child { max-width: 330px; line-height: 1.65; }
  .feature-tabs { gap: 10px; }
  .feature-tabs button { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 93px; padding: 5px 13px; font-size: 13px; }
  .feature-tabs button span { width: 34px; height: 34px; flex-basis: 34px; font-size: 15px; }
  .origin-photos { grid-template-columns: 1fr; gap: 18px; margin: 34px 0 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-tabs button { transition: none; }
  .feature-tabs button:hover { transform: none; }
}
