/* Generated device shells hold original captures and an interactive branding example. */
.product-intro {
  --product-film-offset: clamp(158px, calc(15vw + 14px), 180px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: end;
  gap: 36px;
  margin: 0 0 calc(56px + var(--product-film-offset));
}
.product-intro > figure {
  min-width: 0;
  margin: 0;
}
.product-film {
  position: relative;
  top: var(--product-film-offset);
}
.product-film-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--tint-2);
  box-shadow: 0 14px 36px rgb(32 80 150 / 8%);
}
.product-film-player iframe {
  position: absolute;
  top: -2%;
  left: -2%;
  display: block;
  width: 104%;
  height: 104%;
  border: 0;
}
.product-film figcaption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  text-align: center;
}
.product-film :where(figcaption) strong {
  color: var(--blue-deep);
  font-size: 20px;
}
@media (max-width: 900px) {
  .product-intro {
    --product-film-offset: 32px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    max-width: 640px;
    margin-inline: auto;
  }
}
@media (max-width: 700px) {
  .product-intro {
    gap: 32px;
    margin-bottom: calc(40px + var(--product-film-offset));
  }
  .product-film figcaption {
    margin-top: 18px;
  }
  .product-film :where(figcaption) strong {
    font-size: 17px;
  }
}
.product-showcase {
  margin: -12px 0 52px;
}
.product-devices {
  position: relative;
  max-width: 980px;
  margin: auto;
  padding-bottom: 28px;
}
.device-pc,
.device-phone {
  display: block;
  position: relative;
  isolation: isolate;
}
.device-pc {
  width: 94%;
  aspect-ratio: 1536 / 1024;
}
.device-frame {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.device-screen {
  position: absolute;
  left: 5.46%;
  top: 3.51%;
  width: 89%;
  height: 69.34%;
  object-fit: fill;
  border-radius: 2px;
}
.device-phone {
  aspect-ratio: 836 / 1880;
}
.phone-display {
  position: absolute;
  left: 8.5%;
  top: 7.87%;
  width: 83%;
  height: 82.98%;
  border-radius: 12% / 5.35%;
  object-fit: fill;
  overflow: hidden;
}
.showcase-phone {
  position: absolute;
  z-index: 3;
  width: 26%;
  right: -1%;
  bottom: 0;
}
.product-showcase figcaption,
.brand-phone-demo figcaption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.product-showcase :where(figcaption) strong {
  color: var(--blue-deep);
  font-size: 20px;
}
.product-showcase :where(figcaption) span,
.brand-phone-demo :where(figcaption) span {
  color: var(--muted);
  font-size: 11px;
}
.section-customization {
  --brand-green: #2e6852;
}
.customization-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 42px 80px;
}
.section-customization .section-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.5;
}
.customization-grid {
  grid-column: 1;
  padding-left: 0;
  border-left: 0;
}
.customization-row {
  padding-bottom: 24px;
}
.customization-row + .customization-row {
  padding-top: 24px;
}
.customization-row h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.brand-phone-demo {
  --brand-dark: #1d4837;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  text-align: center;
}
.brand-phone {
  width: min(100%, 344px);
  margin: -32px auto -28px;
}
.brand-display {
  container-type: inline-size;
  background: #eef5ed;
  text-align: left;
}
.brand-launcher {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 100%, #b9d3bc, transparent 70%),
    linear-gradient(140deg, #f8f6ea, #e1efe5);
}
.brand-clock {
  position: absolute;
  top: 10%;
  width: 100%;
  text-align: center;
  color: var(--brand-dark);
}
.brand-clock span {
  font-size: 4.7cqw;
}
.brand-clock strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 20cqw;
  font-weight: 500;
  line-height: 1.3;
}
.brand-app-icon {
  position: absolute;
  top: 45%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3cqw;
  transform: translateX(-50%);
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--brand-dark);
  font: 700 4.8cqw / 1.4 var(--font-body);
  cursor: pointer;
}
.brand-logo-tile {
  display: grid;
  place-items: center;
  width: 25cqw;
  height: 25cqw;
  border-radius: 24%;
  background: var(--brand-green);
  box-shadow: 0 8px 20px #1d483722;
  transition: transform 0.22s ease;
}
.brand-logo-tile svg {
  width: 60%;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-app-icon:hover .brand-logo-tile {
  transform: translateY(-3px);
}
.brand-app-icon:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 5px;
  border-radius: 10px;
}
.brand-phone-demo.is-tapping .brand-logo-tile {
  transform: scale(0.9);
}
.brand-phone-demo.is-tapping .brand-app-icon::after {
  content: "";
  position: absolute;
  width: 19cqw;
  height: 19cqw;
  top: 6cqw;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: brand-tap 0.55s ease-out both;
}
.brand-tap-hint {
  position: absolute;
  top: 72%;
  width: 100%;
  text-align: center;
  color: var(--brand-dark);
  font-size: 4.5cqw;
}
.brand-app-screen {
  position: absolute;
  inset: 0;
  background: #edf4ef;
  color: #283f35;
  font-family: var(--font-body);
  overflow: hidden;
  transform-origin: 50% 51%;
  animation: brand-open 0.68s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.brand-app-screen[hidden],
.brand-launcher[hidden],
.brand-demo-reset[hidden] {
  display: none;
}
.brand-status {
  display: flex;
  justify-content: space-between;
  padding: 5cqw 6cqw 3cqw;
  color: #fff;
  background: var(--brand-green);
  font-size: 4.2cqw;
}
.brand-app-header {
  display: flex;
  gap: 3cqw;
  align-items: center;
  padding: 4cqw;
  background: #fff;
  font-size: 4.8cqw;
}
.brand-mini-logo {
  display: grid;
  place-items: center;
  width: 8cqw;
  height: 8cqw;
  color: var(--brand-green);
}
.brand-mini-logo svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-avatar {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 8cqw;
  height: 8cqw;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-green);
  font-size: 4cqw;
}
.brand-welcome {
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  margin: 4cqw;
  padding: 5cqw;
  border-radius: 5cqw;
  background: var(--brand-green);
  color: #fff;
}
.brand-welcome small,
.brand-welcome span {
  font-size: 4cqw;
}
.brand-welcome strong {
  font-size: 7cqw;
}
.brand-preview-panel {
  margin: 4cqw;
  padding: 4cqw;
  background: #fff;
  border: 1px solid #d9e6dc;
  border-radius: 5cqw;
}
.brand-preview-panel h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3cqw;
  font-size: 4.8cqw;
}
.brand-preview-panel :where(h3) span {
  color: var(--brand-green);
  font-size: 3.6cqw;
}
.brand-preview-panel p {
  padding: 3.2cqw 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 4.5cqw;
  font-weight: 700;
  font-feature-settings: normal;
  font-synthesis: none;
  border-top: 1px solid #e4ece6;
}
.brand-preview-actions {
  display: flex;
  gap: 2cqw;
  margin: 4cqw;
}
.brand-preview-actions span {
  flex: 1;
  padding: 4cqw 0;
  text-align: center;
  background: #fff;
  border-radius: 3cqw;
  font-size: 3.7cqw;
  color: var(--brand-green);
  font-weight: 700;
}
.brand-preview-nav {
  position: absolute;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  padding: 2cqw 1cqw 5cqw;
  background: #fff;
  border-top: 1px solid #d9e6dc;
  box-shadow: 0 -2cqw 6cqw rgb(42 81 56 / 10%);
}
.brand-preview-nav > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 0.2cqw;
  color: #557063;
  font-size: 2.8cqw;
  line-height: 1;
}
.brand-preview-nav .is-active {
  color: var(--brand-green);
  background: #dcebe1;
  border-radius: 2.6cqw;
}
.brand-preview-nav svg {
  width: 5cqw;
  height: 5cqw;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-preview-nav b {
  font-size: inherit;
  white-space: nowrap;
}
.brand-phone-demo figcaption strong {
  color: var(--brand-dark);
  font-size: 15px;
}
.brand-demo-reset {
  margin-top: 16px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #a4bdad;
  background: transparent;
  color: var(--brand-green);
  cursor: pointer;
  font: 700 12px / 1.6 var(--font-body);
}
.brand-demo-reset:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 4px;
}
.brand-noscript {
  font-size: 12px;
  color: var(--muted);
}
@keyframes brand-open {
  from {
    opacity: 0;
    transform: scale(0.16);
    border-radius: 20%;
  }
  to {
    opacity: 1;
    transform: scale(1);
    border-radius: 0;
  }
}
@keyframes brand-tap {
  from {
    opacity: 1;
    transform: scale(0.5);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}
@media (max-width: 960px) {
  .customization-layout {
    gap: 32px;
  }
  .brand-phone {
    width: min(100%, 320px);
  }
}
@media (max-width: 700px) {
  .product-showcase {
    margin: 0 0 36px;
  }
  .product-devices {
    padding-bottom: 30%;
  }
  .device-pc {
    width: 100%;
  }
  .showcase-phone {
    width: 40%;
    right: 0;
    bottom: 0;
  }
  .product-showcase figcaption {
    margin-top: 14px;
  }
  .product-showcase figcaption strong {
    font-size: 17px;
  }
  .customization-layout {
    grid-template-columns: 1fr;
  }
  .brand-phone-demo {
    grid-column: 1;
    grid-row: 2;
  }
  .customization-grid {
    grid-row: 3;
  }
  .brand-phone {
    width: min(100%, 320px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-app-screen,
  .brand-phone-demo.is-tapping .brand-app-icon::after {
    animation: none;
  }
  .brand-logo-tile {
    transition: none;
  }
}
