:root {
  --surface: #fff7f0;
  --text: #1f1b16;
  --muted: #62584d;
  --card: #ffffff;
  --ring: rgba(255, 125, 32, 0.35);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(31, 27, 22, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 12% 16%, rgba(255, 184, 118, 0.35), transparent 46%),
    radial-gradient(circle at 82% 4%, rgba(255, 149, 77, 0.3), transparent 38%),
    var(--surface);
  color: var(--text);
  line-height: 1.55;
}

body.hackair {
  --brand: #f45b1f;
  --brand-alt: #ff8f43;
  --surface: #fff5ee;
}

body.hackzon {
  --brand: #cc4e00;
  --brand-alt: #f79d2d;
  --surface: #fff8ec;
}

body.gateway {
  --brand: #d45a05;
  --brand-alt: #ff9b3d;
  --surface: #fff7ef;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 240, 0.84);
  border-bottom: 1px solid rgba(212, 140, 84, 0.2);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-alt));
  color: #fff;
  font-weight: 700;
}

.brand strong {
  font-size: 1.06rem;
}

.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: #3e362e;
  font-size: 0.94rem;
}

nav a:hover,
nav a.active {
  background: rgba(244, 91, 31, 0.12);
}

main {
  padding: 36px 0 50px;
}

.hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 238, 222, 0.94));
  border: 1px solid rgba(212, 140, 84, 0.25);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.hero-copy {
  padding: 36px;
}

.kicker {
  display: inline-block;
  background: rgba(244, 91, 31, 0.12);
  color: #8f330f;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 12px;
  line-height: 1.1;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h2 {
  margin: 0 0 10px;
}

.hero-copy p {
  color: var(--muted);
  margin: 0;
}

.hero-media {
  min-height: 290px;
  background: linear-gradient(160deg, rgba(244, 91, 31, 0.18), rgba(255, 180, 121, 0.24));
  display: grid;
  place-items: center;
  padding: 20px;
}

.hero-media svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  border: 0;
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-alt));
  color: #fff;
}

.button.ghost {
  background: rgba(244, 91, 31, 0.12);
  color: #742b0e;
}

.grid-3 {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(212, 140, 84, 0.2);
  box-shadow: 0 10px 24px rgba(31, 27, 22, 0.06);
}

.card p,
.card li {
  color: var(--muted);
}

ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.policy-callout {
  margin-top: 18px;
  border-left: 4px solid var(--brand);
  background: rgba(255, 130, 43, 0.09);
  padding: 13px 14px;
  border-radius: 12px;
}

.form-wrap {
  max-width: 760px;
}

label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(204, 122, 64, 0.4);
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid var(--ring);
  border-color: var(--brand);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.notice {
  margin-top: 10px;
  color: #7a3c1d;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(204, 122, 64, 0.2);
  padding: 12px;
}

footer {
  margin-top: 30px;
  border-top: 1px solid rgba(204, 122, 64, 0.18);
  padding: 18px 0 34px;
  color: #6c6054;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .header-row {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
