:root {
  --paper: #fbfaf5;
  --paper-2: #fffffc;
  --ink: #595857;
  --muted: #7d7d7d;
  --teal: #ed6d46;
  --teal-dark: #e45e32;
  --mint: #fdeeef;
  --orange: #eb6101;
  --gold: #f8b500;
  --line: rgba(89, 88, 87, 0.13);
  --button-text: #ffffff;
  --shadow: 0 24px 80px rgba(89, 88, 87, 0.14);
  --radius: 8px;
  --danger: #ce5242;
  --badge-gold: #e6b422;
  --hike: #84b9cb;
  --accent-soft: #f19072;
  --ni-brand: #ed6d46;
  --ni-brand-deep: #e45e32;
  --ni-bg: #fbfaf5;
  --ni-surface: #fffffc;
  --ni-surface-warm: #fdeeef;
  --ni-border: #e9e4d4;
  --ni-heading: #595857;
  --ni-muted: #7d7d7d;
  --ni-success: #47885e;
  --tech-cyan: #59b9c6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "M PLUS 1", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

input,
select,
textarea,
button {
  -webkit-user-select: auto;
  user-select: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: relative;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(237, 109, 70, 0.24);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #3d3a38;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 10px;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.header-button,
.button.primary {
  color: var(--button-text);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 14px 30px rgba(235, 97, 1, 0.28);
}

.hero-actions .button.primary {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
  box-shadow: 0 18px 38px rgba(235, 97, 1, 0.34);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.hero-actions .button.ghost {
  min-height: 52px;
  padding: 0 26px;
  color: var(--ink);
  border-color: rgba(89, 88, 87, 0.28);
  background: rgba(255, 255, 255, 0.86);
}

.button,
.header-button {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.header-button:hover {
  transform: translateY(-3px);
}

.button.primary:hover,
.header-button:hover {
  box-shadow: 0 20px 40px rgba(235, 97, 1, 0.36);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  top: -80px;
  right: 12%;
  width: 260px;
  height: 260px;
  background: var(--hike);
  opacity: 0.28;
}

.hero::after {
  left: -60px;
  bottom: 10%;
  width: 220px;
  height: 220px;
  background: var(--badge-gold);
  opacity: 0.22;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.97) 0%, rgba(251, 250, 245, 0.82) 32%, rgba(89, 88, 87, 0.06) 68%, rgba(237, 109, 70, 0.16) 100%),
    linear-gradient(180deg, rgba(251, 250, 245, 0.12) 0%, rgba(251, 250, 245, 0.92) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.05);
}

.hero-copy {
  width: min(720px, calc(100% - 40px));
  padding: clamp(76px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
  margin-left: clamp(20px, 6vw, 88px);
  animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    animation: none;
  }
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  color: var(--teal-dark);
  background: none;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  flex: none;
}

[data-sec="products"] .section-kicker,
[data-sec="news"] .section-kicker {
  color: #3c7186;
}

[data-sec="products"] .section-kicker::before,
[data-sec="news"] .section-kicker::before {
  background: var(--hike);
}

[data-sec="technology"] .section-kicker,
[data-sec="company"] .section-kicker {
  color: #8a5a04;
}

[data-sec="technology"] .section-kicker::before,
[data-sec="company"] .section-kicker::before {
  background: var(--gold);
}

h1,
h2,
h3,
p,
a,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(46px, 8.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.rich-text-line {
  white-space: pre-wrap;
}

.hero-title span,
.company-title span {
  display: block;
}

.hero-title .rich-text-line + br,
.company-title .rich-text-line + br {
  display: none;
}

.hero-title span:last-child,
.company-title span:last-child {
  color: var(--teal);
}

.company-title {
  max-width: 760px;
  font-size: clamp(42px, 7.2vw, 86px);
}

h2 {
  position: relative;
  margin: 0 0 0 20px;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

h2::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: -20px;
  width: 6px;
  height: 0.75em;
  background: linear-gradient(180deg, var(--teal), var(--hike));
  border-radius: 3px;
  transform: skewX(-12deg);
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.25;
}

.hero-lead,
.section p,
.beta-lead {
  color: #3d3a38;
  font-size: clamp(16px, 1.7vw, 20px);
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 14px;
}

.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.split,
.problem,
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro {
  background: var(--paper-2);
  text-align: center;
}

.intro .section-kicker {
  justify-content: center;
}

.phone-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.phone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.phone {
  width: min(320px, 100%);
  padding: 12px;
  background: #111;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 22px;
  margin: 0 auto 8px;
  background: #050505;
  border-radius: 999px;
}

.phone-screen {
  min-height: 610px;
  padding: 18px;
  background: #fffffc;
  border-radius: 26px;
}

.app-label {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.app-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.phone-screen strong {
  display: block;
  margin: 14px 0 0;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
}

.phone-screen small {
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 20px);
}

.app-rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 12px;
}

.app-ring {
  position: relative;
  min-height: 88px;
  padding: 8px 4px 7px;
  text-align: center;
  background: #f8fbf8;
  border: 1px solid #edf3ef;
  border-radius: 16px;
}

.app-ring svg {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 2px;
  transform: rotate(-90deg);
}

.app-ring circle {
  fill: none;
  stroke: #e6f3f5;
  stroke-width: 8;
}

.app-ring .ring-progress {
  stroke: var(--ring);
  stroke-linecap: round;
  stroke-dasharray: calc(var(--pct) * 1.57) 157;
  animation: ring-draw 1.1s ease both;
}

.app-ring span {
  position: absolute;
  inset: 18px 0 auto;
  color: #0e3a52;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.app-ring small {
  display: block;
  color: #507ea4;
  font-size: 10px;
  font-weight: 900;
}

.map-surface {
  position: relative;
  height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(237, 109, 70, 0.22), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(235, 97, 1, 0.2), transparent 28%),
    linear-gradient(135deg, #fdeeef, #f8ecd5);
  border-radius: 20px;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(22, 94, 131, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(22, 94, 131, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

.route-line {
  position: absolute;
  inset: 32px 78px 50px 76px;
  border: 8px solid #fff;
  border-left-color: var(--orange);
  border-bottom-color: var(--teal);
  border-radius: 48% 58% 42% 62%;
  transform: rotate(-12deg);
}

.route-dot {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 4px solid var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(237, 109, 70, 0.12);
  animation: route-pulse 1.8s ease-in-out infinite;
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 6px solid var(--orange);
  border-radius: 999px;
}

.pin-a { left: 76px; top: 78px; }
.pin-b { right: 64px; top: 150px; border-color: var(--teal); }
.pin-c { left: 126px; bottom: 72px; border-color: var(--gold); }

.app-chart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: end;
  gap: 4px;
  width: 92px;
  height: 54px;
  padding: 8px;
  background: rgba(255, 255, 252, 0.86);
  border: 1px solid rgba(22, 94, 131, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(22, 94, 131, 0.12);
}

.app-chart span {
  width: 8px;
  height: var(--h);
  background: linear-gradient(180deg, var(--teal), var(--gold));
  border-radius: 999px;
  animation: bar-rise 1.1s ease both;
}

.app-chart span:nth-child(2) { animation-delay: 0.06s; }
.app-chart span:nth-child(3) { animation-delay: 0.12s; }
.app-chart span:nth-child(4) { animation-delay: 0.18s; }
.app-chart span:nth-child(5) { animation-delay: 0.24s; }
.app-chart span:nth-child(6) { animation-delay: 0.3s; }
.app-chart span:nth-child(7) { animation-delay: 0.36s; }

.app-bars {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.app-bars div {
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.app-bars i {
  position: relative;
  height: 9px;
  overflow: hidden;
  background: #edf3ef;
  border-radius: 999px;
}

.app-bars i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
  animation: fill-bar 1.2s ease both;
}

.app-bars b {
  color: var(--teal-dark);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ghost-card {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), #153634);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(89, 88, 87, 0.14);
}

.ghost-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.ghost-card b {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.ghost-card em {
  color: var(--gold);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.tabbar span {
  height: 38px;
  background: #edf3ef;
  border-radius: 14px;
}

@keyframes ring-draw {
  from { stroke-dasharray: 0 157; }
}

@keyframes bar-rise {
  from { height: 0; opacity: 0.4; }
}

@keyframes fill-bar {
  from { width: 0; }
}

@keyframes route-pulse {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.24); opacity: 1; }
}

.features {
  background: #eef5ef;
}

.features h2 {
  max-width: 920px;
}

.features .section-lead {
  max-width: 880px;
  margin: 14px auto 0;
  color: var(--muted);
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.9;
}

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

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

.feature-grid article,
.cost-board div,
.doc-block,
.faq-grid details {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 238px;
  padding: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  color: var(--teal-dark);
  background: none;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chip::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  flex: none;
}

.problem {
  background: var(--paper);
}

.problem-copy p {
  max-width: 700px;
}

.problem-lead {
  color: var(--teal-dark);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 900;
  line-height: 1.85;
}

.cost-board {
  display: grid;
  gap: 14px;
}

.cost-board div {
  padding: 26px;
}

.cost-board span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cost-board strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.2;
}

.cost-board p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.cost-board .problem-close {
  margin: 2px 0 0;
  padding: 0 6px;
  color: inherit;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 950;
  line-height: 1.5;
}

.story {
  background: var(--paper-2);
}

.story-art img {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.story-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.beta {
  background:
    radial-gradient(circle at 8% 0%, rgba(235, 97, 1, 0.16), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(237, 109, 70, 0.14), transparent 30%),
    var(--paper);
}

.beta h2,
.beta-lead {
  max-width: 860px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.faq-grid details,
.faq-grid .faq-item {
  min-height: 210px;
  padding: 22px;
}

.faq-grid summary,
.faq-grid .faq-question {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 900;
}

.faq-grid p,
.faq-grid .faq-answer {
  margin: 14px 0 0;
  color: var(--muted);
}

.final-cta {
  padding: clamp(70px, 12vw, 140px) 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-dark), #153634 58%, var(--orange));
}

.final-cta h2 {
  margin-left: 0;
}

.final-cta h2::before {
  display: none;
}

.final-cta .button {
  margin: 4px 0 24px;
}

.final-cta .eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
}

.final-cta .eyebrow::before {
  background: var(--gold);
}

.final-cta p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 2.2vw, 18px);
}

.pq-lp {
  --pq-brand: #83ccd2;
  --pq-brand-deep: #59b9c6;
  --pq-accent: #007bbb;
  --pq-ink: #165e83;
  --pq-ink-strong: #0e3a52;
  --pq-muted: #507ea4;
  --pq-bg: #f8fbf8;
  --pq-surface: #fffffc;
  --pq-soft: #e6f3f5;
  --pq-border: #dde8e6;
  --pq-route: #a2d7dd;
  --pq-gold: #e6b422;
  --pq-safe: #47885e;
  --pq-danger: #ce5242;
  --pq-shadow: 0 1px 2px rgba(22, 94, 131, 0.05), 0 10px 28px rgba(22, 94, 131, 0.08);
  background: var(--pq-bg);
  color: var(--pq-ink);
}

.pq-lp .site-header {
  border-bottom: 1px solid var(--pq-border);
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 8px 24px rgba(22, 94, 131, 0.08);
}

.pq-lp .brand-mark {
  background: linear-gradient(135deg, var(--pq-accent), var(--pq-brand-deep));
  box-shadow: 0 0 0 3px rgba(131, 204, 210, 0.32);
}

.pq-lp .nav-links a {
  padding: 9px 12px;
  border: 1px solid var(--pq-border);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.74);
  color: var(--pq-ink);
}

.pq-lp .header-button,
.pq-lp .button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pq-accent), var(--pq-brand-deep));
  box-shadow: 0 14px 28px rgba(0, 123, 187, 0.24);
}

.pq-lp .button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(14, 58, 82, 0.34);
}

.pq-lp .hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(150deg, #0e3a52 0%, #007bbb 48%, #83ccd2 100%);
}

.pq-lp .hero::before,
.pq-lp .hero::after {
  display: none;
}

.pq-lp .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(14, 58, 82, 0.72) 0%, rgba(22, 94, 131, 0.36) 54%, rgba(255, 255, 252, 0.08) 100%),
    radial-gradient(110% 90% at 78% 22%, rgba(255, 255, 252, 0.22), transparent 58%);
}

.pq-lp .hero-copy {
  width: auto;
  max-width: 720px;
  padding: 0;
  margin: 0;
}

.pq-lp .eyebrow,
.pq-lp .section-kicker {
  color: var(--pq-accent);
}

.pq-lp .hero .eyebrow {
  color: #eafcff;
}

.pq-lp .hero-title span {
  color: #fff;
  font-size: clamp(52px, 6.6vw, 86px);
  line-height: 1.04;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}

.pq-lp .hero-title span:last-child {
  color: #b8f3f7;
}

.pq-lp .hero-lead {
  color: rgba(255, 255, 255, 0.86);
}

.pq-lp .microcopy {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(234, 252, 255, 0.5);
  border-radius: 8px;
  background: rgba(14, 58, 82, 0.38);
}

.pq-app-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
}

.pq-stage-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(100%, 430px);
}

.pq-stage-tabs button,
.pq-bottom-nav button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

.pq-stage-tabs button {
  min-height: 36px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 252, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.pq-stage-tabs button.is-active {
  color: var(--pq-ink-strong);
  background: #fffffc;
  border-color: #fffffc;
}

.pq-app-phone {
  position: relative;
  width: min(392px, 100%);
  min-height: 650px;
  padding: 14px;
  background: #33444d;
  border-radius: 42px;
  box-shadow: 0 36px 90px rgba(14, 58, 82, 0.34);
  overflow: hidden;
}

.pq-app-phone::before {
  content: "";
  display: block;
  width: 92px;
  height: 22px;
  margin: 0 auto 8px;
  background: #263944;
  border-radius: 999px;
}

.pq-app-status {
  position: absolute;
  inset: 20px 28px auto;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  pointer-events: none;
}

.pq-app-screen {
  display: none;
  min-height: 540px;
  padding: 22px 16px 88px;
  color: var(--pq-ink);
  background: var(--pq-bg);
  border-radius: 28px;
}

.pq-app-screen.is-active {
  display: block;
  animation: pq-screen-in 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pq-app-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  color: #fff;
  background: linear-gradient(150deg, #6fc4cf 0%, #59b9c6 45%, #3d9dc0 100%);
  border-radius: 24px;
}

.pq-app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='100' viewBox='0 0 150 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cellipse cx='75' cy='50' rx='62' ry='38'/%3E%3Cellipse cx='72' cy='52' rx='46' ry='27'/%3E%3Cellipse cx='70' cy='54' rx='31' ry='17'/%3E%3Cellipse cx='69' cy='55' rx='17' ry='9'/%3E%3C/g%3E%3C/svg%3E");
}

.pq-app-hero.is-gold {
  background: linear-gradient(150deg, #e6b422, #007bbb);
}

.pq-app-hero > * {
  position: relative;
}

.pq-app-hero span,
.pq-ghost-line span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pq-app-hero strong {
  display: block;
  color: #fff;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.25;
}

.pq-app-hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.pq-course-strip {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pq-course-strip::-webkit-scrollbar {
  display: none;
}

.pq-course-strip article {
  flex: 0 0 168px;
  min-height: 112px;
  padding: 14px;
  background: var(--pq-surface);
  border: 1px solid var(--pq-border);
  border-radius: 18px;
  box-shadow: var(--pq-shadow);
}

.pq-course-strip article.is-main {
  color: #fff;
  background: linear-gradient(150deg, var(--pq-ink-strong), var(--pq-accent));
  border-color: transparent;
}

.pq-course-strip span {
  display: inline-flex;
  min-height: 20px;
  padding: 0 8px;
  align-items: center;
  color: var(--pq-accent);
  background: var(--pq-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.pq-course-strip .is-main span {
  color: var(--pq-ink-strong);
  background: #b8f3f7;
}

.pq-course-strip b,
.pq-course-strip small {
  display: block;
}

.pq-course-strip b {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.25;
}

.pq-course-strip small {
  margin-top: 4px;
  color: inherit;
  opacity: 0.72;
  font-weight: 800;
}

.pq-stat-panel,
.pq-recovery-card,
.pq-ghost-line {
  padding: 16px;
  background: var(--pq-surface);
  border: 1px solid var(--pq-border);
  border-radius: 20px;
  box-shadow: var(--pq-shadow);
}

.pq-stat-panel p {
  margin: 0 0 12px;
  color: var(--pq-ink-strong);
  font-size: 12px;
  font-weight: 900;
}

.pq-stat-panel div {
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 900;
}

.pq-stat-panel i,
.pq-race-bars i {
  position: relative;
  height: 10px;
  overflow: hidden;
  background: var(--pq-soft);
  border-radius: 999px;
}

.pq-stat-panel i::before,
.pq-race-bars i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--pq-brand-deep), var(--pq-accent));
  border-radius: inherit;
  animation: fill-bar 1.15s ease both;
}

.pq-recovery-card {
  margin-top: 14px;
}

.pq-recovery-card b {
  display: block;
  color: var(--pq-ink-strong);
  font-size: 26px;
}

.pq-recovery-card p {
  margin: 8px 0 0;
  color: var(--pq-muted);
  font-weight: 800;
}

.pq-mini-feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pq-mini-feed span {
  display: block;
  height: 54px;
  background: linear-gradient(90deg, var(--pq-soft), #fffffc);
  border: 1px solid var(--pq-border);
  border-radius: 16px;
}

.pq-ghost-line {
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pq-ink-strong), var(--pq-accent));
  border-color: transparent;
}

.pq-ghost-line b {
  color: #fff;
  font-size: 22px;
}

.pq-race-bars {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.pq-bottom-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 74px 1fr 1fr;
  align-items: end;
  gap: 4px;
  padding: 7px 8px 13px;
  background: var(--pq-surface);
  border-top: 1px solid var(--pq-border);
  border-radius: 0 0 28px 28px;
}

.pq-bottom-nav button {
  min-height: 36px;
  padding: 0 2px;
  color: var(--pq-muted);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
}

.pq-bottom-nav button.is-active {
  color: var(--pq-accent);
}

.pq-bottom-nav .pq-ride-button {
  min-height: 58px;
  color: #fff;
  background: linear-gradient(135deg, var(--pq-accent), var(--pq-brand-deep));
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(0, 123, 187, 0.24);
}

.pq-lp .phone-card {
  position: relative;
  isolation: isolate;
  min-height: min(560px, 72vw);
  align-content: center;
  padding: clamp(14px, 4vw, 34px);
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.pq-lp .phone-card::before {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -2;
  width: min(420px, 90%);
  aspect-ratio: 1;
  content: "";
  background:
    radial-gradient(circle, rgba(184, 243, 247, 0.58) 0 18%, rgba(0, 123, 187, 0.2) 38%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(2px);
}

.pq-lp .phone-card::after {
  position: absolute;
  inset: auto 8% 6%;
  z-index: -1;
  height: 96px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(0, 123, 187, 0.34), transparent 72%);
  filter: blur(14px);
}

.pq-lp .phone {
  position: relative;
  z-index: 1;
  background: #33444d;
  box-shadow:
    0 34px 86px rgba(0, 123, 187, 0.26),
    0 16px 38px rgba(14, 58, 82, 0.18),
    inset 0 0 0 1px rgba(255, 255, 252, 0.16);
  transform: translateY(-4px);
}

.pq-lp .phone-top {
  background: #263944;
}

.pq-lp .phone-screen {
  background: var(--pq-surface);
}

.pq-lp .app-label,
.pq-lp .app-bars b {
  color: var(--pq-accent);
}

.pq-lp .app-head p,
.pq-lp .app-ring small {
  color: var(--pq-muted);
}

.pq-lp .live-pill {
  background: var(--pq-accent);
}

.pq-lp .app-ring {
  background: var(--pq-bg);
  border-color: var(--pq-border);
}

.pq-lp .app-ring span,
.pq-lp .app-bars div {
  color: var(--pq-ink-strong);
}

.pq-lp .map-surface {
  background:
    linear-gradient(140deg, rgba(131, 204, 210, 0.2), rgba(0, 123, 187, 0.06)),
    var(--pq-soft);
}

.pq-lp .route-line {
  border-color: #fff;
  border-left-color: var(--pq-accent);
  border-bottom-color: var(--pq-brand-deep);
}

.pq-lp .pin {
  border-color: var(--pq-accent);
}

.pq-lp .pin-b {
  border-color: var(--pq-brand-deep);
}

.pq-lp .pin-c {
  border-color: var(--pq-gold);
}

.pq-lp .route-dot {
  border-color: var(--pq-brand-deep);
  box-shadow: 0 0 0 8px rgba(0, 123, 187, 0.12);
}

.pq-lp .app-chart span,
.pq-lp .app-bars i::before {
  background: linear-gradient(90deg, var(--pq-brand-deep), var(--pq-accent));
}

.pq-lp .ghost-card {
  background: linear-gradient(135deg, var(--pq-ink-strong), var(--pq-accent));
  box-shadow: 0 16px 32px rgba(22, 94, 131, 0.18);
}

.pq-lp .ghost-card em {
  color: #b8f3f7;
}

.pq-lp .tabbar span {
  background: var(--pq-soft);
}

.pq-lp .section {
  position: relative;
}

.pq-lp .features {
  background:
    linear-gradient(45deg, rgba(131, 204, 210, 0.12) 25%, transparent 25% 75%, rgba(131, 204, 210, 0.12) 75%),
    linear-gradient(45deg, rgba(131, 204, 210, 0.12) 25%, transparent 25% 75%, rgba(131, 204, 210, 0.12) 75%),
    var(--pq-soft);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
}

.pq-lp .problem {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--pq-ink-strong);
  background-size: 30px 30px;
}

.pq-lp .problem h2,
.pq-lp .problem p,
.pq-lp .problem .section-kicker {
  color: #fff;
}

.pq-lp .problem .section-kicker {
  color: #b8f3f7;
}

.pq-lp .solution {
  background:
    repeating-linear-gradient(-6deg, rgba(0, 123, 187, 0.07) 0 2px, transparent 2px 18px),
    var(--pq-surface);
}

.pq-lp .solution .feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pq-lp .story {
  background: var(--pq-bg);
}

.pq-lp .kindness {
  background: linear-gradient(180deg, #e6f3f5, #f8fbf8);
}

.pq-lp .beta {
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 252, 0.3), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(230, 180, 34, 0.22), transparent 24%),
    linear-gradient(135deg, #0e3a52 0%, #166c98 52%, #59b9c6 100%);
  position: relative;
  overflow: hidden;
}

.pq-lp .beta::before {
  position: absolute;
  inset: auto -8% 8% 28%;
  z-index: 0;
  height: 220px;
  content: "";
  background:
    radial-gradient(ellipse at center, rgba(184, 243, 247, 0.72), rgba(184, 243, 247, 0.16) 42%, transparent 68%);
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.7;
  transform: rotate(-8deg);
  pointer-events: none;
}

.pq-lp .beta::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 70% 34%, rgba(255, 255, 252, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 56%, rgba(255, 255, 252, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 76%, rgba(230, 180, 34, 0.22) 0 2px, transparent 3px);
  background-size: 160px 160px, 120px 120px, 190px 190px;
  opacity: 0.46;
  pointer-events: none;
}

.pq-lp .beta h2,
.pq-lp .beta .beta-lead,
.pq-lp .beta .section-kicker {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(14, 58, 82, 0.36);
}

.pq-lp .beta > *,
.pq-lp .beta .faq-grid {
  position: relative;
  z-index: 1;
}

.pq-lp .feature-grid article,
.pq-lp .cost-board div,
.pq-lp .story-list li,
.pq-lp .faq-grid details,
.pq-lp .faq-grid .faq-item {
  background: rgba(255, 255, 252, 0.92);
  border: 1px solid var(--pq-border);
  box-shadow: var(--pq-shadow);
}

.pq-lp .problem .cost-board div {
  background: rgba(255, 255, 252, 0.96);
  color: var(--pq-ink);
  border-color: rgba(131, 204, 210, 0.42);
}

.pq-lp .problem .cost-board div p {
  color: var(--pq-muted);
}

.pq-lp .beta .faq-grid details,
.pq-lp .beta .faq-grid .faq-item {
  background: rgba(255, 255, 252, 0.97);
  color: var(--pq-ink);
}

.pq-lp .faq-grid .faq-item {
  display: grid;
  align-content: start;
  gap: 14px;
  border-radius: 18px;
}

.pq-lp .faq-grid .faq-question,
.pq-lp .faq-grid .faq-answer {
  position: relative;
  min-height: 0;
  padding-left: 46px;
  line-height: 1.75;
  cursor: default;
}

.pq-lp .faq-grid .faq-question::before,
.pq-lp .faq-grid .faq-answer::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  border-radius: 999px;
}

.pq-lp .faq-grid .faq-question::before {
  content: "Q";
  background: linear-gradient(135deg, var(--pq-brand-deep), var(--pq-accent));
}

.pq-lp .faq-grid .faq-answer::before {
  content: "A";
  background: linear-gradient(135deg, var(--pq-gold), #f08300);
}

.pq-lp .final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 252, 0.22), transparent 27%),
    radial-gradient(circle at 92% 18%, rgba(131, 204, 210, 0.34), transparent 34%),
    linear-gradient(135deg, #0e3a52 0%, #007bbb 54%, #83ccd2 100%);
}

.pq-lp .final-cta::before {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -64px;
  z-index: 0;
  height: 210px;
  content: "";
  background:
    linear-gradient(90deg, transparent 0%, rgba(184, 243, 247, 0.32) 18%, rgba(255, 255, 252, 0.74) 50%, rgba(230, 180, 34, 0.28) 72%, transparent 100%);
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.82;
  transform: rotate(-2deg);
  pointer-events: none;
}

.pq-lp .final-cta::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 24% 70%, rgba(255, 255, 252, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 252, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 72%, rgba(230, 180, 34, 0.24) 0 2px, transparent 3px);
  background-size: 180px 180px, 130px 130px, 220px 220px;
  opacity: 0.42;
  pointer-events: none;
}

.pq-lp .final-cta > * {
  position: relative;
  z-index: 1;
}

.pq-lp .final-cta .button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0e3a52, var(--pq-accent));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px clamp(20px, 5vw, 72px);
  background: #fffffc;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.site-footer strong {
  display: block;
  font-size: 15px;
}

.site-footer p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #3d3a38;
  font-size: 13px;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.doc-main {
  width: min(880px, calc(100% - 40px));
  padding: 70px 0 100px;
  margin: 0 auto;
}

.doc-main h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
}

.doc-block {
  margin-top: 18px;
  padding: 24px;
}

.doc-signature {
  margin-top: 28px;
  padding: 0 24px;
}

.doc-signature p {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.doc-block h2 {
  margin: 0 0 10px;
  font-size: clamp(19px, 2.8vw, 24px);
}

.doc-block p,
.doc-block li {
  color: var(--muted);
}

.doc-block a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-kind-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.contact-kind-list li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.contact-room {
  margin-top: 30px;
}

.contact-room-head {
  max-width: 720px;
}

.contact-room-head h2 {
  margin: 0;
  color: var(--ni-heading);
  font-size: clamp(28px, 4.8vw, 48px);
  line-height: 1.08;
}

.contact-room-head p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.niiro-contact {
  margin-top: 22px;
  overflow: hidden;
  color: var(--ni-heading);
  background: var(--ni-bg);
  border: 1px solid var(--ni-border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(82, 78, 77, 0.1);
}

.niiro-contact button,
.niiro-contact input,
.niiro-contact select,
.niiro-contact textarea {
  font: inherit;
}

.niiro-room-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: #fffdfa;
  background:
    linear-gradient(150deg, #ee7948 0%, var(--ni-brand) 48%, var(--ni-brand-deep) 100%);
}

.niiro-room-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.78;
}

.niiro-room-bar strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.2;
}

.niiro-copy-btn,
.niiro-topic-row button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.niiro-copy-btn {
  padding: 0 16px;
  color: var(--ni-brand-deep);
  background: #fffdfa;
}

.niiro-room-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.niiro-msg {
  display: flex;
  gap: 10px;
  max-width: min(680px, 92%);
}

.niiro-msg.me {
  align-self: flex-end;
}

.niiro-avatar {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--ni-success);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.niiro-avatar.accent {
  background: var(--ni-brand);
}

.niiro-msg-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.niiro-who {
  color: var(--ni-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.niiro-msg p,
.niiro-msg .niiro-bubble {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 14px;
  overflow-wrap: anywhere;
  color: var(--ni-heading);
  background: var(--ni-surface);
  border: 1px solid rgba(233, 228, 212, 0.8);
  border-radius: 4px 18px 18px;
  line-height: 1.6;
}

.niiro-msg.me .niiro-bubble {
  color: #fffdfa;
  background: var(--ni-brand);
  border: 0;
  border-radius: 18px 4px 18px 18px;
  font-weight: 800;
}

.niiro-topic-row {
  display: flex;
  gap: 8px;
  padding: 0 18px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.niiro-topic-row::-webkit-scrollbar {
  display: none;
}

.niiro-topic-row button {
  flex: none;
  padding: 0 15px;
  color: var(--ni-brand-deep);
  background: var(--ni-surface-warm);
}

.niiro-topic-row button.is-active {
  color: #fffdfa;
  background: var(--ni-brand);
}

.niiro-contact-form {
  padding: 18px;
  background: var(--ni-surface);
  border-top: 1px solid rgba(233, 228, 212, 0.8);
}

.niiro-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.niiro-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ni-heading);
  font-size: 13px;
  font-weight: 900;
}

.niiro-contact-form input,
.niiro-contact-form select,
.niiro-contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--ni-bg);
  border: 1.5px solid var(--ni-border);
  border-radius: var(--radius);
  font-size: 16px;
  outline: none;
}

.niiro-contact-form textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.niiro-contact-form input:focus,
.niiro-contact-form select:focus,
.niiro-contact-form textarea:focus {
  border-color: var(--ni-brand);
  box-shadow: 0 0 0 3px rgba(237, 109, 70, 0.14);
}

.niiro-message-field {
  margin-top: 14px;
}

.niiro-consent {
  flex-direction: row !important;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.niiro-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  padding: 0;
}

.niiro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.niiro-actions .button {
  border: 0;
  cursor: pointer;
}

.niiro-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.niiro-status.is-ok {
  color: var(--ni-success);
}

.niiro-status.is-warn {
  color: var(--ni-brand-deep);
}

.vision-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.vision-copy h2 {
  margin-left: 0;
}

.vision-copy h2::before {
  display: none;
}

.vision-copy p {
  margin-inline: auto;
}

.company-hero .hero-lead,
.section h2,
.product-feature h3,
.vision-copy p,
.statement-section p,
.product-feature p,
.tech-copy p {
  white-space: pre-line;
}

.philosophy-section,
.vision-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(237, 109, 70, 0.12), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(248, 181, 0, 0.14), transparent 30%),
    var(--paper-2);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-feature h3 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.35;
}

.product-feature img {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tech-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: var(--paper);
}

.statement-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(238, 248, 249, 0.88));
}

.statement-section h2 {
  max-width: 860px;
}

.statement-section p {
  max-width: 900px;
}

.shingu-section {
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 253, 248, 0.18), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(248, 181, 0, 0.2), transparent 28%),
    linear-gradient(135deg, #184f5d 0%, #1f7a74 48%, #ed6d46 100%);
}

.shingu-section .section-kicker,
.shingu-section h2,
.shingu-section p {
  color: #fff;
}

.shingu-section .section-kicker::before {
  background: #fff;
}

.tech-copy p {
  max-width: 760px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tech-tags span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 14px;
  color: var(--teal-dark);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(89, 88, 87, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tech-tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent, var(--orange));
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--orange)) 22%, transparent);
}

.tech-tags span:nth-child(1) { --accent: var(--teal); }
.tech-tags span:nth-child(2) { --accent: var(--hike); }
.tech-tags span:nth-child(3) { --accent: var(--gold); }
.tech-tags span:nth-child(4) { --accent: var(--teal-dark); }
.tech-tags span:nth-child(5) { --accent: var(--orange); }
.tech-tags span:nth-child(6) { --accent: var(--hike); }

.tech-tags span:hover {
  border-color: var(--accent, var(--teal));
  box-shadow: 0 8px 20px rgba(89, 88, 87, 0.1);
  transform: translateY(-2px) rotate(-1deg);
}

.tech-visual {
  padding: 12px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tech-visual img {
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-section {
  background:
    linear-gradient(180deg, #eef8f9, #eef5ef);
}

.news-head {
  align-items: end;
}

.news-head p {
  margin: 0;
}

.news-list {
  display: flex;
  gap: 16px;
  margin: 34px calc(clamp(20px, 5vw, 72px) * -1) 0;
  padding: 4px clamp(20px, 5vw, 72px) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(20px, 5vw, 72px);
  -webkit-overflow-scrolling: touch;
}

.news-card {
  flex: 0 0 min(300px, 80vw);
  padding: 22px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.news-card time {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.news-card h3 {
  margin-top: 16px;
}

.news-card p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

body:not(.pq-lp) .section {
  overflow: hidden;
}

html.fx-on body:not(.pq-lp) main > section .section-kicker,
html.fx-on body:not(.pq-lp) main > section h2,
html.fx-on body:not(.pq-lp) main > section h3,
html.fx-on body:not(.pq-lp) main > section p,
html.fx-on body:not(.pq-lp) main > section .button,
html.fx-on body:not(.pq-lp) main > section img,
html.fx-on body:not(.pq-lp) main > section .tech-tags span,
html.fx-on body:not(.pq-lp) main > section .news-card,
html.fx-on body:not(.pq-lp) main > section .company-grid dl > div {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
}

html.fx-on body:not(.pq-lp) main > section.is-inview .section-kicker,
html.fx-on body:not(.pq-lp) main > section.is-inview h2,
html.fx-on body:not(.pq-lp) main > section.is-inview h3,
html.fx-on body:not(.pq-lp) main > section.is-inview p,
html.fx-on body:not(.pq-lp) main > section.is-inview .button,
html.fx-on body:not(.pq-lp) main > section.is-inview img,
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span,
html.fx-on body:not(.pq-lp) main > section.is-inview .news-card,
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div {
  opacity: 1;
  transform: translateY(0);
}

html.fx-on body:not(.pq-lp) main > section.is-inview h2 { transition-delay: 80ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview h3,
html.fx-on body:not(.pq-lp) main > section.is-inview p { transition-delay: 160ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .button,
html.fx-on body:not(.pq-lp) main > section.is-inview img { transition-delay: 240ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span:nth-child(1),
html.fx-on body:not(.pq-lp) main > section.is-inview .news-card:nth-child(1),
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div:nth-child(1) { transition-delay: 120ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span:nth-child(2),
html.fx-on body:not(.pq-lp) main > section.is-inview .news-card:nth-child(2),
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div:nth-child(2) { transition-delay: 180ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span:nth-child(3),
html.fx-on body:not(.pq-lp) main > section.is-inview .news-card:nth-child(3),
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div:nth-child(3) { transition-delay: 240ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span:nth-child(4),
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div:nth-child(4) { transition-delay: 300ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span:nth-child(5),
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div:nth-child(5) { transition-delay: 360ms; }
html.fx-on body:not(.pq-lp) main > section.is-inview .tech-tags span:nth-child(6),
html.fx-on body:not(.pq-lp) main > section.is-inview .company-grid dl > div:nth-child(6) { transition-delay: 420ms; }

/* Company reveal reduced-motion contract. */
@media (prefers-reduced-motion: reduce) {
  html.fx-on body:not(.pq-lp) main > section .section-kicker,
  html.fx-on body:not(.pq-lp) main > section h2,
  html.fx-on body:not(.pq-lp) main > section h3,
  html.fx-on body:not(.pq-lp) main > section p,
  html.fx-on body:not(.pq-lp) main > section .button,
  html.fx-on body:not(.pq-lp) main > section img,
  html.fx-on body:not(.pq-lp) main > section .tech-tags span,
  html.fx-on body:not(.pq-lp) main > section .news-card,
  html.fx-on body:not(.pq-lp) main > section .company-grid dl > div {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


.company-section {
  background: var(--paper-2);
}

.company-grid {
  max-width: 880px;
  margin-top: 34px;
}

.company-grid dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-grid dl > div {
  padding: 16px 22px;
  background: rgba(255, 253, 248, 0.9);
}

.company-grid dl > div:last-child {
  grid-column: 1 / -1;
}

.company-grid dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

[data-layout-text-align="center"] {
  text-align: center;
}

[data-layout-text-align="right"] {
  text-align: right;
}

[data-layout-text-align="center"] h2,
[data-layout-text-align="right"] h2 {
  margin-left: 0;
}

[data-layout-text-align="center"] h2::before,
[data-layout-text-align="right"] h2::before {
  display: none;
}

[data-layout-text-align="center"] .hero-actions,
[data-layout-text-align="center"] .tech-tags {
  justify-content: center;
}

[data-layout-text-align="right"] .hero-actions,
[data-layout-text-align="right"] .tech-tags {
  justify-content: flex-end;
}

[data-layout-horizontal="center"] .hero-copy {
  margin-inline: auto;
}

[data-layout-horizontal="right"] .hero-copy {
  margin-left: auto;
  margin-right: clamp(20px, 6vw, 88px);
}

[data-layout-horizontal="center"] .split > :first-child,
[data-layout-horizontal="center"] .problem-copy,
[data-layout-horizontal="center"] .story > :first-child,
[data-layout-horizontal="center"] .product-feature > :first-child,
[data-layout-horizontal="center"] .tech-copy,
[data-layout-horizontal="center"] .news-head > :first-child,
[data-layout-horizontal="center"] .company-grid > :first-child,
[data-layout-horizontal="center"] .company-card {
  justify-self: center;
}

[data-layout-horizontal="right"] .split > :first-child,
[data-layout-horizontal="right"] .problem-copy,
[data-layout-horizontal="right"] .story > :first-child,
[data-layout-horizontal="right"] .product-feature > :first-child,
[data-layout-horizontal="right"] .tech-copy,
[data-layout-horizontal="right"] .news-head > :first-child,
[data-layout-horizontal="right"] .company-grid > :first-child,
[data-layout-horizontal="right"] .company-card {
  justify-self: end;
}

[data-layout-vertical="start"].hero,
[data-layout-vertical="center"].hero,
[data-layout-vertical="end"].hero {
  display: grid;
}

[data-layout-vertical="start"].hero { align-items: start; }
[data-layout-vertical="center"].hero { align-items: center; }
[data-layout-vertical="end"].hero { align-items: end; }

[data-layout-vertical="start"] .split,
[data-layout-vertical="start"] .problem,
[data-layout-vertical="start"] .story,
[data-layout-vertical="start"] .product-feature,
[data-layout-vertical="start"].tech-section,
[data-layout-vertical="start"] .company-grid {
  align-items: start;
}

[data-layout-vertical="center"] .split,
[data-layout-vertical="center"] .problem,
[data-layout-vertical="center"] .story,
[data-layout-vertical="center"] .product-feature,
[data-layout-vertical="center"].tech-section,
[data-layout-vertical="center"] .company-grid {
  align-items: center;
}

[data-layout-vertical="end"] .split,
[data-layout-vertical="end"] .problem,
[data-layout-vertical="end"] .story,
[data-layout-vertical="end"] .product-feature,
[data-layout-vertical="end"].tech-section,
[data-layout-vertical="end"] .company-grid {
  align-items: end;
}

[data-layout-media="left"] .split > :first-child,
[data-layout-media="left"] .problem > :first-child,
[data-layout-media="left"] .story > :first-child,
[data-layout-media="left"] .product-feature > :first-child,
[data-layout-media="left"] .company-grid > :first-child,
[data-layout-media="left"].tech-section > :first-child {
  order: 2;
}

[data-layout-media="right"] .split > :first-child,
[data-layout-media="right"] .problem > :first-child,
[data-layout-media="right"] .story > :first-child,
[data-layout-media="right"] .product-feature > :first-child,
[data-layout-media="right"] .company-grid > :first-child,
[data-layout-media="right"].tech-section > :first-child {
  order: 0;
}

[data-layout-text-width="narrow"] { --layout-text-max: 520px; }
[data-layout-text-width="normal"] { --layout-text-max: 680px; }
[data-layout-text-width="wide"] { --layout-text-max: 860px; }
[data-layout-text-width="full"] { --layout-text-max: 100%; }

[data-layout-text-width] .hero-copy,
[data-layout-text-width] .split > :first-child,
[data-layout-text-width] .problem-copy,
[data-layout-text-width] .story > :first-child,
[data-layout-text-width] .product-feature > :first-child,
[data-layout-text-width] .tech-copy,
[data-layout-text-width] .news-head > :first-child,
[data-layout-text-width] .company-grid > :first-child,
[data-layout-text-width] .company-card {
  max-width: min(var(--layout-text-max), 100%);
}

[data-layout-text-width] .hero-copy {
  width: min(var(--layout-text-max), calc(100% - 40px));
}

[data-layout-text-align="center"] .hero-lead,
[data-layout-text-align="center"] .section p,
[data-layout-text-align="center"] .beta-lead {
  margin-inline: auto;
}

[data-layout-text-align="right"] .hero-lead,
[data-layout-text-align="right"] .section p,
[data-layout-text-align="right"] .beta-lead {
  margin-left: auto;
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .site-header .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: flex;
    font-size: 12px;
  }

  .split,
  .problem,
  .story {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .product-feature,
  .tech-section,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(251, 250, 245, 0.96) 0%, rgba(251, 250, 245, 0.72) 44%, rgba(251, 250, 245, 0.98) 100%);
  }

  .hero-copy {
    margin-inline: 20px;
  }

  /* デスクトップのジグザグ(画像左右入れ替え)は1カラムでは無効化。
     order指定を残すとセクション間で画像同士/文字同士が隣接してしまうため、
     常にテキスト→画像のDOM順に揃える。 */
  [data-layout-media="left"] .split > :first-child,
  [data-layout-media="left"] .problem > :first-child,
  [data-layout-media="left"] .story > :first-child,
  [data-layout-media="left"] .product-feature > :first-child,
  [data-layout-media="left"] .company-grid > :first-child,
  [data-layout-media="left"].tech-section > :first-child {
    order: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .header-button {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  .nav-links {
    gap: 6px;
    padding-bottom: 2px;
  }

  .nav-links a {
    min-height: 34px;
    padding-inline: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .phone-screen {
    min-height: 480px;
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
  }

  .company-grid dl {
    grid-template-columns: 1fr;
  }

  .company-grid dl > div {
    padding: 14px 18px;
  }

  .niiro-room-bar,
  .niiro-form-grid {
    grid-template-columns: 1fr;
  }

  .niiro-room-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .niiro-msg {
    max-width: 100%;
  }

  .niiro-actions .button {
    width: 100%;
  }
}

/* ===== v2 Motion FX ===== */

/* --- FX-3 スクロールリビール: 初期状態は html.fx-on 配下のみ --- */
html.fx-on main > section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.fx-on main > section.is-inview {
  opacity: 1;
  transform: translateY(0);
}

html.fx-on main > section > h1,
html.fx-on main > section > h2,
html.fx-on main > section > p,
html.fx-on main > section > .button,
html.fx-on main > section > a.button {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.fx-on main > section.is-inview > h1,
html.fx-on main > section.is-inview > h2,
html.fx-on main > section.is-inview > p,
html.fx-on main > section.is-inview > .button,
html.fx-on main > section.is-inview > a.button {
  opacity: 1;
  transform: translateY(0);
}

html.fx-on main > section > *:nth-child(1) { transition-delay: 0ms; }
html.fx-on main > section > *:nth-child(2) { transition-delay: 80ms; }
html.fx-on main > section > *:nth-child(3) { transition-delay: 160ms; }
html.fx-on main > section > *:nth-child(4) { transition-delay: 240ms; }

html.fx-on .section-kicker {
  position: relative;
}

html.fx-on .section-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 0.5s ease-out;
}

html.fx-on .section-kicker.is-inview::after,
html.fx-on main > section.is-inview .section-kicker::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html.fx-on main > section,
  html.fx-on main > section > h1,
  html.fx-on main > section > h2,
  html.fx-on main > section > p,
  html.fx-on main > section > .button,
  html.fx-on main > section > a.button {
    transform: none;
    transition: opacity 0.6s ease-out;
  }
}

/* --- FX-4 ボタンマイクロFX --- */
.button,
.header-button {
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .button::after,
  .header-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 30%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-20deg) translateX(-150%);
    pointer-events: none;
  }

  .button:hover::after,
  .header-button:hover::after {
    transform: skewX(-20deg) translateX(420%);
    transition: transform 0.6s ease-out;
  }
}

.button:active,
.header-button:active {
  transform: scale(0.97);
  transition: transform 0.12s ease-out;
}

.button:focus-visible,
.header-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .button::after,
  .header-button::after {
    display: none;
  }
}

/* --- FX-5 ヒーローパララックス（transformのみ、レイアウトを揺らさない） --- */
.hero-bg img {
  will-change: transform;
}

@media (max-width: 767px) {
  .hero-bg img {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img {
    transform: none !important;
  }
}

/* ===== v2 Day Cycle ===== */

/* --- 切替演出: html.fx-on 配下、phase-ready 付与後のみtransitionを効かせる ---
   （初回ロードは即適用。3秒かけて色が変わるのはロード時はNG） */
html.fx-on.phase-ready,
html.fx-on.phase-ready body,
html.fx-on.phase-ready .site-header,
html.fx-on.phase-ready .hero,
html.fx-on.phase-ready .button,
html.fx-on.phase-ready .header-button,
html.fx-on.phase-ready .section,
html.fx-on.phase-ready .final-cta,
html.fx-on.phase-ready .site-footer,
html.fx-on.phase-ready .news-card,
html.fx-on.phase-ready .feature-grid article,
html.fx-on.phase-ready .cost-board div,
html.fx-on.phase-ready .doc-block,
html.fx-on.phase-ready .faq-grid details,
html.fx-on.phase-ready .product-feature,
html.fx-on.phase-ready .tech-visual,
html.fx-on.phase-ready .tech-tags span,
html.fx-on.phase-ready .niiro-contact,
html.fx-on.phase-ready .niiro-contact-form input,
html.fx-on.phase-ready .niiro-contact-form select,
html.fx-on.phase-ready .niiro-contact-form textarea {
  transition: background-color 3s ease, color 3s ease, border-color 3s ease;
}

/* --- night 星夜: ハードコードされた白/明色を持つ主要コンポーネントを var(--ni-*) 等へ上書き --- */
html[data-phase="night"] {
  --ni-brand: var(--teal);
  --ni-brand-deep: var(--teal-dark);
  --ni-bg: var(--paper);
  --ni-surface: var(--paper-2);
  --ni-surface-warm: var(--mint);
  --ni-border: var(--line);
  --ni-heading: var(--ink);
  --ni-muted: var(--muted);
}

html[data-phase="night"] .brand-mark {
  border-color: rgba(232, 230, 223, 0.35);
}

html[data-phase="night"] .button.ghost,
html[data-phase="night"] .hero-actions .button.ghost {
  background: rgba(26, 30, 44, 0.74);
  border-color: var(--line);
  color: var(--ink);
}

html[data-phase="night"] .route-line {
  border-color: var(--paper-2);
  border-left-color: var(--orange);
  border-bottom-color: var(--teal);
}

html[data-phase="night"] .pin {
  background: var(--paper-2);
}

html[data-phase="night"] .story-list li {
  background: var(--paper-2);
  border-color: var(--line);
}

html[data-phase="night"] .feature-grid article,
html[data-phase="night"] .cost-board div,
html[data-phase="night"] .doc-block,
html[data-phase="night"] .faq-grid details,
html[data-phase="night"] .product-feature,
html[data-phase="night"] .tech-visual,
html[data-phase="night"] .news-card,
html[data-phase="night"] .tech-tags span {
  background: rgba(26, 30, 44, 0.86);
  border-color: var(--line);
}

html[data-phase="night"] .features,
html[data-phase="night"] .news-section {
  background: var(--mint);
}

html[data-phase="night"] .tabbar span {
  background: rgba(232, 230, 223, 0.08);
}

html[data-phase="night"] .map-surface {
  background:
    radial-gradient(circle at 25% 20%, rgba(240, 138, 99, 0.22), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(240, 138, 99, 0.18), transparent 28%),
    linear-gradient(135deg, var(--mint), #1a1e2c);
}

html[data-phase="night"] .final-cta {
  background: linear-gradient(135deg, var(--teal-dark), #0d1018 58%, var(--orange));
}

/* 影: night では黒影が浮かないよう、不透明度の低い暗色影に差し替え */
html[data-phase="night"] .story-art img,
html[data-phase="night"] .product-feature img,
html[data-phase="night"] .tech-visual,
html[data-phase="night"] .brand-mark {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

/* 画像のなじませ: night は暗く落ち着かせ、藍色のオーバーレイを重ねる */
html[data-phase="night"] .hero-bg {
  position: relative;
}

html[data-phase="night"] .hero-bg::after {
  background: rgba(18, 21, 31, 0.35);
}

html[data-phase="night"] .hero-bg img,
html[data-phase="night"] .tech-visual img,
html[data-phase="night"] .product-feature img {
  filter: brightness(0.55) saturate(0.85) hue-rotate(-10deg);
}

/* morning / dusk: 画像は明るさ・色温度の軽い調整のみ */
html[data-phase="morning"] .hero-bg img,
html[data-phase="morning"] .tech-visual img,
html[data-phase="morning"] .product-feature img {
  filter: brightness(1.02) saturate(0.9) hue-rotate(4deg);
}

html[data-phase="dusk"] .hero-bg img,
html[data-phase="dusk"] .tech-visual img,
html[data-phase="dusk"] .product-feature img {
  filter: brightness(0.97) saturate(1.05) hue-rotate(-4deg);
}

/* --- フェーズ切替UI（フッター内、JSで生成） --- */
.brz-phase-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.brz-phase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.brz-phase-btn[aria-pressed="true"] {
  color: var(--button-text);
  background: var(--teal);
  border-color: var(--teal);
}

@media (hover: hover) {
  .brz-phase-btn:hover {
    border-color: var(--teal);
  }
}

.brz-phase-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===== v2 Day Cycle 追補（QA修正 2026-07-06）=====
   .site-header と .hero-bg::after は紙色がrgba直書きのため、フェーズ別に追従させる。 */
html[data-phase="night"] .site-header {
  background: rgba(18, 21, 31, 0.84);
}

html[data-phase="morning"] .site-header {
  background: rgba(242, 244, 247, 0.84);
}

html[data-phase="dusk"] .site-header {
  background: rgba(247, 237, 226, 0.84);
}

html[data-phase="morning"] .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(242, 244, 247, 0.97) 0%, rgba(242, 244, 247, 0.82) 32%, rgba(74, 85, 104, 0.06) 68%, rgba(127, 168, 201, 0.16) 100%),
    linear-gradient(180deg, rgba(242, 244, 247, 0.12) 0%, rgba(242, 244, 247, 0.92) 100%);
}

html[data-phase="dusk"] .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(247, 237, 226, 0.97) 0%, rgba(247, 237, 226, 0.82) 32%, rgba(79, 66, 55, 0.06) 68%, rgba(212, 100, 58, 0.16) 100%),
    linear-gradient(180deg, rgba(247, 237, 226, 0.12) 0%, rgba(247, 237, 226, 0.92) 100%);
}

@media (max-width: 920px) {
  html[data-phase="morning"] .hero-bg::after {
    background: linear-gradient(180deg, rgba(242, 244, 247, 0.96) 0%, rgba(242, 244, 247, 0.72) 44%, rgba(242, 244, 247, 0.98) 100%);
  }

  html[data-phase="dusk"] .hero-bg::after {
    background: linear-gradient(180deg, rgba(247, 237, 226, 0.96) 0%, rgba(247, 237, 226, 0.72) 44%, rgba(247, 237, 226, 0.98) 100%);
  }
}

html[data-phase] body.pq-lp .site-header {
  background: rgba(255, 255, 252, 0.94);
}

html[data-phase] body.pq-lp .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(14, 58, 82, 0.9) 0%, rgba(22, 94, 131, 0.7) 42%, rgba(89, 185, 198, 0.18) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 14px);
}

.pq-lp .site-footer nav {
  max-width: 100%;
}

.pq-lp .site-footer a {
  min-width: 0;
  white-space: normal;
}

@media (max-width: 920px) {
  .pq-lp .solution .feature-grid {
    grid-template-columns: 1fr;
  }

  .pq-lp .site-footer nav {
    gap: 4px 14px;
  }

  html[data-phase] body.pq-lp .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(14, 58, 82, 0.34) 0%, rgba(22, 94, 131, 0.72) 58%, rgba(14, 58, 82, 0.94) 100%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 14px);
  }
}

@media (max-width: 620px) {
  .pq-lp .nav-links {
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
  }

  .pq-lp .nav-links a {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 11px;
  }
}

/* PEDAL QUEST LP: app-like finish, no checker backgrounds. */
.pq-lp .features,
.pq-lp .solution,
.pq-lp .kindness {
  background: var(--pq-bg);
}

.pq-lp .features {
  background: linear-gradient(180deg, var(--pq-soft), var(--pq-bg));
}

.pq-lp .solution {
  background: var(--pq-surface);
}

html[data-phase] body.pq-lp .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(14, 58, 82, 0.72) 0%, rgba(22, 94, 131, 0.36) 54%, rgba(255, 255, 252, 0.08) 100%),
    radial-gradient(110% 90% at 78% 22%, rgba(255, 255, 252, 0.22), transparent 58%);
}

@media (max-width: 920px) {
  .pq-lp .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .pq-app-stage {
    order: 2;
  }

  .pq-lp .hero-copy {
    order: 1;
  }
}

@media (max-width: 620px) {
  .pq-lp .hero {
    gap: 18px;
  }

  .pq-lp .hero-title span {
    font-size: clamp(42px, 13vw, 54px);
    line-height: 0.98;
  }

  .pq-lp .hero-lead {
    font-size: 15px;
  }

  .pq-app-phone {
    width: min(100%, 360px);
    min-height: 620px;
    border-radius: 34px;
  }

  .pq-app-screen {
    min-height: 510px;
    padding: 18px 13px 82px;
  }

  .pq-bottom-nav {
    grid-template-columns: 1fr 1fr 66px 1fr 1fr;
  }
}

/* App knockout transition: lifted from the PEDAL QUEST app logo-mask transition. */
.pq-logo-mask-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  --pq-logo-duration: 1180ms;
}

.pq-logo-mask-transition.is-active {
  visibility: visible;
  animation: pqLogoMaskFade var(--pq-logo-duration) cubic-bezier(.22, 1, .36, 1) both;
}

.pq-logo-mask-transition__svg {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

.pq-logo-mask-transition__base {
  fill: #b2ffff;
}

.pq-logo-mask-transition__warm {
  fill: #ffdd89;
}

.pq-logo-mask-transition__rim {
  fill: none;
  stroke: rgba(255, 221, 137, .62);
  stroke-width: 10;
  stroke-linejoin: round;
  opacity: 0;
}

.pq-logo-mask-transition__hole {
  transform-box: fill-box;
  transform-origin: center;
}

.pq-logo-mask-transition__wordmark {
  position: absolute;
  left: 50%;
  bottom: max(7vh, calc(22px + env(safe-area-inset-bottom, 0px)));
  transform: translateX(-50%);
  color: rgba(14, 58, 82, 0.58);
  font-size: clamp(22px, 7vw, 52px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0;
}

.pq-logo-mask-transition.is-active .pq-logo-mask-transition__warm {
  animation: pqLogoWarmWipe var(--pq-logo-duration) cubic-bezier(.16, 1, .3, 1) both;
}

.pq-logo-mask-transition.is-active .pq-logo-mask-transition__hole {
  animation: pqLogoHoleOpen var(--pq-logo-duration) cubic-bezier(.18, .95, .24, 1) both;
}

.pq-logo-mask-transition.is-active .pq-logo-mask-transition__rim {
  animation: pqLogoRim var(--pq-logo-duration) ease-out both;
}

.pq-logo-mask-transition.is-active .pq-logo-mask-transition__wordmark {
  animation: pqLogoWordmark var(--pq-logo-duration) ease-out both;
}

@keyframes pq-screen-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pqLogoMaskFade {
  0% { opacity: 0; }
  16% { opacity: .94; }
  74% { opacity: .94; }
  100% { opacity: 0; }
}

@keyframes pqLogoWarmWipe {
  0% { transform: translateX(-18%); }
  100% { transform: translateX(230%); }
}

@keyframes pqLogoHoleOpen {
  0% { transform: scale(.46) rotate(-5deg); }
  58% { transform: scale(1.22) rotate(0deg); }
  100% { transform: scale(2.18) rotate(3deg); }
}

@keyframes pqLogoRim {
  0% { opacity: 0; stroke-width: 34; }
  34% { opacity: .52; }
  100% { opacity: 0; stroke-width: 5; }
}

@keyframes pqLogoWordmark {
  0%, 28% { opacity: 0; transform: translate(-50%, 12px); }
  56% { opacity: .48; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -10px); }
}

/* PEDAL QUEST LP v5: 実アプリ資産寄せ。明るい運動アプリの第一印象へ。 */
.pq-lp {
  --pq-bright-bg: #f8fbf8;
  --pq-bright-soft: #e6f3f5;
  --pq-bright-surface: #fffffc;
  --pq-bright-blue: #007bbb;
  --pq-bright-cyan: #59b9c6;
  --pq-bright-ink: #0e3a52;
  --pq-bright-muted: #507ea4;
  background: var(--pq-bright-bg);
}

.pq-lp .hero {
  display: block;
  position: relative;
  min-height: min(880px, calc(100vh - 12px));
  padding: clamp(88px, 13vw, 164px) clamp(20px, 6vw, 88px) clamp(84px, 11vw, 136px);
  color: var(--pq-bright-ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(131, 204, 210, 0.42), transparent 34%),
    radial-gradient(circle at 14% 82%, rgba(230, 180, 34, 0.22), transparent 30%),
    linear-gradient(145deg, #fffffc 0%, #eef9fb 48%, #d5f0f3 100%);
}

.pq-lp .hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  display: block;
  height: clamp(190px, 26vw, 300px);
  content: "";
  background:
    radial-gradient(92% 82% at 50% 100%, var(--pq-bright-bg) 0%, rgba(248, 251, 248, 0.9) 34%, rgba(248, 251, 248, 0.42) 68%, rgba(248, 251, 248, 0) 100%),
    linear-gradient(180deg, rgba(248, 251, 248, 0) 0%, rgba(248, 251, 248, 0.28) 38%, rgba(248, 251, 248, 0.86) 76%, var(--pq-bright-bg) 100%);
  pointer-events: none;
}

.pq-lp .hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.98;
  transform: scale(1.01);
  filter: saturate(1.08) brightness(1.04);
}

.pq-lp .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 252, 0.94) 0%, rgba(255, 255, 252, 0.72) 29%, rgba(230, 243, 245, 0.18) 49%, rgba(0, 123, 187, 0.02) 100%),
    radial-gradient(66% 82% at 14% 40%, rgba(255, 255, 252, 0.86), transparent 64%),
    linear-gradient(180deg, rgba(248, 251, 248, 0.02) 0%, rgba(248, 251, 248, 0.08) 42%, rgba(248, 251, 248, 0.62) 76%, rgba(248, 251, 248, 0.96) 94%, var(--pq-bright-bg) 100%);
}

.pq-lp .hero-copy {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  max-width: 580px;
  padding: 0;
  margin: 0;
}

.pq-lp .hero-title {
  max-width: 580px;
}

.pq-lp .hero .pq-app-stage[hidden] {
  display: none !important;
}

.pq-lp .hero .eyebrow {
  color: var(--pq-bright-blue);
}

.pq-lp .hero-title span {
  color: var(--pq-bright-ink);
  text-shadow: none;
}

.pq-lp .hero-title span:last-child {
  color: var(--pq-bright-blue);
}

.pq-lp .hero-lead {
  max-width: 500px;
  color: rgba(14, 58, 82, 0.76);
}

.pq-lp .microcopy {
  color: var(--pq-bright-ink);
  background: rgba(255, 255, 252, 0.72);
  border-color: rgba(0, 123, 187, 0.18);
  box-shadow: 0 12px 34px rgba(0, 123, 187, 0.12);
}

.pq-lp .intro {
  background: var(--pq-bright-bg);
}

.pq-real-app-stage {
  align-self: center;
}

.pq-real-app-stage .pq-stage-tabs button {
  color: var(--pq-bright-blue);
  background: rgba(255, 255, 252, 0.78);
  border-color: rgba(0, 123, 187, 0.16);
  box-shadow: 0 10px 28px rgba(0, 123, 187, 0.08);
}

.pq-real-app-stage .pq-stage-tabs button.is-active {
  color: #fff;
  background: var(--pq-bright-blue);
  border-color: var(--pq-bright-blue);
}

.pq-real-app-stage .pq-app-phone {
  width: min(414px, 100%);
  min-height: 706px;
  background: #f4fbfc;
  border: 9px solid #33444d;
  box-shadow: 0 34px 80px rgba(22, 94, 131, 0.2);
}

.pq-real-app-stage .pq-app-phone::before {
  background: #33444d;
}

.pq-real-app-stage .pq-app-status {
  color: rgba(14, 58, 82, 0.64);
}

.pq-real-app-stage .pq-app-screen {
  min-height: 590px;
  background: #f8fbf8;
}

.pq-real-hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: linear-gradient(150deg, #83ccd2 0%, #59b9c6 48%, #007bbb 100%);
}

.pq-load-chip {
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  color: var(--pq-bright-ink);
  background: #fffffc;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 12px 30px rgba(14, 58, 82, 0.16);
}

.pq-load-chip b {
  color: var(--pq-bright-blue);
  font-size: 25px;
  line-height: 1;
}

.pq-load-chip small {
  margin-top: -8px;
  font-size: 10px;
  font-weight: 900;
}

.pq-live-rig {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  margin: 14px 0;
}

.pq-glb-orbit,
.pq-profile-avatar {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 252, 0.95), rgba(230, 243, 245, 0.42) 46%, rgba(0, 123, 187, 0.12) 100%);
  border: 1px solid rgba(0, 123, 187, 0.14);
  border-radius: 24px;
}

.pq-glb-orbit model-viewer,
.pq-profile-avatar model-viewer {
  width: 100%;
  height: 100%;
  min-height: 148px;
  --poster-color: transparent;
}

.pq-glb-orbit span {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  color: #fff;
  background: var(--pq-bright-blue);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.pq-rider-now {
  min-width: 0;
  padding: 14px;
  background: #fffffc;
  border: 1px solid rgba(0, 123, 187, 0.12);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(22, 94, 131, 0.08);
}

.pq-rider-now small,
.pq-profile-card span,
.pq-chat-head span {
  color: var(--pq-bright-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pq-rider-now b {
  display: block;
  margin-top: 7px;
  color: var(--pq-bright-ink);
  font-size: 17px;
  line-height: 1.24;
}

.pq-rider-now p {
  margin: 6px 0 12px;
  color: var(--pq-bright-muted);
  font-size: 11px;
  font-weight: 800;
}

.pq-speed-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.pq-speed-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 5px;
  text-align: center;
  background: #e6f3f5;
  border-radius: 12px;
}

.pq-speed-row b {
  margin: 0;
  color: var(--pq-bright-blue);
  font-size: 15px;
}

.pq-speed-row small {
  color: var(--pq-bright-muted);
  font-size: 9px;
  letter-spacing: 0;
}

.pq-profile-card {
  display: grid;
  grid-template-columns: 134px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(150deg, #fffffc, #e6f3f5);
  border: 1px solid rgba(0, 123, 187, 0.14);
  border-radius: 24px;
}

.pq-profile-avatar {
  min-height: 150px;
  border-radius: 999px;
}

.pq-profile-card strong {
  display: block;
  margin-top: 6px;
  color: var(--pq-bright-ink);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pq-profile-card p {
  margin: 4px 0 0;
  color: var(--pq-bright-muted);
  font-size: 12px;
  font-weight: 800;
}

.pq-profile-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.pq-profile-metrics div {
  padding: 12px;
  background: #fffffc;
  border: 1px solid rgba(0, 123, 187, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(22, 94, 131, 0.08);
}

.pq-profile-metrics span,
.pq-profile-metrics small {
  display: block;
  color: var(--pq-bright-muted);
  font-size: 10px;
  font-weight: 900;
}

.pq-profile-metrics b {
  display: inline-block;
  margin-top: 5px;
  color: var(--pq-bright-blue);
  font-size: 23px;
  line-height: 1;
}

.pq-profile-metrics small {
  display: inline;
  margin-left: 4px;
}

.pq-profile-radar {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fffffc;
  border: 1px solid rgba(0, 123, 187, 0.12);
  border-radius: 22px;
}

.pq-profile-radar svg {
  width: 100%;
}

.pq-profile-radar polygon {
  fill: none;
  stroke: rgba(0, 123, 187, 0.18);
  stroke-width: 2;
}

.pq-profile-radar .pq-radar-fill {
  fill: rgba(89, 185, 198, 0.32);
  stroke: #007bbb;
}

.pq-profile-radar b,
.pq-profile-radar span {
  display: block;
  color: var(--pq-bright-ink);
  font-size: 12px;
  font-weight: 900;
}

.pq-profile-radar span {
  margin-top: 6px;
  color: var(--pq-bright-muted);
}

.pq-chat-head {
  padding: 18px;
  color: var(--pq-bright-ink);
  background: linear-gradient(150deg, #fffffc, #e6f3f5);
  border: 1px solid rgba(0, 123, 187, 0.14);
  border-radius: 24px;
}

.pq-chat-head strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  line-height: 1.2;
}

.pq-chat-head p {
  margin: 7px 0 0;
  color: var(--pq-bright-muted);
  font-size: 12px;
  font-weight: 800;
}

.pq-chat-thread {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.pq-chat-bubble {
  width: fit-content;
  max-width: 82%;
  padding: 10px 12px;
  background: #fffffc;
  border: 1px solid rgba(0, 123, 187, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(22, 94, 131, 0.07);
}

.pq-chat-bubble b,
.pq-chat-bubble span {
  display: block;
  font-size: 11px;
}

.pq-chat-bubble b {
  color: var(--pq-bright-blue);
  font-weight: 900;
}

.pq-chat-bubble span {
  margin-top: 3px;
  color: var(--pq-bright-ink);
  font-weight: 800;
}

.pq-chat-bubble.mine {
  justify-self: end;
  color: #fff;
  background: var(--pq-bright-blue);
}

.pq-chat-bubble.mine b,
.pq-chat-bubble.mine span {
  color: #fff;
}

.pq-chat-bubble.system {
  justify-self: center;
  color: var(--pq-bright-muted);
  background: #e6f3f5;
  box-shadow: none;
}

.pq-chat-map {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 14px;
  background:
    radial-gradient(circle at 24% 42%, #007bbb 0 5px, transparent 6px),
    radial-gradient(circle at 76% 58%, #e6b422 0 5px, transparent 6px),
    linear-gradient(135deg, #e6f3f5, #fffffc);
  border: 1px solid rgba(0, 123, 187, 0.12);
  border-radius: 22px;
}

.pq-chat-map i {
  position: absolute;
  inset: 48px 78px auto 72px;
  height: 4px;
  background: linear-gradient(90deg, #007bbb, #59b9c6, #e6b422);
  border-radius: 999px;
  transform: rotate(8deg);
}

.pq-chat-map b,
.pq-chat-map small {
  position: relative;
  display: block;
}

.pq-chat-map b {
  color: var(--pq-bright-ink);
  font-size: 14px;
}

.pq-chat-map small {
  margin-top: 58px;
  color: var(--pq-bright-muted);
  font-weight: 900;
}

.pq-chat-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 7px 8px 7px 14px;
  background: #fffffc;
  border: 1px solid rgba(0, 123, 187, 0.14);
  border-radius: 999px;
}

.pq-chat-compose span {
  color: rgba(80, 126, 164, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.pq-chat-compose b {
  padding: 8px 14px;
  color: #fff;
  background: var(--pq-bright-blue);
  border-radius: 999px;
  font-size: 12px;
}

@media (max-width: 620px) {
  .pq-live-rig,
  .pq-profile-card,
  .pq-profile-radar {
    grid-template-columns: 1fr;
  }

  .pq-glb-orbit,
  .pq-profile-avatar,
  .pq-glb-orbit model-viewer,
  .pq-profile-avatar model-viewer {
    min-height: 210px;
  }

  .pq-profile-avatar {
    border-radius: 24px;
  }
}
