@charset "UTF-8";

:root {
  --page: #070a12;
  --surface: #0e1422;
  --ink: #f4f7ff;
  --muted: #929db3;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #67e8f9;
  --accent-2: #4f8cff;
  --accent-rgb: 103, 232, 249;
  --font: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    var(--page);
  background-size: 72px 72px;
  font-family: var(--font);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.theme-yomikau {
  --accent: #ff7848;
  --accent-2: #ffb28c;
  --accent-rgb: 255, 120, 72;
}

body.theme-pairsnap {
  --accent: #aeb8ff;
  --accent-2: #6964ff;
  --accent-rgb: 174, 184, 255;
}

body.theme-revmeter {
  --accent: #ff4355;
  --accent-2: #ff9a35;
  --accent-rgb: 255, 67, 85;
}

body.theme-neoneq {
  --accent: #43dff4;
  --accent-2: #d83cff;
  --accent-rgb: 67, 223, 244;
}

body.theme-kintai {
  --accent: #52e49a;
  --accent-2: #d9ed6f;
  --accent-rgb: 82, 228, 154;
}

body.theme-previewmaker {
  --accent: #9c8cff;
  --accent-2: #62c9ff;
  --accent-rgb: 156, 140, 255;
}

body.theme-salon {
  --accent: #ff76ae;
  --accent-2: #ffbd73;
  --accent-rgb: 255, 118, 174;
}

body.theme-agentgauge {
  --accent: #5ee1a4;
  --accent-2: #5f9dff;
  --accent-rgb: 94, 225, 164;
}

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

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

::selection {
  color: #05080e;
  background: var(--accent);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: #060810;
  background: #fff;
  border-radius: 7px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.product-nav {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 72px);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-brand i {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  color: #09101e;
  background: #f4f7ff;
  border-radius: 9px;
  font-style: normal;
  font-weight: 900;
}

.product-brand span {
  color: #68748b;
}

.product-brand span::before {
  margin-right: 12px;
  color: #394357;
  content: "/";
}

.product-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.product-nav-links a {
  color: #9ba6bb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-nav-links a:hover {
  color: #fff;
}

.product-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 130px clamp(24px, 5vw, 72px) 80px;
  background:
    radial-gradient(circle at 76% 48%, rgba(var(--accent-rgb), 0.16), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(var(--accent-rgb), 0.08), transparent 34%),
    linear-gradient(145deg, #070a12, #090e19 58%, #0b101c);
  isolation: isolate;
  overflow: hidden;
}

.product-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.038) 1px, transparent 1px);
  background-size: clamp(52px, 5vw, 84px) clamp(52px, 5vw, 84px);
  content: "";
  mask-image: linear-gradient(90deg, transparent 2%, #000 45%, #000 100%);
}

.product-hero::after {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  background: linear-gradient(transparent, var(--page));
  content: "";
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  right: -180px;
  bottom: -220px;
  width: 640px;
  height: 640px;
  background: rgba(var(--accent-rgb), 0.11);
  border-radius: 50%;
  filter: blur(100px);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.product-kicker,
.section-kicker {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
}

.product-kicker::before {
  width: 24px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7);
  content: "";
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6.5vw, 7.7rem);
  font-weight: 740;
  letter-spacing: -0.072em;
  line-height: 0.97;
}

.product-hero h1 span {
  color: transparent;
  background: linear-gradient(115deg, #fff 10%, var(--accent) 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.product-lead {
  max-width: 580px;
  margin: 32px 0 0;
  color: #a5afc2;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 2;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
  color: #08101b;
  background: linear-gradient(115deg, #fff, color-mix(in srgb, var(--accent) 24%, white));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  box-shadow: 0 15px 42px rgba(var(--accent-rgb), 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 20px 50px rgba(var(--accent-rgb), 0.24);
  transform: translateY(-2px);
}

.quiet-link {
  color: #9ca7bc;
  font-size: 11px;
  font-weight: 650;
}

.quiet-link:hover {
  color: #fff;
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.product-facts li {
  padding: 5px 9px;
  color: #7f8aa1;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
  width: min(49vw, 720px);
  height: min(47vw, 680px);
  min-width: 490px;
  min-height: 490px;
  justify-self: end;
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  border: 1px solid rgba(var(--accent-rgb), 0.13);
  border-radius: 50%;
  content: "";
}

.hero-stage::before {
  inset: 4%;
}

.hero-stage::after {
  inset: 18%;
  border-style: dashed;
}

.device-phone {
  position: absolute;
  z-index: 3;
  padding: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  aspect-ratio: 1320 / 2868;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.device-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 22px;
  object-fit: cover;
  object-position: top;
}

.device-phone.phone-primary {
  top: 4%;
  left: 33%;
  width: 35%;
}

.device-phone.phone-secondary {
  top: 21%;
  left: 7%;
  width: 26%;
  transform: rotate(-5deg);
}

.device-phone.phone-tertiary {
  top: 18%;
  right: 5%;
  width: 27%;
  transform: rotate(5deg);
}

.theme-kintai .device-phone,
.theme-kintai .device-phone img {
  aspect-ratio: 1290 / 2796;
}

.theme-salon .device-phone,
.theme-salon .device-phone img {
  aspect-ratio: 1488 / 2266;
}

.stage-label {
  position: absolute;
  z-index: 5;
  right: 10%;
  bottom: 6%;
  display: grid;
  color: #d7deeb;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-label span {
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.desktop-stage {
  position: absolute;
  z-index: 3;
  top: 10%;
  right: 2%;
  left: 2%;
  padding: 12px;
  background: rgba(5, 7, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.desktop-stage::before {
  display: block;
  height: 26px;
  margin: -2px 0 9px;
  background:
    radial-gradient(circle at 8px 13px, #ff5f57 0 4px, transparent 4.5px),
    radial-gradient(circle at 24px 13px, #febc2e 0 4px, transparent 4.5px),
    radial-gradient(circle at 40px 13px, #28c840 0 4px, transparent 4.5px);
  content: "";
}

.desktop-stage img {
  width: 100%;
  max-height: 560px;
  background: #040509;
  border-radius: 11px;
  object-fit: contain;
}

.desktop-stage.compact-window {
  top: 7%;
  right: 14%;
  left: 14%;
}

.desktop-stage.compact-window img {
  max-height: 500px;
}

.theme-previewmaker .desktop-stage img,
.theme-agentgauge .desktop-stage img {
  background: transparent;
}

.stage-icon {
  position: absolute;
  z-index: 5;
  bottom: 4%;
  left: 5%;
  width: 20%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24%;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.page-section {
  padding: clamp(100px, 11vw, 180px) clamp(24px, 5vw, 72px);
}

.page-shell {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
}

.intro-grid h2,
.gallery-heading h2,
.cta-inner h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.intro-grid h2 span,
.gallery-heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.62);
}

.intro-copy {
  max-width: 730px;
}

.intro-lead {
  margin: 0 0 38px;
  color: #ebf0fb;
  font-size: clamp(1.8rem, 3.4vw, 3.8rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.intro-copy > p:last-of-type {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 76px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  background: rgba(14, 20, 34, 0.68);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feature-card > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 46px 0 12px;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: #7f8ba2;
  font-size: 12px;
}

.gallery-section {
  background:
    radial-gradient(circle at 50% 12%, rgba(var(--accent-rgb), 0.08), transparent 34%),
    rgba(10, 14, 24, 0.74);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 76px;
}

.gallery-heading > p {
  max-width: 440px;
  margin: 0;
  color: #7d899f;
  font-size: 12px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.screen-card {
  padding: 14px;
  background: rgba(5, 8, 15, 0.76);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.screen-card img {
  width: 100%;
  border-radius: 13px;
}

.screen-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px 2px;
  color: #a9b3c5;
  font-size: 11px;
}

.screen-card figcaption span:last-child {
  color: #5d687e;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.screen-grid.single {
  grid-template-columns: 1fr;
}

.screen-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.screen-grid.mixed .screen-card img {
  height: clamp(260px, 34vw, 520px);
  background: rgba(255, 255, 255, 0.025);
  object-fit: contain;
}

.screen-grid.single .screen-card {
  padding: clamp(12px, 2vw, 26px);
}

.screen-grid.single .screen-card img {
  max-height: 780px;
  margin: 0 auto;
  object-fit: contain;
}

.privacy-band {
  display: grid;
  grid-template-columns: 0.5fr 1.1fr auto;
  gap: 50px;
  align-items: center;
  padding: 48px;
  background: rgba(var(--accent-rgb), 0.055);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 16px;
}

.privacy-band > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.privacy-band p {
  margin: 0;
  color: #8490a5;
  font-size: 11px;
}

.privacy-band a {
  padding-bottom: 3px;
  color: #cfd6e5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 700px;
  height: 700px;
  background: rgba(var(--accent-rgb), 0.09);
  border-radius: 50%;
  content: "";
  filter: blur(120px);
  transform: translate(-50%, -60%);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.cta-inner p {
  margin: 26px 0 0;
  color: #7d899f;
  font-size: 13px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 72px);
  color: #576278;
  background: #05070c;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-footer p {
  margin: 0;
}

.product-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .product-hero-inner {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 30px;
  }

  .hero-stage {
    width: 440px;
    height: 500px;
    min-width: 0;
    min-height: 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-nav {
    padding: 18px 20px;
  }

  .product-brand span,
  .product-nav-links a:first-child {
    display: none;
  }

  .product-hero {
    min-height: auto;
    padding: 130px 24px 36px;
  }

  .product-hero::after {
    height: 72px;
  }

  .product-hero-inner {
    grid-template-columns: 1fr;
  }

  .product-hero h1 {
    font-size: clamp(3.6rem, 16vw, 6.4rem);
  }

  .hero-stage {
    width: min(100%, 580px);
    height: min(94vw, 460px);
    margin: 10px auto 0;
    justify-self: center;
  }

  .page-section {
    padding: 100px 24px;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 210px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-grid.four {
    grid-template-columns: 1fr;
  }

  .privacy-band {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }

  .privacy-band a {
    width: fit-content;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .store-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .product-nav-links {
    gap: 16px;
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stage {
    height: 94vw;
    max-height: 440px;
  }

  .device-phone.phone-primary {
    left: 30%;
    width: 40%;
  }

  .device-phone.phone-secondary,
  .device-phone.phone-tertiary {
    width: 30%;
  }

  .stage-label {
    right: 4%;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
