:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #0b0d10;
  background: #f4f3ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: #f4f3ee; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 40px, 1280px); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.logo img { display: block; width: 38px; height: 38px; object-fit: contain; }
.hero { min-height: 500px; display: flex; align-items: flex-end; padding: 112px 0 92px; background: #0b0d10; color: #fff; }
.eyebrow { margin: 0 0 20px; color: #75bee2; font-size: 13px; font-weight: 650; letter-spacing: .08em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 8vw, 80px); line-height: 1.02; font-weight: 650; letter-spacing: -.04em; }
.feedback { padding: 104px 0 120px; }
.feedback-grid { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 7fr); gap: 72px; }
.section-label { margin: 0 0 18px; color: #1874a3; font-size: 13px; font-weight: 650; letter-spacing: .08em; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 650; letter-spacing: -.035em; }
.section-note { max-width: 320px; margin: 22px 0 0; color: #5f646b; font-size: 15px; line-height: 1.7; }
.feedback-form { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid #aeb0ad; }
.feedback-form label { margin-top: 10px; font-size: 14px; font-weight: 650; }
.feedback-form input, .feedback-form textarea { width: 100%; border: 1px solid #b9bbb8; border-radius: 8px; background: #fff; color: #0b0d10; font: inherit; font-size: 16px; line-height: 1.5; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.feedback-form textarea { min-height: 190px; resize: vertical; }
.feedback-form input:focus, .feedback-form textarea:focus { border-color: #1874a3; box-shadow: 0 0 0 3px rgb(24 116 163 / 14%); outline: none; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.submit-button, .secondary-button { min-height: 46px; border: 1px solid #0b0d10; border-radius: 8px; padding: 0 22px; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.submit-button { justify-self: start; margin-top: 8px; background: #0b0d10; color: #fff; }
.secondary-button { background: transparent; color: #0b0d10; white-space: nowrap; }
.submit-button:hover, .submit-button:focus-visible { background: #1874a3; border-color: #1874a3; }
.secondary-button:hover, .secondary-button:focus-visible { color: #1874a3; border-color: #1874a3; }
.submit-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: .55; }
.form-hint, .form-status { margin: 0; font-size: 13px; line-height: 1.6; }
.form-hint { color: #6b7076; }
.form-status { min-height: 21px; color: #b42318; }
.form-status.success { color: #1874a3; }
.success-dialog { width: min(calc(100% - 32px), 460px); border: 0; border-radius: 16px; padding: 38px; background: #fff; color: #0b0d10; box-shadow: 0 24px 80px rgb(0 0 0 / 24%); text-align: center; }
.success-dialog::backdrop { background: rgb(11 13 16 / 66%); }
.success-dialog h2 { font-size: 30px; }
.success-dialog p { margin: 16px 0 26px; color: #5f646b; line-height: 1.7; }
.success-dialog .submit-button { justify-self: auto; margin: 0; }
.dialog-mark { display: grid; width: 52px; height: 52px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: #e2f3fb; color: #1874a3; font-size: 28px; font-weight: 700; }
.footer { background: #fff; }
.contact { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 7fr); gap: 72px; padding: 88px 0 92px; border-bottom: 1px solid #d6d4cd; }
.contact-label { margin: 6px 0 0; color: #1874a3; font-size: 13px; font-weight: 650; letter-spacing: .08em; }
.email { width: fit-content; max-width: 100%; font-size: clamp(28px, 5vw, 56px); line-height: 1.1; font-weight: 650; letter-spacing: -.04em; overflow-wrap: anywhere; }
.email:hover, .email:focus-visible { color: #1874a3; }
.footer-bottom { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #5f646b; font-size: 14px; }
.footer-bottom .logo { color: #0b0d10; }
.footer-meta { display: flex; align-items: center; gap: 20px; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: #0b0d10; }
:focus-visible { outline: 2px solid #1874a3; outline-offset: 3px; }
@media (max-width: 900px) {
  .feedback-grid, .contact { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 540px) {
  .wrap { width: min(100% - 32px, 1280px); }
  .logo-text { display: none; }
  .hero { min-height: 420px; padding: 96px 0 64px; }
  .feedback { padding: 72px 0 84px; }
  .feedback-grid, .contact { gap: 36px; }
  .code-row { grid-template-columns: 1fr; }
  .secondary-button { width: 100%; }
  .submit-button { width: 100%; justify-self: stretch; }
  .contact { padding: 64px 0 68px; }
  .footer-bottom { min-height: 132px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 18px; }
  .footer-meta { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
