:root {
  /* LinePocket’s Drafting L uses charcoal, white, and soft blue. */
  --lp-ink: #20262d;
  --lp-muted: #4c5b70;
  --lp-link: #294a8a;
  --lp-hover: #354458;
  --lp-night: var(--lp-ink);
  --lp-night-text: #dce7fa;
  --lp-tint: #e6eeff;
  --lp-grid: #cddbf4;
  --lp-paper: #f6f8fc;
  --lp-panel: #eef2f8;
  --lp-accent: #9bb9ff;
  --lp-line: #d6dfed;
  --lp-width: 1296px;
  --lp-gutter: clamp(18px, 5vw, 72px);
  --lp-radius: clamp(17px, 2vw, 25px);
  background: #fff;
}

:root,
.lp-web,
.lp-story {
  --ink: var(--lp-ink);
  --muted: var(--lp-muted);
  --blue: var(--lp-link);
  --blue-dark: var(--lp-hover);
  --pale-blue: var(--lp-tint);
  --pale: var(--lp-tint);
  --line: var(--lp-line);
  --paper: var(--lp-paper);
  --soft: var(--lp-paper);
  --night: var(--lp-night);
  --night-muted: var(--lp-night-text);
  color: var(--lp-ink);
}

.lp-story :is(h1, h2),
.lp-web :is(h1, h2),
.article :is(h1, h2) {
  font-weight: 700;
  letter-spacing: -.047em;
  text-wrap: balance;
}

:root[dir="rtl"] :is(h1, h2, h3, .lp-story-eyebrow, .lp-story-meta, .lp-eyebrow) {
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.35;
}

:is(.lp-story .lp-story-wrap, .lp-wrap, .lp-review-wrap) {
  width: min(var(--lp-width), calc(100% - var(--lp-gutter) * 2));
  max-width: none;
  margin-inline: auto;
}

.lp-wrap {
  padding-inline: 0;
}

:is(.lp-story-top, .lp-header, body > header) {
  background: #fffffff5;
  border-color: var(--lp-line);
}

:is(.lp-story .lp-story-nav, .lp-header .lp-nav, header > .nav) {
  min-height: 68px;
}

header > .nav,
body > .footer {
  width: min(var(--lp-width), calc(100% - var(--lp-gutter) * 2));
  max-width: none;
  padding-inline: 0;
}

:is(.lp-story .lp-story-brand img, .lp-nav .lp-brand img, .nav .mark) {
  inline-size: 29px;
  block-size: 29px;
  border-radius: 7px;
}

.lp-story .lp-story-nav-links a {
  color: var(--lp-muted);
  font-weight: 580;
}

.lp-story .lp-story-nav-links a:hover,
.lp-story .lp-story-nav-links a[aria-current] {
  background: var(--lp-paper);
  color: var(--lp-link);
}

:is(.lp-button, .button, .lp-story .lp-story-button, .lp-story .lp-story-nav-store, .lp-story .lp-story-nav-lifetime) {
  border-radius: 9px;
}

.lp-story .lp-story-button:not(.lp-story-secondary),
.lp-story .lp-story-nav-store,
.lp-story .lp-story-nav-lifetime,
.lp-web .lp-button:not(:disabled),
.button {
  background: var(--lp-ink);
  border-color: var(--lp-ink);
  color: #fff;
}

.lp-story .lp-story-button:not(.lp-story-secondary):hover,
.lp-story .lp-story-nav-store:hover,
.lp-story .lp-story-nav-lifetime:hover,
.lp-web .lp-button:not(:disabled):hover,
.button:hover {
  background: var(--lp-hover);
  border-color: var(--lp-hover);
}

.lp-story .lp-story-button.lp-story-secondary {
  color: var(--lp-link);
  border-color: var(--lp-line);
  background: #fff;
}

.lp-story .lp-story-button.lp-story-secondary:hover {
  background: var(--lp-panel);
}

.lp-story .lp-story-plain-link,
.lp-text-link {
  color: var(--lp-link);
}

.lp-story .lp-story-hero,
.lp-story .lp-story-page-intro {
  background: var(--lp-paper);
}

.lp-story .lp-story-hero .lp-story-wrap,
.lp-story .lp-product-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
  align-content: center;
}

.lp-story .lp-story-hero .lp-story-wrap {
  min-height: 0;
  padding-block: clamp(35px, 4vw, 60px);
  grid-template-rows: auto;
}

.lp-story .lp-story-hero-copy,
.lp-story .lp-story-hero-art {
  grid-area: auto;
  margin: 0;
  align-self: center;
}

.lp-story .lp-story-hero h1,
.lp-story .lp-story-page-intro h1 {
  font-size: clamp(44px, 5.5vw, 79px);
  line-height: 1.04;
}

.lp-story .lp-story-hero h1 {
  text-wrap: wrap;
}

:root[dir="rtl"] .lp-story :is(.lp-story-hero, .lp-story-page-intro) h1 {
  font-size: clamp(37px, 5vw, 71px);
  line-height: 1.31;
}

:root.lp-home[dir="rtl"] .lp-story .lp-story-hero h1 {
  font-size: clamp(34px, 4.15vw, 65px);
  text-wrap: balance;
}

.lp-story .lp-story-hero .lp-story-lead {
  font-size: clamp(17px, 1.65vw, 23px);
  max-width: 32em;
  margin-block: 22px;
}

.lp-story .lp-home-tagline {
  margin-block-start: 12px;
  color: var(--lp-link);
  font-size: clamp(22px, 2.35vw, 34px);
  font-weight: 650;
  line-height: 1.25;
}

.lp-story .lp-home-actions {
  gap: 9px;
  margin-block: 0 13px;
}

.lp-story .lp-home-actions .lp-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42em;
  min-block-size: 44px;
  padding-inline: clamp(12px, 1.65vw, 23px);
  border-radius: 999px;
}

.lp-story .lp-home-offer {
  margin-block-end: 4px;
}

.lp-story .lp-home-offer [data-storefront-price]:not([hidden]) {
  margin-inline-start: 5px;
  font-weight: 650;
}

.lp-story .lp-device-stage-art {
  margin: 0;
  padding: clamp(16px, 2.8vw, 40px);
  border-radius: var(--lp-radius);
  background-color: var(--lp-tint);
  background-image:
    linear-gradient(to right, var(--lp-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--lp-grid) 1px, transparent 1px);
  background-position: center;
  background-size: clamp(28px, 3vw, 43px) clamp(28px, 3vw, 43px);
}

.lp-story .lp-device-stage-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 450px;
  margin-inline: auto;
  object-fit: contain;
}

.lp-story .lp-device-stage-art figcaption {
  margin: 12px 0 0;
  color: var(--lp-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.lp-story #devices {
  background: #fff;
}

.lp-story .lp-workspace-lineup,
.lp-story .lp-workspace-macs,
.lp-story .lp-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lp-story .lp-workspace-macs {
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-story .lp-workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 26px 34px;
}

.lp-story .lp-workspace-card,
.lp-story .lp-workflow-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 12px;
  background: var(--lp-paper);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
}

.lp-story .lp-workspace-card .lp-story-device-tile,
.lp-story .lp-workflow-card img {
  display: grid;
  place-items: center;
  inline-size: 100%;
  block-size: clamp(150px, 17vw, 220px);
  padding: 14px;
  border-radius: 14px;
  background: var(--lp-tint);
}

.lp-story .lp-workspace-card.is-desktop .lp-story-device-tile {
  background: var(--lp-panel);
}

.lp-story .lp-workspace-card .lp-story-device-tile a,
.lp-story .lp-workspace-card .lp-story-device-tile img {
  inline-size: auto;
  max-inline-size: 100%;
  max-block-size: 100%;
}

.lp-story .lp-workspace-card .lp-story-device-tile a {
  display: grid;
  place-items: center;
  block-size: 100%;
  min-block-size: 0;
}

.lp-story .lp-workspace-card .lp-story-device-tile img {
  height: auto;
  max-height: calc(clamp(150px, 17vw, 220px) - 28px);
  object-fit: contain;
}

.lp-story .lp-workflow-card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.lp-story :is(.lp-workspace-card, .lp-workflow-card) :is(h3, p, .lp-story-plain-link) {
  margin-inline: 7px;
}

.lp-story :is(.lp-workspace-card, .lp-workflow-card) h3 {
  margin-block: 18px 3px;
  font-size: clamp(21px, 2vw, 28px);
}

.lp-story :is(.lp-workspace-card, .lp-workflow-card) p {
  margin-block: 4px 15px;
  font-size: 15px;
  color: var(--lp-muted);
}

.lp-story :is(.lp-workspace-card, .lp-workflow-card) .lp-story-plain-link {
  margin-block: auto 4px;
}

.lp-story .lp-lineup-note {
  margin-block-start: 15px;
}

.lp-story .lp-workflow-more {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 24px;
  margin-block: 0 30px;
}

.lp-review-demo {
  background: #fff;
  color: var(--lp-night-text);
}

.lp-review-demo .lp-review-demo-grid {
  padding: clamp(22px, 4.3vw, 54px);
  gap: clamp(22px, 4vw, 56px);
  background: var(--lp-night);
  border-radius: var(--lp-radius);
}

.lp-review-demo h2,
.lp-review-demo .lp-review-kicker {
  color: #fff;
}

.lp-review-demo :is(a, a:hover, figcaption, .lp-review-note) {
  color: var(--lp-night-text);
}

.lp-review-demo .lp-review-download {
  display: inline-flex;
  align-items: center;
  min-block-size: 45px;
  padding: 9px 15px;
  border: 0;
  border-radius: 9px;
  background: var(--lp-accent);
  color: var(--lp-night);
  text-decoration: none;
}

.lp-review-demo .lp-review-download:hover {
  background: var(--lp-tint);
  color: var(--lp-night);
}

.lp-review-demo :focus-visible,
.lp-story .lp-story-mac-hero :focus-visible {
  outline: 3px solid var(--lp-accent);
  outline-offset: 4px;
}

.lp-story .lp-story-mac-hero {
  background: var(--lp-night);
}

.lp-story .lp-story-buy-box {
  background: var(--lp-panel);
}

.lp-story .lp-story-mac-hero :is(.lp-story-mac-media, figure),
.lp-story :is(.lp-story-feature-showcase, .lp-story-workspace, .lp-story-extension-card, .lp-story-mac-feature-card) {
  border-radius: var(--lp-radius);
}

.lp-story :is(.lp-story-catalog-title, .lp-worldwide-main h1) {
  font-size: clamp(42px, 6.2vw, 76px);
}

.lp-story .lp-worldwide-regions a,
.lp-extension-card,
.lp-extension-space,
.lp-web .lp-connect > section,
.lp-web .lp-current-offer,
.lp-web .lp-package-card,
.lp-web .lp-faq-item {
  border-color: var(--lp-line);
  border-radius: var(--lp-radius);
}

.lp-story .lp-worldwide-regions a,
.lp-web .lp-connect > section,
.lp-web .lp-current-offer {
  background: var(--lp-paper);
}

.lp-story .lp-worldwide-regions a:hover,
.lp-web .lp-package-card.is-complete {
  background: var(--lp-tint);
}

.lp-web .lp-faq-item {
  padding: clamp(18px, 3vw, 28px);
}

.lp-web .lp-pricing .lp-pricing-terms,
.lp-web .lp-standalone-language,
.note {
  background: var(--lp-panel);
  border-color: var(--lp-line);
}

.note {
  border: 1px solid var(--lp-line);
  border-inline-start: 4px solid var(--lp-accent);
  border-radius: 12px;
}

.lp-footer,
body > .footer {
  border-top: 1px solid var(--lp-line);
}

.article {
  width: min(820px, calc(100% - var(--lp-gutter) * 2));
  max-width: none;
  margin: clamp(38px, 7vw, 86px) auto;
  padding-inline: 0;
}

.article h1 {
  font-size: clamp(40px, 6vw, 70px);
  margin-block: 0 21px;
}

.article h2 {
  margin-block: 39px 13px;
  font-size: clamp(25px, 3vw, 34px);
}

.article :is(p, li) {
  color: var(--lp-muted);
}

.article :is(ol, ul) {
  padding-inline-start: 24px;
  padding-inline-end: 0;
}

.lp-article-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 10px;
  margin-block: 22px 33px;
  padding: 16px;
  border-radius: var(--lp-radius);
  background: var(--lp-paper);
  border: 1px solid var(--lp-line);
}

.lp-article-topics a {
  display: flex;
  align-items: center;
  min-block-size: 45px;
  padding: 9px 12px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: #fff;
  color: var(--lp-link);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.lp-article-topics a:hover {
  background: var(--lp-tint);
  text-decoration: underline;
}

.lp-article-index {
  margin-block: 0 22px;
}

.lp-article-index summary {
  display: list-item;
  inline-size: fit-content;
  padding-block: 8px;
  color: var(--lp-link);
  font-weight: 650;
  cursor: pointer;
}

.lp-article-index .lp-article-topics {
  margin-block-start: 6px;
}

.lp-confirm section {
  border-color: var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-paper);
}

.lp-device-frame[data-device-frame] {
  --lp-device-ratio: 16 / 10;
  --lp-device-bezel: clamp(4px, .65vw, 10px);
  --lp-device-corner: clamp(8px, 1.3vw, 17px);
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
  margin-inline: auto;
}

a:has(> .lp-device-frame[data-device-frame]) {
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
}

.lp-device-frame[data-device-frame] > .lp-device-glass {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  position: relative;
  inline-size: 100%;
  aspect-ratio: var(--lp-device-ratio);
  overflow: hidden;
  padding: var(--lp-device-bezel);
  border: 1px solid #59667a;
  border-radius: var(--lp-device-corner);
  background: linear-gradient(135deg, #343d4c, #171d27 26%, #161b23 78%, #353f4e);
  box-shadow: 0 9px 22px #20262d27;
}

.lp-device-frame[data-device-frame] .lp-device-glass :is(img, picture) {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-block-size: none;
  min-block-size: 0;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  border-radius: calc(var(--lp-device-corner) / 2);
  object-fit: contain;
  background: #171d27;
}

.lp-device-frame[data-device-frame="mac"]::before,
.lp-device-frame[data-device-frame="mac"]::after {
  display: block;
  margin-inline: auto;
  content: "";
}

.lp-device-frame[data-device-frame="mac"]::before {
  block-size: clamp(12px, 2.2vw, 32px);
  inline-size: 17%;
  background: linear-gradient(105deg, #a9b3c4, #dfe5ee 45%, #8894a7);
  clip-path: polygon(27% 0, 73% 0, 92% 100%, 8% 100%);
}

.lp-device-frame[data-device-frame="mac"] {
  display: flex;
  flex-direction: column;
}

.lp-device-frame[data-device-frame="mac"] > .lp-device-glass {
  order: -1;
}

.lp-device-frame[data-device-frame="mac"]::after {
  block-size: clamp(3px, .4vw, 6px);
  inline-size: 29%;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(#dbe2ec, #858fa1);
  box-shadow: 0 4px 10px #20262d19;
}

.lp-device-frame[data-device-frame="ipad"] {
  --lp-device-ratio: 4 / 3;
}

.lp-device-frame[data-device-frame="ipad-portrait"] {
  --lp-device-ratio: 3 / 4;
  inline-size: 325px;
}

.lp-device-frame[data-device-frame="iphone"] {
  --lp-device-ratio: 10 / 21;
  --lp-device-bezel: clamp(4px, 1vw, 7px);
  --lp-device-corner: clamp(15px, 4vw, 23px);
  inline-size: 155px;
}

.lp-story .lp-story-feature-visual > :is(.lp-story-feature-phone, .lp-story-feature-tablet) {
  inline-size: 100%;
  min-inline-size: 0;
}

.lp-story .lp-story-upcoming-ios > figure {
  min-inline-size: 0;
}

.lp-story .lp-story-extension-shot {
  block-size: auto;
  aspect-ratio: 4 / 3;
}

#screenshot-device-frame[data-device-frame] {
  inline-size: min(85vw, 104dvh, 1020px);
  margin-block-end: 14px;
}

#screenshot-device-frame[data-device-frame="ipad"] {
  inline-size: min(85vw, 91dvh, 1020px);
}

#screenshot-device-frame[data-device-frame="ipad-portrait"] {
  inline-size: min(85vw, 51dvh, 625px);
}

#screenshot-device-frame[data-device-frame="iphone"] {
  inline-size: min(85vw, 34dvh, 400px);
}

#screenshot-device-frame[data-device-frame] #expanded-screenshot {
  inline-size: 100%;
  block-size: 100%;
  max-block-size: none;
  margin: 0;
}

@media (max-width: 1000px) {
  .lp-story .lp-workspace-lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .lp-story .lp-story-hero .lp-story-wrap,
  .lp-story .lp-product-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-story .lp-device-stage-art img {
    max-height: 380px;
  }
}

@media (max-width: 720px) {
  .lp-story .lp-story-nav:has(.lp-story-nav-actions) {
    min-height: 94px;
  }

  .lp-story .lp-story-nav-links a {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .lp-story .lp-story-hero .lp-story-lead {
    margin-block: 14px 18px;
  }

  .lp-story .lp-device-stage-art img {
    max-height: 245px;
  }

  .lp-story .lp-device-stage-art figcaption {
    font-size: 11px;
  }

  .lp-story .lp-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .lp-story .lp-workspace-lineup,
  .lp-story .lp-workspace-macs {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-story .lp-workspace-macs {
    grid-column: auto;
  }

  .lp-story .lp-workspace-card .lp-story-device-tile,
  .lp-story .lp-workflow-card img {
    block-size: 184px;
  }

  .lp-story .lp-workspace-card .lp-story-device-tile img {
    max-block-size: 156px;
  }

  .lp-header .lp-nav {
    gap: 8px;
  }

  .lp-header .lp-nav .lp-language-link,
  .lp-header .lp-menu-toggle {
    margin-inline: 0;
    padding-inline: 5px;
  }

  .lp-header .lp-nav .lp-brand {
    gap: 7px;
    font-size: 19px;
  }

  header > .nav {
    gap: 8px;
  }

  header > .nav .navlinks {
    gap: 4px 9px;
    justify-content: flex-end;
    text-align: end;
  }
}

/* Product presentation */
.lp-story :is(h1, h2, h3) em {
  color: var(--lp-link);
  font-style: normal;
}

:root.lp-home .lp-story .lp-story-hero .lp-story-wrap {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(25px, 3.4vw, 46px);
  text-align: center;
}

.lp-story .lp-story-hero .lp-story-lead {
  margin-inline: auto;
}

.lp-story .lp-story-hero .lp-story-hero-copy h1 {
  max-width: none;
  text-wrap: balance;
}

.lp-story .lp-story-hero .lp-home-actions {
  justify-content: center;
}

.lp-home .lp-story .lp-story-hero {
  background: #fff;
}

.lp-story .lp-studio-hero {
  width: min(100%, 1774px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.lp-desk-scene {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2;
  background-color: #d0cfce;
}

.lp-desk-scene picture,
.lp-story .lp-desk-scene img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
}

/* Each link covers the same physical screen in the English and Arabic photographs. */
.lp-desk-scene a {
  position: absolute;
  left: var(--screen-x);
  top: var(--screen-y);
  width: var(--screen-width);
  height: var(--screen-height);
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  cursor: zoom-in;
}

.lp-desk-scene [data-screenshot-device="mac"] {
  --screen-x: 50%;
  --screen-y: 29.3%;
  --screen-width: 64.6%;
  --screen-height: 54.2%;
}

.lp-desk-scene [data-screenshot-device="ipad"] {
  --screen-x: 74.8%;
  --screen-y: 83.3%;
  --screen-width: 21.4%;
  --screen-height: 25%;
}

.lp-desk-scene [data-screenshot-device="iphone"] {
  --screen-x: 91.5%;
  --screen-y: 84.4%;
  --screen-width: 7.2%;
  --screen-height: 23%;
}

.lp-desk-scene a:focus-visible {
  outline: 3px solid var(--lp-link);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px white;
}

.lp-story .lp-studio-hero figcaption {
  margin: 0;
  padding: clamp(17px, 2.2vw, 32px) var(--lp-gutter);
  color: var(--lp-muted);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.5;
  text-align: center;
}

.lp-studio-hero figcaption strong {
  color: var(--lp-ink);
}

.lp-studio-status {
  margin-inline-start: .5em;
  padding-inline-start: .75em;
  border-inline-start: 1px solid #bcc3cd;
}

.lp-story .lp-studio-hero figcaption p {
  font: inherit;
  margin: .35em auto 0;
  max-width: 62ch;
}

@media (max-width: 600px) {
  .lp-desk-scene {
    aspect-ratio: 1;
  }

  .lp-desk-scene [data-screenshot-device="mac"] {
    --screen-y: 25%;
    --screen-width: 96.3%;
    --screen-height: 43.3%;
  }

  .lp-desk-scene [data-screenshot-device="ipad"] {
    --screen-x: 56.1%;
    --screen-y: 68.7%;
    --screen-width: 39.5%;
    --screen-height: 22.7%;
  }

  .lp-desk-scene [data-screenshot-device="iphone"] {
    --screen-x: 85.6%;
    --screen-y: 69%;
    --screen-width: 13.5%;
    --screen-height: 21.8%;
  }
}

/* Give the details and the device captures different visual weight. */
.lp-story .lp-agent-mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: 'agent review' 'agent knowledge' 'source knowledge';
  grid-template-rows: minmax(185px, auto) minmax(90px, auto) minmax(185px, auto);
  gap: clamp(12px, 2vw, 24px);
}

.lp-story .lp-agent-mosaic > * {
  border: 0;
  border-radius: clamp(19px, 3vw, 36px);
  padding: clamp(18px, 3.5vw, 47px);
}

.lp-story .lp-agent-tile-1 {
  grid-area: agent;
  background: radial-gradient(ellipse at 24% 0%, #344e74, #1c2638 70%);
  color: #f5f8ff;
}

.lp-story .lp-agent-tile-1 .lp-story-caption {
  color: #d4e2ff;
}

.lp-story .lp-agent-tile-2 {
  grid-area: knowledge;
  background: linear-gradient(150deg, #dce9fc, #edf2fa);
}

.lp-story .lp-agent-note-1 {
  grid-area: review;
  background: #e2ecfb;
}

.lp-story .lp-agent-note-2 {
  grid-area: source;
  background: #e8edf7;
}

.lp-story .lp-agent-tile,
.lp-story .lp-agent-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-story .lp-agent-mosaic .lp-agent-tile h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(23px, 3vw, 44px);
}

.lp-story .lp-agent-tile .lp-story-preview-field {
  width: 100%;
  min-height: 0;
  margin-block-start: 20px;
  padding: 0;
  background: transparent;
}

.lp-story .lp-agent-tile .lp-story-preview-field a {
  width: 100%;
  max-width: 100%;
}

.lp-story .lp-agent-tile .lp-device-frame img {
  max-height: none;
}

.lp-story .lp-agent-tile .lp-device-frame > .lp-device-glass {
  box-shadow: 0 8px 21px #121a2b44, inset 0 0 0 1px #536175;
}

.lp-story .lp-agent-note-title {
  color: var(--lp-link);
  font-size: clamp(23px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  text-wrap: balance;
}

.lp-story .lp-agent-mosaic + .lp-story-caption {
  margin-block-start: 17px;
}

/* The track remains scrollable and its links work without JavaScript. */
.lp-story .lp-feature-gallery .lp-workflow-grid {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: clamp(231px, 32%, 420px);
  gap: clamp(12px, 1.8vw, 23px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  margin-block: 23px 0;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: #9bafd1 transparent;
}

.lp-story .lp-feature-gallery .lp-workflow-card {
  min-block-size: clamp(188px, 22vw, 277px);
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(18px, 3vw, 35px);
  scroll-snap-align: start;
  scroll-margin-inline: 4px;
  background: #edf3fc;
  border: 0;
  border-radius: clamp(19px, 3vw, 30px);
}

.lp-story .lp-feature-gallery .lp-workflow-card:nth-child(3n + 2) {
  background: #e4edf9;
}

.lp-story .lp-feature-gallery .lp-workflow-card:nth-child(3n) {
  background: #ebeff8;
}

.lp-story .lp-feature-gallery .lp-workflow-card h3 {
  margin: 8px 0 14px;
  font-size: clamp(23px, 2.8vw, 38px);
  line-height: 1.17;
  text-wrap: balance;
}

.lp-feature-symbol {
  color: var(--lp-link);
  font-size: clamp(27px, 3vw, 43px);
  line-height: 1;
}

.lp-story .lp-feature-plus,
.lp-story .lp-feature-gallery-controls button {
  display: inline-grid;
  flex: none;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: 500 28px/1 system-ui, sans-serif;
  text-decoration: none;
}

.lp-story .lp-feature-plus {
  align-self: flex-end;
  color: #fff;
  background: var(--lp-ink);
}

.lp-story .lp-feature-plus:hover {
  background: var(--lp-link);
}

.lp-story :is(.lp-feature-plus, .lp-feature-gallery-controls button):focus-visible {
  outline: 2px solid var(--lp-link);
  outline-offset: 3px;
}

.lp-feature-gallery-controls:not([hidden]) {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-block: 12px 23px;
}

.lp-story .lp-feature-gallery-controls button {
  color: var(--lp-link);
  background: var(--lp-tint);
}

.lp-story .lp-feature-gallery-controls button[aria-disabled="true"] {
  opacity: .46;
  cursor: default;
}

.lp-feature-gallery-controls button span {
  inline-size: 10px;
  block-size: 10px;
  border-block-start: 2px solid;
  border-inline-end: 2px solid;
  transform: rotate(45deg);
}

.lp-feature-gallery-controls [data-feature-scroll="-1"] span {
  transform: rotate(225deg);
}

:root[dir="rtl"] .lp-feature-gallery-controls button span {
  scale: -1 1;
}

.lp-story .lp-feature-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(calc(100% - 28px), 710px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: clamp(17px, 4vw, 42px);
  border: 1px solid var(--lp-line);
  border-radius: 25px;
  background: var(--lp-paper);
  color: var(--lp-ink);
}

.lp-feature-dialog::backdrop {
  background: #152138b8;
}

.lp-story .lp-feature-dialog [data-feature-close] {
  float: inline-end;
  margin: 0 0 9px 10px;
}

.lp-story .lp-feature-dialog h2 {
  margin-block: 4px 12px;
  font-size: clamp(25px, 4vw, 43px);
  line-height: 1.12;
  text-wrap: wrap;
}

.lp-story .lp-feature-dialog [data-feature-content] {
  display: grid;
  justify-items: center;
  clear: both;
  gap: 18px;
  margin-block-end: 17px;
}

.lp-story .lp-feature-dialog [data-feature-content] p {
  justify-self: start;
  color: var(--lp-muted);
  margin: 0;
}

.lp-story .lp-feature-dialog img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

.lp-story .lp-feature-dialog .lp-device-frame {
  width: min(100%, 62dvh, 530px);
}

.lp-story .lp-feature-dialog .lp-device-glass img {
  block-size: 100%;
}

.lp-story .lp-story-ios-gallery {
  border-radius: clamp(19px, 3vw, 36px);
  background: linear-gradient(153deg, #e7f0ff, #cfdef5);
}

.lp-story .lp-story-feature-list .lp-story-feature-title {
  color: var(--lp-link);
}

@media (max-width: 720px) {
  .lp-story .lp-agent-mosaic {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'agent' 'review' 'knowledge' 'source';
    grid-template-rows: auto;
  }

  .lp-story .lp-feature-gallery .lp-workflow-grid {
    grid-auto-columns: min(82%, 390px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-story .lp-feature-gallery .lp-workflow-grid {
    scroll-behavior: auto;
  }
}
