:root {
  --bg: #f5efe6;
  --bg-2: #ebe1d2;
  --card: rgba(255, 255, 255, 0.7);
  --card-border: rgba(36, 28, 22, 0.12);
  --text: #1f1a17;
  --muted: #665b52;
  --accent: #b4532a;
  --accent-2: #0f766e;
  --shadow: 0 24px 80px rgba(74, 47, 31, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(180, 83, 42, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.15), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 34px;
}

.hero-copy h1,
.section-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  max-width: 12ch;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.55);
}

.eyebrow {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.lead,
.section-card p,
.hero-panel li,
.hero-panel .note,
.result-box p,
.micro-status,
.architecture p,
.bullet-list {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-link,
.secondary-link,
button {
  border-radius: 16px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-link {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #d97706);
  box-shadow: 0 14px 30px rgba(180, 83, 42, 0.28);
}

.secondary-link {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.6);
}

.hero-panel {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  border-radius: calc(var(--radius) - 4px);
  background:
    linear-gradient(180deg, rgba(31, 26, 23, 0.92), rgba(31, 26, 23, 0.8)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.hero-panel h2 {
  margin: 0 0 10px;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
}

.hero-panel li {
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel .note {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-card {
  padding: 24px;
}

.widget-card {
  background:
    radial-gradient(circle at top left, rgba(180, 83, 42, 0.08), transparent 22%),
    rgba(255, 255, 255, 0.78);
}

.widget-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(36, 28, 22, 0.1);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.widget-shell-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.widget-shell-top h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.widget-shell-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.widget-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.widget-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(36, 28, 22, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-card h2 {
  font-size: 1.25rem;
}

.badge {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--accent-2);
  white-space: nowrap;
}

.bullet-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bullet-list strong {
  color: var(--text);
}

.architecture {
  display: grid;
  gap: 12px;
}

.architecture > div,
.brand-card,
.result-box,
.feedback-box {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  padding: 14px;
}

.architecture span {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
}

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

.brand-card h3,
.result-box h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.brand-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.form-grid,
.feedback-box {
  display: grid;
  gap: 14px;
}

.widget-grid {
  gap: 18px;
  margin-top: 4px;
}

.widget-form,
.widget-result {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(36, 28, 22, 0.1);
}

.widget-header h3,
.widget-result h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.widget-header p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.widget-summary {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.widget-summary > div {
  padding-top: 12px;
  border-top: 1px solid rgba(36, 28, 22, 0.12);
}

.widget-summary strong {
  display: block;
  margin-bottom: 4px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #372e28;
}

select,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 26, 23, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  outline: none;
}

select:focus,
textarea:focus {
  border-color: rgba(180, 83, 42, 0.45);
}

button {
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: #fff;
  box-shadow: 0 14px 30px rgba(180, 83, 42, 0.24);
}

.result-box {
  margin-top: 18px;
}

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

.micro-status {
  margin-top: 12px;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .hero,
  .two-up,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section-card {
    padding: 22px;
  }

  .section-heading {
    flex-direction: column;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .widget-form,
  .widget-result {
    padding: 18px;
  }

  .widget-shell-top {
    flex-direction: column;
  }

  .widget-chip-row {
    justify-content: flex-start;
  }
}
