html {
  --aura-accent-color: #e3001b;
  --aura-background-color-light: #f4efe8;
  --aura-font-family: "IBM Plex Sans", "Aptos", sans-serif;
}

body {
  background:
    radial-gradient(circle at top left, rgba(227, 0, 27, 0.12), transparent 32%),
    linear-gradient(180deg, #f7f2eb 0%, #efe5d7 100%);
  color: #241d18;
}

vaadin-app-layout::part(navbar) {
  background: rgba(255, 248, 241, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36, 29, 24, 0.12);
}

vaadin-app-layout::part(drawer) {
  background: linear-gradient(180deg, #fff7f1 0%, #f3e6d8 100%);
  border-right: 1px solid rgba(36, 29, 24, 0.1);
}

.app-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.app-title,
.drawer-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}

.app-subtitle,
.drawer-copy,
.drawer-footer,
.hero-copy,
.card-copy {
  color: rgba(36, 29, 24, 0.76);
  line-height: 1.55;
  margin: 0;
}

.drawer-content {
  box-sizing: border-box;
  min-height: 100%;
  padding: 1rem;
}

.drawer-intro {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 29, 24, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(118, 92, 63, 0.08);
  padding: 1rem;
}

.drawer-eyebrow,
.eyebrow,
.pill {
  align-items: center;
  background: rgba(227, 0, 27, 0.1);
  border-radius: 999px;
  color: #970015;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  text-transform: uppercase;
}

.drawer-nav {
  margin-top: 1rem;
}

.drawer-footer {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.content-view {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 1100px;
  padding: 1.25rem;
}

.hero-card,
.info-card,
.wide-card {
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(36, 29, 24, 0.1);
  border-radius: 1.5rem;
  box-shadow: 0 22px 55px rgba(118, 92, 63, 0.1);
}

.hero-card {
  padding: 1.5rem;
}

.wide-card {
  padding: 1.4rem;
}

.hero-title,
.card-title,
.section-title {
  margin: 0;
}

.hero-title {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem);
  line-height: 1.1;
  margin-top: 0.9rem;
}

.section-header {
  margin-top: 0.25rem;
}

.section-title {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.info-card {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.25rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.action-link {
  align-items: center;
  background: #241d18;
  border-radius: 999px;
  color: #fff8f1;
  display: inline-flex;
  font-weight: 700;
  padding: 0.8rem 1rem;
  text-decoration: none;
}

.action-link:hover {
  background: #e3001b;
}

.endpoint-link {
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 0.98rem;
}

.repo-tree {
  background: #1f1b18;
  border-radius: 1rem;
  color: #fff4e7;
  line-height: 1.5;
  margin: 1rem 0 0;
  overflow-x: auto;
  padding: 1rem;
}

@media (max-width: 800px) {
  .content-view {
    padding: 1rem;
  }

  .hero-card,
  .info-card,
  .wide-card {
    border-radius: 1.15rem;
  }
}
