/* koiki corporate site — hand-authored static CSS
   Ported from the hp-sample Next.js/Tailwind prototype (v0) into plain CSS
   so the site can be published as a build-free static page on GitHub Pages. */

:root {
  --background: oklch(0.992 0.0025 95);
  --foreground: oklch(0.235 0.008 265);
  --primary: oklch(0.255 0.01 265);
  --primary-foreground: oklch(0.985 0.002 95);
  --secondary: oklch(0.965 0.003 95);
  --secondary-foreground: oklch(0.255 0.01 265);
  --muted-foreground: oklch(0.53 0.01 265);
  --border: oklch(0.912 0.004 95);
  --hairline: oklch(0.895 0.005 95);
  --ring: oklch(0.7 0.01 265);
  --accent-data: oklch(0.85 0.07 240);
  --accent-people: oklch(0.86 0.06 25);
  --accent-tech: oklch(0.88 0.07 155);

  --font-sans: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Shippori Mincho', ui-serif, Georgia, serif;

  --container-max: 72rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-feature-settings: 'palt' 1;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

.jp-wrap {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Responsive line-break helpers (mirrors Tailwind's `hidden sm:block` etc. from the source design) */
.hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: inline;
  }
}

.hidden-md {
  display: none;
}

@media (min-width: 768px) {
  .hidden-md {
    display: inline;
  }
}

.sm-only {
  display: inline;
}

@media (min-width: 640px) {
  .sm-only {
    display: none;
  }
}

.md-only {
  display: inline;
}

@media (min-width: 768px) {
  .md-only {
    display: none;
  }
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--background);
  color: var(--foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-foreground);
}

.eyebrow--center {
  text-align: center;
}

.eyebrow--on-dark {
  color: oklch(0.985 0.002 95 / 0.6);
}

/* ---------- Buttons / CTA ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.cta:hover svg {
  transform: translateX(2px);
}

.cta--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.cta--primary:hover {
  background: oklch(0.255 0.01 265 / 0.9);
}

.cta--secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.cta--secondary:hover {
  border-color: oklch(0.235 0.008 265 / 0.4);
  background: var(--secondary);
}

.cta--ghost {
  padding: 0.25rem 0;
  color: var(--foreground);
}

.cta--ghost:hover {
  color: var(--muted-foreground);
}

.cta--on-dark {
  border-color: oklch(0.985 0.002 95 / 0.25);
  color: var(--primary-foreground);
}

.cta--on-dark:hover {
  border-color: oklch(0.985 0.002 95 / 0.5);
  background: oklch(0.985 0.002 95 / 0.1);
}

.cta--inverted {
  background: var(--primary-foreground);
  color: var(--primary);
  border-color: transparent;
}

.cta--inverted:hover {
  background: oklch(0.985 0.002 95 / 0.9);
}

.cta--full {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: oklch(0.992 0.0025 95 / 0.85);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    height: 5rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
  border-radius: 2px;
}

.brand svg {
  width: 1.5rem;
  height: 1.5rem;
}

.brand__mark {
  width: 2.125rem;
  height: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--foreground);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--secondary);
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-toggle .icon-close {
  display: none;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--background);
}

.mobile-nav .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav ul a {
  display: block;
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--foreground);
}

.mobile-nav ul a:hover {
  background: var(--secondary);
}

.mobile-nav .cta {
  margin-top: 1.5rem;
}

body.nav-open .mobile-nav {
  display: block;
}

body.nav-open .menu-toggle .icon-menu {
  display: none;
}

body.nav-open .menu-toggle .icon-close {
  display: inline-flex;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: block;
  }
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Sections (generic) ---------- */

section {
  position: relative;
}

.section--hairline {
  border-top: 1px solid var(--hairline);
}

.section--soft {
  background: oklch(0.965 0.003 95 / 0.5);
}

.section--dark {
  background: var(--primary);
  color: var(--primary-foreground);
}

.text-muted {
  color: var(--muted-foreground);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0 9rem;
  }
}

.hero__visual {
  pointer-events: none;
  position: absolute;
  right: -6rem;
  top: -4rem;
  width: min(78vw, 300px);
  height: min(78vw, 300px);
  opacity: 0.32;
}

@media (min-width: 480px) {
  .hero__visual {
    width: 420px;
    height: 420px;
    opacity: 0.7;
  }
}

@media (min-width: 768px) {
  .hero__visual {
    right: 0;
    top: 1rem;
    width: 620px;
    height: 620px;
    opacity: 1;
  }
}

.hero__content {
  position: relative;
  max-width: 48rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.25rem;
    line-height: 1.32;
  }
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero__product-name {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .hero__product-name {
    font-size: 1.25rem;
  }
}

.hero .tagline {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .hero .tagline {
    font-size: 1.25rem;
  }
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.koiki-rise {
  animation: koiki-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.koiki-drift {
  animation: koiki-drift 14s ease-in-out infinite;
}

@keyframes koiki-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -1.2%, 0) rotate(0.4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .koiki-rise,
  .koiki-drift {
    animation: none;
  }
}

/* ---------- Problem ---------- */

.problem {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .problem {
    padding: 8rem 0;
  }
}

.problem .container {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .problem .container {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
  .problem__aside {
    grid-column: span 4;
  }
  .problem__main {
    grid-column: span 8;
  }
}

.problem__motif {
  display: none;
  margin-top: 2.5rem;
  max-width: 240px;
}

@media (min-width: 768px) {
  .problem__motif {
    display: block;
  }
}

.problem h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .problem h2 {
    font-size: 2.25rem;
  }
}

.problem__body {
  margin-top: 2.5rem;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .problem__body {
    font-size: 1.125rem;
  }
}

/* ---------- Possibility ---------- */

.possibility {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

@media (min-width: 768px) {
  .possibility {
    padding: 10rem 0;
  }
}

.possibility__inner {
  max-width: 48rem;
  margin: 0 auto;
}

.possibility__motif {
  width: 14rem;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .possibility__motif {
    width: 18rem;
    margin-bottom: 5rem;
  }
}

.possibility h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .possibility h2 {
    font-size: 2.25rem;
  }
}

/* ---------- Multiplication ---------- */

.multiplication {
  padding: 8rem 0;
}

@media (min-width: 768px) {
  .multiplication {
    padding: 13rem 0;
  }
}

.multiplication__intro {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.multiplication__stage {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .multiplication__stage {
    margin-top: 4rem;
    position: relative;
    flex-direction: row;
    justify-content: center;
    min-height: 20rem;
  }
}

.multiplication__motif-wrap {
  width: 16rem;
}

@media (min-width: 640px) {
  .multiplication__motif-wrap {
    width: 20rem;
  }
}

@media (min-width: 768px) {
  .multiplication__motif-wrap {
    position: absolute;
    left: 68%;
    top: 58%;
    transform: translate(-50%, -50%);
    width: 34rem;
    opacity: 0.28;
    pointer-events: none;
  }
}

.multiplication__motif {
  width: 100%;
}

.multiplication__equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

@media (min-width: 768px) {
  .multiplication__equation {
    position: relative;
    z-index: 1;
  }
}

.multiplication__equation .word {
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.multiplication__equation .times {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--accent-data);
}

.multiplication__equation .arrow {
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .multiplication__equation .word {
    font-size: 3.75rem;
  }
  .multiplication__equation .times {
    font-size: 3.75rem;
  }
  .multiplication__equation .arrow {
    font-size: 3rem;
  }
}

.multiplication__lead {
  margin: 2rem auto 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .multiplication__lead {
    font-size: 1.125rem;
  }
}

.multiplication__examples {
  margin: 4rem auto 0;
  max-width: 48rem;
  display: grid;
  gap: 0 3.5rem;
}

@media (min-width: 640px) {
  .multiplication__examples {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .multiplication__examples {
    margin-top: 5rem;
  }
}

.multiplication__examples li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 0;
}

.multiplication__examples .pair {
  font-size: 1rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .multiplication__examples .pair {
    font-size: 1.125rem;
  }
}

.multiplication__examples .pair .times {
  margin: 0 0.5rem;
  font-weight: 300;
  color: var(--muted-foreground);
}

.overlap-glyph {
  position: relative;
  display: inline-block;
  width: 2.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.overlap-glyph span {
  position: absolute;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 5px;
  mix-blend-mode: multiply;
}

.overlap-glyph span:first-child {
  left: 0;
}

.overlap-glyph span:last-child {
  right: 0;
}

/* ---------- ConnectCapsule ---------- */

.connectcapsule {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .connectcapsule {
    padding: 9rem 0;
  }
}

.connectcapsule__intro {
  max-width: 48rem;
}

.connectcapsule__heading {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.connectcapsule h2 {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .connectcapsule h2 {
    font-size: 3rem;
  }
}

.connectcapsule__tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.985 0.002 95 / 0.3);
  align-self: flex-end;
  margin-bottom: 0.15rem;
}

.connectcapsule__lead {
  margin-top: 2rem;
  font-size: 1.25rem;
  line-height: 1.6;
  color: oklch(0.985 0.002 95 / 0.9);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .connectcapsule__lead {
    font-size: 1.5rem;
  }
}

.connectcapsule__ideas {
  position: relative;
  margin-top: 4rem;
}

.connectcapsule__ideas-line {
  display: none;
}

@media (min-width: 768px) {
  .connectcapsule__ideas-line {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 7px;
    height: 1px;
    background: oklch(0.985 0.002 95 / 0.15);
  }
}

.connectcapsule__ideas ol {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .connectcapsule__ideas ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .connectcapsule__ideas li {
    padding-top: 2.25rem;
    position: relative;
  }
}

.connectcapsule__dot {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .connectcapsule__dot {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }
}

.connectcapsule__idea-meta {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(0.985 0.002 95 / 0.4);
}

.connectcapsule h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .connectcapsule h3 {
    font-size: 1.25rem;
  }
}

.connectcapsule__idea-body {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(0.985 0.002 95 / 0.7);
}

@media (min-width: 768px) {
  .connectcapsule__idea-body {
    font-size: 1rem;
  }
}

.connectcapsule__note {
  margin-top: 3.5rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(0.985 0.002 95 / 0.6);
}

@media (min-width: 768px) {
  .connectcapsule__note {
    font-size: 1rem;
  }
}

.connectcapsule .cta {
  margin-top: 3rem;
}

/* ---------- Solutions ---------- */

.solutions {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .solutions {
    padding: 9rem 0;
  }
}

.solutions .container {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .solutions .container {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
  .solutions__aside {
    grid-column: span 4;
  }
  .solutions__main {
    grid-column: span 8;
  }
}

.solutions h2 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .solutions h2 {
    font-size: 1.875rem;
  }
}

.solutions__aside p {
  margin-top: 1.5rem;
  max-width: 20rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.solutions__voices {
  position: relative;
}

.solutions__spine {
  display: none;
}

@media (min-width: 768px) {
  .solutions__spine {
    display: block;
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    bottom: 1.5rem;
    width: 1px;
    background: var(--hairline);
  }
}

.solutions__voices ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.solutions__voices li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.solutions__voices .dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.solutions__voices .voice-text {
  font-size: 1.125rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .solutions__voices .voice-text {
    font-size: 1.25rem;
  }
}

.solutions__voices .line {
  display: none;
}

@media (min-width: 768px) {
  .solutions__voices .line {
    display: block;
    margin-left: auto;
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, var(--hairline));
  }
}

.solutions__closing {
  margin-top: 2rem;
  border-top: 1px solid var(--hairline);
  padding-top: 2.5rem;
}

.solutions__closing p {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .solutions__closing p {
    font-size: 1.125rem;
  }
}

.solutions__closing .statement {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--foreground);
  max-width: none;
}

@media (min-width: 768px) {
  .solutions__closing .statement {
    font-size: 1.5rem;
  }
}

.solutions__closing .statement .dash {
  display: none;
  width: 2rem;
  height: 1px;
  background: oklch(0.235 0.008 265 / 0.4);
}

@media (min-width: 640px) {
  .solutions__closing .statement .dash {
    display: block;
  }
}

.solutions__closing .cta {
  margin-top: 2.5rem;
}

/* ---------- Assessment ---------- */

.assessment {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .assessment {
    padding: 8rem 0;
  }
}

.assessment__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.assessment h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .assessment h2 {
    font-size: 1.875rem;
  }
}

.assessment p {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .assessment p {
    font-size: 1.125rem;
  }
}

.assessment__scale {
  margin: 2.5rem auto 0;
  max-width: 20rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assessment__scale span {
  height: 0.375rem;
  border-radius: 999px;
  background: var(--border);
}

.assessment .cta-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ---------- Thinking ---------- */

.thinking {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .thinking {
    padding: 9rem 0;
  }
}

.thinking__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.thinking h2 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .thinking h2 {
    font-size: 1.875rem;
  }
}

.thinking__grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--hairline);
}

@media (min-width: 768px) {
  .thinking__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.thinking__grid li {
  background: var(--background);
}

.thinking__grid a {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.75rem;
  transition: background-color 0.3s ease;
}

.thinking__grid a:hover {
  background: oklch(0.965 0.003 95 / 0.6);
}

.thinking__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .thinking__title {
    font-size: 1.125rem;
  }
}

.thinking__title svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.thinking__grid a:hover .thinking__title svg {
  transform: translate(2px, -2px);
}

/* ---------- About ---------- */

.about {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

@media (min-width: 768px) {
  .about {
    padding: 10rem 0;
  }
}

.about__visual {
  pointer-events: none;
  position: absolute;
  left: -5rem;
  bottom: 0;
  width: 360px;
  height: 360px;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .about__visual {
    width: 460px;
    height: 460px;
  }
}

.about__inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about__quote {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .about__quote {
    font-size: 3rem;
    line-height: 1.55;
  }
}

.about__body {
  margin: 2.5rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .about__body {
    font-size: 1.125rem;
  }
}

.about .cta-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ---------- Company info ---------- */

.company-info {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .company-info {
    padding: 8rem 0;
  }
}

.company-info__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.company-info table {
  margin-top: 2rem;
  width: 100%;
  border-collapse: collapse;
}

.company-info tr {
  border-bottom: 1px solid var(--hairline);
}

.company-info tr:last-child {
  border-bottom: none;
}

.company-info td,
.company-info th {
  padding: 1rem 0;
  vertical-align: top;
}

.company-info th {
  width: 7.5rem;
  padding-right: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.company-info td {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--foreground);
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 7rem 0;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 10rem 0;
  }
}

.final-cta__inner {
  max-width: 48rem;
}

.final-cta h2 {
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .final-cta h2 {
    font-size: 3rem;
    line-height: 1.4;
  }
}

.final-cta p {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: oklch(0.985 0.002 95 / 0.8);
}

@media (min-width: 768px) {
  .final-cta p {
    font-size: 1.25rem;
  }
}

.final-cta .cta {
  margin-top: 3rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 4rem 0 5rem;
}

.site-footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .site-footer__brand {
    grid-column: span 5;
  }
  .site-footer__columns {
    grid-column: span 7;
  }
}

.site-footer__brand p {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.footer-brand__mark {
  width: 2.125rem;
  height: auto;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer__columns h3 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.site-footer__columns ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__columns a {
  font-size: 0.875rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.site-footer__columns a:hover {
  color: var(--muted-foreground);
}

.site-footer__bottom {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* =========================================================
   ConnectCapsule page — page-specific additions only.
   Reuses Home's tokens, .hero, .eyebrow, .cta, .container,
   section--* utilities, jp-wrap, koiki-rise/koiki-drift as-is.
   ========================================================= */

/* ---------- Hero (mobile-only refinement) ----------
   Home's shared .hero__visual rules (base, 480px+, 768px+) are
   untouched. This page's 5-line H1 is taller than Home's, so on
   narrow phones only, the decorative visual is scaled down, faded
   further, and nudged further into the corner so it no longer
   crosses the main character strokes. */

@media (max-width: 479px) {
  .hero--cc .hero__visual {
    width: min(56vw, 210px);
    height: min(56vw, 210px);
    opacity: 0.16;
    right: -7rem;
    top: -5rem;
  }
}

/* ---------- Hero (product name / tagline split) ----------
   ConnectCapsule's Hero separates the product name from its
   description (Home's Hero keeps its original single tagline).
   Scoped to .hero--cc only; Home's .hero .tagline is untouched. */

.hero--cc .tagline {
  margin-top: 0.5rem;
}

/* ---------- Cycle ---------- */

.cc-cycle {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .cc-cycle {
    padding: 9rem 0;
  }
}

.cc-cycle__statement {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .cc-cycle__statement {
    font-size: 2.25rem;
  }
}

.cc-cycle__flow {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 34rem;
}

@media (min-width: 768px) {
  .cc-cycle__flow {
    margin-top: 5rem;
    max-width: 42rem;
  }
}

.cc-cycle__flow-visual {
  display: none;
}

@media (min-width: 768px) {
  .cc-cycle__flow-visual {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 28rem;
    opacity: 0.7;
    pointer-events: none;
  }
}

.cc-cycle__flow-visual svg {
  width: 100%;
}

.cc-cycle__stages {
  display: flex;
  flex-direction: column;
}

.cc-cycle__stage {
  position: relative;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
}

.cc-cycle__stage:first-child {
  border-top: none;
}

@media (min-width: 768px) {
  .cc-cycle__stages {
    position: relative;
    z-index: 1;
  }

  .cc-cycle__stage {
    padding: 2rem 0;
  }

  .cc-cycle__stage:nth-child(2) {
    margin-left: 3rem;
  }

  .cc-cycle__stage:nth-child(3) {
    margin-left: 1.25rem;
  }

  .cc-cycle__stage:nth-child(4) {
    margin-left: 4.5rem;
  }
}

.cc-cycle__dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.cc-cycle__stage h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.cc-cycle__stage p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 26rem;
}

@media (min-width: 768px) {
  .cc-cycle__stage h3 {
    font-size: 1.375rem;
  }

  .cc-cycle__stage p {
    margin-top: 0.625rem;
    font-size: 1.0625rem;
  }
}

.cc-cycle__loop {
  margin: 3.5rem auto 0;
  max-width: 30rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .cc-cycle__loop {
    margin-top: 5rem;
    font-size: 1.125rem;
  }
}

/* ---------- Human & AI ---------- */

.cc-ai {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .cc-ai {
    padding: 9rem 0;
  }
}

.cc-ai__statement {
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-ai__statement {
    font-size: 2.5rem;
  }
}

.cc-ai__lead {
  margin: 1rem auto 0;
  max-width: 26rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .cc-ai__lead {
    font-size: 1.125rem;
  }
}

.cc-ai__stages {
  margin: 2.25rem auto 0;
  max-width: 26rem;
}

@media (min-width: 768px) {
  .cc-ai__stages {
    max-width: 32rem;
    margin-top: 2.75rem;
  }
}

.cc-ai__stage {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.875rem;
  row-gap: 0.125rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--hairline);
}

.cc-ai__stage:first-child {
  border-top: none;
}

.cc-ai__dot {
  display: inline-block;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 999px;
  align-self: center;
}

.cc-ai__stage-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  min-width: 4.5rem;
}

@media (min-width: 768px) {
  .cc-ai__stage-name {
    font-size: 0.875rem;
  }
}

.cc-ai__stage-role {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .cc-ai__stage-role {
    font-size: 0.8125rem;
  }
}

.cc-ai__recommend {
  margin: 4rem auto 0;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .cc-ai__recommend {
    max-width: 48rem;
    flex-direction: row;
    gap: 4rem;
    margin-top: 6rem;
  }
}

.cc-ai__recommend-item {
  flex: 1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.cc-ai__recommend-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}

.cc-ai__recommend-quote {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-ai__recommend-quote {
    font-size: 1rem;
  }
}

.cc-ai__closing {
  margin: 4rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-ai__closing {
    margin-top: 5rem;
    font-size: 1.5rem;
  }
}

.cc-ai__closing-dash {
  display: none;
  width: 2rem;
  height: 1px;
  background: oklch(0.235 0.008 265 / 0.4);
}

@media (min-width: 640px) {
  .cc-ai__closing-dash {
    display: block;
  }
}

/* ---------- Existing environment ---------- */

.cc-existing {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .cc-existing {
    padding: 8rem 0;
  }
}

.cc-existing__statement {
  margin: 1.5rem auto 0;
  max-width: 30rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-existing__statement {
    font-size: 2.5rem;
  }
}

.cc-existing__lead {
  margin: 1.5rem auto 0;
  max-width: 26rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .cc-existing__lead {
    font-size: 1.125rem;
  }
}

.cc-existing__points {
  margin: 3rem auto 0;
  max-width: 30rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-existing__points {
    max-width: 36rem;
    margin-top: 4rem;
    font-size: 1.125rem;
  }
}

.cc-existing__bridge {
  margin: 3rem auto 0;
  max-width: 24rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .cc-existing__bridge {
    margin-top: 4rem;
    font-size: 1rem;
  }
}

/* ---------- Technical Architecture ---------- */

.cc-architecture {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .cc-architecture {
    padding: 9rem 0;
  }
}

.cc-architecture__statement {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-architecture__statement {
    font-size: 2rem;
  }
}

.cc-architecture__diagram {
  position: relative;
  margin: 4rem auto 0;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .cc-architecture__diagram {
    max-width: 30rem;
    margin-top: 5.5rem;
    gap: 3.5rem;
  }
}

.cc-architecture__spine {
  position: absolute;
  left: 50%;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--hairline);
  transform: translateX(-50%);
}

.cc-architecture__tier {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--background);
}

@media (min-width: 768px) {
  .cc-architecture__tier {
    padding: 1rem 0;
  }
}

.cc-architecture__tier-label {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .cc-architecture__tier-label {
    font-size: 1.0625rem;
  }
}

.cc-architecture__tier-items {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-architecture__tier-items {
    margin-top: 0.625rem;
    font-size: 1.1875rem;
    line-height: 1.8;
  }
}

.cc-architecture__tier--center .cc-architecture__tier-label {
  color: var(--foreground);
  font-size: 1.0625rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .cc-architecture__tier--center .cc-architecture__tier-label {
    font-size: 1.375rem;
  }
}

.cc-architecture__dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: var(--accent-tech);
}

@media (min-width: 768px) {
  .cc-architecture__dot {
    width: 0.625rem;
    height: 0.625rem;
    margin-bottom: 0.625rem;
  }
}

/* ---------- Capabilities ---------- */

.cc-capabilities {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .cc-capabilities {
    padding: 8rem 0;
  }
}

.cc-capabilities__statement {
  margin: 1.5rem auto 0;
  max-width: 26rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-capabilities__statement {
    font-size: 2rem;
  }
}

.cc-capabilities__inner {
  margin: 3rem auto 0;
  max-width: 44rem;
}

@media (min-width: 768px) {
  .cc-capabilities__inner {
    margin-top: 4rem;
    max-width: 52rem;
  }
}

.cc-capabilities table {
  width: 100%;
  border-collapse: collapse;
}

.cc-capabilities tr {
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.cc-capabilities tr:last-child {
  border-bottom: none;
}

.cc-capabilities th,
.cc-capabilities td {
  display: block;
  width: auto;
  padding: 0;
  text-align: left;
  vertical-align: top;
}

.cc-capabilities th {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted-foreground);
}

.cc-capabilities td {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-capabilities tr {
    display: table-row;
    padding: 0;
  }

  .cc-capabilities th,
  .cc-capabilities td {
    display: table-cell;
    padding: 1.5rem 0;
  }

  .cc-capabilities th {
    width: 9rem;
    margin-bottom: 0;
    padding-right: 2rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .cc-capabilities td {
    font-size: 1rem;
    line-height: 1.9;
  }
}

/* ---------- FAQ ---------- */

.cc-faq {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .cc-faq {
    padding: 8rem 0;
  }
}

.cc-faq__statement {
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cc-faq__statement {
    font-size: 2rem;
  }
}

.cc-faq__list {
  margin: 3rem auto 0;
  max-width: 40rem;
}

@media (min-width: 768px) {
  .cc-faq__list {
    margin-top: 4rem;
    max-width: 46rem;
  }
}

.cc-faq__item {
  border-bottom: 1px solid var(--hairline);
}

.cc-faq__item:first-child {
  border-top: 1px solid var(--hairline);
}

.cc-faq__question {
  position: relative;
  display: block;
  padding: 1.25rem 2.75rem 1.25rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}

.cc-faq__question::-webkit-details-marker {
  display: none;
}

.cc-faq__question::after {
  content: "+";
  position: absolute;
  top: 1.25rem;
  right: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.cc-faq__item[open] .cc-faq__question::after {
  content: "\2212";
}

@media (min-width: 768px) {
  .cc-faq__question {
    padding-top: 1.5rem;
    padding-right: 2rem;
    padding-bottom: 1.5rem;
    font-size: 1.0625rem;
  }

  .cc-faq__question::after {
    top: 1.5rem;
  }
}

.cc-faq__answer {
  padding: 0 2rem 1.5rem 0;
  max-width: 34rem;
}

.cc-faq__answer p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.cc-faq__answer p + p {
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .cc-faq__answer {
    padding-bottom: 2rem;
    max-width: 38rem;
  }

  .cc-faq__answer p {
    font-size: 1rem;
  }
}

/* =========================================================
   New pages (Solutions / About / Contact / Assessment /
   Privacy / Terms) — skeleton-phase additions only.
   Reuses Home/ConnectCapsule's tokens, .hero, .eyebrow, .cta,
   .container, section--* utilities, .company-info, .final-cta,
   jp-wrap as-is. Home/ConnectCapsule v1 styles above are
   unchanged.
   ========================================================= */

/* ---------- Shared statement block (Solutions / About / Assessment) ---------- */

.solutions-approach {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .solutions-approach {
    padding: 8rem 0;
  }
}

.solutions-approach__statement {
  margin: 1.5rem auto 0;
  max-width: 32rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .solutions-approach__statement {
    font-size: 2rem;
  }
}

.solutions-approach__body {
  margin: 1.5rem auto 0;
  max-width: 32rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .solutions-approach__body {
    font-size: 1.125rem;
  }
}

.solutions-tech__link {
  margin-top: 2rem;
  text-align: center;
}

/* ---------- Solutions: Support list ---------- */

.solutions-support {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .solutions-support {
    padding: 8rem 0;
  }
}

.solutions-support__statement {
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .solutions-support__statement {
    font-size: 2rem;
  }
}

.solutions-support__lead {
  margin: 1.5rem auto 0;
  max-width: 30rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .solutions-support__lead {
    font-size: 1.125rem;
  }
}

.solutions-support__list {
  margin: 3rem auto 0;
  max-width: 26rem;
  display: grid;
  grid-template-columns: 1fr;
}

.solutions-support__list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--foreground);
  text-align: left;
}

@media (min-width: 768px) {
  .solutions-support__list {
    max-width: 44rem;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  .solutions-support__list li {
    font-size: 1rem;
  }
}

.solutions-support__closing {
  margin: 3rem auto 0;
  max-width: 30rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .solutions-support__closing {
    font-size: 1.125rem;
  }
}

/* ---------- Assessment: intro meta / start ---------- */

.assessment-meta {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
}

.assessment-start {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* ---------- Assessment: quiz ---------- */

.assessment-quiz {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .assessment-quiz {
    padding: 8rem 0;
  }
}

.assessment-quiz__inner {
  max-width: 34rem;
  margin: 0 auto;
}

.assessment-quiz__stage {
  outline: none;
}

.assessment-quiz__progress {
  text-align: center;
}

.assessment-quiz__progress-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.assessment-quiz__progress-track {
  margin: 0.75rem auto 0;
  max-width: 12rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--hairline);
  overflow: hidden;
}

.assessment-quiz__progress-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--foreground);
  transition: width 0.3s ease;
}

.assessment-quiz__step {
  margin-top: 2.5rem;
  text-align: center;
  border: 0;
}

.assessment-quiz__question {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .assessment-quiz__question {
    font-size: 1.5rem;
  }
}

.assessment-quiz__options {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.assessment-quiz__option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.assessment-quiz__option:hover {
  border-color: oklch(0.235 0.008 265 / 0.3);
}

.assessment-quiz__option:has(input:checked) {
  border-color: var(--foreground);
  background: var(--secondary);
}

.assessment-quiz__option:has(input:focus-visible) {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.assessment-quiz__option input {
  margin-top: 0.1875rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--foreground);
}

.assessment-quiz__option-score {
  min-width: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.assessment-quiz__option-text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .assessment-quiz__option-text {
    font-size: 1rem;
  }
}

.assessment-quiz__nav {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

button.cta {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button.cta--ghost {
  background: none;
}

button.cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- Assessment: results ---------- */

.assessment-results {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .assessment-results {
    padding: 8rem 0;
  }
}

.assessment-results__inner {
  max-width: 34rem;
  margin: 0 auto;
}

.assessment-results__block {
  margin-top: 3.5rem;
}

.assessment-dimensions {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
}

.assessment-dimension {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.assessment-dimension:first-child {
  border-top: 1px solid var(--hairline);
}

.assessment-dimension__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.assessment-dimension__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
}

.assessment-dimension__score {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.assessment-dimension__track {
  margin-top: 0.625rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--hairline);
  overflow: hidden;
}

.assessment-dimension__bar {
  height: 100%;
  border-radius: 999px;
  background: var(--foreground);
}

.assessment-dimension__label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.assessment-improvements {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.assessment-improvement {
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.assessment-improvement:first-child {
  padding-top: 0;
  border-top: none;
}

.assessment-improvement__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.assessment-improvement__body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.assessment-improvement__next {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.assessment-improvement__next-label {
  color: var(--muted-foreground);
}

.assessment-support {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.assessment-support__item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.assessment-support__item:first-child {
  padding-top: 0;
  border-top: none;
}

.assessment-support__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.assessment-support__body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.assessment-support__item .cta {
  margin-top: 1rem;
}

.assessment-share__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.assessment-share__status {
  margin-top: 1rem;
  min-height: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Contact: email ---------- */

.contact-email {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .contact-email {
    padding: 8rem 0;
  }
}

.contact-email__inner {
  max-width: 28rem;
}

.contact-email__heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.contact-email__address {
  margin-top: 1.5rem;
}

.contact-email__address a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.contact-email .cta {
  margin-top: 2rem;
}

/* ---------- Privacy / Terms: legal body scaffold ---------- */

.legal-body-section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .legal-body-section {
    padding: 4rem 0;
  }
}

.legal-body-section:empty,
.legal-body-section:has(.legal-body:empty) {
  padding: 0;
  border-top: none;
}

.legal-body {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-body h2 {
  margin-top: 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--foreground);
}

.legal-body ul {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-body li {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--foreground);
}

.legal-body li:first-child {
  margin-top: 0;
}

.legal-body li + p,
.legal-body ul + p {
  margin-top: 1.5rem;
}

.legal-body a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
