/* Kjøpstasten fra appen (BuyKeyStyle.swift) og nettsidens .btn-primary, på nedlastingssiden.
   Lastes ETTER welcome-vN.css og overstyrer bare knappen: avrundet oransje tast med fast
   vegg, lys fra øvre høyre. Hover: lysere og 2 px opp. Trykk: helt inn, mørkere, senket.
   Når nedlastingen har startet (.is-started) blir den en lys tast med mørk tekst. */
.download-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(225deg, #F27A52 0%, #E5421F 55%, #CF3615 100%);
  box-shadow: inset -1px 1px 0 rgba(255, 255, 255, .45), -1px 3px 0 #9B2A10, -2px 5px 8px rgba(0, 0, 0, .45);
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out;
}
.download-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(225deg, #FF9A72 0%, #F05A32 55%, #DC4220 100%);
  box-shadow: inset -1px 1px 0 rgba(255, 255, 255, .65), -1px 5px 0 #9B2A10, -3px 10px 12px rgba(0, 0, 0, .45);
}
.download-button:active, .download-button.is-pressed {
  transform: translateY(3px);
  transition-duration: 60ms;
  background: linear-gradient(225deg, #D9532B 0%, #BF3716 55%, #A52C10 100%);
  box-shadow: inset 0 2px 5px rgba(80, 18, 4, .45), 0 0 0 #9B2A10, 0 1px 2px rgba(0, 0, 0, .35);
}
.download-button:focus-visible { outline: 3px solid rgba(229, 66, 31, .45); outline-offset: 4px; }

.is-started .download-button {
  border: 0;
  color: var(--ink);
  background: linear-gradient(225deg, #FFFFFF 0%, #FAF7F2 55%, #EFE9E1 100%);
  box-shadow: inset -1px 1px 0 #fff, -1px 3px 0 #CDC3B6, -2px 5px 8px rgba(40, 30, 15, .22);
}
.is-started .download-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(225deg, #FFFFFF 0%, #FFFFFF 55%, #F5F0EA 100%);
  box-shadow: inset -1px 1px 0 #fff, -1px 5px 0 #CDC3B6, -3px 10px 12px rgba(40, 30, 15, .24);
}
.is-started .download-button:active, .is-started .download-button.is-pressed {
  transform: translateY(3px);
  background: linear-gradient(225deg, #EEE7DE 0%, #E3DACE 55%, #D8CDBF 100%);
  box-shadow: inset 0 2px 5px rgba(60, 40, 20, .28), 0 0 0 #CDC3B6, 0 1px 2px rgba(40, 30, 15, .2);
}

@media (prefers-reduced-motion: reduce) {
  .download-button:hover, .download-button:active, .download-button.is-pressed { transform: none; }
}

/* Kjøp og support nederst på siden. Kjøpstasten er en mørk tast med samme oppbygning
   som nedlastingstasten, så den oransje forblir hovedvalget øverst. */
.buy-panel {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px;
  padding: 34px 38px; margin: 6px 0 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 19px;
  box-shadow: 0 5px 17px #33270d06;
}
.buy-copy { flex: 1 1 340px; }
.buy-copy .eyebrow { margin: 0 0 10px; }
.buy-panel h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.buy-price { margin: 0 0 12px; font-size: 16px; color: var(--muted); }
.buy-amount { font-family: Gabarito, system-ui; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.buy-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 460px; }
.buy-note a { color: var(--ink); font-weight: 600; }
.buy-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 210px; padding: 17px 30px; border-radius: 999px;
  font: 700 17px Figtree, system-ui, sans-serif; text-decoration: none; color: #fff;
  background: linear-gradient(225deg, #4A443A 0%, #2A261F 55%, #1C1914 100%);
  box-shadow: inset -1px 1px 0 rgba(255, 255, 255, .22), -1px 3px 0 #0B0A08, -2px 5px 8px rgba(0, 0, 0, .35);
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out;
}
.buy-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(225deg, #5A5347 0%, #36312A 55%, #24201A 100%);
  box-shadow: inset -1px 1px 0 rgba(255, 255, 255, .3), -1px 5px 0 #0B0A08, -3px 10px 12px rgba(0, 0, 0, .35);
}
.buy-button:active {
  transform: translateY(3px); transition-duration: 60ms;
  background: linear-gradient(225deg, #2E2A23 0%, #1E1B16 55%, #14120E 100%);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .5), 0 0 0 #0B0A08, 0 1px 2px rgba(0, 0, 0, .3);
}
.buy-button:focus-visible { outline: 3px solid rgba(33, 30, 24, .4); outline-offset: 4px; }

.support-contact {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px;
  padding: 28px 38px; margin-bottom: 34px;
  background: #faf6ef; border: 1px solid var(--line); border-radius: 19px;
}
.support-contact > div { flex: 1 1 300px; }
.support-contact h2 { font-size: clamp(22px, 2.6vw, 27px); margin: 0 0 6px; font-weight: 800; }
.support-contact p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 440px; }
.support-email {
  color: #B23018; font: 600 clamp(19px, 2.6vw, 24px) Gabarito, system-ui;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere;
}
.support-email:hover { color: var(--ink); }

@media (max-width: 640px) {
  .buy-panel, .support-contact { padding: 24px 22px; }
  .buy-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .buy-button:hover, .buy-button:active { transform: none; }
}
