/* The Paper redesign is isolated here so the dictionary and docs keep their shared stylesheet. */
:root {
  --landing-ivory: #fffcf7;
  --landing-line: #d8cec2;
  --landing-muted: #6b5a50;
}

.home .nav {
  max-width: 1440px;
  padding: 28px 64px;
}
.home .hero {
  max-width: 1440px;
  padding: 92px 64px 120px;
}
.home .hero h1 {
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-subtitle {
  max-width: 900px;
  margin: 0 auto 32px;
  color: var(--landing-muted);
}
.home .openapp {
  padding: 15px 28px;
}

.home #features {
  border-top: 1px solid var(--landing-line);
  max-width: none;
  padding: 110px max(32px, calc((100vw - 1240px) / 2));
  grid-template-columns: 660px 480px;
  gap: 100px;
  background: var(--bg);
}
.home #features .platforms {
  min-width: 0;
}
.home #features .platform-mac {
  line-height: 0;
}
.home #features .shot-clip {
  border-radius: 20px;
}
.home #features .where {
  margin-top: 24px;
  gap: 18px;
}
.home #features .where-pill + .where-pill {
  margin-left: 0;
}
.home .where-pill {
  opacity: 1;
  padding-block: 6px;
  text-decoration: none;
}
.home .where-pill svg {
  height: 18px;
  width: 18px;
}
[data-replay],
[data-replay-image] {
  cursor: pointer;
}
[data-replay]:focus-visible,
[data-replay-image]:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 5px;
}
[id^='install-'],
#connect-ai {
  scroll-margin-top: 32px;
}
.dictionary-paths {
  align-items: center;
  background: var(--landing-ivory);
  border-top: 1px solid var(--landing-line);
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 130px max(32px, calc((100vw - 1240px) / 2)) 150px;
  position: relative;
  z-index: 2;
}
.dictionary-paths-head {
  max-width: 720px;
  text-align: center;
}
.dictionary-paths-head h2 {
  color: var(--fg);
  letter-spacing: -0.02em;
}
.dictionary-paths-head h2 em {
  color: var(--coral);
  display: block;
  font-family: var(--display-em);
  font-weight: 400;
}
.dictionary-paths-head p {
  color: var(--landing-muted);
  margin-top: 22px;
}
.dictionary-path {
  align-items: center;
  display: flex;
  gap: 100px;
  justify-content: space-between;
  max-width: 1240px;
  width: 100%;
}
.dictionary-path-copy {
  align-items: flex-start;
  display: flex;
  flex: 0 0 480px;
  flex-direction: column;
  gap: 18px;
}
.dictionary-path-copy h3 {
  letter-spacing: -0.02em;
}
.dictionary-path-copy p {
  color: var(--landing-muted);
  max-width: 420px;
}
.annotated-card {
  flex: 0 0 660px;
  height: 500px;
  position: relative;
}
.annotated-card img {
  border-radius: 14px;
  box-shadow: 0 14px 26px rgba(43, 27, 21, 0.12);
  height: 455px;
  left: 170px;
  object-fit: cover;
  position: absolute;
  top: 22px;
  width: 320px;
}
.card-callout {
  color: #5f5852;
  position: absolute;
  white-space: nowrap;
}
.card-callout::before,
.card-callout::after {
  background: #e58a75;
  content: '';
  position: absolute;
  top: 9px;
}
.card-callout::before {
  height: 1px;
  width: 42px;
}
.card-callout::after {
  border-radius: 50%;
  height: 6px;
  width: 6px;
  top: 6px;
}
.callout-definition {
  right: 530px;
  top: 120px;
}
.callout-definition::before,
.callout-example::before {
  left: calc(100% + 8px);
  width: 18px;
}
.callout-definition::after,
.callout-example::after {
  left: calc(100% + 32px);
}
.callout-example {
  right: 530px;
  top: 382px;
}
.callout-example::after {
  left: calc(100% + 32px);
}
.callout-audio,
.callout-image {
  left: 570px;
}
.callout-audio {
  top: 63px;
}
.callout-image {
  top: 270px;
}
.callout-audio::before,
.callout-image::before {
  right: calc(100% + 8px);
}
.callout-audio::after,
.callout-image::after {
  right: calc(100% + 58px);
}
.mcp-demo {
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(43, 27, 21, 0.14);
  flex: 0 0 560px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 560px;
}

/* Reason: the page uses a single orange, #EE6A4C, for fills, text and icons
   alike. These restate the few places where a shared rule would otherwise
   reach for the deeper coral: the global link hover, and the filled CTA whose
   hover darkened it. Hover is carried by the lift instead. */
.home a:hover {
  color: var(--coral);
}
.home .openapp:hover {
  background: var(--coral);
  color: #fff;
}
.home .toggle .save {
  color: var(--coral);
}

.phrase-break {
  display: none;
}
