/* Release page — same theme as Rates, tech-forward, business clean */

:root {
  --white: #ffffff;
  --off-white: #fbfbfb;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  --black: #0a0a0a;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Outfit', var(--font-sans);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

html {
  font-size: 115%;
  scroll-behavior: smooth;
}

body.release-page {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.release-page::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background-image:
    radial-gradient(60% 50% at 20% 10%, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0.00) 55%),
    radial-gradient(50% 45% at 85% 25%, rgba(99, 102, 241, 0.10) 0%, rgba(99, 102, 241, 0.00) 60%),
    radial-gradient(45% 40% at 55% 90%, rgba(244, 63, 94, 0.08) 0%, rgba(244, 63, 94, 0.00) 55%),
    repeating-linear-gradient(0deg, rgba(23, 23, 23, 0.035) 0px, rgba(23, 23, 23, 0.035) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(23, 23, 23, 0.03) 0px, rgba(23, 23, 23, 0.03) 1px, transparent 1px, transparent 26px);
  filter: blur(0px);
  transform: translateZ(0);
}

body.release-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 14px);
  opacity: 0.65;
  pointer-events: none;
}

/* Header */
.release-header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.release-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.release-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.release-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: multiply;
}

.release-nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.release-nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.release-nav-links a:hover {
  color: var(--black);
}

/* Layout */
.release-main {
  padding-bottom: 2rem;
}

.release-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.release-section {
  padding: 4.5rem 0;
}

.release-section-first {
  padding-top: 1.35rem;
}

.release-section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#privacy,
#purse-privacy,
#bourbon-privacy {
  scroll-margin-top: 5rem;
}

#boot-of-the-day,
#purse-of-the-day,
#bourbon-shuffle,
#guitar-safe,
#boot-of-the-day-support,
#purse-of-the-day-support,
#bourbon-shuffle-support,
#guitar-safe-support {
  scroll-margin-top: 5rem;
}

.release-app-jump-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.release-app-jump-row-end {
  justify-content: flex-end;
}

.release-app-jump-row-split {
  justify-content: space-between;
}

.release-app-jump-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
}

.release-app-jump {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.release-app-jump:hover {
  color: var(--black);
  border-bottom-color: var(--gray-800);
}

.release-section-purse {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.release-note-pill-muted {
  background: rgba(0, 0, 0, 0.42);
}

.release-note--placeholder {
  border-left-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.release-note-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.release-note-icon-svg {
  display: block;
}

.release-purse-placeholder {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.65);
}

.release-purse-placeholder a,
.release-inline-anchor {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.release-purse-placeholder a:hover,
.release-inline-anchor:hover {
  color: var(--gray-600);
}

/* Hero */
.release-hero {
  padding: 4.25rem 0 1.5rem;
}

.release-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.release-hero-apps {
  margin-bottom: 1.35rem;
}

.release-hero-apps-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin-left: 0;
  margin-right: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.release-hero-apps-grid {
  display: grid;
  grid-template-columns: repeat(8, 56px);
  grid-template-rows: 56px;
  gap: 0.65rem 1rem;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
}

.release-hero-app-slot {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.45);
  box-sizing: border-box;
}

.release-hero-app-link {
  display: block;
  width: 56px;
  height: 56px;
  line-height: 0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.release-hero-app-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.release-hero-app-link:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.release-hero-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}

.release-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.release-title {
  margin-top: 1.25rem;
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--black);
}

.release-subtitle {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.7;
  max-width: 860px;
}

.release-hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.release-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: #0a0a0a;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.release-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  background: #141414;
}

.release-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.release-cta-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

/* Typography */
.release-h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--black);
}

.release-version-title {
  margin-bottom: 1.25rem;
}

.release-version-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.release-version-header .release-version-title {
  margin-bottom: 0;
}

.release-version-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.release-lead {
  margin-top: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.7;
  max-width: 900px;
}

/* Available apps */
.release-apps {
  margin-top: 1.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  max-width: 900px;
}

.release-h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--black);
}

.release-apps-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.release-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: #0a0a0a;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.release-app-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  background: #141414;
}

/* Changelog stack (newest first) */
.release-changelog-section {
  padding-top: 3rem;
}

.release-lead-tight {
  margin-top: 0.5rem;
}

.release-app-support {
  margin-top: 1.25rem;
  max-width: 900px;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.release-app-support-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 0.65rem;
}

.release-app-support-line {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

.release-app-support-line + .release-app-support-line {
  margin-top: 0.35rem;
}

.release-app-support-link {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.release-app-support-link:hover {
  color: var(--gray-600);
}

.release-notes-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.release-note {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.release-note--latest {
  border-left: 4px solid #0a0a0a;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.9) 100%);
}

.release-note--prior {
  border-left: 4px solid rgba(0, 0, 0, 0.18);
  opacity: 0.98;
}

.release-note-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(10, 10, 10, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8125rem;
}

.release-note-pill {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #0a0a0a;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.release-note-date {
  font-variant-numeric: tabular-nums;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.02em;
}

.release-note-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
}

.release-note-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  object-fit: cover;
}

.release-note-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0;
  line-height: 1.2;
}

.release-note-ver {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(0, 0, 0, 0.88);
}

.release-note-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
}

.release-note-body {
  padding: 0 1.25rem 1.35rem;
}

.release-note-h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 1rem;
  padding-top: 0.25rem;
}

.release-note-h4-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  color: #fff;
  background: #0a0a0a;
  border-radius: 6px;
}

.release-note-subheading {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.48);
  margin: 0 0 0.85rem;
  padding-top: 0.2rem;
}

.release-note-subheading-spaced {
  margin-top: 1.35rem;
  margin-bottom: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.release-changelog-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-changelog-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.release-changelog-main {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
}

.release-changelog-detail {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.58);
}

.release-changelog-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.78);
}

.release-changelog-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.release-changelog-label {
  flex: 0 0 auto;
  min-width: 4.25rem;
  font-family: var(--font-title);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  padding-top: 0.2em;
}

.release-note--prior .release-privacy {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.25rem;
  max-width: none;
}

/* Privacy Policy */
.release-privacy {
  max-width: 720px;
  margin: 0 auto;
}

.release-privacy-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.release-privacy-title {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0;
}

.release-privacy-updated {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.02em;
}

.release-privacy-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
  margin-bottom: 2rem;
}

.release-privacy-block {
  margin-bottom: 2rem;
}

.release-privacy-block:last-of-type {
  margin-bottom: 0;
}

.release-privacy-h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 0.75rem;
}

.release-privacy-block p {
  margin: 0 0 0.75rem;
  font-size: 0.9875rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
}

.release-privacy-block p:last-child {
  margin-bottom: 0;
}

.release-privacy-block ul {
  margin: 0.5rem 0 0.75rem 1.35rem;
  padding: 0;
  list-style: disc;
}

.release-privacy-block li {
  margin-bottom: 0.4rem;
  font-size: 0.9875rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

.release-privacy-block a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.release-privacy-block a:hover {
  color: var(--gray-600);
}

/* Footer */
.release-footer {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.release-footer-text {
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}

.footer-flag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.35em;
}

.footer-flag-svg {
  display: inline-block;
  vertical-align: middle;
  height: 1.8em;
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .release-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .release-nav-links {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .release-hero {
    padding: 3.25rem 0 1.5rem;
  }
  .release-hero-inner,
  .release-container {
    padding: 0 1.5rem;
  }
  .release-section {
    padding: 3.25rem 0;
  }
  .release-section-first {
    padding-top: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
