:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #5f6368;
  --brand: #fdd835;
  --brand-deep: #ff8f00;
  --accent: #2f5d62;
  --border: #e5e7eb;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(253, 216, 53, 0.25), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(47, 93, 98, 0.15), transparent 35%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  background: linear-gradient(95deg, #fff4b2, #fdd835);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #303030;
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(0, 0, 0, 0.08);
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 48px 0 28px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.15;
}

.lead {
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 14px 0 30px;
}

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

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

.card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.button {
  display: inline-block;
  text-decoration: none;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  background: #ef6c00;
}

.section-title {
  margin: 4px 0 10px;
}

.model-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 10px;
}

model-viewer {
  width: 100%;
  max-width: 900px;
  height: 420px;
  background: #fff7cc;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status {
  color: #9a5b00;
  font-size: 0.95rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.form-row {
  margin-bottom: 14px;
}

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

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  font: inherit;
}

.site-footer {
  margin-top: 28px;
  background: #2d2f31;
  color: #e8e8e8;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  model-viewer {
    height: 300px;
  }

  .hero {
    padding-top: 28px;
  }
}
