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

:root {
  --primary: #fd9a0e;
  --secondary: #ff4c4c;
  --ink: #2a1b10;
  --muted: #6e6258;
  --panel: rgba(255, 250, 245, 0.88);
  --line: rgba(42, 27, 16, 0.08);
  --background: linear-gradient(180deg, #fff8f0 0%, #fffdf9 100%);
  --shadow: 0 24px 60px rgba(104, 52, 12, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.orb-primary {
  top: -5rem;
  left: -7rem;
  width: 18rem;
  height: 18rem;
  background: var(--primary);
}

.orb-secondary {
  top: 30%;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background: var(--secondary);
}

.site-header,
.page-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 2.5rem 1.25rem 1rem;
}

.brand-stack {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-stack img {
  width: 5rem;
}

.eyebrow,
.section-label,
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow,
.section-label {
  color: var(--secondary);
  margin: 0 0 0.35rem;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
}

h1 span {
  color: var(--primary);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

p,
li,
input,
.button {
  font-size: 1rem;
}

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  display: grid;
  gap: 1.5rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  padding: 2rem;
}

.hero-kicker {
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.hero-copy {
  max-width: 68ch;
  color: var(--muted);
}

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

.feature-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 0.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #ffba52);
  color: #241000;
}

.button-secondary {
  border-color: rgba(42, 27, 16, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

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

.project-card {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(42, 27, 16, 0.08);
}

.status-badge {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(253, 154, 14, 0.14);
  color: #a35900;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  padding: 0 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.rounded-full {
  border-radius: 99999px;
}

.avatar {
  width: 8rem;
  aspect-ratio: 1;
}

.input-wrapper {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.3em 0.5em;
  display: flex;
  margin-inline: auto;
  align-items: center;
  gap: 0.2em;
  width: 180px;
}

.username-input {
  border: none;
  width: fit-content;
  font-size: 1rem;
  font-weight: 700;
  background: none;
  resize: horizontal;
  color: #333;
  overflow-x: hidden;
}

.username-input:focus {
  outline: none;
}

.input-wrapper:focus-within {
  outline: 2px solid var(--primary);
}

@media (max-width: 820px) {
  .brand-stack {
    align-items: flex-start;
  }

  .grid-two,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.5rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 1.5rem;
  }

  .brand-stack {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-stack img {
    width: 4.5rem;
  }

  .panel {
    border-radius: 22px;
    padding: 1.2rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
