:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #717784;
  --line: #dde1e8;
  --panel: #ffffff;
  --soft: #f8f6ec;
  --brand: #f0b90b;
  --brand-strong: #d9a400;
  --brand-soft: #fff3bf;
  --accent: #12151d;
  --danger: #b42318;
  --success: #0b6b39;
  --shadow: 0 24px 60px rgba(17, 19, 24, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.34), transparent 38%),
    linear-gradient(315deg, rgba(17, 19, 24, 0.18), transparent 42%),
    #f7f2dc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "tnum";
  text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.58fr);
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(240, 185, 11, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 185, 11, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 24% 18%, rgba(240, 185, 11, 0.36), transparent 24%),
    linear-gradient(145deg, #06070a 0%, #11151e 48%, #050608 100%);
  background-size:
    38px 38px,
    38px 38px,
    auto,
    auto;
}

.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  width: 154px;
  height: 154px;
  border: 2px solid rgba(240, 185, 11, 0.38);
  transform: rotate(45deg);
}

.brand-panel::before {
  top: 88px;
  right: -58px;
}

.brand-panel::after {
  bottom: 126px;
  left: -84px;
}

.brand-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(240, 185, 11, 0.78);
  border-radius: 50%;
  color: #111318;
  background:
    radial-gradient(circle at 35% 28%, #fff7cd 0 12%, transparent 13%),
    linear-gradient(145deg, #f9d84c, var(--brand) 58%, #b88400);
  box-shadow:
    inset 0 0 0 6px rgba(17, 19, 24, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35);
  font-weight: 950;
  letter-spacing: 0;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 54px;
  border-radius: 999px;
  background: #111318;
  transform: translateX(-50%);
}

.brand-mark::after {
  width: 38px;
  height: 38px;
  border: 4px solid rgba(17, 19, 24, 0.92);
  border-left-color: transparent;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-42%) rotate(-8deg);
}

.logo-symbol {
  position: relative;
  z-index: 1;
  padding-left: 2px;
  font-size: 2.6rem;
  line-height: 1;
  text-shadow: 3px 0 0 var(--brand);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-panel .eyebrow {
  color: var(--brand);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 420px;
  font-size: clamp(2.65rem, 6.4vw, 5.4rem);
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 920;
  color: #0d1016;
}

.brand-copy {
  max-width: 440px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.65;
}

.market-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.market-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(240, 185, 11, 0.34);
  border-radius: 6px;
  color: var(--brand-soft);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  font-weight: 850;
}

.owner-overlay {
  display: inline-grid;
  gap: 3px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 8px;
  color: #111318;
  background: rgba(240, 185, 11, 0.95);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.owner-overlay span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.owner-overlay strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
  letter-spacing: 0;
}

.concept-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.status-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.status-card strong,
.status-card span {
  display: block;
}

.status-card span:not(.status-dot) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.status-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(240, 185, 11, 0.2);
}

.form-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 34px;
}

.step {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 900;
}

.step.active {
  color: #111318;
  border-color: var(--brand);
  background: var(--brand);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.section-heading {
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #202631;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  font-size: 0.98rem;
  font-weight: 720;
  letter-spacing: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.22);
}

h3 {
  font-size: 1.18rem;
  font-weight: 920;
}

.wallet-section {
  margin: 24px 0 12px;
  padding: 18px;
  border: 1px solid #ece3bd;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.13), rgba(246, 247, 251, 0.88));
}

.wallet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.wallet-button {
  min-width: 132px;
  color: #111318;
  background: var(--brand);
}

.wallet-button:hover {
  background: var(--brand-strong);
}

.wallet-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.bank-section {
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.05), rgba(240, 185, 11, 0.1));
}

.bank-pill {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 999px;
  color: #111318;
  background: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

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

.actions.split {
  justify-content: space-between;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0;
}

.primary {
  color: #111318;
  background: var(--brand);
}

.primary:hover {
  background: var(--brand-strong);
}

.ghost {
  color: #111318;
  border: 1px solid var(--line);
  background: #fff;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.review-notice {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(240, 185, 11, 0.34);
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.12);
}

.review-notice strong {
  color: #111318;
}

.review-notice span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.review-list div {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.review-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.review-list dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.otp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.otp-card strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1;
}

.muted,
#timer {
  color: var(--muted);
  font-weight: 850;
}

#timer {
  min-width: 68px;
  text-align: right;
}

.error,
.success {
  min-height: 22px;
  margin: 10px 0 0;
  font-weight: 800;
}

.error {
  color: var(--danger);
}

.success {
  color: var(--success);
}

@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 680px);
    margin: 10px auto;
  }

  .brand-panel {
    min-height: 320px;
  }
}

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

  .actions,
  .actions.split,
  .otp-card,
  .wallet-heading {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }

  #timer {
    text-align: left;
  }
}
