/* ================= page-contact ================= */

.page-contact {
  --ct-panel: rgba(12, 36, 54, 0.72);
  --ct-chip: rgba(18, 49, 74, 0.9);
  padding-bottom: 84px;
}

/* ---------- breadcrumb ---------- */
.page-contact .breadcrumb {
  margin-top: 26px;
}
.page-contact .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate-300);
}
.page-contact .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-contact .breadcrumb li + li::before {
  content: "/";
  color: rgba(147, 167, 180, 0.5);
}
.page-contact .breadcrumb a {
  color: var(--emerald-200);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.page-contact .breadcrumb a:hover,
.page-contact .breadcrumb a:focus-visible {
  color: var(--gold-400);
  border-bottom-color: rgba(255, 201, 74, 0.6);
}
.page-contact .breadcrumb [aria-current="page"] {
  color: var(--paper-50);
}

/* ---------- intro ---------- */
.page-contact .contact-intro {
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px dashed var(--line-slate);
}
.page-contact .contact-intro h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.2vw, 52px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--paper-50);
}
.page-contact .contact-intro h1 em {
  font-style: normal;
  color: var(--gold-400);
  background: linear-gradient(transparent 70%, rgba(255, 201, 74, 0.2) 70%);
}
.page-contact .contact-intro .lede {
  margin: 18px 0 0;
  max-width: 40em;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--slate-300);
}
.page-contact .contact-intro .lede strong {
  color: var(--paper-50);
  font-weight: 700;
  box-shadow: inset 0 -0.55em 0 rgba(23, 192, 138, 0.18);
}

/* ---------- layout ---------- */
.page-contact .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 34px;
}
.page-contact .contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.page-contact .contact-main {
  display: flex;
  flex-direction: column;
  gap: 38px;
  min-width: 0;
}

@media (min-width: 920px) {
  .page-contact .contact-layout {
    grid-template-columns: 336px minmax(0, 1fr);
    gap: 50px;
    align-items: start;
  }
}

/* ---------- promise card ---------- */
.page-contact .promise-card {
  position: relative;
  border: 1px solid rgba(255, 122, 89, 0.55);
  background: rgba(255, 122, 89, 0.06);
  border-radius: var(--radius-md);
  padding: 26px 20px 20px;
}
.page-contact .promise-label {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--coral-500);
  color: #1a0906;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}
.page-contact .promise-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--paper-50);
}
.page-contact .promise-card h2 em {
  font-style: normal;
  color: var(--gold-400);
}
.page-contact .promise-card > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #c8d6df;
}
.page-contact .promise-facts {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate-300);
}
.page-contact .promise-facts li {
  position: relative;
  padding-left: 17px;
}
.page-contact .promise-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--coral-500);
  transform: rotate(45deg);
}
.page-contact .promise-facts .mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-400);
  letter-spacing: 0.02em;
}
.page-contact .promise-figure {
  margin: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 122, 89, 0.28);
  background: var(--ink-700);
  overflow: hidden;
}
.page-contact .promise-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- channel block ---------- */
.page-contact .channel-block {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--ct-panel);
  padding: 22px 20px;
}
.page-contact .channel-block h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper-50);
}
.page-contact .channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-contact .channel-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(147, 167, 180, 0.18);
}
.page-contact .channel-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.page-contact .channel-label {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--slate-300);
}
.page-contact .channel-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--emerald-200);
  word-break: break-word;
}
.page-contact .channel-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(147, 167, 180, 0.18);
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--slate-300);
}

/* ---------- form shell ---------- */
.page-contact .form-shell {
  position: relative;
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, rgba(18, 49, 74, 0.78), rgba(6, 24, 38, 0.6));
  box-shadow: 7px 7px 0 rgba(23, 192, 138, 0.14);
  padding: 26px 20px 24px;
}
.page-contact .form-head {
  margin-bottom: 24px;
}
.page-contact .form-head h2 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--paper-50);
}
.page-contact .form-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-300);
}

/* ---------- fields ---------- */
.page-contact .feedback-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-contact .field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.page-contact .field-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper-50);
}
.page-contact .field-index {
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gold-400);
}
.page-contact .field-req {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--coral-500);
}
.page-contact .field-hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate-300);
}

/* ---------- type chips ---------- */
.page-contact .type-chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.page-contact .type-chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.page-contact .type-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.page-contact .type-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(147, 167, 180, 0.32);
  background: var(--ct-chip);
  color: #c3d2dc;
  font-size: 13.5px;
  line-height: 1.5;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.page-contact .type-chip span::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(147, 167, 180, 0.6);
  transition: inherit;
}
.page-contact .type-chip:hover span {
  border-color: rgba(23, 192, 138, 0.6);
  color: var(--paper-50);
}
.page-contact .type-chip input:checked + span {
  border-color: var(--emerald-500);
  background: rgba(23, 192, 138, 0.16);
  color: var(--paper-50);
}
.page-contact .type-chip input:checked + span::before {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(23, 192, 138, 0.22);
}
.page-contact .type-chip input:focus-visible + span {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
}

/* ---------- contextual hints ---------- */
.page-contact .type-hints {
  display: flex;
  flex-direction: column;
}
.page-contact .type-hint {
  display: none;
  margin: 0;
  padding: 11px 13px;
  border-left: 2px solid var(--emerald-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(23, 192, 138, 0.09);
  font-size: 13px;
  line-height: 1.68;
  color: #c3d2dc;
}
.page-contact .type-hint a {
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 201, 74, 0.45);
}
.page-contact .type-hint a:hover {
  border-bottom-color: var(--gold-400);
}
.page-contact .feedback-form:has(input[value="device"]:checked) .type-hint--device,
.page-contact .feedback-form:has(input[value="category"]:checked) .type-hint--category,
.page-contact .feedback-form:has(input[value="version"]:checked) .type-hint--version,
.page-contact .feedback-form:has(input[value="content"]:checked) .type-hint--content {
  display: block;
}

/* ---------- inputs ---------- */
.page-contact .field-input,
.page-contact .field-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid rgba(147, 167, 180, 0.32);
  border-radius: var(--radius-sm);
  background: var(--ink-500);
  color: var(--paper-50);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.7;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.page-contact .field-textarea {
  min-height: 130px;
  resize: vertical;
}
.page-contact .field-input::placeholder,
.page-contact .field-textarea::placeholder {
  color: #6d8595;
}
.page-contact .field-input:hover,
.page-contact .field-textarea:hover {
  border-color: rgba(147, 167, 180, 0.5);
}
.page-contact .field-input:focus,
.page-contact .field-textarea:focus {
  outline: none;
  border-color: var(--coral-500);
  box-shadow: 0 0 0 2px rgba(255, 122, 89, 0.28);
}
.page-contact .field-input:user-invalid,
.page-contact .field-textarea:user-invalid {
  border-color: rgba(255, 122, 89, 0.75);
}

/* ---------- actions ---------- */
.page-contact .form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.page-contact .submit-btn {
  align-self: flex-start;
  min-width: 172px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-contact .form-consent {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-300);
}
.page-contact .form-consent a {
  color: var(--emerald-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 243, 192, 0.4);
}
.page-contact .form-consent a:hover {
  color: var(--gold-400);
  border-bottom-color: rgba(255, 201, 74, 0.6);
}

/* ---------- reply path ---------- */
.page-contact .reply-path {
  border-top: 1px dashed var(--line-slate);
  padding-top: 32px;
}
.page-contact .path-figure {
  margin: 0 0 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900));
}
.page-contact .path-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-contact .reply-path h2 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--paper-50);
}
.page-contact .path-lede {
  margin: 0;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate-300);
}
.page-contact .reply-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.page-contact .reply-step {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--ct-panel);
  padding: 18px 16px 16px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.page-contact .reply-step:hover {
  border-color: rgba(23, 192, 138, 0.55);
  transform: translateY(-2px);
}
.page-contact .step-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--gold-400);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.page-contact .reply-step h3 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper-50);
}
.page-contact .reply-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.74;
  color: var(--slate-300);
}

@media (min-width: 700px) {
  .page-contact .reply-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .page-contact .reply-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 0;
    border-top: 2px dashed rgba(255, 122, 89, 0.5);
    transform: translateY(-50%);
  }
}

/* ---------- quick exits ---------- */
.page-contact .quick-exits {
  margin-top: 46px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(12, 36, 54, 0.62);
  padding: 26px 20px;
}
.page-contact .exits-head h2 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--paper-50);
}
.page-contact .exits-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-300);
}
.page-contact .exit-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.page-contact .exit-link {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(147, 167, 180, 0.2);
  border-radius: var(--radius-sm);
  background: var(--ink-500);
  color: var(--paper-50);
  font-size: 13.5px;
  line-height: 1.6;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}
.page-contact .exit-link:hover,
.page-contact .exit-link:focus-visible {
  border-color: var(--emerald-500);
  background: rgba(23, 192, 138, 0.1);
  transform: translateY(-2px);
}
.page-contact .exit-mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--emerald-200);
}

@media (min-width: 720px) {
  .page-contact .exit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 920px) {
  .page-contact .form-shell {
    padding: 32px 30px 28px;
  }
  .page-contact .quick-exits {
    padding: 30px 28px;
    margin-top: 54px;
  }
}

@media (max-width: 420px) {
  .page-contact .form-shell {
    box-shadow: 5px 5px 0 rgba(23, 192, 138, 0.14);
  }
  .page-contact .type-chip span {
    padding: 8px 12px;
    font-size: 13px;
  }
  .page-contact .channel-value {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .reply-step,
  .page-contact .exit-link,
  .page-contact .type-chip span {
    transition: none;
  }
  .page-contact .reply-step:hover,
  .page-contact .exit-link:hover {
    transform: none;
  }
}
<<<END>>>
