/* Kinwyn public site. One stylesheet for every page. Tokens are the design tokens of CLAUDE.md §4. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_700Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSans_400Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/DMSans_500Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/DMSans_700Bold.ttf') format('truetype');
}

:root {
  --ground: #f5f3ff;
  --surface: #ffffff;
  --border: #ede9fe;
  --border-strong: #ddd6fe;
  --ink: #1e1b4b;
  --muted: #5c5a7a;
  --primary: #4c2ed6;
  --violet: #a855f7;
  --coral: #ff6b4a;
  --coral-ink: #e2502f;
  --peach: #ffb199;
  --peach-light: #ffd3c4;
  --blush: #ffe8e1;
  --amber: #b4610b;
  --amber-light: #fff1d6;
  --lilac: #ede9fe;
  --night: #120f33;
  --night-mid: #2a1f6e;
  --gradient-hero: linear-gradient(135deg, #4c2ed6, #a855f7);
  --gradient-warm: linear-gradient(135deg, #ff6b4a, #a855f7);
  --gradient-night: linear-gradient(135deg, #1e1b4b, #4c2ed6);
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-xxl: 28px;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--primary);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #ffffff;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

[hidden] {
  display: none !important;
}

/* Shell -------------------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: max(18px, env(safe-area-inset-top));
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}

.brand-mark {
  flex: none;
  border-radius: var(--radius-sm);
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.5px;
}

.brand-tag {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--lilac);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--lilac);
}

.site-footer {
  margin-top: 56px;
  padding: 28px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  font-weight: 700;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
  margin-left: auto;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
}

/* Type --------------------------------------------------------------------------------------- */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.display {
  font-weight: 800;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  letter-spacing: -1.5px;
  line-height: 1;
}

.title {
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.h2 {
  font-weight: 800;
  font-size: clamp(1.625rem, 5vw, 2.25rem);
}

.section-title {
  margin: 10px 4px 0;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.3px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Landing ------------------------------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 12px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-copy .lead {
  max-width: 34rem;
  font-size: 1.125rem;
}

.orb {
  position: absolute;
  top: -70px;
  right: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffb199 0%, rgba(255, 177, 153, 0) 70%);
  z-index: 0;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

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

.clip {
  overflow: hidden;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  min-width: 164px;
  padding: 8px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  text-align: left;
  line-height: 1.2;
  cursor: not-allowed;
}

.store small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.store strong {
  font-size: 1rem;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.wallet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 34px;
  background: var(--ground);
  box-shadow: 0 30px 60px rgba(76, 46, 214, 0.18);
}

.wallet-label {
  margin: 4px 6px 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.wallet-title {
  margin: 0 6px 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.balance {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-xxl);
  background: var(--gradient-night);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(76, 46, 214, 0.3);
}

.balance svg {
  flex: none;
}

.ring {
  animation: ring-fill 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ring-number {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  fill: #ffffff;
}

.ring-caption {
  font-family: var(--body);
  font-size: 12px;
  fill: #ffffff;
}

.balance p {
  margin: 0;
  font-size: 0.8125rem;
}

.balance .big {
  margin: 4px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.875rem;
  line-height: 1;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  animation: rise 0.6s ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}

.row:nth-of-type(2) {
  --i: 1;
}

.row:nth-of-type(3) {
  --i: 2;
}

.row-text {
  flex: 1;
  min-width: 0;
}

.row-text p {
  margin: 0;
}

.row-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.row-plus {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
}

.icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--lilac);
  color: var(--primary);
}

.icon.warm {
  background: var(--blush);
  color: var(--coral-ink);
}

.icon.amber {
  background: var(--amber-light);
  color: var(--amber);
}

.icon.dark {
  background: var(--ink);
  color: var(--peach-light);
}

.section {
  padding-top: 56px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 40rem;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.card h3,
.card-title {
  margin: 0;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.card p {
  margin: 0;
}

.feature {
  padding: 20px;
  gap: 12px;
}

.feature h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.feature p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.feature .fact {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--ground);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.step-number {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--primary);
}

.earn-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.earn-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  font-size: 0.9375rem;
}

.earn-list b {
  flex: none;
  color: var(--primary);
  font-size: 0.875rem;
}

.panel {
  display: grid;
  gap: 20px;
  padding: 24px 20px;
  border-radius: var(--radius-xxl);
}

.panel.night {
  background: linear-gradient(135deg, #120f33, #2a1f6e);
  color: #ffffff;
}

.panel.night .lead {
  color: #ffffff;
}

.panel.soft {
  background: var(--amber-light);
}

.panel.soft .lead {
  color: var(--ink);
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 0.9375rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--peach-light);
  box-shadow: inset 0 0 0 5px var(--coral);
}

.plan {
  padding: 20px;
  gap: 12px;
}

.plan h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.plan.featured {
  border: 0;
  background: var(--gradient-night);
  color: #ffffff;
}

.plan.featured .ticks li::before {
  background: #ffffff;
}

.plan .tag {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--lilac);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.plan.featured .tag {
  background: #ffffff;
  color: var(--primary);
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* App-style pages: invite, key holder, 404 ----------------------------------------------- */

.page {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px 2px;
}

.intro .lead {
  font-size: 0.9375rem;
}

.view .card,
.page > .card {
  animation: rise 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}

.card.hero-card {
  border: 0;
  border-radius: var(--radius-xxl);
  background: var(--gradient-night);
  color: #ffffff;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.card.hero-card .muted {
  color: #ffffff;
}

.avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
}

.card.alert {
  background: var(--blush);
  border-color: transparent;
  border-left: 6px solid var(--coral);
}

.card.wait {
  background: var(--amber-light);
  border-color: transparent;
}

.card.alert .muted,
.card.wait .muted {
  color: var(--ink);
}

.card.empty {
  align-items: center;
  text-align: center;
  padding: 26px 18px;
  border-style: dashed;
  border-color: var(--border-strong);
  border-width: 2px;
}

.badge {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--lilac);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge.urgent {
  background: var(--blush);
  color: var(--ink);
}

.changes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.changes li {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--ground);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
}

.btn.dark,
.btn.confirm {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn:hover:not(:disabled),
.btn:active:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 27, 75, 0.22);
}

.btn:disabled {
  cursor: default;
  background: var(--lilac);
  color: var(--muted);
  border-color: transparent;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  min-width: 72px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.chip:disabled {
  cursor: default;
  background: var(--lilac);
  border-color: transparent;
  color: var(--muted);
}

.human-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.human-check:not(.active) .human-check-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.human-check-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.human-check-widget {
  width: 100%;
  display: flex;
  justify-content: center;
}

.code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--ground);
  text-align: center;
}

.code {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 9vw, 2.5rem);
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--ink);
  user-select: all;
  -webkit-user-select: all;
}

.reward {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reward span {
  padding: 6px 10px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
}

.page-footer {
  padding: 6px 4px 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.page-footer p {
  margin: 0 0 4px;
}

.page-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  width: max-content;
  max-width: min(400px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.skeleton {
  min-height: 96px;
  border-color: transparent;
  background: linear-gradient(90deg, #ede9fe 25%, #f5f3ff 50%, #ede9fe 75%);
  background-size: 200% 100%;
}

.view .card.skeleton {
  animation: shimmer 1.4s linear infinite;
}

/* Legal -------------------------------------------------------------------------------------- */

.draft {
  margin: 20px 0 28px;
  padding: 18px;
  border: 2px solid var(--amber);
  border-radius: var(--radius-xl);
  background: var(--amber-light);
  color: var(--ink);
}

.draft-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.draft p {
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.draft ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.9375rem;
}

.fill {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--amber-light);
  box-shadow: inset 0 0 0 1.5px var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375em;
}

.prose {
  max-width: 44rem;
}

.prose h1 {
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 2.75rem);
  letter-spacing: -1px;
}

.prose h2 {
  margin: 36px 0 10px;
  font-weight: 800;
  font-size: 1.5rem;
}

.prose h3 {
  margin: 22px 0 6px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0;
  line-height: 1.3;
}

.prose p,
.prose ul {
  margin: 0 0 12px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose .updated {
  margin-top: 10px;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.prose table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th {
  background: var(--lilac);
}

/* Wider screens ------------------------------------------------------------------------------ */

@media (min-width: 640px) {
  .grid.two,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .earn-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel {
    padding: 36px;
  }

  .ticks.columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    padding-top: 48px;
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panel.split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
  }
}

@media (max-width: 359px) {
  .wrap {
    padding: 0 16px;
  }

  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-nav a {
    padding: 0 8px;
  }

  .balance {
    gap: 12px;
    padding: 14px;
  }
}

/* Motion ------------------------------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes ring-fill {
  from {
    stroke-dashoffset: 302;
  }
  to {
    stroke-dashoffset: 120;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

  .view .card,
  .page > .card,
  .view .card.skeleton,
  .row,
  .ring,
  .orb {
    animation: none;
  }

  .btn,
  .chip,
  .toast {
    transition: none;
  }

  .btn:hover:not(:disabled),
  .btn:active:not(:disabled) {
    transform: none;
  }
}
