/* =========================================================================
   AZIËL — Faith-identity exploration layer
   Sits on top of aziel.css. Adds subtle Christian motifs while keeping the
   exact same premium, minimal design language. Nothing here changes the
   core system — it only adds a quiet layer beneath it.
   ========================================================================= */

:root {
  /* A whisper of candlelight, used only for "light" — never as a UI colour */
  --light: #D8B66A;
  --light-glow: rgba(216, 182, 106, .22);
}

/* ── Cross mark — a thin, geometric Latin cross (reads as detail, not symbol) ── */
.cross {
  position: relative; display: inline-block;
  width: .62em; height: .82em; vertical-align: middle; color: currentColor;
}
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { left: 50%; top: 0; width: 1.6px; height: 100%; transform: translateX(-50%); }
.cross::after  { top: 34%; left: 0; width: 100%; height: 1.6px; transform: translateY(-50%); }
.cross.ember { color: var(--ember); }

/* Eyebrow accent becomes a small cross instead of the round dot.
   Covers both an explicit .cross-dot and every existing .eyebrow .dot,
   so flow pages inherit the motif just by linking this stylesheet. */
.eyebrow .cross-dot, .eyebrow .dot {
  position: relative; width: 8px; height: 11px; display: inline-block;
  background: none !important; border-radius: 0 !important;
}
.eyebrow .cross-dot::before, .eyebrow .cross-dot::after,
.eyebrow .dot::before, .eyebrow .dot::after { content: ""; position: absolute; background: var(--ember); }
.eyebrow .cross-dot::before, .eyebrow .dot::before { left: 50%; top: 0; width: 1.6px; height: 100%; transform: translateX(-50%); }
.eyebrow .cross-dot::after,  .eyebrow .dot::after  { top: 34%; left: 0; width: 100%; height: 1.6px; transform: translateY(-50%); }

/* Candlelight wash for dark cards/sections — add class "candlelit" */
.candlelit { position: relative; overflow: hidden; }
.candlelit > * { position: relative; z-index: 1; }
.candlelit::before {
  content: ""; position: absolute; top: -45%; left: 50%; transform: translateX(-50%);
  width: 120%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(216,182,106,.15), transparent 64%);
}

/* ── Quiet verse / credo ─────────────────────────────────────────────────── */
.verse {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: var(--step-2); line-height: 1.32; letter-spacing: -.01em; color: var(--ink);
}
.ink-section .verse { color: var(--on-dark); }
.verse cite {
  display: block; margin-top: 1.4rem; font-family: var(--font-sans); font-style: normal;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.ink-section .verse cite { color: var(--on-dark-mut); }
.verse cite .cross { margin-right: .5em; color: var(--ember); }

/* ── Light / halo ────────────────────────────────────────────────────────── */
.halo {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--light-glow), transparent 68%);
  filter: blur(6px);
}
/* Rays of light behind a focal element */
.rays { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* ── Sacred arch (Concept 02) — rounded Romanesque top, premium read ──────── */
.arch-top { border-radius: 999px 999px 0 0 / 46% 46% 0 0; overflow: hidden; }
.arch-card {
  border: 1px solid var(--line); background: var(--paper-card);
  border-radius: 999px 999px var(--r) var(--r) / 30% 30% 0 0;
  padding: clamp(1.8rem, 1.2rem + 2vw, 2.6rem) clamp(1.5rem, 1rem + 2vw, 2.2rem) clamp(1.5rem, 1rem + 2vw, 2.2rem);
  text-align: center; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.arch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.arch-card .feature-icon { margin-inline: auto; }

/* Arched media frame for the hero visual */
.arch-frame {
  position: relative; height: 100%; min-height: min(64vh, 540px);
  border-radius: 999px 999px var(--r-lg) var(--r-lg) / 34% 34% 0 0;
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 90% at 50% 8%, var(--paper-2), var(--paper-3) 62%, #d6cdb7 100%);
}
@media (max-width: 940px){ .arch-frame { min-height: 0; aspect-ratio: 3/4; } }
.arch-frame .halo { width: 70%; aspect-ratio: 1; top: -14%; left: 15%; }

/* Thin engraved arch line, used as a quiet divider */
.arch-rule { display: block; width: 64px; height: 32px; margin: 0 auto;
  border: 1.5px solid var(--line-strong); border-bottom: 0;
  border-radius: 999px 999px 0 0 / 100% 100% 0 0; }
.ink-section .arch-rule { border-color: var(--ink-line); }

/* ── Values row ──────────────────────────────────────────────────────────── */
.value .k {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ember); margin-bottom: .7rem;
}

/* Subtle illuminated initial for storytelling */
.illuminate::first-letter {
  font-family: var(--font-serif); font-style: italic; font-size: 3.1em;
  line-height: .8; float: left; padding: .05em .12em 0 0; color: var(--ember);
}

/* Concept badge (for review only — remove before production) */
.concept-tag {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 300; background: var(--ink); color: var(--paper);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .04em;
  padding: .6rem 1.1rem; border-radius: 100px; box-shadow: var(--shadow);
  display: inline-flex; align-items: center; gap: .6rem;
}
.concept-tag a { color: var(--paper); opacity: .6; }
.concept-tag a:hover { opacity: 1; }
.concept-tag .sep { width: 1px; height: 14px; background: var(--ink-line); }



/* Navbar dropdown */
.nav-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 1.2rem; /* maakt hover-zone groter */
}


.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.nav-drop-trigger .chev {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.nav-drop-trigger .chev svg {
  width: 12px;
  height: 12px;
  display: block;
  transform: rotate(90deg);
  transform-origin: center;
  transition: transform .25s var(--ease);
}

.nav-drop:hover .chev svg,
.nav-drop:focus-within .chev svg {
  transform: rotate(270deg);
}

.nav-drop-menu {
  position: absolute;
  top: 100%; /* geen gat meer */
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  padding: .55rem;
  border-radius: 18px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .25s var(--ease),
    transform .25s var(--ease),
    visibility .25s;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--paper-card);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.nav-drop-menu a {
  display: block;
  padding: .9rem 1rem;
  border-radius: 13px;
  color: var(--ink);
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.nav-drop-menu a::after {
  display: none;
}

.nav-drop-menu a:hover {
  background: var(--fill);
  transform: translateY(-1px);
}

.nav-drop-menu strong {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.nav-drop-menu span {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--muted);
}

.mobile-drop {
  border-bottom: 1px solid var(--line-2);
}

.mobile-drop summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step-3);
  font-weight: 460;
  letter-spacing: -.02em;
  padding-block: .5rem;
}

.mobile-drop summary::-webkit-details-marker {
  display: none;
}

.mobile-drop .chev {
  transition: transform .25s var(--ease);
}

.mobile-drop[open] .chev {
  transform: rotate(90deg);
}

.mobile-drop-menu {
  display: grid;
  gap: .5rem;
  padding: .4rem 0 1rem;
}

.mobile-drop-menu a {
  border-bottom: 0 !important;
  padding: .9rem 1rem !important;
  border-radius: 14px;
  background: var(--fill);
  font-size: var(--step-0) !important;
}

.mobile-drop-menu strong {
  display: block;
}

.mobile-drop-menu span {
  display: block;
  margin-top: .15rem;
  font-size: var(--step--1);
  color: var(--muted);
}

.story-page-hero {
  padding-bottom: 3rem;
}

.story-page-hero .display {
  font-size: clamp(3rem, 8vw, 6rem);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 2rem;
  align-items: stretch;
}

.story-main {
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 34px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(20,18,14,.08);
}

.story-main h2 {
  max-width: 13ch;
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.story-main p {
  max-width: 66ch;
  color: rgba(20,18,14,.72);
  font-size: 1.06rem;
  line-height: 1.75;
}

.story-side {
  display: grid;
  gap: 1rem;
}

.story-note {
  padding: 2rem;
  border-radius: 30px;
  background: #15130f;
  color: #fff;
}

.story-note-title {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 2.8rem);
  line-height: .95;
  letter-spacing: -.06em;
  color: #fff;
}

.story-note-title span {
  display: block;
  white-space: nowrap;
}

.story-note span.motto {
  opacity: .65;
}

.story-note strong {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.story-values {
  padding: 1rem;
  border-radius: 30px;
  background: #f6efe3;
}

.story-values div {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(20,18,14,.1);
}

.story-values div:last-child {
  border-bottom: 0;
}

.story-values b {
  display: block;
  margin-bottom: .55rem;
  font-size: .8rem;
  letter-spacing: .12em;
}

.story-values p {
  margin: 0;
  color: rgba(20,18,14,.72);
  line-height: 1.55;
}

.story-band {
  margin-inline: auto;
}

.story-band .wrap {
  padding: clamp(2.5rem, 5vw, 4.5rem) 2rem;
  border-radius: 38px;
  background: #f6efe3;
}

.story-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.story-band p {
  max-width: 48ch;
  margin: 0 auto 2rem;
  color: rgba(20,18,14,.72);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-main h2 {
    max-width: 100%;
  }
}

.nav a.active,
.nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.nav a.active::after,
.nav a[aria-current="page"]::after {
    width: 100%;
    height: 2px;
    background: var(--ember);
}

.login-clean {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 3rem var(--gut);
}

.login-box {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-box h1 {
  margin-top: 1rem;
  margin-bottom: .6rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -.04em;
}

.login-intro {
  margin-bottom: 2rem;
  color: var(--muted);
}

.login-box form {
  text-align: left;
}

.login-small-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--muted);
}

.login-small-link:hover {
  color: var(--ink);
}

.login-divider {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}

.login-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--line);
}

.login-divider span {
    position: relative;
    background: var(--paper);
    padding: 0 .75rem;
    color: var(--muted);
    font-size: var(--step--1);
}

.register-clean {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.register-box {
  max-width: 560px;
}

.register-box h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.register-box form {
  text-align: left;
}

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

.register-grid-address {
  grid-template-columns: 1.15fr .85fr .85fr;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.5;
  cursor: pointer;
}

.check-row input {
  margin-top: .22rem;
  accent-color: var(--ink);
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .register-grid,
  .register-grid-address {
    grid-template-columns: 1fr;
  }
}

.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.phone-prefix {
    padding: 0 1rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.phone-input .input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.phone-input .input:focus {
    outline: none;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 18px;
    margin-bottom: 1.5rem;
    font-size: .95rem;
}

.alert-error {
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(220, 38, 38, .15);
    color: #b91c1c;
}

.alert-success {
    background: #edf6e8;
    border: 1px solid #c9ddbc;
    color: #234d20;
}

.btn-loader {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

button.is-loading .btn-loader {
  display: inline-block;
}

button.is-loading .btn-text {
  opacity: .75;
}

button.is-loading {
  pointer-events: none;
  opacity: .85;
}

button.is-loading,
button:disabled {
    cursor: not-allowed;
    opacity: .75;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.recipient-step {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.recipient-head {
  max-width: 560px;
  margin-bottom: 2rem;
}

.recipient-head h2 {
  margin-top: .8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
}

.recipient-head p {
  margin-top: .7rem;
}

.recipient-form {
  display: grid;
  gap: 1.4rem;
}

.parcel-step {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.parcel-head {
  max-width: 560px;
  margin-bottom: 2rem;
}

.parcel-head h2 {
  margin-top: .8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
}

.parcel-head p {
  margin-top: .7rem;
}

.parcel-group {
  margin-bottom: 1.7rem;
}

.parcel-options,
.extra-options {
  display: grid;
  gap: .8rem;
  margin-top: .8rem;
}

.parcel-choice,
.extra-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.parcel-choice:hover,
.extra-choice:hover {
  border-color: var(--line-strong);
  background: var(--paper-card);
  transform: translateY(-1px);
}

.parcel-choice input,
.extra-choice input {
  accent-color: var(--ink);
}

.parcel-choice strong,
.extra-choice strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.parcel-choice small,
.extra-choice small {
  display: block;
  margin-top: .15rem;
  color: var(--muted);
  font-size: var(--step--1);
}

.parcel-choice b,
.extra-choice b {
  font-weight: 700;
  white-space: nowrap;
}

.parcel-choice:has(input:checked),
.extra-choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper-card);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 620px) {
  .parcel-choice,
  .extra-choice {
    grid-template-columns: auto 1fr;
  }

  .parcel-choice b,
  .extra-choice b {
    grid-column: 2;
  }
}

.service-step {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.service-head {
  max-width: 560px;
  margin-bottom: 2rem;
}

.service-head h2 {
  margin-top: .8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
}

.service-head p {
  margin-top: .7rem;
}

.service-options {
  display: grid;
  gap: .9rem;
}

.service-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition:
    border-color .25s var(--ease),
    background .25s var(--ease),
    transform .25s var(--ease),
    box-shadow .25s var(--ease);
}

.service-choice:hover {
  border-color: var(--line-strong);
  background: var(--paper-card);
  transform: translateY(-1px);
}

.service-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--ember);
}

.service-choice strong {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-weight: 800;
}

.service-choice small {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: var(--step--1);
}

.service-choice b {
  font-size: var(--step-1);
  white-space: nowrap;
}

.service-choice em {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: var(--ember-glow);
  color: var(--ember);
  font-size: .72rem;
  font-style: normal;
  font-weight: 700;
}

.service-choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper-card);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 620px) {
  .service-choice {
    grid-template-columns: auto 1fr;
  }

  .service-choice b {
    grid-column: 2;
  }
}

.review-step {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.review-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.review-head h2 {
  margin-top: .8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.review-block {
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}

.review-block h4 {
  margin-bottom: 1rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-wide {
  margin-top: 1.1rem;
}

.review-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.review-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.review-price span {
  color: var(--muted);
  font-weight: 600;
}

.review-price strong {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -.05em;
}

.review-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.5;
  cursor: pointer;
}

.review-check input {
  margin-top: .2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--ember);
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .review-grid,
  .review-columns {
    grid-template-columns: 1fr;
  }
}

.review-grid-lower {
  margin-top: 1.1rem;
}

.review-options-list {
  display: grid;
  gap: .75rem;
}

.review-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-2);
}

.review-option:last-child {
  border-bottom: 0;
}

.review-option span {
  color: var(--ink-soft);
}

.review-option strong {
  color: var(--ink);
  white-space: nowrap;
}

.review-option.muted-option span,
.review-option.muted-option strong {
  color: var(--muted);
}

.sender-step {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.sender-head {
  max-width: 620px;
  margin-bottom: 2rem;
}

.sender-head h2 {
  margin-top: .8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
}

.sender-head p {
  margin-top: .7rem;
}

.sender-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1.2rem;
}

.sender-tab {
  cursor: pointer;
}

.sender-tab input {
  display: none;
}

.sender-tab span {
  display: flex;
  justify-content: center;
  padding: 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  transition: .25s var(--ease);
}

.sender-tab input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.sender-saved {
  display: grid;
  gap: .8rem;
}

.sender-saved-addresses {
    display: grid;
    gap: 0.5rem;
}

.saved-address {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.saved-address input {
  width: 18px;
  height: 18px;
  accent-color: var(--ember);
}

.saved-address strong {
  display: block;
}

.saved-address small {
  display: block;
  margin-top: .2rem;
  color: var(--muted);
}

.saved-address:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper-card);
  box-shadow: var(--shadow-sm);
}

.sender-manual {
  display: grid;
  gap: 1.2rem;
}

@media (max-width: 620px) {
  .sender-tabs {
    grid-template-columns: 1fr;
  }
}

.is-hidden {
    display: none !important;
}

.input-error {
  border-color: #BF572A !important;
}

.field-error {
  display: block;
  margin-top: .45rem;
  color: #BF572A;
  font-size: var(--step--1);
  font-weight: 600;
}

.story-narrative {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 34px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(20, 18, 14, .08);
}

.story-narrative h2 {
  max-width: 11ch;
  margin: 1rem 0 2rem;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.story-text {
  max-width: 62ch;
}

.story-text p {
  margin: 0;
  color: rgba(20, 18, 14, .72);
  font-size: 1.08rem;
  line-height: 1.85;
}

.story-text p + p {
  margin-top: 1.35rem;
}

.story-opening {
  font-size: 1.35rem !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
}

.story-text strong {
  color: var(--ink);
  font-weight: 700;
}

.story-final {
  margin-top: 2rem !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.55rem, 3vw, 2.3rem) !important;
  line-height: 1.25 !important;
  color: var(--ink) !important;
}

@media (max-width: 720px) {
  .story-narrative {
    padding: 2rem;
  }

  .story-narrative h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .story-text p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #BF572A;
    display: inline-block;
    position: relative;
    margin-right: .35rem;
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--ember);
    animation: statusPulse 3s ease-out infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: .4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.api-page {
  background: #f7f1e7;
}

.api-hero {
  padding: clamp(5rem, 9vw, 8rem) 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(214,168,79,.25), transparent 34rem),
    linear-gradient(180deg, #fffaf1 0%, #f7f1e7 100%);
}

.api-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.api-hero h1 {
  max-width: 760px;
  margin: 1rem 0;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.api-hero p {
  max-width: 640px;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(20,20,20,.7);
}

.api-hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.api-secondary-link {
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.api-terminal,
.api-code {
  background: #10100f;
  color: #f7f1e7;
  border-radius: 24px;
  border: 1px solid rgba(214,168,79,.28);
  box-shadow: 0 30px 90px rgba(0,0,0,.18);
  overflow: hidden;
}

.api-terminal-top {
  display: flex;
  gap: .45rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.api-terminal-top span {
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: #d6a84f;
  opacity: .85;
}

.api-terminal pre,
.api-code {
  margin: 0;
  padding: 1.3rem;
  overflow-x: auto;
}

.api-terminal code,
.api-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .9rem;
  line-height: 1.75;
  color: #f7f1e7;
}

.api-shell-section {
  padding: 3rem 0 6rem;
}

.api-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.api-sidebar {
  position: sticky;
  top: 110px;
}

.api-sidebar-inner {
  background: #fffaf1;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.05);
}

.api-sidebar strong {
  display: block;
  margin-bottom: 1rem;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.api-sidebar nav {
  display: grid;
  gap: .35rem;
}

.api-sidebar a {
  color: rgba(20,20,20,.68);
  text-decoration: none;
  padding: .75rem .85rem;
  border-radius: 14px;
  font-weight: 700;
}

.api-sidebar a:hover {
  background: #111;
  color: #d6a84f;
}

.api-content {
  display: grid;
  gap: 1.4rem;
}

.api-doc-block {
  background: #fffaf1;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 30px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 20px 70px rgba(0,0,0,.055);
}

.api-doc-block h2 {
  margin: .4rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -.04em;
}

.api-doc-block p {
  max-width: 760px;
  color: rgba(20,20,20,.72);
  line-height: 1.75;
}

.api-label {
  display: inline-flex;
  color: #9a6b13;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
}

.api-highlight {
  margin-top: 1.4rem;
  display: grid;
  gap: .5rem;
  background: #111;
  color: #f7f1e7;
  padding: 1.2rem;
  border-radius: 20px;
}

.api-highlight span {
  color: #d6a84f;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
}

.api-highlight code {
  font-size: 1rem;
}

.api-endpoint-head {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.api-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: .42rem .7rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.api-method.post {
  background: #111;
  color: #d6a84f;
}

.api-method.get {
  background: #d6a84f;
  color: #111;
}

.api-endpoint-head code {
  background: rgba(0,0,0,.06);
  padding: .55rem .75rem;
  border-radius: 999px;
  font-weight: 800;
}

.api-table {
  margin: 1.5rem 0;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  overflow: hidden;
}

.api-table div {
  display: grid;
 grid-template-columns:
        minmax(210px, 1.2fr)
        120px
        100px
        minmax(260px, 2fr);  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.api-table b,
.api-table span,
.api-table p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.api-table div:last-child {
  border-bottom: 0;
}

.api-table b {
  font-weight: 900;
}

.api-table span {
  color: #9a6b13;
  font-weight: 900;
  font-size: .85rem;
}

.api-table p {
  margin: 0;
  line-height: 1.45;
}

.api-code {
  display: block;
  margin-top: 1rem;
  border-radius: 20px;
  box-shadow: none;
}

.api-code.response {
  border-color: rgba(214,168,79,.45);
}

.api-code.error {
  border-color: rgba(180,40,40,.45);
}

@media (max-width: 900px) {
  .api-hero-grid,
  .api-shell {
    grid-template-columns: 1fr;
  }

  .api-sidebar {
    position: relative;
    top: auto;
  }

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

  .api-table div {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
}
.api-doc-block h3 {
  margin-top: 2rem;
  margin-bottom: .8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(20,20,20,.55);
}

.api-status-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.2rem;
}

.api-status-list div {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 1rem;
}

.api-status-list b {
  display: block;
  margin-bottom: .3rem;
  font-weight: 900;
  color: #111;
}

.api-status-list p {
  margin: 0;
  font-size: .95rem;
}

.api-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1rem 0;
}

.api-status-tabs button {
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: .7rem 1rem;
  font-weight: 900;
  cursor: pointer;
}

.api-status-tabs button.active {
  background: #111;
  color: #d6a84f;
  border-color: #111;
}

.api-response {
    display: none;
}

.api-response.active {
    display: block;
}

.api-warning {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border-radius: 20px;
    background: rgba(214,168,79,.10);
    border: 1px solid rgba(214,168,79,.35);
    border-left: 4px solid #d6a84f;
}

.api-warning strong {
    margin-bottom: .5rem;
    color: #9a6b13;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.api-warning p {
    margin: 0;
    line-height: 1.7;
}

.api-warning-title::before {
    content: "⚠ ";
}

.api-warning-title {
    display: block;
    margin-bottom: .5rem;
    color: #9a6b13;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.api-paid-endpoint {
    background: rgba(214,168,79,.15);
    color: #9a6b13;
    border: 1px solid rgba(214,168,79,.35);
    padding: .4rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
}

.api-table span.required {
    color: #9a6b13;
    font-weight: 900;
}

.api-table span.optional {
    color: rgba(20,20,20,.45);
    font-weight: 700;
}

.api-table span.type {
    color: rgba(20,20,20,.65);
    font-weight: 600;
}

.price-card {
    background: rgba(255, 250, 241, 0.78);
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.04);
}

.price-section-title {
    padding: 1.1rem 1.6rem .75rem;
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a88942;
    font-weight: 900;
    background: rgba(244, 234, 216, .55);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.6rem;
    border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.price-name {
    display: block;
    color: #111;
    font-weight: 800;
    font-size: 1rem;
}

.price-desc {
    display: block;
    margin-top: .25rem;
    color: #7d7363;
    font-size: .86rem;
}

.price-value {
    color: #a07b26;
    font-weight: 900;
    font-size: 1.05rem;
    white-space: nowrap;
}

.price-note {
    margin-top: 1.2rem;
    text-align: center;
    color: #7d7363;
}

.az-dashboard {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(168, 137, 66, .16), transparent 34rem),
        #efe7d8;
    padding: 34px;
    color: #12100c;
}

.az-dashboard-shell {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
}

.az-panel,
.az-card,
.az-welcome,
.az-stat-card {
    border: 1px solid rgba(18, 16, 12, .08);
    box-shadow: 0 24px 70px rgba(18, 16, 12, .08);
}

.az-sidebar {
    position: sticky;
    top: 34px;
    height: calc(100vh - 68px);
    background: rgba(255, 250, 241, .78);
    backdrop-filter: blur(20px);
    border-radius: 34px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.az-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(18, 16, 12, .12);
    font-weight: 800;
}

.az-sidebar-brand img {
    height: 34px;
}

.az-nav {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.az-nav a,
.az-signout {
    min-height: 50px;
    border-radius: 18px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    color: #514a3f;
    text-decoration: none;
    font-weight: 750;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.az-nav a.active {
    background: #111;
    color: #fffaf1;
}

.az-nav a:hover,
.az-signout:hover {
    background: rgb(18 16 12 / 60%);
    color: white;
}

.az-signout {
    width: 100%;
    margin-top: auto;
}

.az-dashboard-main {
    display: grid;
    gap: 24px;
}

.az-welcome {
    background: #fffaf1;
    border-radius: 38px;
    padding: 38px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.az-eyebrow {
    display: block;
    color: #a88942;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.az-welcome h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(34px, 5vw, 64px);
    line-height: .95;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.az-welcome p {
    max-width: 58ch;
    margin: 22px 0 0;
    color: #62594b;
    font-size: 17px;
    line-height: 1.7;
}

.az-primary-btn {
    flex: 0 0 auto;
    background: #111;
    color: #fffaf1;
    text-decoration: none;
    border-radius: 999px;
    padding: 16px 22px;
    font-weight: 900;
}

.az-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.az-stat-card {
    background: #fffaf1;
    border-radius: 30px;
    padding: 28px;
}

.az-stat-card.dark {
    background: #111;
    color: #fffaf1;
}

.az-stat-card span,
.az-stat-card small {
    display: block;
    color: #6a6257;
}

.az-stat-card.dark span,
.az-stat-card.dark small {
    color: #d8c49a;
}

.az-stat-card strong {
    display: block;
    margin: 12px 0;
    font-size: 42px;
    letter-spacing: -0.04em;
}

.az-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
}

.az-card {
    background: rgba(255, 250, 241, .92);
    border-radius: 32px;
    padding: 28px;
}

.az-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.az-card-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.035em;
}

.az-card-head a {
    color: #a88942;
    text-decoration: none;
    font-weight: 900;
}

.az-list-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(18, 16, 12, .1);
}

.az-list-row div span {
    display: block;
    margin-top: 5px;
    color: #6a6257;
    font-size: 14px;
}

.az-list-row em {
    align-self: center;
    font-style: normal;
    background: #efe7d8;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}

.az-list-row b {
    align-self: center;
}

.az-balance-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-weight: 800;
}

.az-progress {
    height: 8px;
    background: #efe7d8;
    border-radius: 999px;
    overflow: hidden;
    margin: 18px 0;
}

.az-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #111, #a88942);
    border-radius: inherit;
}

.az-card p {
    color: #62594b;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .az-dashboard {
        padding: 16px;
    }

    .az-dashboard-shell {
        grid-template-columns: 1fr;
    }

    .az-sidebar {
        position: relative;
        top: auto;
        height: auto;
    }

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

    .az-welcome {
        flex-direction: column;
    }

    .az-stats,
    .az-grid {
        grid-template-columns: 1fr;
    }
}

.az-page {
    display: grid;
    gap: 24px;
}

.az-page-head {
    background: transparent;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.az-page-head span {
    color: #a88942;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.az-page-head h1 {
    margin: 10px 0 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: .9;
    letter-spacing: -.06em;
}

.az-page-head p {
    margin: 18px 0 0;
    color: #62594b;
    font-size: 17px;
}

.az-balance-card {
    background: #111;
    color: #fffaf1;
    border-radius: 34px;
    padding: 34px;
}

.az-balance-card span {
    color: #d8c49a;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 900;
}

.az-balance-card strong {
    display: block;
    margin-top: 14px;
    font-size: clamp(46px, 8vw, 82px);
    letter-spacing: -.06em;
}

.az-balance-card p {
    color: #e9ddc5;
    max-width: 48ch;
}

.az-simple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.api-clean {
    display: grid;
    gap: 18px;
    max-width: 820px;
}

.api-clean-head span,
.api-wallet .label {
    color: #a88942;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.api-clean-head h1 {
    margin: 8px 0 0;
    font-size: 58px;
    line-height: .9;
    letter-spacing: -.06em;
}

.api-clean-head p {
    margin: 12px 0 0;
    color: #62594b;
}

.api-wallet {
    background: #111;
    color: #fffaf1;
    border-radius: 30px;
    padding: 28px 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.api-wallet strong {
    display: block;
    margin-top: 12px;
    font-size: 52px;
    line-height: .9;
    letter-spacing: -.06em;
}

.api-wallet button {
    background: #fffaf1;
    color: #111;
    text-decoration: none;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 900;
    white-space: nowrap;
}

.api-section {
    background: #fffaf1;
    border-radius: 28px;
    padding: 26px 30px;
    border: 1px solid rgba(18,16,12,.08);
}

.api-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(18,16,12,.1);
}

.api-section-head h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -.04em;
}

.api-section-head a {
    color: #a88942;
    text-decoration: none;
    font-weight: 900;
}

.api-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(18,16,12,.08);
}

.api-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.api-line small {
    display: block;
    margin-top: 5px;
    color: #62594b;
}

.api-line em {
    align-self: center;
    font-style: normal;
    background: #efe7d8;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}

.az-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.az-modal.is-open {
    display: block;
}

.az-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 12, .55);
    backdrop-filter: blur(8px);
}

.az-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 32px));
    margin: 10vh auto 0;
    background: #fffaf1;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 30px 90px rgba(18, 16, 12, .25);
}

.az-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.az-modal-label {
    color: #a88942;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.az-modal-card h2 {
    margin: 10px 0 0;
    font-size: 36px;
    line-height: .95;
    letter-spacing: -.05em;
}

.az-modal-card p {
    color: #62594b;
    line-height: 1.6;
}

.az-field {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.az-field span {
    font-weight: 800;
}

.az-field input {
    width: 100%;
    border: 1px solid rgba(18,16,12,.14);
    background: #fff;
    border-radius: 18px;
    padding: 15px 16px;
    font: inherit;
}

.az-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.az-modal-actions button {
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 900;
    cursor: pointer;
}

.az-modal-actions button:first-child {
    background: #efe7d8;
    color: #111;
}

.az-modal-actions button:last-child {
    background: #111;
    color: #fffaf1;
}

.az-modal.is-open {
    display: block;
    overflow-y: auto;
    padding: 40px 0;
}

.az-modal-card {
    margin: 0 auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.api-secret {
    background: #f3ead8;
    border-radius: 22px;
    padding: 18px;
    margin-top: 16px;
}

.api-secret-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.api-secret-head strong {
    font-size: 16px;
}

.api-secret-copy {
    border: 0;
    background: #111;
    color: #fffaf1;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 900;
    cursor: pointer;
}

.api-secret-code {
    display: block;
    background: #fffaf1;
    border-radius: 14px;
    padding: 14px 15px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #111;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.api-key-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.api-key-row code {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    font-family: monospace;
}

.api-key-row button {
    flex-shrink: 0;
}

.api-group {
    border-top: 1px solid rgba(18,16,12,.08);
}

.api-group-title {
    padding: 20px 0 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #a88942;
}
.api-group-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid rgba(0,0,0,.15);
}

.api-group-edit{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#efe8dc;
    color:#111;
    text-decoration:none;
    transition:.2s;
}

.api-group-edit:hover{
    transform:scale(1.05);
}

.api-group {
    position: relative;
    padding: 22px 20px 18px;
    margin-top: 18px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.42);
}

.api-group + .api-group {
    margin-top: 20px;
}

.api-group-title {
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #a8843a;
}

.api-group-edit {
    position: absolute;
    top: 16px;
    right: 16px;
}

.az-select-wrap {
    position: relative;
}

.az-select-wrap select {
    width: 100%;
    height: 54px;

    padding: 0 50px 0 18px;

    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;

    background: #f8f5ef;

    font-size: 16px;
    font-weight: 600;
    color: #111;

    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    transition: .2s;
}

.az-select-wrap select:hover {
    border-color: #b8934a;
}

.az-select-wrap select:focus {
    outline: none;
    border-color: #b8934a;
    box-shadow: 0 0 0 4px rgba(184,147,74,.12);
}

.az-select-wrap::after {
    content: "⌄";

    position: absolute;
    top: 50%;
    right: 18px;

    transform: translateY(-50%);

    color: #b8934a;
    font-size: 18px;
    pointer-events: none;
}

.topup-card {
    max-width: 520px;
}

.topup-intro {
    max-width: 380px;
    color: #6f675b;
    line-height: 1.45;
}

.topup-amount-box {
    margin-top: 24px;
    height: 74px;
    border: 2px solid #111;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: #fffaf1;
}

.topup-currency {
    font-size: 34px;
    font-weight: 800;
    margin-right: 10px;
}

.topup-amount-box input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 34px;
    font-weight: 800;
}

.topup-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.topup-presets button {
    border: 0;
    border-radius: 999px;
    padding: 12px 10px;
    background: #eee4d2;
    font-weight: 800;
    cursor: pointer;
}

.topup-presets button:hover {
    background: #111;
    color: #fffaf1;
}
.az-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.az-page {
    min-width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #fffaf1;
    border: 1px solid rgba(18,16,12,.08);

    color: #111;
    text-decoration: none;
    font-weight: 800;

    transition: .2s;
}

.az-page:hover {
    background: #111;
    color: #fffaf1;
}

.az-page.active {
    background: #111;
    color: #fffaf1;
    border-color: #111;
}

.az-page.disabled {
    opacity: .2;
    cursor: not-allowed;
}

.dashboard-home {
    padding: 120px 34px 34px;
}

.dashboard-home-shell {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 24px;
}

.dashboard-side {
    min-height: calc(100vh - 154px);
    background: rgba(255, 250, 241, .78);
    border: 1px solid rgba(18, 16, 12, .08);
    box-shadow: 0 24px 70px rgba(18, 16, 12, .08);
    backdrop-filter: blur(20px);
    border-radius: 34px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.dashboard-side-nav {
    display: grid;
    gap: 8px;
}

.dashboard-side-nav a,
.dashboard-signout {
    min-height: 50px;
    border-radius: 18px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    color: #514a3f;
    text-decoration: none;
    font-weight: 750;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.dashboard-side-nav a.active {
    background: #111;
    color: #fffaf1;
}

.dashboard-side-nav a:hover,
.dashboard-signout:hover {
    background: rgb(18 16 12 / 60%);
    color: white;
}

.dashboard-signout {
    width: 100%;
    margin-top: auto;
}

.dashboard-home-main {
    min-width: 0;
    display: grid;
    gap: 24px;
}

.dashboard-home-head {
    background: rgba(255, 250, 241, .55);
    border: 1px solid rgba(18, 16, 12, .08);
    border-radius: 38px;
    padding: clamp(34px, 5vw, 54px);
    box-shadow: 0 24px 70px rgba(18, 16, 12, .06);
}

.dashboard-home-head span,
.workspace-card span {
    color: #a88942;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-home-head h1 {
    max-width: 720px;
    margin: 14px 0 0;
    font-size: clamp(52px, 8vw, 104px);
    line-height: .86;
    letter-spacing: -.075em;
}

.dashboard-home-head p {
    max-width: 48ch;
    margin: 22px 0 0;
    color: #62594b;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 650;
}

.dashboard-workspaces {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
}

.workspace-card {
    min-height: 360px;
    border-radius: 38px;
    padding: clamp(30px, 4vw, 46px);
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(18, 16, 12, .08);
    box-shadow: 0 24px 70px rgba(18, 16, 12, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease;
}

.workspace-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 90px rgba(18, 16, 12, .13);
}

.workspace-card h2 {
    margin: 22px 0 16px;
    font-size: clamp(64px, 9vw, 120px);
    line-height: .78;
    letter-spacing: -.085em;
}

.workspace-card p {
    max-width: 34ch;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}

.workspace-card b {
    margin-top: 34px;
    font-size: 18px;
    font-weight: 900;
}

.workspace-dark {
    background: #111;
    color: #fffaf1;
}

.workspace-dark span {
    color: #d8c49a;
}

.workspace-dark p {
    color: #e9ddc5;
}

.workspace-light {
    background: #fffaf1;
    color: #111;
}

.workspace-light p {
    color: #62594b;
}

@media (max-width: 960px) {
    .dashboard-home {
        padding: 100px 16px 16px;
    }

    .dashboard-home-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-side {
        min-height: auto;
    }

    .dashboard-side-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-workspaces {
        grid-template-columns: 1fr;
    }

    .workspace-card {
        min-height: 280px;
    }
}


.address-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    padding: 22px 0;
    border-top: 1px solid rgba(17,17,17,.08);
}

.address-content {
    min-width: 0;
}

.address-content strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.address-content span {
    display: block;
    margin-top: 4px;

    color: rgba(17,17,17,.58);
    font-size: 15px;
}

.address-edit {
    flex-shrink: 0;

    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.address-edit:hover {
    color: #c9a24a;
}

.address-empty {
    padding: 22px 0;
    color: rgba(17,17,17,.58);
}

.address-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-default {
    padding: 3px 8px;
    border-radius: 999px;

    background: rgba(201,162,74,.12);
    color: #a88942;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.az-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-weight: 800;
}

.az-check-row input {
    width: 18px;
    height: 18px;
}

.az-modal-actions-main {
    justify-content: flex-end;
}

.az-modal-danger {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(18,16,12,.10);
    text-align: right;
}

.az-modal-danger button {
    border: 0;
    background: transparent;
    color: #8b1e1e;
    font-weight: 800;
    cursor: pointer;
}

.az-modal-danger button:hover {
    text-decoration: underline;
}

.az-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .az-form-row {
        grid-template-columns: 1fr;
    }
}

.az-phone-input {
    display: flex;

    border: 1px solid rgba(17,16,12,.12);
    border-radius: 24px;

    overflow: hidden;
    background: #fff;
}

.az-phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 64px;
    padding: 0 18px;

    background: rgba(17,16,12,.04);
    font-weight: 700;
}

.az-phone-input input {
    flex: 1;

    border: 0 !important;
    background: transparent !important;

    padding: 18px 22px;
    min-height: 64px;

    font: inherit;
}

.az-phone-input input:focus {
    outline: none;
}

.az-form-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.az-field input:disabled,
.az-field input[readonly] {
    background: #e8e1d2;
    color: #62594b;

    border-color: transparent;

    cursor: not-allowed;
}

.shipment-search {
    margin: 18px 0 20px;
}

.shipment-search input {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(17,17,17,.10);
    background: #fff9ef;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    color: #111;
}

.shipments-list {
    display: grid;
    gap: 14px;
}

.shipment-card {
    display: block;
    padding: 20px;
    border-radius: 24px;
    background: #fff9ef;
    border: 1px solid rgba(17,17,17,.08);
    color: #111;
    text-decoration: none;
}

.shipment-card-head,
.shipment-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.shipment-meta-label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 800;
    color: #7b705f;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.shipment-card-head strong {
    font-size: 18px;
}

.shipment-status {
    padding: 7px 12px;
    border-radius: 999px;
    background: #111;
    color: #e6dbc1;
    font-size: 12px;
    font-weight: 800;
}

.shipment-recipient {
    margin: 18px 0;
    padding: 18px;
    border-radius: 18px;
    background: #f4efe3;
}

.shipment-recipient strong {
    display: block;
    font-size: 22px;
    margin-bottom: 5px;
}

.shipment-recipient span {
    display: block;
    color: #514a3f;
    font-weight: 650;
}

.shipment-card-foot {
    font-size: 13px;
    color: #7b705f;
    font-weight: 700;
}

.shipment-card-foot em {
    font-style: normal;
    color: #111;
    font-weight: 850;
}

.status-pending_payment {
  background: #111111;
  color: #FFFFFF;
}

.status-paid {
  background: #EDE3CF;
  color: #8B6A2A;
  border: 1px solid #C9A24D;
}

.shipment-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.shipment-detail-box {
    padding: 22px;
    border-radius: 24px;
    background: #fff9ef;
    border: 1px solid rgba(17,17,17,.08);
}

.shipment-detail-box h3 {
    margin: 0 0 14px;
}

.shipment-detail-box p {
    margin: 6px 0;
    color: #514a3f;
    font-weight: 650;
}

@media (max-width: 800px) {
    .shipment-detail-grid {
        grid-template-columns: 1fr;
    }
}

.shipment-events {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shipment-event {
    display: flex;
    gap: 18px;
}

.shipment-section-title {
    margin: 28px 0 14px;
}

.shipment-log {
    border-radius: 24px;
    overflow: hidden;
    background: #FFF9EF;
    border: 1px solid rgba(17,17,17,.08);
}

.shipment-log-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px 20px;
}

.shipment-log-row:not(:last-child) {
    border-bottom: 1px solid rgba(17,17,17,.07);
}

.shipment-log-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-top: 2px;
}

.shipment-log-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.shipment-log-top strong {
    font-size: 17px;
    color: #111;
}

.shipment-log-top span {
    font-size: 13px;
    font-weight: 750;
    color: #7b705f;
    white-space: nowrap;
}

.shipment-log-content p {
    margin: 6px 0 8px;
    color: #514a3f;
    line-height: 1.45;
}

.shipment-log-content small {
    font-size: 12px;
    font-weight: 800;
    color: #7b705f;
    background: #F4EFE3;
    border-radius: 999px;
    padding: 5px 9px;
}

@media (max-width: 700px) {
    .shipment-log-top {
        flex-direction: column;
        gap: 2px;
    }
}

.error-page {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.error-shell {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
    padding: clamp(2.2rem, 5vw, 4.5rem);
    border-radius: 38px;
    background:
        radial-gradient(circle at top, rgba(184, 153, 98, .18), transparent 28rem),
        rgba(255, 250, 241, .72);
    border: 1px solid rgba(23, 21, 14, .09);
    box-shadow: var(--shadow-lg);
}

.error-code {
    font-size: clamp(5rem, 18vw, 13rem);
    line-height: .78;
    letter-spacing: -.09em;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 2rem;
}

.error-shell .eyebrow {
    justify-content: center;
}

.error-shell h1 {
    margin-top: 1rem;
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    line-height: .9;
    letter-spacing: -.065em;
}

.error-shell p {
    max-width: 46ch;
    margin: 1.4rem auto 0;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.4rem;
}

@media (max-width: 620px) {
    .error-shell {
        text-align: left;
    }

    .error-shell .eyebrow,
    .error-actions {
        justify-content: flex-start;
    }

    .error-code {
        font-size: clamp(4.5rem, 30vw, 8rem);
    }

    .error-actions .btn {
        width: 100%;
    }
}

.vacancy-salary span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(17,17,17,.45);
    margin-bottom: 4px;
}

.vacancy-salary strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #8a6817;
    white-space: nowrap;
}

@media (max-width: 950px) {
    .vacancy-side {
        justify-content: space-between;
        width: 100%;
    }

    .vacancy-salary {
        text-align: left;
    }
}

.vacancy-side {
    display: flex;
    align-items: center;
    gap: 18px;
}

.vacancy-salary {
    font-size: 18px;
    font-weight: 800;
    color: #8a6817;
    white-space: nowrap;
}

/* 123 */
.az-contact-page {
    min-height: 100vh;
    background: #efe7d8;
    padding: 120px 20px;
    color: #111;
}

.az-contact-wrap {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.az-contact-header {
    text-align: center;
    margin-bottom: 38px;
}

.az-contact-header span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fffaf0;
    border: 1px solid rgba(17,17,17,.10);
    color: #8a6817;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.az-contact-header h1 {
    margin-top: 18px;
    font-size: clamp(52px, 8vw, 96px);
    line-height: .86;
    letter-spacing: -.075em;
}

.az-contact-header p {
    margin-top: 14px;
    color: rgba(17,17,17,.58);
    font-size: 19px;
}

.az-contact-form {
    background: #fffaf0;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(17,17,17,.08);
    display: grid;
    gap: 18px;
}

.az-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.az-contact-field label {
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.az-contact-field label b {
    color: #8a6817;
}

.az-contact-field input,
.az-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(17,17,17,.13);
    border-radius: 18px;
    background: #efe7d8;
    padding: 15px 16px;
    font: inherit;
    color: #111;
}

.az-contact-field textarea {
    min-height: 180px;
    resize: vertical;
}

.az-contact-button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 760px) {
    .az-contact-page {
        padding: 90px 16px;
    }

    .az-contact-row {
        grid-template-columns: 1fr;
    }

    .az-contact-form {
        padding: 24px;
        border-radius: 26px;
    }
}

.legal-page h2 {
  max-width: none;
  margin-top: 2.4rem;
  margin-bottom: .7rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.legal-page p {
  max-width: 72ch;
}

.legal-page .story-opening {
  max-width: 60ch;
}