:root {
  color-scheme: light;
  font-family: "Aptos", "Segoe UI Variable", "Noto Sans", "Noto Sans KR", "Yu Gothic UI", sans-serif;
  font-synthesis: none;
  --canvas: #eef1ee;
  --surface: #f6f7f4;
  --surface-strong: #ffffff;
  --surface-soft: #e8ece8;
  --ink: #171a18;
  --ink-soft: #343a36;
  --muted: #626962;
  --line: #d3d9d4;
  --line-strong: #b7c0b9;
  --brand: #238b5b;
  --brand-dark: #176b45;
  --brand-soft: #e9f4ee;
  --amber: #d99a3d;
  --warning-soft: #fff6e5;
  --danger: #a92d2d;
  --radius-small: 12px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 12px;
  border-radius: var(--radius-small);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.report-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 244, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 48px;
  height: 48px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 24px;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a {
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 4px;
}

.header-actions a:hover {
  color: var(--brand-dark);
}

.header-actions select {
  min-width: 184px;
  height: 46px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  outline: none;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 14px;
}

.report-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 112px;
}

.report-intro {
  max-width: 920px;
  padding-bottom: 50px;
}

.eyebrow,
.section-kicker,
.roadmap-kicker {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.report-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 720;
  line-height: 1.1;
  text-wrap: balance;
}

.intro-lead {
  max-width: 68ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.6;
  text-wrap: pretty;
}

.privacy-notice {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 34px;
  padding: 23px 28px 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--warning-soft);
}

.privacy-notice::before {
  background: var(--amber);
  content: "";
}

.privacy-notice strong {
  font-size: 18px;
}

.privacy-notice p {
  max-width: 82ch;
  margin: 5px 0 0;
  color: #6f572f;
  font-size: 15px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(290px, 0.82fr);
  align-items: start;
  gap: 28px;
}

.form-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.roadmap-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  text-wrap: balance;
}

.required-hint {
  flex: 0 0 auto;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
}

#bugReportForm {
  padding-top: 30px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 740;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  display: block;
  min-height: 112px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b928c;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.header-actions select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(35, 139, 91, 0.18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-hint,
.field-error {
  margin: 7px 2px 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: var(--danger);
  font-weight: 650;
}

.privacy-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--brand-soft);
}

.privacy-check input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--brand);
}

.privacy-check label {
  font-size: 14px;
  font-weight: 690;
  line-height: 1.55;
}

.privacy-check:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(35, 139, 91, 0.18);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 50px;
  padding: 0 21px;
  border-radius: var(--radius-small);
  font-size: 15px;
  font-weight: 760;
}

.button-primary {
  border: 1px solid var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.button-primary:hover {
  background: #105b39;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}

.button:focus-visible,
.footer-links a:focus-visible,
.header-actions a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(35, 139, 91, 0.35);
  outline-offset: 3px;
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

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

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.action-hint,
.form-status {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.form-status:not(:empty) {
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  color: var(--brand-dark);
  font-weight: 700;
}

.form-status[data-tone="error"] {
  border-left-color: var(--danger);
  color: var(--danger);
}

.form-status[data-tone="success"] {
  border-left-color: var(--brand);
  color: var(--brand-dark);
}

.roadmap-panel {
  position: sticky;
  top: 116px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #f2f5f2;
}

.roadmap-kicker {
  color: #79c89f;
}

.roadmap-panel h2 {
  color: #fff;
}

.roadmap-status {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 9px;
  border: 1px solid #69736c;
  border-radius: 8px;
  color: #c7d0c9;
  font-size: 12px;
  font-weight: 760;
}

.roadmap-item {
  margin-top: 28px;
  padding-top: 27px;
  border-top: 1px solid #434b45;
}

.roadmap-item h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
}

.roadmap-item p,
.roadmap-item li,
.roadmap-note {
  color: #bdc6bf;
  font-size: 14px;
  line-height: 1.68;
}

.roadmap-item p {
  margin: 10px 0 0;
}

.roadmap-item ul {
  margin: 19px 0 0;
  padding-left: 20px;
}

.roadmap-item li::marker {
  color: #79c89f;
}

.roadmap-item li + li {
  margin-top: 10px;
}

.roadmap-note {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid #434b45;
  color: #929d95;
  font-size: 12.5px;
}

.report-footer {
  display: grid;
  grid-template-columns: 220px minmax(360px, 1fr) 240px;
  align-items: start;
  gap: 42px;
  padding: 50px max(24px, calc((100vw - 1240px) / 2));
  background: var(--ink);
  color: #c5cdc7;
  font-size: 13px;
}

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

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand strong,
.footer-brand small,
.report-footer address strong,
.report-footer address span,
.report-footer address a {
  display: block;
}

.footer-brand strong,
.report-footer address strong {
  color: #fff;
}

.footer-brand strong {
  font-size: 20px;
}

.footer-brand small {
  margin-top: 2px;
  color: #9fa9a1;
}

.report-footer address {
  display: grid;
  gap: 5px;
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.report-footer address strong {
  margin-bottom: 2px;
  font-size: 16px;
}

.report-footer address a {
  margin-top: 4px;
  color: #79c89f;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
}

.footer-links a {
  color: #fff;
  font-size: 13px;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: #79c89f;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .report-layout {
    grid-template-columns: 1fr;
  }

  .roadmap-panel {
    position: static;
  }

  .report-footer {
    grid-template-columns: 1fr 1.7fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .report-header {
    min-height: 76px;
    padding: 11px 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 20px;
  }

  .header-actions a {
    display: none;
  }

  .header-actions select {
    min-width: 142px;
    height: 44px;
    font-size: 13px;
  }

  .report-content {
    width: min(100% - 28px, 660px);
    padding: 52px 0 76px;
  }

  .report-intro {
    padding-bottom: 38px;
  }

  .report-intro h1 {
    font-size: 40px;
  }

  .intro-lead {
    font-size: 18px;
  }

  .privacy-notice {
    margin-inline: -14px;
    padding-right: 18px;
    border-radius: 0 14px 14px 0;
  }

  .form-panel,
  .roadmap-panel {
    padding: 25px 20px;
    border-radius: 16px;
  }

  .section-heading {
    display: block;
  }

  .required-hint {
    margin-top: 12px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .form-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .report-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 18px;
  }

  .footer-links {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .header-actions select {
    min-width: 126px;
    max-width: 43vw;
  }

  .report-intro h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .roadmap-panel h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
