:root {
  --bg: #fbf5ec;
  --paper: rgba(255, 252, 246, 0.9);
  --ink: #101827;
  --muted: #617087;
  --line: #ead8c5;
  --accent: #ff7a59;
  --navy: #10243f;
  --teal: #137f78;
  --shadow: 0 24px 70px rgba(50, 35, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 177, 137, 0.28), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(80, 116, 150, 0.14), transparent 28%),
    linear-gradient(135deg, #fff8ef 0%, #f8efe3 48%, #fffaf3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 60px;
}

.topbar,
.legal-card {
  border: 1px solid rgba(234, 216, 197, 0.9);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-radius: 28px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--accent), #ffb18d);
  font-weight: 900;
}

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

.brand b {
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.back-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 900;
}

.legal-card {
  margin-top: 34px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 34px;
}

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

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.lead {
  margin: 22px 0 0;
  color: #4f5f76;
  font-size: 18px;
}

.notice {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(19, 127, 120, 0.22);
  border-radius: 20px;
  color: var(--navy);
  background: rgba(19, 127, 120, 0.08);
  font-weight: 800;
  line-height: 1.65;
}

ul {
  padding-left: 20px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 620px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .back-link {
    justify-content: center;
  }
}
