/* shared.css: component-owned rules. Shared priority order is declared in tokens.css. */
@layer presentation {
/* readability */
body {
  font-size: var(--font-16);
}

main .line-link,
main .text-link,
main .solid-link,
dialog label {
  font-size: var(--font-16);
  min-height: 44px;
}

footer>p,
.inner-footer>p {
  font-size: var(--font-13);
}

/* readability */
@media(max-width:560px) {
.inner-header nav.open,
.header nav.open {
  font-size: var(--font-16);
}
}

/* navigation-fit */
.inner-header nav,
.header nav {
  gap: clamp(var(--space-12),1.35vw,var(--space-20));
}

/* navigation-fit */
@media(max-width:1100px) {
.inner-header nav,
.header nav {
  display: none;
}

.inner-header .inner-menu {
  display: flex;
  margin-left: auto;
}

.inner-header nav.open,
.header nav.open {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-8);
  padding: var(--space-24) var(--gutter);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 22px var(--color-30465312);
  font-size: var(--font-16);
}

.inner-header nav.open a,
.header nav.open a {
  min-height: 44px;
  padding: var(--space-9) 0;
}

.inner-header nav.open .nav-contact,
.header nav.open .pill {
  padding: var(--space-12) var(--space-20);
  text-align: center;
  justify-content: center;
}

.header nav.open {
  margin-left: 0;
}

.inner-header nav.open a[aria-current=page]:after {
  right: auto;
  width: 5em;
}
}

/* phase1 */
h1,
h2,
h3,
h4,
.specimen-summary {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
}

.demo-badge {
  font: var(--font-11)/1.4 var(--sans);
  letter-spacing: .06em;
  color: var(--color-ink);
  border: 1px solid var(--color-899da7);
  border-radius: 2px;
  padding: var(--space-4) var(--space-6);
  align-self: center;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.demo-badge:hover {
  background: var(--color-edf1f2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-badge:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: var(--space-4);
}

.header,
.inner-header {
  gap: var(--space-16);
}

.brand small,
.inner-brand small {
  letter-spacing: .07em;
  font-size: var(--font-8);
  white-space: nowrap;
}

/* phase1 */
@media(max-width:1100px) {
.header .menu {
  margin-left: auto;
}

.header nav,
.inner-header nav {
  display: none;
}
}

/* phase1 */
@media(max-width:700px) {
.brand small,
.inner-brand small {
  font-size: var(--font-7);
  letter-spacing: .04em;
}

.header,
.inner-header {
  gap: var(--space-9);
}

.demo-badge {
  font-size: var(--font-10);
  padding: var(--space-4) var(--space-5);
  min-height: 26px;
}
}

/* phase1 */
@media(pointer:coarse) {
.experience-hint .desktop-instruction {
  display: none;
}
}

/* phase1 */
@media(prefers-reduced-motion:reduce) {
html {
  scroll-behavior: auto;
}

.demo-badge {
  transition: none;
}
}

/* type-system */
body {
  font-family: var(--sans);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-leading);
  letter-spacing: var(--body-tracking);
}

h1,
h2,
h3,
h4 {
  font-weight: var(--heading-weight);
  line-height: var(--heading-leading);
  letter-spacing: var(--heading-tracking);
}

button,
input,
select,
textarea {
  font-family: var(--sans);
}

main p:not(.kicker):not(.eyebrow):not(.english):not([class*="label"]):not([class*="name"]) {
  font-family: var(--sans);
  letter-spacing: var(--body-tracking);
}

.brand,
.inner-brand {
  font-weight: 500;
  letter-spacing: .1em;
}

.brand small,
.inner-brand small {
  line-height: 1.35;
  white-space: normal;
  max-width: 240px;
}

.kicker,
.section-mark,
.eyebrow,
.english,
.scene-caption,
.diagram-index,
.row-number,
.breadcrumb,
.gallery figcaption:not(.jp),
.product-number {
  letter-spacing: var(--label-tracking);
}

.demo-badge {
  font-weight: 500;
}

#top .section h2 {
  letter-spacing: var(--heading-tracking);
}

/* type-system */
@media(max-width:700px) {
.brand small,
.inner-brand small {
  max-width: 190px;
}

.header .brand,
.inner-header .inner-brand {
  min-width: 0;
  flex-shrink: 1;
}

.header,
.inner-header {
  gap: var(--space-9);
}

.demo-badge {
  flex-shrink: 0;
}

.header .menu,
.inner-header .inner-menu {
  flex-shrink: 0;
}

.header .brand,
.inner-header .inner-brand {
  font-size: var(--font-23);
}
}

/* type-system */
@media(prefers-reduced-motion:reduce) {
html {
  scroll-behavior: auto;
}
}

/* phase3 */
.p3-notice {
  color: var(--color-ink);
  background: var(--color-edf1f0);
  padding: var(--space-18) var(--space-22);
  margin: var(--space-24) 0 var(--space-32);
  max-width: 70em;
}

/* phase3 */
@media(max-width:700px) {
.p3-notice {
  padding: var(--space-15) var(--space-18);
}
}
}

@layer constraints {
/* readability */
main p:not(.kicker):not(.eyebrow):not(.english):not([class*="label"]):not([class*="name"]):not([class*="note"]):not([class*="disclaimer"]),
.section-intro p,
.concept-body,
dialog p {
  font-size: var(--font-16);
  line-height: 1.9;
}

#products .experience-info #selected-description,
#technology .technical-copy p,
#cases .case-introduction p,
#detail-dialog.case-detail dd,
#detail-dialog.case-detail .case-intent p {
  font-size: var(--font-16);
  line-height: 1.9;
}

main p[class*="note"],
main p[class*="disclaimer"],
main p.kicker,
main p[class*="label"],
main figure:not(.machine)>figcaption,
main small,
.demo-note,
.tp-note,
.ip-note,
.md-note,
.cd-note,
.md-disclaimer,
.ip-disclaimer,
.tp-disclaimer,
#products .experience-info small,
#products .experience-hint,
#products .experience-hint span,
#products .study-instruction,
#technology .technology-disclaimer,
#cases .case-introduction .small-note,
#detail-dialog.case-detail .case-demo-note {
  font-size: var(--font-13);
  line-height: 1.9;
}

main .form-notice,
main .form-help,
main .field-error,
main .form-result,
main .contact-page-layout aside p {
  font-size: var(--font-16);
  line-height: 1.9;
}

/* readability */
@media(max-width:560px) {
.section-intro p,
.concept-body,
#top .hero-description {
  font-size: var(--font-16);
  line-height: 1.9;
}
}

/* type-system */
main {
  font-weight: var(--body-weight);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
}

.brand,
.inner-brand {
  font-family: var(--latin);
}

.brand small,
.inner-brand small {
  font-family: var(--latin);
  font-size: var(--font-12);
  letter-spacing: .035em;
}

.kicker,
.section-mark,
.eyebrow,
.english,
.scene-caption,
.diagram-index,
.row-number,
.breadcrumb,
.gallery figcaption:not(.jp),
.product-number {
  font-family: var(--latin);
}

.demo-badge {
  font-size: var(--font-12);
}

#top .hero-description {
  font-family: var(--serif);
}
#top .scroll,
#top .gallery figcaption:not(.jp),
#top .section-mark,
#top .eyebrow,
#top .english,
#top .scene-caption,
#top .study-instruction,
#products .product-number,
#technology .diagram-index,
#technology .technical-copy .tech-kicker,
#technology .technology-tabs small,
#technology .machine small {
  font-size: var(--label-size);
}

#technology .technical-visual .svg-small {
  font-size: var(--font-12);
}

/* type-system */
@media(max-width:700px) {
#technology .technical-visual .svg-small {
  font-size: var(--font-24);
}
}

/* type-system */
.home-page .section-mark,
.home-page .english,
.home-page .eyebrow,
.home-page .case-label,
.home-page #selected-number {
  font-size: var(--label-size);
}

/* type-system */
@media(max-width:700px) {
.header .brand small,
.inner-header .inner-brand small {
  font-size: var(--font-12);
}
}

/* phase3 */
.p3-notice {
  font: 400 var(--font-14)/1.9 var(--sans);
  letter-spacing: .01em;
}
}

