:root {
  color-scheme: light;
  --ink: #1b1b1f;
  --subtle: #39424e;
  --cream: #f8f5f1;
  --sunrise: #ffb347;
  --sea: #2ec4b6;
  --card: rgba(255, 255, 255, 0.76);
  --stroke: rgba(27, 27, 31, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  --radius: 28px;
  --ring-size: 132px;
  --ring-stroke: 8;
  --duration: 6s;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(255, 179, 71, 0.25), transparent 55%),
    radial-gradient(900px 650px at 85% 20%, rgba(46, 196, 182, 0.24), transparent 60%),
    radial-gradient(700px 500px at 50% 90%, rgba(35, 87, 137, 0.08), transparent 70%),
    var(--cream);
  display: grid;
  place-items: center;
  padding: 32px;
}

.stage {
  width: min(960px, 100%);
  display: grid;
  place-items: center;
}

.card {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto -30%;
  height: 220px;
  background: linear-gradient(120deg, rgba(46, 196, 182, 0.18), transparent 70%);
  filter: blur(6px);
}

.ring {
  width: var(--ring-size);
  height: var(--ring-size);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring__track,
.ring__progress {
  fill: none;
  stroke-width: var(--ring-stroke);
  r: 52;
  cx: 60;
  cy: 60;
}

.ring__track {
  stroke: var(--stroke);
}

.ring__progress {
  stroke: url(#ring-gradient);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 0.2s linear;
  filter: drop-shadow(0 8px 18px rgba(46, 196, 182, 0.45));
}

.ring__time {
  position: absolute;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--ink);
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  margin: 0 0 8px;
  color: var(--subtle);
}

h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 12px;
  line-height: 1.05;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--subtle);
  margin: 0 0 24px;
  max-width: 28rem;
}

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

.ghost {
  border: 1px solid rgba(27, 27, 31, 0.2);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  width: max-content;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(27, 27, 31, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.hint {
  font-size: 0.82rem;
  color: rgba(27, 27, 31, 0.56);
}

@media (max-width: 720px) {
  .card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ring {
    margin: 0 auto;
  }

  .actions {
    align-items: center;
  }
}
