:root {
  --bg: #0f1012;
  --bg-alt: #181a1e;
  --accent: #ffb156;
  --accent-soft: rgba(255, 177, 86, 0.15);
  --text-main: #f5f5f3;
  --text-muted: #a4a5a8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
  --shadow-sheet: 0 26px 60px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  background: radial-gradient(circle at top left, #202329 0, #0b0c0e 52%, #050506 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#app {
  width: 100vw;
  height: 100vh;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 25% 0, #ffe0a3 0, #ffb156 40%, #f5732f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #140b04;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 0 1px rgba(255, 177, 86, 0.4),
    0 12px 20px rgba(0, 0, 0, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-domain {
  font-size: 11px;
  color: var(--text-muted);
}

.layout {
  flex: 1;
  display: grid;
  grid-template-rows: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 14px;
}

.hero {
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  background: linear-gradient(145deg, #16171b 0%, #131417 36%, #181a20 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.hero-copy {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
}

.hero-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

.cta {
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: none;
  outline: none;
  background: linear-gradient(135deg, #ffb156 0%, #f5732f 100%);
  color: #140b04;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
  transform: translateY(0);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    filter 0.12s ease-out;
}

.cta:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  filter: brightness(0.97);
}

.cta-inline {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  text-align: center;
}

.panel {
  border-radius: var(--radius-lg);
  background: rgba(12, 12, 14, 0.95);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(19, 21, 26, 0.96);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.tab.active {
  background: rgba(255, 177, 86, 0.16);
  color: var(--accent);
}

.tab-panels {
  flex: 0 0 auto;
  margin-top: 2px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.pill-list li {
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(255, 177, 86, 0.22), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 8px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pill-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.pill-desc {
  font-size: 10px;
  color: var(--text-muted);
}

/* Slider */

.slider {
  flex: 1;
  margin-top: 6px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(255, 177, 86, 0.08), rgba(11, 11, 13, 0.96));
  padding: 8px 8px 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slider-track {
  display: flex;
  flex: 1;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.slide {
  min-width: 100%;
  padding: 6px 4px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 6px;
}

.slide-quote {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.4;
}

.slide-meta {
  margin: 0;
  font-size: 10px;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding-right: 2px;
  margin-top: 2px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--accent);
}

/* Overlay */

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.92));
  padding: 0 12px 12px;
}

.overlay.visible {
  display: flex;
}

.overlay-sheet {
  width: 100%;
  max-width: 480px;
  background: #101115;
  border-radius: 18px;
  box-shadow: var(--shadow-sheet);
  padding: 14px 14px 14px;
  border: 1px solid var(--border-subtle);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.23s ease-out, opacity 0.23s ease-out;
}

.overlay.visible .overlay-sheet {
  transform: translateY(0);
  opacity: 1;
}

.overlay-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  padding: 2px;
  border-radius: 999px;
  position: absolute;
  right: 20px;
  top: 18px;
  cursor: pointer;
}

.overlay h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.overlay-copy {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.overlay-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.field span {
  color: var(--text-muted);
}

.field input {
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #16171b;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-main);
  outline: none;
}

.field input::placeholder {
  color: rgba(164, 165, 168, 0.6);
}

.field input:focus {
  border-color: var(--accent);
}

/* Small screens */

@media (max-height: 640px) {
  #app {
    padding: 10px 10px 12px;
  }
  .hero h1 {
    font-size: 22px;
  }
  .hero-copy {
    font-size: 12px;
  }
  .panel {
    padding: 8px 10px 10px;
  }
}