:root {
  color-scheme: light;
  --paper: #f7f3ed;
  --ink: #1d1c1a;
  --muted: #69645e;
  --line: rgba(29, 28, 26, 0.14);
  --accent: #b7442c;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 2%, rgba(231, 166, 141, 0.18), transparent 28rem),
    var(--paper);
}

a {
  color: inherit;
}

.legal-header,
.legal-main,
.legal-footer {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header {
  padding: 26px 0 70px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 900;
  text-decoration: none;
}

.back {
  color: var(--muted);
  font-size: 13px;
}

.legal-main {
  padding-bottom: 100px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.setup-title {
  font-size: clamp(40px, 6vw, 58px);
  letter-spacing: -0.06em;
}

.intro {
  margin: 24px 0 50px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.start-now {
  width: fit-content;
  margin: -28px 0 48px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.start-now:hover {
  filter: brightness(0.92);
}

article {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
  line-height: 1.9;
}

li + li {
  margin-top: 7px;
}

.placeholder {
  padding: 2px 6px;
  border-radius: 5px;
  color: #8a3727;
  background: rgba(183, 68, 44, 0.09);
}

.legal-footer {
  padding: 28px 0 45px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.legal-footer a {
  text-decoration: none;
}

.os-grid,
.browser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 48px;
}

.os-grid article,
.browser-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.os-grid ol {
  padding-left: 20px;
}

.os-name {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.setup-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
  text-underline-offset: 4px;
}

.support-note {
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-weight: 500;
}

.contact-form textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(183, 68, 44, 0.16);
  border-color: var(--accent);
}

.contact-submit {
  width: fit-content;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-status {
  min-height: 1.8em;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.contact-status.success {
  color: #28613d;
}

.contact-status.error {
  color: #9e2f25;
}

.launcher-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.launcher-list > div {
  display: grid;
  grid-template-columns: 100px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  color: #473c36;
  background: rgba(29, 28, 26, 0.07);
}

@media (max-width: 760px) {
  .os-grid,
  .browser-grid {
    grid-template-columns: 1fr;
  }

  .launcher-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
