/* Each feature and its screen form a single, continuously readable section. */
.feature-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 70px; padding-bottom: 4px; }
.feature-intro .eyebrow { margin: 0; }
.feature-intro > p:last-child { color: #526b8e; font-size: 13px; line-height: 1.9; }
.feature-intro span { display: block; color: #8a9ab0; font-size: 11px; }
.product-section {
  position: relative;
  padding-block: 110px;
  overflow: clip;
}

.product-section--blue {
  background: #f0f5fd;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.product-copy {
  max-width: 500px;
}

.product-copy h2 {
  font-size: clamp(36px, 3.7vw, 53px);
  line-height: 1.35;
}
.product-copy h2 > .title-line { display: block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; color: inherit; }
.title-rise { display: block; transform-origin: left bottom; }
.title-rise > span { color: var(--blue); }
.js-motion .product-copy.reveal { transform: none; transition: opacity .5s; }
.js-motion .product-copy .title-rise { transform: translateY(115%) rotate(3deg); opacity: 0; }
.js-motion .product-copy.is-visible .title-rise { animation: title-arrive .85s cubic-bezier(.19, 1, .22, 1) both; animation-delay: calc(var(--line) * 110ms); }
@keyframes title-arrive { 0% { transform: translateY(115%) rotate(3deg); opacity: 0; } 68% { transform: translateY(-5%) rotate(-.4deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
.site-header nav { font-size: 14px; gap: 32px; }
.story-invite { padding-block: 90px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.story-invite h2 { font-size: clamp(32px, 4vw, 52px); }
.story-invite p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 28px; }

.product-copy .section-description {
  font-size: 16px;
  margin-top: 26px;
}

.product-details {
  margin: 36px 0 0;
  border-top: 1px solid #dce5f1;
}

.product-details > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding-block: 17px;
  border-bottom: 1px solid #e2e9f3;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: -.02em;
}

.product-details dt {
  font-weight: 650;
  color: #416699;
}

.product-details dd {
  margin: 0;
  color: var(--muted);
}

.product-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 0;
}

.product-backdrop {
  position: absolute;
  z-index: -1;
  inset: 8% -6% 12%;
  border-radius: 24px;
  background: #edf3fb;
}

.product-section--blue .product-backdrop {
  background: #e3ecfa;
}

.product-preview {
  position: relative;
  width: min(390px, 100%);
  border: 1px solid #d6e0ed;
  border-radius: 20px;
  background: #fcfdff;
  box-shadow: 0 12px 32px -22px #294c7b40;
  transform: translateY(var(--preview-y, 0px)) scale(var(--preview-scale, 1));
}

.product-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / var(--screen-height, 900);
  border-radius: 19px;
  background: #fcfdff;
}

.product-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: calc(var(--screen-height, 900) * 1px);
  border: 0;
  display: block;
  pointer-events: none;
  transform: scale(var(--screen-scale, 1));
  transform-origin: top left;
}

.product-screen[data-explorer] iframe { pointer-events: auto; }
.product-screen[data-explorer]:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.product-screen[data-explorer]::after {
  content: '⌄';
  position: absolute;
  inset: auto 0 0;
  display: grid;
  place-items: end center;
  height: 64px;
  padding-bottom: 8px;
  background: linear-gradient(transparent, #fcfdfeee);
  color: #6187bd;
  font-size: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.product-screen.can-scroll::after { opacity: 1; }
.product-screen.has-explored::after { content: ''; height: 28px; padding: 0; }
.preview-switcher { display: flex; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 24px; background: #e8eff9; }
.preview-switcher button { border: 0; border-radius: 20px; background: transparent; color: #6980a0; padding: 10px 22px; font: inherit; font-size: 12px; cursor: pointer; }
.preview-switcher button[aria-selected=true] { background: #fff; color: #245bd8; box-shadow: 0 2px 8px #294c7b0a; }
.preview-scroll-hint { margin-top: 17px; color: #6d85a5; font-size: 11px; line-height: 1.7; text-align: center; }
.preview-scroll-hint[hidden] { display: none; }

.product-visual figcaption {
  position: relative;
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: #546e91;
}

.product-visual figcaption span {
  display: block;
  margin-top: 4px;
  color: #899ab0;
  font-size: 10px;
}

.product-row--reverse .product-copy {
  grid-column: 2;
  grid-row: 1;
}

.product-row--reverse .product-visual {
  grid-column: 1;
  grid-row: 1;
}

@media (min-width: 1600px) {
  .product-preview { width: min(410px, 100%); }
}

@media (max-width: 1100px) {
  .product-row { gap: 45px; }
  .product-copy h2 { font-size: 38px; }
  .product-copy .section-description { font-size: 14px; }
  .product-details > div { grid-template-columns: 70px 1fr; gap: 10px; font-size: 11px; }
  .product-preview { width: min(360px, 100%); }
}

@media (max-width: 800px) {
  .story-invite { grid-template-columns: 1fr; gap: 25px; padding-block: 65px; }
  .site-header nav { display: flex; font-size: 12px; gap: 18px; }
  .site-header .brand-en { display: none; }
  .site-header .brand > span { font-size: 20px; }
  .site-header .button-small { padding: 10px 12px; font-size: 10px; }
  .feature-intro { display: block; padding-top: 46px; }
  .feature-intro > p:last-child { margin-top: 16px; }
  .product-section { padding-block: 80px; }
  .product-row { grid-template-columns: 1fr; gap: 45px; max-width: 580px; }
  .product-row--reverse .product-copy,
  .product-row--reverse .product-visual { grid-column: auto; grid-row: auto; }
  .product-copy { max-width: none; }
  .product-copy h2 { font-size: 39px; }
  .product-copy .section-description { font-size: 15px; }
  .product-details { margin-top: 28px; }
  .product-details > div { grid-template-columns: 88px 1fr; gap: 15px; font-size: 12px; padding-block: 14px; }
  .product-preview { width: min(340px, 100%); }
  .product-visual { padding-top: 5px; }
  .product-backdrop { inset: 8% -14px 12%; border-radius: 20px; }
  .product-visual figcaption { margin-top: 32px; }
}

@media (max-width: 480px) {
  .product-section { padding-block: 66px; }
  .product-row { gap: 34px; }
  .product-copy h2 { font-size: clamp(29px, 8.1vw, 36px); }
  .product-copy .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .product-copy .section-description { font-size: 13px; margin-top: 20px; line-height: 1.9; }
  .product-details > div { grid-template-columns: 75px 1fr; font-size: 11px; gap: 10px; }
  .product-preview { border-radius: 16px; }
  .product-screen { border-radius: 15px; }
  .product-visual figcaption { margin-top: 28px; font-size: 11px; }
  .product-visual figcaption span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-preview { transform: none; }
  .js-motion .product-copy .title-rise { transform: none; opacity: 1; animation: none; }
}
