.home {
  --home-paper: #fbfaf7;
  --home-paper-cool: #f5f9fc;
  --home-ink: #082844;
  --home-copy: #516b80;
  --home-blue: #0b527f;
  --home-blue-soft: #ddecf7;
  --home-mint: #2f968f;
  --home-line: #cfdae2;
  --home-fold: #f3bd3e;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

.home-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--home-paper);
}

.home-header {
  width: min(1328px, calc(100% - 72px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 10;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.045em;
}

.home-brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(8, 40, 68, .12));
}

.home-brand b {
  margin-left: 4px;
  font-weight: 760;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  color: #274761;
  font-size: 14px;
  font-weight: 680;
}

.home-nav a,
.header-action,
.home-button,
.text-action,
.home-footer a {
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.home-nav a:hover,
.home-nav a:focus-visible,
.home-footer a:hover {
  color: var(--home-mint);
}

.header-action {
  justify-self: end;
  min-height: 43px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #aebdca;
  border-radius: 8px;
  color: var(--home-ink);
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 760;
}

.header-action:hover {
  border-color: var(--home-ink);
  background: #fff;
}

.desk-hero {
  min-height: 834px;
  padding: 84px 56px 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(590px, 1.1fr);
  grid-template-rows: 430px 252px;
  column-gap: 40px;
}

.desk-light {
  position: absolute;
  inset: -86px 0 auto;
  width: 100%;
  height: 920px;
  z-index: 0;
  object-fit: cover;
  object-position: center top;
  opacity: .82;
  pointer-events: none;
  user-select: none;
}

.hero-copy,
.product-stage,
.paper-flow {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-top: 36px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 18px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero-copy h1 {
  max-width: none;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(56px, 5vw, 70px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.078em;
}

.hero-copy h1 span:last-child {
  display: block;
}

.hero-summary {
  max-width: 26em;
  margin: 24px 0 27px;
  color: var(--home-copy);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions,
.closing-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-button {
  min-height: 51px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 780;
}

.home-button-primary {
  border: 1px solid var(--home-ink);
  background: var(--home-ink);
  color: #fff;
  box-shadow: 0 12px 22px rgba(8, 40, 68, .17);
}

.home-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(8, 40, 68, .21);
}

.home-button-secondary {
  border: 1px solid #8ca2b4;
  background: rgba(255, 255, 255, .65);
  color: var(--home-ink);
}

.home-button-secondary:hover {
  border-color: var(--home-ink);
  background: #fff;
}

.release-note {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c8192;
  font-size: 12px;
}

.release-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-fold);
  box-shadow: 0 0 0 4px rgba(243, 189, 62, .15);
}

.product-stage {
  min-width: 0;
  height: 438px;
  margin-top: -55px;
  transform: rotate(1.15deg);
  transform-origin: center;
}

.product-shadow {
  position: absolute;
  inset: 48px 6px 1px 14px;
  border-radius: 5px;
  box-shadow: 0 28px 42px rgba(30, 64, 88, .22);
}

.product-sheet {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 160, 176, .52);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(30, 64, 88, .1);
}

.product-sheet::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(181, 197, 208, .42);
  border-radius: 2px;
  pointer-events: none;
}

.product-ui {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.88) contrast(.96) brightness(1.045);
}

.product-pin {
  position: absolute;
  top: -42px;
  left: 43%;
  width: 48px;
  height: 78px;
  z-index: 4;
  object-fit: contain;
  transform: rotate(-4deg);
  filter: drop-shadow(0 8px 8px rgba(8, 40, 68, .16));
}

.product-fold,
.card-fold {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 84px;
  height: 84px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.paper-flow {
  grid-column: 1 / -1;
  align-self: end;
  height: 240px;
  display: grid;
  grid-template-columns: .9fr 1fr .88fr;
  align-items: end;
  gap: 54px;
  padding: 0 18px;
  transform: translateY(-54px);
}

.paper-card {
  min-width: 0;
  position: relative;
  border: 1px solid rgba(153, 171, 184, .62);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 23px rgba(32, 62, 82, .14);
  color: #153851;
}

.paper-tab {
  position: absolute;
  top: -29px;
  left: 22px;
  padding: 7px 12px 6px;
  border: 1px solid #b7cad8;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #dcebf5;
  color: #1a5a83;
  font: 720 11px/1 var(--mono);
  letter-spacing: .04em;
}

.capture-card {
  min-height: 180px;
  padding: 26px 26px 18px;
  transform: rotate(-2.1deg);
}

.paper-label,
.paper-title {
  margin: 0 0 8px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 820;
}

.paper-prompt,
.paper-card > p {
  margin: 0;
  color: #486378;
  font-size: 13px;
  line-height: 1.65;
}

.paper-control {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #60798c;
}

.paper-control b {
  padding: 7px 11px;
  border-radius: 5px;
  background: #76a9ca;
  color: #fff;
  font-weight: 720;
}

.index-card {
  min-height: 174px;
  padding: 25px 30px 20px;
  overflow: hidden;
  background-color: #fffefa;
  transform: rotate(.7deg);
}

.index-paper-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.index-card > :not(.index-paper-surface) {
  position: relative;
  z-index: 1;
}

.paper-title {
  color: #183b54;
  font-size: 16px;
}

.index-line {
  display: inline-block;
  margin-top: 15px;
  color: #8d6b2a;
  font-size: 11px;
  font-weight: 700;
}

.recovery-card {
  min-height: 180px;
  padding: 27px 28px 24px;
  transform: rotate(2.2deg);
}

.download-mark {
  display: inline-flex;
  min-height: 26px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #bfd0dc;
  border-radius: 5px;
  color: var(--home-blue);
  font-size: 10px;
  font-weight: 720;
}

.years-strip {
  min-height: 218px;
  padding: 49px 62px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 46px;
  position: relative;
  z-index: 2;
  border-top: 1px solid #e2e8ec;
  border-bottom: 1px solid #dfe7ec;
  background: rgba(255, 255, 255, .9);
}

.years-heading .section-kicker {
  margin-bottom: 3px;
}

.years-heading h2 {
  margin: 0;
  max-width: none;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.years-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
}

.years-steps li {
  min-width: 0;
  padding: 12px 31px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  position: relative;
  border-left: 1px solid #dce5eb;
}

.step-number {
  padding-top: 3px;
  color: var(--home-blue);
  font: 750 11px/1 var(--mono);
}

.years-steps strong {
  font-size: 16px;
}

.years-steps p {
  margin: 6px 0 0;
  color: var(--home-copy);
  font-size: 12px;
  line-height: 1.65;
}

.story-section,
.hosting-section {
  width: min(1260px, calc(100% - 96px));
  margin: 0 auto;
}

.story-section {
  min-height: 690px;
  padding: 128px 0;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 100px;
  border-bottom: 1px solid var(--home-line);
}

.story-copy h2,
.hosting-heading h2,
.home-closing h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.06;
  letter-spacing: -.07em;
}

.hosting-heading h2 {
  max-width: 8.5em;
  font-size: clamp(44px, 4.2vw, 58px);
}

.story-copy > p:not(.section-kicker) {
  max-width: 31em;
  margin: 25px 0 30px;
  color: var(--home-copy);
  font-size: 17px;
}

.text-action {
  color: var(--home-blue);
  font-weight: 780;
}

.text-action:hover {
  color: var(--home-mint);
}

.library-scene {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #d9e3e9;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f8fa;
  box-shadow: 0 20px 42px rgba(28, 60, 83, .1);
}

.library-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .86;
  background-image: url("/assets/jotdex-hero-paper-light-v1.png");
  background-size: cover;
  background-position: center;
}

.scene-sheet {
  position: absolute;
  width: 62%;
  min-height: 310px;
  padding: 36px;
  border: 1px solid #bfcfd9;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 17px 28px rgba(31, 64, 86, .15);
}

.sheet-back {
  transform: translate(43px, -20px) rotate(5deg);
  color: #88a0b0;
  font: 700 11px var(--mono);
  letter-spacing: .14em;
}

.sheet-front {
  transform: translate(-25px, 20px) rotate(-2deg);
}

.sheet-front p {
  margin: 0 0 7px;
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .1em;
}

.sheet-front strong {
  display: block;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.sheet-front ul {
  margin: 26px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--home-line);
  list-style: none;
  color: var(--home-copy);
  font-size: 13px;
}

.scene-icon {
  position: absolute;
  top: 8px;
  left: 56%;
  width: 122px;
  z-index: 3;
  transform: rotate(6deg);
  filter: drop-shadow(0 9px 8px rgba(8, 40, 68, .17));
}

.hosting-section {
  padding: 118px 0 124px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 100px;
}

.hosting-heading {
  position: sticky;
  top: 70px;
  align-self: start;
}

.hosting-list {
  border-top: 1px solid var(--home-line);
}

.hosting-list article {
  padding: 31px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--home-line);
}

.hosting-list article > span {
  color: var(--home-blue);
  font: 760 11px var(--mono);
}

.hosting-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -.04em;
}

.hosting-list p {
  max-width: 34em;
  margin: 0;
  color: var(--home-copy);
}

.home-closing {
  width: min(1328px, calc(100% - 72px));
  min-height: 320px;
  margin: 0 auto 84px;
  padding: 54px 60px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 36px;
  border: 1px solid #cad8e1;
  border-radius: 22px;
  background: #f4f9fb;
  box-shadow: 0 18px 34px rgba(30, 62, 84, .09);
}

.home-closing h2 {
  max-width: none;
  font-size: clamp(36px, 4vw, 56px);
}

.home-closing p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--home-copy);
}

.closing-mark {
  width: 112px;
  filter: drop-shadow(0 10px 9px rgba(8, 40, 68, .18));
}

.home-footer {
  width: min(1328px, calc(100% - 72px));
  min-height: 174px;
  margin: 0 auto;
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
  border-top: 1px solid var(--home-line);
  color: #698093;
  font-size: 12px;
}

.home-footer .footer-brand img {
  width: 35px;
  height: 35px;
}

.home-footer .footer-brand {
  color: var(--home-ink);
  font-size: 16px;
}

.home-footer p {
  margin: 8px 0 0;
}

.home-footer nav {
  display: flex;
  gap: 24px;
  padding-top: 8px;
  font-weight: 680;
}

.home-footer .copyright {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid #e4eaee;
}

@media (max-width: 1100px) {
  .home-header {
    grid-template-columns: 1fr auto;
  }

  .home-nav {
    display: none;
  }

  .desk-hero {
    min-height: 1100px;
    padding-inline: 38px;
    grid-template-columns: .72fr 1.28fr;
    grid-template-rows: 450px 360px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 7vw, 72px);
  }

  .product-stage {
    margin-top: -22px;
    height: 370px;
  }

  .paper-flow {
    height: 350px;
    gap: 24px;
    transform: none;
  }

  .story-section,
  .hosting-section {
    gap: 58px;
  }

  .home-closing {
    grid-template-columns: 90px 1fr;
  }

  .closing-mark {
    width: 84px;
  }

  .closing-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .home-header {
    width: calc(100% - 32px);
    height: 72px;
  }

  .home-brand {
    font-size: 17px;
  }

  .home-brand img {
    width: 37px;
    height: 37px;
  }

  .header-action {
    min-height: 39px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .desk-hero {
    min-height: 1050px;
    padding: 46px 20px 0;
    display: flex;
    flex-direction: column;
  }

  .desk-light {
    height: 960px;
    object-position: center top;
    opacity: .78;
  }

  .hero-copy {
    padding: 0 7px;
  }

  .hero-kicker {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 15vw, 67px);
    line-height: 1.01;
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-summary {
    margin: 18px 0 21px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
  }

  .home-button {
    flex: 1 1 145px;
    padding-inline: 17px;
  }

  .product-stage {
    width: 116%;
    height: auto;
    aspect-ratio: 1.55;
    margin: 73px 0 0 -8%;
    transform: rotate(1deg);
  }

  .product-pin {
    top: -45px;
    left: 43%;
    width: 44px;
    height: 70px;
  }

  .product-sheet::before {
    inset: 7px;
  }

  .product-fold {
    width: 54px;
    height: 54px;
  }

  .paper-flow {
    width: 100%;
    height: auto;
    margin-top: 47px;
    padding: 0;
    display: flex;
    gap: 0;
    overflow: visible;
    transform: none;
  }

  .paper-card {
    min-height: 146px;
  }

  .capture-card {
    width: 37%;
    padding: 22px 17px 14px;
    transform: rotate(-2deg);
  }

  .capture-card .paper-prompt br,
  .paper-control span {
    display: none;
  }

  .paper-control {
    justify-content: flex-start;
  }

  .index-card {
    width: 34%;
    margin-left: -8px;
    padding: 22px 15px 16px;
    z-index: 2;
  }

  .recovery-card {
    width: 34%;
    margin-left: -7px;
    padding: 22px 16px;
    transform: rotate(2deg);
  }

  .paper-card > p {
    font-size: 10px;
    line-height: 1.5;
  }

  .paper-title,
  .paper-label {
    font-size: 11px;
  }

  .paper-tab {
    top: -23px;
    left: 10px;
    padding: 6px 8px 5px;
    font-size: 8px;
  }

  .download-mark {
    margin-top: 8px;
  }

  .years-strip {
    padding: 44px 27px 38px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .years-heading h2 {
    max-width: none;
    white-space: normal;
  }

  .years-steps {
    grid-template-columns: 1fr;
  }

  .years-steps li {
    padding: 19px 0;
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .story-section,
  .hosting-section {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
  }

  .story-section {
    min-height: 0;
    padding: 84px 0;
    gap: 55px;
  }

  .story-copy h2,
  .hosting-heading h2 {
    font-size: 46px;
  }

  .hosting-heading h2 {
    max-width: none;
    font-size: 42px;
  }

  .library-scene {
    min-height: 390px;
  }

  .scene-sheet {
    width: 75%;
    min-height: 265px;
    padding: 29px 25px;
  }

  .sheet-front strong {
    font-size: 22px;
  }

  .scene-icon {
    width: 92px;
  }

  .hosting-section {
    padding: 82px 0;
    gap: 47px;
  }

  .hosting-heading {
    position: static;
  }

  .home-closing {
    width: calc(100% - 32px);
    margin-bottom: 60px;
    padding: 34px 26px;
    grid-template-columns: 64px 1fr;
    gap: 18px;
  }

  .closing-mark {
    width: 64px;
  }

  .home-closing h2 {
    font-size: 34px;
  }

  .closing-actions {
    grid-column: 1 / -1;
  }

  .home-footer {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .home-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-nav a,
  .header-action,
  .home-button,
  .text-action,
  .home-footer a {
    transition: none;
  }
}

/* Homepage v3: product canvas and journey notes, based on the approved reference. */
.home,
.home-shell {
  background: #fff;
}

.desk-hero {
  min-height: 706px;
  padding: 78px 54px 0;
  grid-template-columns: minmax(520px, .95fr) minmax(500px, 1.05fr);
  grid-template-rows: 560px;
  column-gap: 26px;
  overflow: hidden;
}

.desk-light {
  display: none;
}

.hero-copy {
  padding-top: 119px;
  z-index: 4;
}

.hero-kicker {
  margin-bottom: 24px;
  color: #16877f;
  letter-spacing: .04em;
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(50px, 4vw, 60px);
  line-height: 1.1;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-summary {
  max-width: 28em;
  margin: 22px 0 31px;
  color: #587087;
  font-size: 19px;
  line-height: 1.65;
}

.product-stage {
  width: min(100%, 690px);
  height: 496px;
  margin: 0 0 0 auto;
  transform: none;
  z-index: 2;
}

.product-shadow {
  inset: 28px 8px 4px 14px;
  box-shadow: 0 24px 38px rgba(30, 64, 88, .16);
}

.product-sheet {
  border-radius: 13px;
  box-shadow: 0 13px 28px rgba(30, 64, 88, .13);
}

.product-sheet::before {
  display: none;
}

.product-pin {
  display: none;
}

.product-fold {
  width: 66px;
  height: 66px;
}

.journey-ornaments {
  position: absolute;
  top: -2px;
  left: 380px;
  z-index: 3;
  width: min(1040px, calc(100% - 300px));
  height: auto;
  pointer-events: none;
}

.paper-flow,
.years-strip {
  display: none;
}

.story-section {
  width: calc(100% - 72px);
  min-height: 482px;
  margin: 0 auto 96px;
  padding: 62px 54px;
  grid-template-columns: minmax(280px, .72fr) minmax(500px, 1.28fr);
  gap: 36px;
  border: 1px solid #d9e4e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 13px 28px rgba(30, 64, 88, .07);
}

.story-copy h2 {
  max-width: 9em;
  font-size: clamp(40px, 3.4vw, 54px);
  letter-spacing: -.055em;
}

.story-copy > p:not(.section-kicker) {
  max-width: 27em;
  margin: 20px 0 23px;
  font-size: 16px;
  line-height: 1.75;
}

.story-capabilities {
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 740;
}

.story-capabilities li {
  min-width: 0;
  padding: 10px 6px;
  border: 1px solid #dbe7eb;
  border-radius: 8px;
  background: #fbfdfd;
  text-align: center;
}

.library-scene {
  min-height: 350px;
  display: block;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.library-scene::before {
  display: none;
}

.library-scene > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .desk-hero {
    min-height: 650px;
    padding-inline: 38px;
    grid-template-columns: minmax(345px, .75fr) minmax(450px, 1.25fr);
    grid-template-rows: 510px;
  }

  .hero-copy {
    padding-top: 108px;
  }

  .product-stage {
    height: 430px;
  }

  .journey-ornaments {
    left: 290px;
    width: min(900px, calc(100% - 190px));
  }

  .story-section {
    grid-template-columns: .85fr 1.15fr;
    padding-inline: 42px;
  }
}

@media (max-width: 760px) {
  .desk-hero {
    min-height: 0;
    padding: 52px 20px 38px;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    padding: 0 7px;
  }

  .hero-copy h1 {
    max-width: 7.2em;
    font-size: clamp(44px, 13vw, 60px);
    line-height: 1.1;
  }

  .hero-summary {
    font-size: 16px;
  }

  .product-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 1.39;
    margin: 44px 0 0;
  }

  .journey-ornaments {
    display: none;
  }

  .story-section {
    width: calc(100% - 32px);
    min-height: 0;
    margin-bottom: 60px;
    padding: 36px 24px 28px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 14px;
  }

  .story-copy h2 {
    font-size: 39px;
  }

  .story-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  .library-scene {
    min-height: 250px;
  }
}

/* Homepage v4: lock the selected hero artwork to the approved source geometry. */
.desk-hero {
  min-height: 682px;
  padding: 30px 54px 0;
  display: block;
}

.hero-copy {
  width: min(520px, 43%);
  padding-top: 98px;
}

.hero-copy h1 {
  font-size: clamp(50px, 3.95vw, 55px);
  letter-spacing: -.065em;
  white-space: nowrap;
}

.hero-summary {
  margin: 32px 0 43px;
  font-size: 18px;
}

.release-note {
  position: absolute;
  bottom: 88px;
  left: 54px;
}

.hero-workbench {
  width: 79.5vw;
  aspect-ratio: 1672 / 941;
  margin: 0;
  position: absolute;
  top: -11px;
  right: -7.1vw;
  z-index: 2;
}

.hero-workbench .hero-journey {
  width: 100%;
  height: auto;
  position: absolute;
  inset: 0;
  display: block;
}

.hero-workbench-surface {
  width: 61.8%;
  height: 80.98%;
  position: absolute;
  top: 9.7%;
  left: 25%;
  overflow: hidden;
  z-index: 1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(30, 64, 88, .16);
}

.hero-workbench-surface img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-journey-book,
.hero-journey-recover,
.hero-journey-write,
.hero-journey-search {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
}

.hero-journey-write {
  top: 5.4%;
  left: 13.5%;
  width: 88px;
}

.hero-journey-search {
  top: 68.2%;
  left: 10.9%;
  width: 91px;
}

.hero-journey-book {
  top: 88.4%;
  left: 34.6%;
  width: 112px;
}

.hero-journey-recover {
  top: 92.8%;
  left: 65.1%;
  width: 120px;
}


@media (max-width: 1100px) {
  .desk-hero {
    min-height: 630px;
    padding-inline: 38px;
  }

  .hero-copy {
    width: 43%;
    padding-top: 102px;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 5vw, 53px);
  }

  .release-note {
    left: 38px;
    bottom: 62px;
  }

  .hero-workbench {
    top: 10px;
    right: -9vw;
    width: 88vw;
  }
}

@media (max-width: 760px) {
  .desk-hero {
    min-height: 0;
    padding: 52px 20px 38px;
  }

  .hero-copy {
    width: auto;
    padding: 0 7px;
  }

  .hero-copy h1 {
    white-space: normal;
    font-size: clamp(44px, 13vw, 60px);
  }

  .release-note {
    position: static;
    margin-top: 18px;
  }

  .hero-workbench {
    width: 145%;
    margin: 36px 0 0 -8%;
    position: relative;
    top: auto;
    right: auto;
  }

  .hero-workbench-surface {
    left: 25%;
  }

  .hero-journey-book,
  .hero-journey-recover,
  .hero-journey-write,
  .hero-journey-search {
    display: none;
  }
}
