:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  --bg: #000000;
  --surface: #111111;
  --surface-strong: #1b1b1b;
  --text: #f5f5f5;
  --muted: #9e9e9e;
  --accent: #fe2d08;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(224, 124, 46, 0.12), transparent 32%),
    linear-gradient(180deg, #0b0b0b 0%, #000000 100%);
  color: var(--text);
}

body {
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.hero {
  padding: 48px 24px 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-logo {
  margin-bottom: 24px;
}

.logo-image {
  max-width: 120px;
  height: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero h1,
.intro-copy h2,
.newsletter-copy h2,
.card h3,
.detail-card h2 {
  color: var(--accent);
}

.intro-section,
.newsletter-section {
  margin-top: 36px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.intro-copy h2,
.newsletter-copy h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.intro-copy p,
.newsletter-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 780px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card:first-child,
.card:nth-child(2),
.card:nth-child(3) {
  padding: 24px 24px 70px 24px;
}

.card:nth-child(n+4) {
  padding: 24px 24px 70px 24px;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(224, 124, 46, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

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

.card-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(254, 45, 8, 0.1);
  color: var(--accent);
  transition: all 0.3s ease;
  border: 1px solid rgba(254, 45, 8, 0.3);
}

.card-link:hover {
  background: rgba(254, 45, 8, 0.2);
  border-color: var(--accent);
  transform: scale(1.1);
}

.newsletter-section {
  display: grid;
  gap: 16px;
}

.newsletter-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
}

.newsletter-form input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form button {
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  background: linear-gradient(90deg, #fe2d08, #580e00);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(224, 124, 46, 0.22);
}

.form-notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.detail-panel {
  margin-top: 36px;
  min-height: 320px;
}

.site-footer {
  margin-top: 28px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer p {
  font-size: 0.85rem;
  margin: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(224, 124, 46, 0.3);
  background: rgba(224, 124, 46, 0.1);
  transform: translateY(-2px);
}

.footer-brand {
  color: var(--accent);
  font-weight: 700;
}

.footer-brand[href] {
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-brand[href]:hover {
  opacity: 0.8;
}

.detail-card {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.detail-card h2 {
  margin-top: 0;
  font-size: 2rem;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-card li {
  margin-bottom: 12px;
}

.back-button {
  display: inline-flex;
  margin-top: 24px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--text);
  padding: 14px 20px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hidden {
  display: none;
}

@media (min-width: 720px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsletter-section {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 32px 18px 28px;
  }

  .page-shell {
    padding: 18px 16px 36px;
  }

  .site-footer p {
    font-size: 0.75rem;
  }
}