.cooperation-page,
.about-positioning-page {
  background: var(--paper);
  color: var(--ink);
}

.public-page-header {
  position: relative;
  inset: auto;
  height: 76px;
  animation: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.public-page-header .brand-logo {
  filter: none;
}

.public-page-header .nav a,
.public-page-header .header-login {
  color: var(--ink);
}

.public-page-header .nav a::after {
  background: var(--ink);
}

.public-page-header .header-toolbox {
  background: var(--ink);
  color: #fff;
}

.public-page-header .menu-toggle {
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
}

.public-page-header .mobile-nav {
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.public-main {
  overflow: clip;
}

.public-hero {
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
}

.public-hero__eyebrow,
.public-section__eyebrow {
  margin: 0;
  color: #0000008c;
  font-size: 13px;
}

.public-hero h1 {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.public-hero h2 {
  max-width: 720px;
  margin: 30px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.public-hero__lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: #000000a3;
  font-size: 16px;
  line-height: 1.8;
}

.public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.public-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.public-button--primary {
  background: var(--ink);
  color: #fff;
}

.public-button:hover,
.public-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.public-button--primary:hover,
.public-button--primary:focus-visible {
  background: var(--accent);
  color: #fff;
}

.public-section {
  padding: 88px 0;
}

.public-section--muted {
  background: #efefec;
}

.public-section__heading {
  max-width: 760px;
}

.public-section__heading h2 {
  margin: 14px 0 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.public-section__heading > p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: #0000009c;
  line-height: 1.75;
}

.cooperation-paths {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.cooperation-path {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 26px;
}

.cooperation-path.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 3px 0 var(--accent);
}

.cooperation-path__label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.cooperation-path h3 {
  margin: 18px 0 0;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.cooperation-path p {
  margin: 16px 0 0;
  color: #0000009e;
  font-size: 14px;
  line-height: 1.75;
}

.cooperation-path__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #000000a8;
  font-size: 13px;
}

.cooperation-path .public-button {
  align-self: flex-start;
  margin-top: 24px;
}

.direct-contact {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.direct-contact__qr {
  justify-self: start;
}

.direct-contact__qr-frame {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.direct-contact__qr-frame img {
  width: 139%;
  max-width: none;
  height: auto;
  transform: translate(-13.4%, -25.8%);
  user-select: auto;
  -webkit-user-drag: auto;
  -webkit-touch-callout: default;
}

.direct-contact__details h3 {
  margin: 0;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.direct-contact__details > p {
  max-width: 630px;
  margin: 16px 0 0;
  color: #0000009e;
  line-height: 1.75;
}

.contact-records {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-record {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.contact-record span {
  color: #00000073;
  font-size: 12px;
}

.contact-record strong,
.contact-record a {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.direct-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.direct-contact__status {
  min-height: 22px;
  margin: 14px 0 0;
  color: #126a45;
  font-size: 13px;
}

.callback-shell {
  padding-top: 0;
}

.callback-details {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.callback-details > summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 22px;
}

.callback-details > summary::-webkit-details-marker {
  display: none;
}

.callback-details > summary::after {
  content: "+";
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border: 1px solid #0000004d;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 400;
}

.callback-details[open] > summary::after {
  content: "−";
}

.callback-form {
  max-width: 820px;
  padding: 10px 0 42px;
}

.callback-form__intro {
  max-width: 650px;
  margin: 0 0 28px;
  color: #0000008c;
  font-size: 14px;
  line-height: 1.7;
}

.callback-form__grid {
  display: grid;
  gap: 20px;
}

.callback-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.callback-field label small {
  color: #00000073;
  font-weight: 400;
}

.callback-field input,
.callback-field select,
.callback-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #00000042;
  border-radius: 4px;
  background: #fff;
  padding: 11px 13px;
  color: var(--ink);
  font: inherit;
}

.callback-field textarea {
  min-height: 112px;
  resize: vertical;
}

.callback-field input:focus,
.callback-field select:focus,
.callback-field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid #2b6bff24;
  outline-offset: 1px;
}

.callback-field [aria-invalid="true"] {
  border-color: #a73434;
}

.callback-error {
  min-height: 18px;
  margin: 5px 0 0;
  color: #a73434;
  font-size: 12px;
}

.callback-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 22px;
  color: #000000a3;
  font-size: 13px;
  line-height: 1.65;
}

.callback-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.callback-consent a {
  border-bottom: 1px solid currentColor;
}

.callback-form__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.callback-form__actions .public-button {
  min-width: 150px;
}

.callback-form__actions .public-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.callback-submit-status {
  margin: 0;
  color: #0000008c;
  font-size: 13px;
}

.callback-success {
  border-top: 1px solid var(--accent);
  margin-top: 28px;
  padding: 24px 0 0;
}

.callback-success h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 400;
}

.callback-success p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #0000009c;
  line-height: 1.7;
}

.cooperation-process {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.cooperation-process article {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.cooperation-process article:last-child {
  border-bottom: 0;
}

.cooperation-process span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.cooperation-process h3 {
  margin: 24px 0 0;
  font-size: 25px;
  font-weight: 400;
}

.cooperation-process p {
  max-width: 350px;
  margin: 12px 0 0;
  color: #0000009e;
  font-size: 14px;
  line-height: 1.75;
}

.cooperation-boundary {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

.cooperation-boundary p {
  max-width: 900px;
  margin: 0;
  color: #000000a3;
  font-size: 14px;
  line-height: 1.8;
}

.about-positioning-hero {
  padding: 104px 0 96px;
  border-bottom: 1px solid var(--line);
}

.about-positioning-hero h1 {
  max-width: 980px;
  margin: 18px 0 0;
  font-size: clamp(50px, 7vw, 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.about-positioning-hero__lead {
  max-width: 880px;
  margin: 30px 0 0;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.about-capabilities {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.about-capability {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.about-capability:last-child {
  border-bottom: 0;
}

.about-capability h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 400;
}

.about-capability p {
  max-width: 360px;
  margin: 14px 0 0;
  color: #0000009e;
  font-size: 14px;
  line-height: 1.75;
}

.about-capability a {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 1px solid;
  font-size: 13px;
}

.about-project-band {
  background: var(--ink);
  color: #fff;
}

.about-project-band .public-section__eyebrow,
.about-project-band .public-section__heading > p:last-child {
  color: #ffffffa8;
}

.about-project-band .public-button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

@media (min-width: 810px) {
  .public-page-header {
    height: 88px;
  }

  .public-hero {
    padding: 72px 0 64px;
  }

  .public-section {
    padding: 80px 0;
  }

  .cooperation-paths,
  .cooperation-process,
  .about-capabilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cooperation-path {
    min-height: 340px;
  }

  .direct-contact {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 70px;
  }

  .callback-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .callback-field--wide {
    grid-column: 1 / -1;
  }

  .cooperation-process article,
  .about-capability {
    min-height: 210px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 30px;
  }

  .cooperation-process article:first-child,
  .about-capability:first-child {
    padding-left: 0;
  }

  .cooperation-process article:last-child,
  .about-capability:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 809px) {
  .public-hero,
  .public-section,
  .about-positioning-hero {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .cooperation-path {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .public-hero h1,
  .about-positioning-hero h1 {
    font-size: 43px;
    line-height: 1.08;
  }

  .public-hero h2 {
    font-size: 27px;
  }

  .public-hero__lead {
    font-size: 15px;
  }

  .public-actions,
  .direct-contact__actions,
  .callback-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-button {
    width: 100%;
  }

  .direct-contact__qr,
  .direct-contact__qr-frame {
    width: min(100%, 280px);
  }

  .contact-record {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .callback-details > summary {
    font-size: 18px;
    line-height: 1.4;
  }

  .cooperation-path {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
