@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --layout-max: 1220px;
  --bg: #070b15;
  --bg-2: #0d1424;
  --surface: #121a2d;
  --surface-2: #182339;
  --surface-3: #1e2c45;
  --text: #edf2ff;
  --text-muted: #b2bfd8;
  --text-subtle: #6b7fa3;
  --border: #2a3552;
  --border-subtle: #1e2c40;
  --gold: #c8a34d;
  --gold-bright: #e0b85a;
  --gold-soft: rgba(200, 163, 77, 0.15);
  --gold-glow: rgba(200, 163, 77, 0.08);
  --teal: #1b356d;
  --teal-soft: rgba(27, 53, 109, 0.22);
  --green: #2ecc71;
  --green-soft: rgba(46, 204, 113, 0.12);
  --shadow-sm: 0 2px 8px rgba(2, 6, 17, 0.4);
  --shadow: 0 8px 32px rgba(2, 6, 17, 0.55);
  --shadow-lg: 0 22px 50px rgba(2, 6, 17, 0.65);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-xs: 5px;
  --font-heading: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Avenir", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --transition: 0.18s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 10%, rgba(27, 53, 109, 0.44), transparent 36%),
    radial-gradient(circle at 88% 15%, rgba(200, 163, 77, 0.24), transparent 30%),
    linear-gradient(180deg, #0a1120 0%, var(--bg) 100%);
  min-height: 100vh;
}

/* ── Nav bar ── */
.site-nav {
  position: sticky;
  top: 0.8rem;
  z-index: 100;
  width: min(var(--layout-max), calc(100% - 2.5rem));
  margin: 0.8rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(9, 14, 27, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-nav__brand:hover {
  color: var(--gold);
  text-decoration: none;
}

.site-nav__brand .brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(200, 163, 77, 0.35);
  flex-shrink: 0;
}

.site-nav__actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__back,
.site-nav__link {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.4rem 0.7rem;
  background: rgba(18, 26, 45, 0.92);
  transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
}

.site-nav__back {
  font-size: 0.8rem;
}

.site-nav__back:hover,
.site-nav__link:hover {
  color: var(--gold);
  border-color: rgba(200, 163, 77, 0.3);
  text-decoration: none;
}

.site-nav__link--app {
  background: linear-gradient(135deg, var(--gold), #d4a832);
  border-color: rgba(200, 163, 77, 0.55);
  color: #070b15;
  box-shadow: 0 8px 18px rgba(200, 163, 77, 0.25);
}

.site-nav__link--app:hover {
  color: #070b15;
  border-color: rgba(224, 184, 90, 0.7);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.site-nav__back svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Container ── */
.container {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-heading);
  margin-top: 0;
  color: var(--text);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ── Page header ── */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-muted);
  margin: 0.3rem 0 0;
  font-size: 1.05rem;
}

.page-header__meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  min-height: 250px;
}

.card:hover {
  border-color: rgba(200, 163, 77, 0.4);
  box-shadow: var(--shadow), 0 0 0 1px rgba(200, 163, 77, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid rgba(200, 163, 77, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.card h2 {
  font-size: 1.14rem;
  margin: 0;
  flex: 1;
}

.card h2 a {
  color: var(--text);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--gold);
}

.card__desc {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-top: 0.35rem;
}

.card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-subtle);
}

.card__actions-secondary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.card__install-btn {
  margin-left: auto;
}

.card-copy-btn.copied {
  color: var(--green);
  border-color: rgba(46, 204, 113, 0.3);
  background: var(--green-soft);
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge--transactions {
  background: var(--teal-soft);
  color: #7eb8f7;
  border: 1px solid rgba(126, 184, 247, 0.2);
}

.badge--budgets {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.badge--version {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a832 100%);
  color: #070b15;
  box-shadow: 0 2px 12px rgba(200, 163, 77, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  box-shadow: 0 4px 20px rgba(200, 163, 77, 0.45);
  transform: translateY(-1px);
  text-decoration: none;
  color: #070b15;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(200, 163, 77, 0.3);
  text-decoration: none;
}

.btn--sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}

/* ── Panel ── */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.panel__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.panel__header h2 {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.panel__header-note {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-subtle);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.1rem 0.5rem;
}

.panel__body {
  padding: 1.25rem;
}

.panel__body--flush {
  padding: 0;
}

/* ── Hero CTA (detail page) ── */
.hero-cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(200, 163, 77, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(200, 163, 77, 0.08);
  margin-bottom: 0;
}

.hero-cta__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-cta__main {
  flex: 1;
  min-width: 260px;
}

.hero-cta__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  min-width: 190px;
}

.hero-cta__badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.hero-cta h1 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.hero-cta__summary {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.hero-cta__install {
  align-self: flex-end;
}

.hero-cta__version {
  width: 100%;
  justify-content: space-between;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.58rem;
}

.hero-cta__version label {
  color: var(--text-muted);
}

.hero-cta__version select {
  min-width: 76px;
}

.hero-cta__meta {
  margin-top: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(7, 11, 21, 0.2);
}

.hero-meta-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-meta-row:last-child {
  border-bottom: none;
}

.hero-meta-row--share {
  align-items: center;
}

.hero-meta-row__label {
  font-size: 0.77rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 112px;
}

.hero-meta-row__value {
  color: var(--text);
  font-size: 0.92rem;
  min-width: 0;
  word-break: break-all;
}

.hero-meta-row__value a {
  color: var(--gold);
}

.hero-copy-snippet {
  width: 100%;
}

.hero-cta__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ── Detail layout ── */
.detail-layout {
  display: grid;
  gap: 1.25rem;
  max-width: 960px;
}

.detail-shell {
  background: linear-gradient(180deg, rgba(18, 26, 45, 0.95), rgba(11, 18, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
}

.detail-inner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.panel--half {
  grid-column: span 1;
}

.panel--full {
  grid-column: 1 / -1;
}

#csvPreviewPanel,
#mappingPanel,
#setupNotesPanel,
#exportPanel {
  scroll-margin-top: 7rem;
}

/* ── Field rows ── */
.field-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.field-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.field-row:last-child {
  border-bottom: none;
}

.field-row__label {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 130px;
}

.field-row__value {
  font-size: 0.925rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
  word-break: break-all;
}

.field-row__value a {
  color: var(--gold);
}

.field-row__value a:hover {
  text-decoration: underline;
}

/* ── Version selector ── */
.version-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.version-selector label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

select {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  appearance: none;
  cursor: pointer;
  min-width: 80px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 163, 77, 0.15);
}

/* ── Tables ── */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-subtle);
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: var(--surface-2);
}

td {
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--surface-2);
}

/* Arrow icon in mapping table */
.mapping-arrow {
  color: var(--text-subtle);
  font-size: 0.8rem;
  padding: 0 0.25rem;
}

.mapping-tip {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  background: linear-gradient(180deg, rgba(27, 53, 109, 0.12), rgba(27, 53, 109, 0.04));
}

td code, th code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  background: var(--teal-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.1rem 0.4rem;
  color: var(--text);
}

/* ── Inline code ── */
code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: var(--teal-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.1rem 0.4rem;
  color: var(--text);
}

/* ── Share snippet ── */
.copy-snippet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
  max-width: 100%;
}

.copy-snippet code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.share-link-btn {
  flex-shrink: 0;
}

/* ── CSV Preview table ── */
.csv-preview-wrap {
  overflow-x: auto;
  border-radius: 0;
}

.csv-preview-wrap table th {
  background: var(--bg-2);
  color: var(--gold);
  font-size: 0.72rem;
}

.csv-preview-wrap table td {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.csv-empty-cell {
  color: var(--text-subtle);
  font-style: italic;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* ── Notes content (markdown) ── */
.notes-content {
  display: grid;
  gap: 0;
}

.note-block {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.note-block:last-child {
  border-bottom: none;
}

.note-block > :first-child {
  margin-top: 0;
}

.note-block > :last-child {
  margin-bottom: 0;
}

.note-block p {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
}

.readme-block h1 {
  font-size: 1.2rem;
}

.note-block h1,
.note-block h2,
.note-block h3,
.note-block h4,
.note-block h5,
.note-block h6 {
  margin: 0 0 0.45rem;
  color: var(--text);
  line-height: 1.3;
}

.note-block h1 { font-size: 1.05rem; }
.note-block h2 { font-size: 0.98rem; }
.note-block h3 { font-size: 0.92rem; }
.note-block h4,
.note-block h5,
.note-block h6 { font-size: 0.88rem; }

.note-block ul,
.note-block ol {
  margin: 0.2rem 0 0.65rem 1.1rem;
  padding: 0;
}

.note-block li {
  margin: 0.22rem 0;
}

.note-block blockquote {
  margin: 0.2rem 0 0.65rem;
  padding: 0.1rem 0 0.1rem 0.7rem;
  border-left: 2px solid rgba(200, 163, 77, 0.45);
  color: var(--text-muted);
}

.note-block .note-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.35rem 0 0.2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.note-block .note-table th,
.note-block .note-table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.note-block .note-table tr:last-child td {
  border-bottom: none;
}

.note-block a {
  color: var(--gold);
}

.note-block a:hover {
  text-decoration: underline;
}

/* ── Fenced code blocks ── */
.note-block .code-block {
  position: relative;
  background: #03060f;
  border: 1px solid rgba(200, 163, 77, 0.25);
  border-radius: var(--radius-sm);
  margin: 0.5rem 0 0.65rem;
  overflow: hidden;
}

.note-block pre {
  margin: 0;
  padding: 1rem 5rem 1rem 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--gold);
}

.note-block pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.code-copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0.45;
  transition: opacity var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}

.code-block:hover .code-copy-btn {
  opacity: 1;
}

.code-copy-btn.copied {
  opacity: 1;
  color: var(--green);
  border-color: rgba(46, 204, 113, 0.3);
  background: var(--green-soft);
}

.note-block .note-image {
  display: block;
  max-width: min(100%, 560px);
  height: auto;
  margin-top: 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ── Footer ── */
.site-footer {
  width: min(var(--layout-max), calc(100% - 2.5rem));
  margin: 0.75rem auto 2.25rem;
  display: flex;
  justify-content: flex-end;
}

/* ── Catalog JSON link ── */
.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  transition: all var(--transition);
}

.catalog-link:hover {
  color: var(--text-muted);
  border-color: var(--border);
  text-decoration: none;
  background: var(--surface);
}

.catalog-link svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 760px) {
  .site-nav {
    width: calc(100% - 1.25rem);
    padding: 0.65rem 0.75rem;
    top: 0.5rem;
    gap: 0.6rem;
  }

  .site-nav__brand {
    font-size: 0.95rem;
  }

  .site-nav__actions {
    margin-left: auto;
    justify-content: flex-end;
  }

  .site-nav__back,
  .site-nav__link {
    font-size: 0.78rem;
    padding: 0.35rem 0.58rem;
  }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .detail-inner-grid { grid-template-columns: 1fr; }
  .panel--half,
  .panel--full { grid-column: 1 / -1; }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  .detail-shell { padding: 0.8rem; }
  .hero-cta { padding: 1.25rem; }
  .hero-cta__header { flex-direction: column; align-items: stretch; }
  .hero-cta__side { align-items: stretch; min-width: 0; }
  .hero-cta__install { width: 100%; justify-content: center; align-self: stretch; }
  .hero-meta-row { flex-direction: column; gap: 0.25rem; }
  .hero-meta-row__label { min-width: unset; }
  .hero-cta h1 { font-size: 1.3rem; }
  .field-row { flex-direction: column; gap: 0.25rem; }
  .field-row__label { min-width: unset; }
  .card__actions { flex-direction: column; align-items: stretch; }
  .card__actions-secondary { justify-content: flex-start; }
  .card__install-btn { margin-left: 0; justify-content: center; }
  .site-footer { justify-content: center; margin-bottom: 1.5rem; }
}
