:root {
  --primary: #bc0100;
  --primary-soft: #ffe6e1;
  --secondary: #1b5bb8;
  --ink: #191c1e;
  --muted: #5c6368;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --line: #e6e8ea;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(25, 28, 30, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 86, 72, 0.18), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(109, 159, 255, 0.16), transparent 50%),
    radial-gradient(80% 60% at 80% 100%, rgba(255, 194, 62, 0.12), transparent 48%),
    var(--bg);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(920px, calc(100% - 2.4rem));
  margin: 0 auto;
}

header {
  padding: 1.4rem 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--secondary);
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.links a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--ink);
  background: var(--primary-soft);
  text-decoration: none;
}

main {
  padding: 3.2rem 0 4rem;
}

.hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-logo {
  width: min(168px, 42vw);
  height: auto;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 10px 22px rgba(25, 28, 30, 0.12));
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

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

.tile {
  display: block;
  color: inherit;
  padding: 1.15rem 1.2rem;
}

.tile:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
}

.tile h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 42rem;
}

.prose h1 {
  margin-bottom: 0.7rem;
}

.prose h2 {
  margin: 1.8rem 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.prose p,
.prose ul {
  color: var(--muted);
}

.notice {
  margin-top: 1.4rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--muted);
}

.check input {
  width: auto;
  margin-top: 0.2rem;
}

button {
  justify-self: start;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

footer {
  display: grid;
  gap: 0.45rem;
  padding: 0 0 2.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .nav {
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .links {
    justify-content: flex-start;
  }

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