:root {
  --bg: #f5efe4;
  --bg-accent: #d8e6db;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffdf7;
  --text: #14281d;
  --muted: #5d6d63;
  --line: rgba(20, 40, 29, 0.12);
  --primary: #d86f45;
  --primary-dark: #ab4f2c;
  --secondary: #1f6f5f;
  --warning: #b94728;
  --shadow: 0 18px 45px rgba(20, 40, 29, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 230, 219, 0.9), transparent 34%),
    radial-gradient(circle at bottom right, rgba(216, 111, 69, 0.14), transparent 28%),
    linear-gradient(135deg, var(--bg), #f9f6f0 45%, #ebf0e8);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 40, 29, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 29, 0.018) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.sub-hero,
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero,
.sub-hero {
  border-radius: 32px;
  padding: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.brand {
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

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

h1 {
  font-size: clamp(2rem, 3vw, 4rem);
  line-height: 1.05;
  max-width: 11ch;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.lead,
.muted-text,
.feedback {
  color: var(--muted);
}

.panel {
  border-radius: var(--radius);
  padding: 22px;
}

.request-panel {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(255, 255, 255, 0.9));
}

.stack-form,
.card-list,
.hero-stats,
.button-row {
  display: grid;
  gap: 14px;
}

.hero-stats {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 26px;
}

.stat-card,
.item-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: var(--surface-strong);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 40, 29, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  resize: vertical;
}

button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.primary-btn {
  background: var(--primary);
  color: #fff8f1;
}

.ghost-btn {
  background: rgba(31, 111, 95, 0.1);
  color: var(--secondary);
}

.danger-btn {
  background: rgba(185, 71, 40, 0.1);
  color: var(--warning);
}

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

.two-columns-tight {
  grid-template-columns: 0.9fr 1.1fr;
}

.double-grid,
.section-head,
.button-row,
.inline-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.double-grid > label {
  flex: 1;
}

.full-span {
  grid-column: 1 / -1;
}

.tag-row,
.inline-actions {
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(216, 111, 69, 0.12);
  color: var(--primary-dark);
  margin-right: 6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-bekliyor { background: rgba(31, 111, 95, 0.12); color: var(--secondary); }
.status-kabul-edildi { background: rgba(216, 111, 69, 0.14); color: var(--primary-dark); }
.status-yolda { background: rgba(20, 40, 29, 0.1); color: var(--text); }
.status-tamamlandi { background: rgba(93, 109, 99, 0.14); color: var(--muted); }

.item-card h3 {
  margin-bottom: 8px;
}

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

.feedback {
  min-height: 22px;
}

.success {
  color: var(--secondary);
}

.error {
  color: var(--warning);
}

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

  .section-head,
  .double-grid,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    max-width: none;
  }
}
