:root {
  --paper: #f5f7f3;
  --ink: #153847;
  --muted: #506c78;
  --teal: #007b79;
  --teal-light: #e2efea;
  --gold: #edc45d;
  --gold-light: #f4e6bd;
  --navy: #173d4c;
  --line: #d5e1dd;
  --brand: #416f7c;
}
h1, h2 { font-family: inherit; font-weight: 740; letter-spacing: -.045em; }
h1, h2, h3, p, button { hyphens: none; word-break: normal; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.header-inner { gap: 24px; }
#navigation { gap: 24px; }
.hero { gap: 60px; grid-template-columns: 1fr 1fr; padding-block: 65px 80px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(43px, 4.6vw, 68px); line-height: 1.06; max-width: 12ch; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-description { max-width: 40ch; font-size: 18px; }
.hero-actions { flex-wrap: wrap; gap: 12px; }
.hero-actions .button { text-align: center; gap: 12px; }
.trust { flex-wrap: wrap; gap: 10px 18px; }
.hero-showcase { background: var(--brand); border-radius: 26px; padding: 28px 30px 24px; min-width: 0; color: white; }
.showcase-label { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.showcase-label span { color: #e0eff0; font-weight: 400; }
.hero-devices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 20px 4px 34px; align-items: start; }
.device { border: 7px solid #183c47; border-radius: 25px; box-shadow: 0 18px 28px #16394766; background: #e4edeb; }
.device img { border-radius: 17px; width: 100%; height: auto; }
.device-rose { transform: rotate(-5deg); margin-top: 22px; }
.device-pcp { transform: rotate(5deg); margin-top: 84px; }
.showcase-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .03em; line-height: 1.5; }
.showcase-caption span { font-size: 24px; color: #f3d170; }
.workflow-section { background: #e5eeea; }
.workflow-layout h2 { max-width: 15ch; }
.focus-stories { display: grid; gap: 30px; }
.focus-story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 45px; border-top: 1px solid var(--line); }
.focus-story.reverse .focus-visual { order: 1; }
.focus-story.reverse .focus-copy { order: 0; }
.focus-visual { min-width: 0; padding: 38px; background: #e0eae5; border-radius: 26px; position: relative; display: grid; place-items: center; }
.focus-story:nth-child(2) .focus-visual { background: #e3e9ee; }
.focus-story:nth-child(3) .focus-visual { background: #ece8dc; }
.focus-device { width: min(100%, 247px); border: 8px solid #173d4c; border-radius: 29px; box-shadow: 0 18px 32px #173d4c26; background: #e4edeb; z-index: 1; }
.focus-device img { width: 100%; height: auto; border-radius: 20px; }
.focus-number { position: absolute; top: 16px; left: 24px; font-size: 60px; font-weight: 740; color: #a0b9b4; line-height: 1; letter-spacing: -.08em; }
.focus-copy { min-width: 0; }
.focus-copy h3 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.13; letter-spacing: -.04em; max-width: 16ch; margin-bottom: 24px; }
.focus-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 36ch; }
.focus-copy .text-link { margin-top: 24px; }
.extra-tools { margin-top: 50px; }
.gallery-section { background: #e6eeea; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-filters button { border: 1px solid #b4cac3; background: transparent; border-radius: 999px; padding: 10px 20px; cursor: pointer; min-height: 44px; font-size: 14px; line-height: 1.4; }
.gallery-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.view-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.view-gallery figure { min-width: 0; }
.view-gallery figure[hidden] { display: none; }
.view-gallery .poster { display: block; width: 100%; border-radius: 12px; overflow: hidden; background: var(--brand); box-shadow: 0 8px 20px #173d4c14; }
.view-gallery .poster img { width: 100%; height: auto; }
.view-gallery figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 13px; font-size: 14px; line-height: 1.4; }
.view-gallery figcaption span:first-child { color: var(--teal); font-size: 11px; }
.view-gallery figcaption span:last-child { margin-left: auto; color: var(--teal); }
.gallery-hint { margin-top: 25px; font-size: 12px; color: var(--muted); }
.brand-banner { margin: 70px auto 0; max-width: 1024px; }
.brand-banner button, .brand-banner img { width: 100%; height: auto; border-radius: 14px; }
.purchase-label { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.plan-price { overflow-wrap: normal; }
#viewer { max-width: min(94vw, 1180px); max-height: 94dvh; padding: 22px; }
#viewer #large { max-width: 100%; max-height: 80dvh; width: auto; height: auto; object-fit: contain; margin-inline: auto; }
#viewer::backdrop { background: #0b2535d9; }
#viewer form { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding-bottom: 10px; }
#viewer #close { background: var(--navy); color: white; border: 0; border-radius: 7px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.analysis-steps figure .image-button { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
@media (max-width: 1050px) {
  .hero { gap: 30px; }
  #navigation { gap: 16px; }
  .header-inner { gap: 16px; }
  .hero h1 { font-size: clamp(40px, 5vw, 56px); }
  .focus-story { gap: 40px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 45px 55px; }
  .hero h1 { max-width: 16ch; }
  .hero-description { max-width: 46ch; }
  .hero-showcase { width: min(100%, 520px); margin-inline: auto; }
  .focus-story { gap: 30px; }
  .focus-visual { padding: 25px; }
  .focus-number { font-size: 44px; left: 15px; }
  .view-gallery { gap: 26px 15px; }
  #viewer { padding: 14px; }
}
@media (max-width: 580px) {
  .hero h1 { font-size: clamp(37px, 10vw, 49px); }
  .hero-description { font-size: 16px; }
  .hero-showcase { padding: 24px 22px; }
  .hero-devices { gap: 16px; padding-inline: 0; }
  .device { border-width: 5px; border-radius: 22px; }
  .device img { border-radius: 16px; }
  .device-pcp { margin-top: 65px; }
  .focus-story { grid-template-columns: 1fr; gap: 25px; padding-block: 30px; }
  .focus-story.reverse .focus-visual { order: 0; }
  .focus-story.reverse .focus-copy { order: 1; }
  .focus-copy h3 { font-size: 34px; max-width: 19ch; margin-bottom: 18px; }
  .focus-copy p:not(.eyebrow) { font-size: 16px; }
  .focus-visual { padding: 35px; }
  .focus-device { max-width: 235px; }
  .view-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .view-gallery figcaption { font-size: 12px; gap: 6px; }
  .gallery-filters { gap: 8px; }
  .gallery-filters button { font-size: 12px; padding-inline: 14px; }
  .brand-banner { margin-top: 40px; }
  .showcase-caption { font-size: 11px; }
}
@media (max-width: 1100px) {
  #menu { display: inline-flex; }
  #navigation { display: none; position: absolute; inset: 100% 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px; flex-wrap: wrap; }
  #navigation.open { display: flex; }
}

/* The former gallery used light text on a dark background. */
.gallery-section, .gallery-section h2 { color: var(--ink); }
.gallery-section .eyebrow, .gallery-section .muted, .gallery-section .gallery-hint { color: var(--muted); }
.gallery-filters button { color: var(--ink); }
.gallery-filters button[aria-pressed="true"] { color: white; }
