/* ==========================================================================
   AGP — Reusable components (iOS-inspired interaction language)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-base) ease,
    background-color var(--dur-base) ease,
    border-color var(--dur-base) ease,
    color var(--dur-base) ease;
}

.btn:active,
.chip:active,
.icon-btn:active {
  transform: scale(0.96);
}

.btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn--gold {
  background: var(--gold-gradient);
  color: #15120e;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  box-shadow: 0 24px 46px -18px rgba(169, 122, 60, 0.65);
}

.btn--night {
  background: var(--night);
  color: var(--gold-200);
  box-shadow: 0 18px 40px -20px rgba(21, 18, 14, 0.7);
}

[data-theme="dark"] .btn--night {
  background: var(--gold-gradient);
  color: #15120e;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--gold-500);
  color: var(--accent);
}

.btn--on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--on-dark:hover {
  color: var(--gold-200);
}

.btn--wa {
  background: var(--wa);
  color: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.btn--lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-base) var(--ease-spring);
}

.link-arrow:hover svg,
a:hover > .link-arrow svg {
  transform: translateX(4px);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 14px 5px 14px 5px;
  background: var(--card);
  color: var(--ink);
  transition: transform var(--dur-fast) var(--ease-spring), border-color var(--dur-base) ease, background-color 0.35s ease;
}

.icon-btn:hover {
  border-color: var(--gold-500);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn--round {
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Chips & badges
   -------------------------------------------------------------------------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-spring), background-color var(--dur-base) ease, border-color var(--dur-base) ease, color var(--dur-base) ease;
}

.chip:hover {
  border-color: var(--gold-500);
  color: var(--accent-strong);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--night);
  border-color: var(--night);
  color: var(--gold-200);
}

[data-theme="dark"] .chip[aria-pressed="true"],
[data-theme="dark"] .chip.is-active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #15120e;
}

.chip svg {
  width: 16px;
  height: 16px;
}

.chip--sm {
  min-height: 34px;
  padding: 0 13px;
  font-size: 0.8rem;
}

.chip--sm svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.chip--gold {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #15120e;
}

.chip--gold svg,
.chip[aria-pressed="true"] svg {
  color: currentColor;
}

.chip--gold:hover {
  color: #15120e;
}

.chip__letter {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: -6px;
  border-radius: 8px 3px 8px 3px;
  background: var(--card-tint);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.chip[aria-pressed="true"] .chip__letter {
  background: rgba(207, 165, 101, 0.22);
  color: var(--gold-200);
}

[data-theme="dark"] .chip[aria-pressed="true"] .chip__letter {
  background: rgba(21, 18, 14, 0.18);
  color: #15120e;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: var(--gold-100);
  color: var(--gold-700);
}

[data-theme="dark"] .badge {
  background: rgba(207, 165, 101, 0.16);
  color: var(--gold-200);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge--plain::before {
  display: none;
}

.badge--warn {
  background: var(--warning-bg);
  color: var(--warning-ink);
}

.badge--night {
  background: var(--night);
  color: var(--gold-300);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-asym);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease, border-color var(--dur-base) ease, background-color 0.35s ease;
}

.card:nth-child(even) {
  border-radius: var(--r-asym-2);
}

.card--link:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 122, 60, 0.4);
  box-shadow: var(--shadow-float);
}

.card--night {
  background: var(--night-gold-glow), var(--night);
  border-color: rgba(207, 165, 101, 0.22);
  color: var(--on-night);
}

.card--night h3,
.card--night h4 {
  color: #fff;
}

.card--gold {
  background: var(--surface-gold);
  border-color: transparent;
  color: var(--ink);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: var(--r-asym-sm);
  background: var(--card-tint);
  color: var(--accent);
}

.card--night .card__icon {
  background: rgba(207, 165, 101, 0.14);
  color: var(--gold-300);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

/* Supports <span class="card__icon" data-icon> where the class lands on the svg itself. */
svg.card__icon {
  padding: 14px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

.card--night p {
  color: var(--on-night-muted);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}

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

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

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

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

.check-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 0.62em;
  border-radius: 3px 8px 3px 8px;
  background: var(--gold-gradient);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #2a1f12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .avatar {
  color: var(--gold-200);
  box-shadow: inset 0 0 0 1px rgba(207, 165, 101, 0.35);
}

.avatar--lg {
  width: 96px;
  height: 96px;
  font-size: 2.1rem;
}

.avatar--xl {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  font-size: clamp(3rem, 8vw, 4.4rem);
  border-radius: 46% 54% 42% 58% / 54% 42% 58% 46%;
}

.placeholder-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: clamp(32px, 4vw, 48px) 0 0;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

.placeholder-note::before,
.placeholder-note::after {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 104px) clamp(72px, 9vw, 128px);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.page-hero .lead {
  margin-top: 8px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--accent-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 28px 48px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 48px 14px 48px 14px;
  background: var(--night-gold-glow), var(--night);
  color: var(--on-night);
  box-shadow: var(--shadow-float);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  margin: 0;
  color: var(--on-night-muted);
}

.cta-band__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band > div:first-child {
  position: relative;
  z-index: 2;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(207, 165, 101, 0.3);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Segmented control
   -------------------------------------------------------------------------- */
.segmented {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-3);
  isolation: isolate;
}

.segmented__thumb {
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  border-radius: 999px;
  background: var(--gold-gradient);
  box-shadow: 0 4px 14px -6px rgba(94, 63, 29, 0.5);
  transition: transform var(--dur-base) var(--ease-spring), width var(--dur-base) var(--ease-ios);
}

.segmented button {
  min-width: 44px;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--dur-base) ease, transform var(--dur-fast) var(--ease-spring);
}

.segmented button:active {
  transform: scale(0.94);
}

.segmented button[aria-pressed="true"] {
  color: #15120e;
}

.segmented--block {
  display: grid;
  width: 100%;
}

.segmented--block button {
  min-height: 38px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.field__hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.input,
.textarea,
.select-trigger {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--card);
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, background-color 0.35s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.input:focus,
.textarea:focus,
.select-trigger:focus-visible {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(193, 145, 78, 0.18);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.select-trigger__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-trigger__value.is-placeholder {
  color: var(--muted);
}

.select-trigger svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.field__optional {
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.field__error {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--warning-ink);
}

.input[aria-invalid="true"] {
  border-color: var(--warning-ink);
}

.switch-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.switch-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.switch {
  position: relative;
  flex: none;
  width: 51px;
  height: 31px;
  margin: 0;
  border-radius: 999px;
  background: var(--bg-3);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color var(--dur-base) ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: transform var(--dur-base) var(--ease-spring), width var(--dur-fast) ease;
}

.switch:active::after {
  width: 32px;
}

.switch:checked {
  background: var(--gold-500);
}

.switch:checked::after {
  transform: translateX(20px);
}

.switch:checked:active::after {
  transform: translateX(15px);
}

/* --------------------------------------------------------------------------
   Accordion (native details, animated with JS height)
   -------------------------------------------------------------------------- */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px 8px 22px 8px;
  background: var(--card);
  transition: border-color var(--dur-base) ease, background-color 0.35s ease;
}

.accordion__item:nth-child(even) {
  border-radius: 8px 22px 8px 22px;
}

.accordion__item[open] {
  border-color: rgba(169, 122, 60, 0.4);
}

.accordion__summary {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__summary::after {
  content: "";
  justify-self: end;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur-base) var(--ease-spring);
}

.accordion__item[open] .accordion__summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.accordion__body {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Sheet (bottom sheet on mobile, floating panel on desktop)
   -------------------------------------------------------------------------- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet);
  background: var(--backdrop);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  opacity: 0;
  transition: opacity var(--dur-sheet) var(--ease-ios);
}

.sheet-backdrop.is-open {
  opacity: 1;
}

.sheet {
  position: fixed;
  z-index: calc(var(--z-sheet) + 1);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - var(--safe-top) - 24px);
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  background: var(--card);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform var(--dur-sheet) var(--ease-ios);
  overscroll-behavior: contain;
}

.sheet.is-open {
  transform: translateY(var(--drag, 0px));
}

.sheet:focus {
  outline: none;
}

.sheet.is-dragging {
  transition: none;
}

.sheet--tall {
  height: calc(100dvh - var(--safe-top) - 24px);
}

.sheet__grabber {
  flex: none;
  width: 100%;
  padding: 10px 0 4px;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.sheet__grabber::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--line-strong);
}

.sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: 6px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.sheet__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}

.sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 20px calc(20px + var(--safe-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sheet__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--muted);
}

.sheet__close svg {
  width: 14px;
  height: 14px;
  margin: auto;
}

@media (min-width: 861px) {
  .sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(560px, calc(100vw - 48px));
    max-height: min(760px, calc(100dvh - 64px));
    border-radius: 32px 12px 32px 12px;
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
    transition: transform var(--dur-sheet) var(--ease-ios), opacity var(--dur-base) ease;
  }

  .sheet.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .sheet--tall {
    height: min(760px, calc(100dvh - 64px));
  }

  .sheet--side {
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: min(440px, calc(100vw - 32px));
    height: auto;
    max-height: none;
    transform: translateX(calc(100% + 24px));
    opacity: 1;
  }

  .sheet--side.is-open {
    transform: none;
  }

  .sheet__grabber {
    display: none;
  }

  .sheet__header {
    padding-top: 18px;
  }
}

/* Page recedes behind an open sheet on phones, like iOS modal presentation.
   overflow-x: clip (not hidden) keeps decorative shapes from widening the
   mobile layout viewport without breaking position: sticky. */
.page {
  overflow-x: clip;
  transition: transform var(--dur-sheet) var(--ease-ios), border-radius var(--dur-sheet) var(--ease-ios), filter var(--dur-sheet) ease;
  transform-origin: 50% var(--sheet-origin, 0px);
}

@media (max-width: 860px) {
  body.has-sheet .page {
    overflow: hidden;
    border-radius: 20px;
    transform: translateY(calc(var(--safe-top) + 8px)) scale(0.94);
    filter: brightness(0.92);
  }

  body.has-sheet {
    background: #000;
  }
}

/* --------------------------------------------------------------------------
   Picker list (replaces native <select>)
   -------------------------------------------------------------------------- */
.picker-search {
  position: sticky;
  top: -20px;
  z-index: 2;
  margin: -20px -20px 12px;
  padding: 14px 20px;
  background: var(--card);
}

.picker-search .input {
  min-height: 44px;
  padding: 10px 16px 10px 42px;
  border-radius: 12px;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97a3c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center / 18px;
  border-color: transparent;
}

.picker-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
}

.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-size: 0.98rem;
  color: var(--ink);
  transition: background-color var(--dur-fast) ease;
}

.picker-list li:last-child .picker-option {
  border-bottom: 0;
}

.picker-option:active {
  background: var(--bg-3);
}

.picker-option svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--dur-fast) ease, transform var(--dur-base) var(--ease-spring);
}

.picker-option[aria-selected="true"] {
  font-weight: 700;
}

.picker-option[aria-selected="true"] svg {
  opacity: 1;
  transform: scale(1);
}

.picker-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  z-index: var(--z-toast);
  top: calc(14px + var(--safe-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transform: translate(-50%, calc(-100% - 40px));
  transition: transform var(--dur-sheet) var(--ease-spring);
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

.toast svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--success);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .cta-band__actions .btn {
    flex: 1 1 100%;
  }
}
