:root {
  /* Palette echoes runtoram.com: warm cream page background, near-black
     ink for text, orange-red gradient for the primary accent/CTA. */
  --bg: #f9f5ef;
  --card-bg: #ffffff;
  --ink: #1c1c1c;
  --ink-muted: #6b6b6b;
  --accent-from: #fdbb2d;
  --accent-to: #f54a22;
  --accent: #f54a22;
  --radius-pill: 999px;
  --radius-card: 22px;
  --radius-hero: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.page {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Same "floating card" + curtain-reveal language as /continue and the extension popup */
.card {
  width: 100%;
  max-width: 400px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(28, 28, 28, 0.14), 0 1px 0 rgba(0, 0, 0, 0.02) inset;
  display: flex;
  flex-direction: column;
  gap: 20px;

  overflow: hidden;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transform-origin: top center;
  transform: scaleY(0.9);
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.32s ease,
              padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.card.is-open {
  max-height: 900px;
  padding-top: 24px;
  padding-bottom: 24px;
  transform: scaleY(1);
  opacity: 1;
}

.card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card__logo {
  border-radius: 50%;
}

.card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.hero {
  background: linear-gradient(135deg, var(--accent-from) 0%, var(--accent-to) 100%);
  border-radius: var(--radius-hero);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.hero__pair {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__label {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
}

.hero__arrow {
  color: #fff;
  opacity: 0.9;
  flex-shrink: 0;
}

.hero__rate {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.hero__updated {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
}

.disclaimer {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-align: center;
}

.btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn--cta {
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 74, 34, 0.35);
}

.btn--cta:hover:not(:disabled) {
  box-shadow: 0 14px 32px rgba(245, 74, 34, 0.45);
}
