:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf9;
  --ink: #181614;
  --muted: #6b625b;
  --line: rgba(24, 22, 20, 0.1);
  --accent: #d86f45;
  --accent-soft: rgba(216, 111, 69, 0.12);
  --green: #41705b;
  --shadow: 0 24px 80px rgba(36, 28, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Geist", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 111, 69, 0.12), transparent 24%),
    radial-gradient(circle at right, rgba(65, 112, 91, 0.1), transparent 26%),
    linear-gradient(180deg, #faf6f0 0%, #f3eee7 100%);
}

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

.hero-shell {
  width: min(1220px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 32px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 14px;
  font-family: "Fraunces", serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.switcher {
  position: relative;
  display: inline-block;
  min-width: 12.5ch;
  height: 1.05em;
  vertical-align: top;
  color: var(--accent);
  overflow: hidden;
}

.switcher span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(110%);
  animation: switchWords 9s infinite;
}

.switcher span:nth-child(2) {
  animation-delay: 3s;
}

.switcher span:nth-child(3) {
  animation-delay: 6s;
}

@keyframes switchWords {
  0%,
  8% {
    opacity: 0;
    transform: translateY(110%);
  }

  12%,
  28% {
    opacity: 1;
    transform: translateY(0%);
  }

  33%,
  100% {
    opacity: 0;
    transform: translateY(-110%);
  }
}

.lede {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  background: var(--ink);
  color: #fffaf5;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  display: grid;
  justify-items: end;
}

.dashboard-card {
  width: min(100%, 520px);
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(24, 22, 20, 0.08);
  border-radius: 30px;
  background: var(--surface-strong);
  box-shadow: 0 20px 60px rgba(36, 28, 23, 0.08);
}

.dashboard-top,
.streak-band,
.grid {
  display: grid;
  gap: 14px;
}

.dashboard-top {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.dashboard-top h2 {
  margin-top: 6px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(65, 112, 91, 0.12);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
}

.streak-band {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: var(--accent-soft);
}

.streak-stat strong {
  display: block;
  font-size: 1.7rem;
}

.streak-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.streak-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.streak-dots span {
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 22, 20, 0.1);
}

.streak-dots .active {
  background: var(--accent);
}

.action-card,
.mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.action-card h3,
.mini-card h3 {
  margin-top: 8px;
  font-size: 1.3rem;
}

.action-card p,
.mini-card p {
  margin-top: 8px;
  line-height: 1.55;
  color: var(--muted);
}

.progress {
  height: 8px;
  margin-top: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(24, 22, 20, 0.08);
}

.progress-bar {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #eba181 100%);
}

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

.values-section {
  margin-top: 24px;
  padding: 10px 4px 0;
}

.values-intro {
  margin-bottom: 18px;
}

.values-intro h2,
.value-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.values-intro h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

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

.value-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 48px rgba(36, 28, 23, 0.06);
}

.value-card h3 {
  margin-top: 10px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.value-card p:last-child {
  margin-top: 10px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    justify-items: stretch;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-shell {
    width: min(100vw - 20px, 1220px);
    padding: 10px 0 20px;
  }

  .hero {
    padding: 22px;
    gap: 24px;
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .lede {
    max-width: none;
    font-size: 1rem;
  }

  .grid,
  .dashboard-top,
  .streak-band {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    padding: 18px;
    border-radius: 24px;
  }
}
