:root {
  --yellow: #ffd541;
  --yellow-soft: #fff1a8;
  --black: #0d0d0d;
  --ink: #181818;
  --muted: #727272;
  --line: rgba(20, 20, 20, 0.11);
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 213, 65, 0.27), transparent 27rem),
    linear-gradient(135deg, #fffefa 0%, #f8f8f5 48%, #ffffff 100%);
  font-family: "DM Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.orb-one {
  width: 360px;
  height: 360px;
  right: -130px;
  top: -120px;
  border: 58px solid rgba(255, 213, 65, .16);
}
.orb-two {
  width: 180px;
  height: 180px;
  left: -90px;
  bottom: 4vh;
  border: 30px solid rgba(0,0,0,.035);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 72px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 210px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
}
.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255,213,65,.22);
  animation: pulse 1.8s infinite;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(42px, 8vw, 120px);
  padding: 74px 0 54px;
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(60px, 7.2vw, 112px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 800;
}
.hero h1 span {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero h1 span::after {
  content: "";
  position: absolute;
  left: -.03em;
  right: -.06em;
  bottom: .03em;
  height: .31em;
  background: var(--yellow);
  border-radius: 2px;
  z-index: -1;
  transform: rotate(-1deg);
}
.intro {
  max-width: 620px;
  margin: 30px 0 36px;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.72;
}

.progress-wrap { max-width: 570px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
  font-size: 13px;
}
.progress-meta span { color: var(--muted); }
.progress-meta strong { font-weight: 700; }
.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e9e4;
}
.progress-bar {
  height: 100%;
  width: 68%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), #ffbe18);
  box-shadow: 0 0 20px rgba(255, 213, 65, .55);
  animation: progressGlow 2.4s ease-in-out infinite alternate;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.primary-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  background: var(--black);
  box-shadow: 0 16px 34px rgba(0,0,0,.17);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}
.primary-btn svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.text-btn {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.goal-card {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: .88;
  padding: 30px;
  overflow: hidden;
  border-radius: 34px;
  color: white;
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), transparent 35%),
    #101010;
  box-shadow: 0 38px 90px rgba(0,0,0,.24);
  transform: rotate(2.2deg);
}
.goal-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: var(--yellow);
  filter: blur(2px);
  opacity: .92;
}
.goal-card-top,
.goal-card-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.goal-card-top {
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 700;
}
.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}
.target {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
  margin: 18px auto 8px;
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
}
.ring-1 { inset: 2%; }
.ring-2 { inset: 17%; border-color: rgba(255,213,65,.62); }
.ring-3 { inset: 34%; }
.target-core {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 13px rgba(255,213,65,.13), 0 0 40px rgba(255,213,65,.68);
}
.sweep {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,213,65,.0), rgba(255,213,65,.26), rgba(255,213,65,0) 25%);
  animation: rotate 4.5s linear infinite;
}
.goal-card-bottom {
  align-items: flex-end;
}
.goal-card-bottom div { display: grid; gap: 4px; }
.goal-card-bottom small {
  color: rgba(255,255,255,.47);
  letter-spacing: .15em;
}
.goal-card-bottom strong { font-size: 18px; }
.live-mark {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .15em;
}

.floating-label {
  position: absolute;
  padding: 13px 17px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 16px 35px rgba(0,0,0,.1);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 700;
  animation: float 4s ease-in-out infinite;
}
.label-one { left: 0; top: 24%; }
.label-two { right: -2%; bottom: 20%; animation-delay: -1.7s; }

footer {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #8a8a8a;
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  transform: translate(-50%, 20px);
  padding: 11px 16px;
  border-radius: 999px;
  color: white;
  background: #111;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,213,65,.19); }
  50% { box-shadow: 0 0 0 8px rgba(255,213,65,.08); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes progressGlow {
  from { filter: brightness(.97); }
  to { filter: brightness(1.08); }
}

@media (max-width: 1020px) {
  .page-shell { width: min(100% - 42px, 860px); }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }
  .hero-copy { text-align: center; }
  .intro, .progress-wrap { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .visual { min-height: 520px; }
  .goal-card { max-width: 470px; }
  .label-one { left: 4%; }
  .label-two { right: 4%; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 28px, 560px); }
  .topbar { min-height: 94px; }
  .brand img { width: 155px; height: 58px; }
  .status-pill { font-size: 0; padding: 10px; }
  .status-pill::after { content: "Updating"; font-size: 12px; }
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: clamp(52px, 16vw, 78px); }
  .intro { margin-top: 24px; font-size: 16px; }
  .visual { min-height: 430px; }
  .goal-card { padding: 23px; border-radius: 26px; }
  .floating-label { display: none; }
  footer {
    min-height: 100px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
