:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #1f2d3a;
  --muted: #71808e;
  --rail: #174c75;
  --rail-soft: #6f8ca4;
  --accent: #ea6705;
  --green: #5f9a79;
  --line: rgba(23, 76, 117, 0.1);
  --shadow-lg: none;
  --shadow-md: none;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.pageShell {
  width: min(1240px, calc(100% - 24px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 0 42px;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.siteHero,
.contentSection,
.siteFooter,
.metricStrip {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.siteHero {
  position: relative;
  padding: 22px 0 28px;
}

.heroBackdrop,
.signalGlow {
  display: none;
}

.siteNav {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(23, 76, 117, 0.1);
}

.brandMark {
  display: inline-grid;
  gap: 4px;
  min-width: 240px;
}

.brandOverline,
.eyebrow,
.sectionLabel,
.routePanelHeader,
.stepNumber,
.cardKicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brandOverline {
  font-size: 11px;
  color: var(--rail);
}

.brandMark strong,
.heroCopy h1,
.sectionHeading h2,
.creatorPanel h2,
.contactPanel h2 {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.brandMark strong {
  font-size: 18px;
  font-weight: 700;
}

.siteNavLinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.siteNavLinks a,
.footerLinks a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.siteNavLinks a:hover,
.footerLinks a:hover {
  border-bottom-color: rgba(23, 76, 117, 0.26);
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0 8px;
}

.heroCopy,
.heroPanel,
.galleryCard,
.infoCard,
.stepCard,
.featurePanel,
.creatorPanel,
.metricStrip article,
.contactPanel {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.heroCopy {
  padding: 30px;
  border-radius: 0;
  background: #ffffff;
  border: 0;
}

.eyebrow,
.sectionLabel {
  margin: 0 0 14px;
  color: var(--rail);
  font-size: 12px;
}

.heroCopy h1,
.sectionHeading h2,
.creatorPanel h2,
.contactPanel h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.heroCopy h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.heroCopy h1 span {
  display: block;
  color: var(--rail);
}

.heroLead,
.sectionHeading p,
.infoCard p,
.galleryMeta span,
.stepCard p,
.featurePanel p,
.creatorPanel p,
.creatorList li,
.contactPanel p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.heroLead {
  margin: 24px 0 0;
  max-width: 40rem;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primaryButton,
.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.primaryButton {
  color: #fffaf3;
  background: var(--accent);
  box-shadow: none;
}

.secondaryButton {
  border: 1px solid rgba(23, 76, 117, 0.1);
  background: #ffffff;
  box-shadow: none;
}

.primaryButton:hover,
.secondaryButton:hover {
  transform: translateY(-2px);
}

.heroNotes,
.creatorList {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.heroNotes li,
.creatorList li {
  position: relative;
  padding-left: 18px;
}

.heroNotes li::before,
.creatorList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.heroVisual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.heroPanel {
  border-radius: 0;
  background: #ffffff;
}

.logoPanel {
  width: min(100%, 360px);
  padding: 20px;
  justify-self: start;
  background: #ffffff;
}

.heroLogo {
  width: min(100%, 250px);
  margin: 0 auto;
  filter: none;
}

.routePanel {
  padding: 18px;
}

.routePanelHeader {
  margin-bottom: 18px;
  color: var(--rail);
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}

.routeBoard {
  display: grid;
  gap: 8px;
}

.routeRow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(23, 76, 117, 0.1);
}

.routeValue {
  color: var(--rail);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.routeCaption {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.stampCluster {
  position: relative;
  width: min(100%, 430px);
  height: 210px;
  justify-self: end;
}

.stampCard {
  position: absolute;
  width: 126px;
  padding: 8px;
  border-radius: 0;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(23, 76, 117, 0.08);
  animation: floatCard 6.5s ease-in-out infinite;
}

.stampCard img {
  width: 100%;
  border-radius: 0;
}

.stampCardA {
  left: 8px;
  bottom: 18px;
  transform: rotate(-8deg);
}

.stampCardB {
  left: 110px;
  top: 8px;
  transform: rotate(3deg);
  animation-delay: -2s;
}

.stampCardC {
  right: 8px;
  bottom: 12px;
  transform: rotate(8deg);
  animation-delay: -4s;
}

.metricStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.metricStrip article {
  padding: 16px;
  border-radius: 0;
  background: #ffffff;
}

.metricStrip strong,
.galleryMeta strong,
.infoCard h3,
.stepCard h3,
.featurePanel h3,
.routeRow strong {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.metricStrip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.metricStrip span {
  color: var(--muted);
  line-height: 1.7;
}

.contentSection {
  padding: 52px 0 0;
}

.sectionHeading {
  max-width: 760px;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 76, 117, 0.08);
}

.sectionHeading h2,
.creatorPanel h2,
.contactPanel h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.sectionHeading p {
  margin: 16px 0 0;
}

.conceptGrid,
.galleryGrid,
.stepsGrid,
.featureBand {
  display: grid;
  gap: 14px;
}

.conceptGrid,
.stepsGrid,
.featureBand {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.infoCard,
.stepCard,
.featurePanel {
  padding: 20px;
  border-radius: 0;
}

.introCard,
.featurePanel {
  background: #ffffff;
}

.cardKicker,
.stepNumber {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rail-soft);
  font-size: 11px;
  font-weight: 700;
}

.infoCard h3,
.stepCard h3,
.featurePanel h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.galleryGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.appPreviewSection {
  margin-top: 14px;
  margin-bottom: 44px;
}

.appPreviewHeading {
  max-width: 760px;
  margin-bottom: 18px;
}

.appPreviewHeading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}

.appPreviewCarousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
}

.appPreviewFigure {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}

.appPreviewFigure img {
  width: min(100%, 320px);
  max-height: 620px;
  object-fit: contain;
  border: 1px solid rgba(23, 76, 117, 0.1);
  background: #ffffff;
  will-change: transform;
}

.appPreviewFigure img.isSlidingForward {
  animation: appPreviewSlideForward 420ms ease;
}

.appPreviewFigure img.isSlidingBackward {
  animation: appPreviewSlideBackward 420ms ease;
}

.appPreviewCaption {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  text-align: center;
}

.appPreviewCaption strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.appPreviewCaption span {
  min-height: 3.6em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-line;
}

.appPreviewNav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(23, 76, 117, 0.16);
  border-radius: 8px;
  color: var(--rail);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.appPreviewNav:hover {
  border-color: rgba(23, 76, 117, 0.34);
  background: rgba(23, 76, 117, 0.04);
  transform: translateY(-1px);
}

.appPreviewNav span {
  display: block;
  margin-top: -2px;
  font-size: 34px;
  line-height: 1;
}

.appPreviewDots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.appPreviewDot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 76, 117, 0.24);
  cursor: pointer;
}

.appPreviewDot.isActive {
  width: 24px;
  background: var(--accent);
}

.galleryCard {
  overflow: hidden;
  border-radius: 0;
  background: #ffffff;
}

.galleryCard img {
  width: calc(100% - 28px);
  margin: 14px auto 8px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  border-radius: 0;
}

.galleryMeta {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.galleryMeta strong {
  font-size: 18px;
}

.guideSection .sectionHeading {
  margin-bottom: 22px;
}

.featureBand {
  margin-top: 14px;
}

.creatorPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 0;
  background: #ffffff;
}

.creatorActions {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.contactSection {
  padding-top: 18px;
}

.contactPanel {
  padding: 22px;
  border-radius: 0;
  background: #ffffff;
}

.contactPanel p {
  margin: 10px 0 0;
}

.largeButton {
  width: 100%;
}

.siteFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 38px 0 10px;
  margin-top: 38px;
  color: var(--muted);
  border-top: 1px solid rgba(23, 76, 117, 0.1);
}

.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@keyframes floatCard {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes appPreviewSlideForward {
  0% {
    opacity: 0.9;
    transform: translateX(72%);
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes appPreviewSlideBackward {
  0% {
    opacity: 0.9;
    transform: translateX(-72%);
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1080px) {
  .heroGrid,
  .creatorPanel,
  .galleryGrid,
  .metricStrip,
  .conceptGrid,
  .stepsGrid,
  .featureBand {
    grid-template-columns: 1fr 1fr;
  }

  .appPreviewCarousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .appPreviewNav {
    width: 44px;
    height: 44px;
  }

  .creatorPanel {
    align-items: start;
  }

  .siteNav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .siteNavLinks {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .pageShell {
    width: min(100% - 12px, 1240px);
    margin: 8px auto;
    padding-top: 10px;
    background: #ffffff;
  }

  .siteHero,
  .contentSection,
  .siteFooter,
  .metricStrip {
    width: min(100% - 20px, 980px);
  }

  .heroGrid,
  .galleryGrid,
  .metricStrip,
  .conceptGrid,
  .stepsGrid,
  .featureBand,
  .creatorPanel {
    grid-template-columns: 1fr;
  }

  .siteNav {
    gap: 14px;
  }

  .heroCopy {
    padding: 20px 0;
  }

  .appPreviewSection {
    margin-bottom: 36px;
  }

  .appPreviewCarousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .appPreviewFigure {
    padding: 18px 12px;
  }

  .appPreviewFigure img {
    width: min(100%, 280px);
    max-height: 560px;
  }

  .appPreviewNav {
    width: 38px;
    height: 38px;
  }

  .appPreviewNav span {
    font-size: 28px;
  }

  .heroCopy h1 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .heroLead,
  .sectionHeading p,
  .infoCard p,
  .galleryMeta span,
  .stepCard p,
  .featurePanel p,
  .creatorPanel p,
  .heroNotes li,
  .creatorList li,
  .contactPanel p {
    font-size: 15px;
    line-height: 1.8;
  }

  .routePanel,
  .logoPanel {
    width: 100%;
  }

  .stampCluster {
    width: 100%;
    height: 190px;
    margin-top: 8px;
    justify-self: center;
  }

  .stampCard {
    width: 108px;
  }

  .stampCardB {
    left: calc(50% - 54px);
  }

  .stampCardC {
    right: 6px;
  }

  .siteFooter {
    padding-top: 30px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .siteNavLinks {
    gap: 12px;
    font-size: 13px;
  }

  .primaryButton,
  .secondaryButton {
    width: 100%;
  }

  .heroActions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .metricStrip strong {
    font-size: 18px;
  }

  .routeRow {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-inline: 12px;
  }

  .routeRow strong {
    font-size: 14px;
  }

  .routeValue {
    font-size: 20px;
  }

  .appPreviewCaption strong {
    font-size: 19px;
  }

  .appPreviewCaption span {
    font-size: 14px;
  }

  .stampCluster {
    height: 170px;
  }

  .stampCard {
    width: 94px;
    padding: 6px;
  }

  .contactPanel {
    padding: 24px 20px;
  }
}
