:root {
  --bg: #f4f8fb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #14233d;
  --muted: #52627c;
  --navy: #16335b;
  --green: #1e6457;
  --blue: #90d4f5;
  --pink: #ffd6e8;
  --yellow: #ffd95a;
  --silver: #d8dee9;
  --border: rgba(20, 35, 61, 0.1);
  --shadow: 0 20px 60px rgba(22, 51, 91, 0.12);
  --radius: 28px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(144, 212, 245, 0.4), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 214, 232, 0.5), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 100%);
}

.hatch-body {
  background: #f7f7f4;
  color: #1b2430;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-hidey {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-hidey-image {
  display: block;
  width: clamp(190px, 22vw, 280px);
  height: auto;
}

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

.site-nav a,
.footer-links a,
.text-link {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--navy);
}

.hatch-header,
.hatch-footer,
.hatch-hero,
.hatch-section {
  width: min(calc(100% - 40px), 920px);
}

.hatch-header {
  padding-top: 32px;
  padding-bottom: 0;
}

.hatch-brand {
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hatch-header .site-nav a,
.hatch-footer .footer-links a,
.hatch-link {
  color: #646b75;
}

.hatch-header .site-nav a:hover,
.hatch-footer .footer-links a:hover,
.hatch-link:hover {
  color: #1b2430;
}

.hatch-link-muted {
  cursor: default;
  color: #7b858f;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0 48px;
}

.hatch-hero {
  grid-template-columns: 1fr;
  padding-top: 84px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(27, 36, 48, 0.08);
}

.hatch-copy {
  max-width: 720px;
}

.hatch-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.hatch-eyebrow {
  color: #7b858f;
  margin-bottom: 18px;
  font-weight: 600;
}

.hatch-lead {
  max-width: 620px;
  color: #59616c;
  font-size: 1.15rem;
}

.hatch-actions {
  margin-top: 36px;
}

.hatch-button-primary {
  background: transparent;
  color: #1b2430;
  border-color: rgba(27, 36, 48, 0.14);
}

.hatch-button-primary:hover {
  background: rgba(27, 36, 48, 0.04);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

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

.hero-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-weight: 600;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9dc9 0%, #ffd95a 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--navy);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card {
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #fff;
}

.panel-card span {
  display: block;
  margin-bottom: 10px;
  opacity: 0.82;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-card strong {
  font-size: 1.6rem;
}

.panel-card-navy {
  background: linear-gradient(135deg, #0f2950 0%, #1d4878 100%);
}

.panel-card-pink {
  background: linear-gradient(135deg, #ffbfd9 0%, #f296c6 100%);
}

.panel-card-green {
  background: linear-gradient(135deg, #1d6658 0%, #2f8a76 100%);
}

.section {
  padding: 36px 0 24px;
}

.hatch-section {
  padding-top: 38px;
  padding-bottom: 16px;
}

.hatch-text-block {
  max-width: 680px;
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.hatch-text-block p,
.hatch-app-copy p {
  margin: 0;
  color: #59616c;
  line-height: 1.95;
  font-weight: 400;
}

.hatch-app-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  margin-top: 14px;
  padding: 24px;
  border: 1px solid rgba(27, 36, 48, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
}

.hatch-app-copy {
  max-width: 680px;
}

.hatch-app-copy h3 {
  margin: 14px 0 12px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hatch-app-logo-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hatch-app-logo {
  display: block;
  width: min(100%, 180px);
  height: auto;
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.grid-two p,
.contact-copy,
.legal-copy p,
.legal-copy dd {
  color: var(--muted);
  line-height: 1.9;
}

.app-card,
.feature-card,
.scene-card,
.release-note,
.legal-copy,
.device-frame {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.app-card {
  margin-top: 22px;
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
}

.app-card-art {
  min-height: 220px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 217, 90, 0.9), transparent 26%),
    radial-gradient(circle at 70% 30%, rgba(255, 214, 232, 0.85), transparent 28%),
    linear-gradient(180deg, #c7eefb 0%, #f8f6ff 100%);
  position: relative;
  overflow: hidden;
}

.mask-swatch {
  position: absolute;
  border-radius: 999px;
  opacity: 0.92;
}

.mask-yellow {
  width: 120px;
  height: 54px;
  background: rgba(255, 217, 90, 0.95);
  left: 28px;
  bottom: 34px;
}

.mask-pink {
  width: 150px;
  height: 60px;
  background: rgba(255, 151, 194, 0.75);
  right: 30px;
  top: 42px;
}

.mask-blue {
  width: 96px;
  height: 44px;
  background: rgba(144, 212, 245, 0.9);
  right: 58px;
  bottom: 42px;
}

.app-card-copy h3 {
  margin: 12px 0 12px;
  font-size: 2rem;
}

.app-card-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 51, 91, 0.08);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
}

.hidey-body {
  background:
    radial-gradient(circle at top left, rgba(144, 212, 245, 0.45), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 214, 232, 0.7), transparent 30%),
    linear-gradient(180deg, #fffafc 0%, #f8fbfd 100%);
}

.site-header-soft {
  padding-top: 28px;
  padding-bottom: 22px;
}

.hero-soft {
  grid-template-columns: 1fr 0.95fr;
  padding-top: 28px;
}

.eyebrow-soft {
  color: #b34b7d;
}

.button-primary-soft {
  background: linear-gradient(135deg, #ff9dc9 0%, #f38cc0 100%);
  color: #213149;
}

.button-secondary-soft {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(179, 75, 125, 0.12);
}

.device-preview {
  display: flex;
  justify-content: center;
}

.device-stack {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  width: min(100%, 360px);
}

.device-frame {
  border-radius: 28px;
  padding: 8px;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.55);
}

.device-frame-front {
  transform: none;
}

.device-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 942 / 2048;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 51, 91, 0.14), rgba(22, 51, 91, 0.03)),
    linear-gradient(135deg, #d7f1f8 0%, #fff6ef 50%, #ffe4ef 100%);
}

.screen-image-shell {
  position: absolute;
  inset: 8px 8px 8px;
  border-radius: 18px;
  overflow: hidden;
  background: #0d2236;
}

.screen-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.screen-image-fallback {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 51, 91, 0.82);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.screen-image-fallback-soft {
  background: rgba(179, 75, 125, 0.82);
}

.screen-after {
  position: absolute;
  inset: 8px 8px 8px;
  border-radius: 18px;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--slider-position, 52%));
}

.screen-after .screen-image {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.screen-slider {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: ew-resize;
  touch-action: none;
}

.slider-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: var(--slider-position, 52%);
  width: 4px;
  margin-left: -2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(22, 51, 91, 0.16);
}

.slider-handle {
  position: absolute;
  left: var(--slider-position, 52%);
  top: 50%;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  margin-top: -27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(22, 51, 91, 0.18);
}

.screen-slider:focus-visible .slider-handle {
  outline: 3px solid rgba(255, 217, 90, 0.9);
  outline-offset: 2px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.slider-arrow-left {
  left: 15px;
  transform: rotate(-135deg);
}

.slider-arrow-right {
  right: 15px;
  transform: rotate(45deg);
}

.privacy-mask {
  position: absolute;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(22, 51, 91, 0.12);
}

.mask-large {
  width: 170px;
  height: 70px;
  left: 54px;
  top: 168px;
  background: rgba(255, 157, 201, 0.88);
}

.mask-small {
  width: 116px;
  height: 54px;
  right: 52px;
  bottom: 176px;
  background: rgba(255, 217, 90, 0.92);
}

.screen-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.section-soft {
  padding-top: 28px;
}

.section-contrast {
  margin-top: 8px;
}

.concept-grid {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(179, 75, 125, 0.1);
  box-shadow: var(--shadow);
}

.feature-grid,
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card,
.scene-card {
  border-radius: 24px;
  padding: 22px;
}

.compare-grid,
.flow-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

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

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

.compare-card,
.flow-card,
.faq-item {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(179, 75, 125, 0.1);
  box-shadow: var(--shadow);
}

.compare-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.compare-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.compare-tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 51, 91, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.compare-tag-soft {
  background: rgba(255, 157, 201, 0.22);
  color: #a33b72;
}

.compare-preview {
  position: relative;
  min-height: 240px;
  margin-bottom: 14px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fdf7f2 0%, #d9edf5 100%);
  display: grid;
  place-items: center;
}

.compare-image-shell {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0d2236;
}

.compare-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.compare-image-fallback {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 51, 91, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.compare-image-fallback-soft {
  background: rgba(179, 75, 125, 0.82);
}

.compare-card p,
.flow-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.story-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: #b34b7d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-card h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.detail-stack {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.detail-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(179, 75, 125, 0.1);
  box-shadow: var(--shadow);
}

.detail-card-reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.detail-copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.detail-art {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
}

.detail-art-blue {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.68), transparent 18%),
    linear-gradient(135deg, #8cd3f4 0%, #d9f4fb 100%);
}

.detail-art-pink {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.72), transparent 20%),
    linear-gradient(135deg, #ffd0e5 0%, #fff2f8 100%);
}

.detail-art-yellow {
  background:
    radial-gradient(circle at 32% 70%, rgba(255, 255, 255, 0.74), transparent 16%),
    linear-gradient(135deg, #ffe38a 0%, #fff9d9 100%);
}

.mini-ui {
  position: absolute;
  inset: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.mini-ui-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.mini-thumb {
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.6), transparent 16%),
    linear-gradient(180deg, rgba(22, 51, 91, 0.12), rgba(22, 51, 91, 0.03));
}

.mini-ui-lock {
  display: grid;
  place-items: center;
}

.lock-ring {
  width: 62px;
  height: 52px;
  border: 8px solid rgba(22, 51, 91, 0.52);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateY(14px);
}

.lock-body {
  width: 88px;
  height: 72px;
  border-radius: 18px;
  background: rgba(22, 51, 91, 0.62);
}

.mini-ui-masks {
  display: grid;
  place-items: center;
}

.mini-mask {
  position: absolute;
  border-radius: 999px;
}

.mini-mask-pink {
  width: 160px;
  height: 58px;
  top: 42px;
  background: rgba(255, 157, 201, 0.88);
}

.mini-mask-yellow {
  width: 124px;
  height: 48px;
  top: 106px;
  left: 34px;
  background: rgba(255, 217, 90, 0.9);
}

.mini-mask-blue {
  width: 104px;
  height: 42px;
  right: 30px;
  bottom: 36px;
  background: rgba(144, 212, 245, 0.96);
}

.feature-card h3,
.scene-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.feature-card p,
.scene-card p,
.release-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-note {
  padding-top: 18px;
}

.release-note {
  border-radius: 28px;
  padding: 28px;
}

.release-note h2 {
  margin: 12px 0;
  font-size: 1.6rem;
}

.tag-soft {
  background: rgba(255, 157, 201, 0.18);
  color: #a33b72;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 40px 0 48px;
  color: var(--muted);
}

.hatch-footer {
  padding-top: 34px;
  margin-top: 12px;
  border-top: 1px solid rgba(27, 36, 48, 0.08);
  color: #646b75;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-page {
  padding: 10px 0 40px;
}

.legal-copy {
  margin-top: 20px;
  border-radius: 28px;
  padding: 28px;
}

.legal-copy h2 {
  margin: 26px 0 10px;
  font-size: 1.1rem;
}

.legal-list {
  margin: 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.legal-list dt {
  font-weight: 700;
}

.legal-list dd {
  margin: 0;
}

.legal-note {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .hero,
  .hero-soft,
  .app-card,
  .hatch-app-card,
  .grid-two,
  .compare-grid,
  .flow-grid,
  .detail-card,
  .detail-card-reverse,
  .feature-grid,
  .scene-grid,
  .legal-list div {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .device-stack {
    grid-template-columns: 1fr;
    display: grid;
    gap: 18px;
    width: 100%;
  }

  .device-frame {
    width: 100%;
    max-width: 320px;
  }

  .device-frame-back,
  .device-frame-front {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hatch-header {
    align-items: center;
  }

  .hatch-header .site-nav {
    justify-content: center;
    width: 100%;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section,
  .hero,
  .site-header,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .app-card,
  .feature-card,
  .scene-card,
  .release-note,
  .legal-copy {
    padding: 20px;
  }

  .device-stack {
    width: 100%;
  }
}
