:root {
  color-scheme: light;
  --navy: #201444;
  --navy-deep: #10091f;
  --navy-soft: #2d1b59;
  --line: rgba(85, 43, 136, 0.16);
  --purple: #552b88;
  --purple-soft: #7d55bf;
  --gold: #f5bf3d;
  --cream: #fff8ea;
  --lavender: #efe5ff;
  --lavender-dim: #d9c7f6;
  --green: #34d399;
  --white: #ffffff;
  --ink: #261247;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.8);
  --shadow: 0 22px 60px rgba(85, 43, 136, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(520px 380px at 92% 4%, rgba(245, 191, 61, 0.2), transparent 62%),
    radial-gradient(520px 360px at 0% 22%, rgba(125, 85, 191, 0.1), transparent 66%),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  padding-bottom: 92px;
}

body.view-home {
  overflow-x: hidden;
}

body.view-request,
body.view-how {
  background:
    radial-gradient(520px 380px at 92% 4%, rgba(245, 191, 61, 0.2), transparent 62%),
    radial-gradient(520px 360px at 0% 22%, rgba(125, 85, 191, 0.1), transparent 66%),
    var(--cream);
}

body.view-request .hero,
body.view-how .hero,
body.view-home .app-view,
.app-view[hidden] {
  display: none;
}

body.view-request .footer,
body.view-how .footer {
  display: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.topbar {
  position: relative;
  z-index: 20;
  top: auto;
  left: auto;
  right: auto;
  width: calc(100% - 24px);
  max-width: 430px;
  margin: calc(env(safe-area-inset-top) + 12px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid rgba(85, 43, 136, 0.16);
  border-radius: 24px;
  background: rgba(255, 248, 234, 0.82);
  box-shadow: 0 18px 42px rgba(85, 43, 136, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
  min-height: 40px;
  padding: 5px 6px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.compact {
  width: 176px;
  margin: 0 auto;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(85, 43, 136, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--purple);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

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

.icon-button path,
.icon-button circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-button {
  color: var(--green);
}

.language-button {
  padding: 0;
  color: var(--purple);
}

.language-label {
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(260px 180px at 88% 16%, rgba(245, 191, 61, 0.14), transparent 68%),
    radial-gradient(260px 220px at 8% 40%, rgba(85, 43, 136, 0.07), transparent 70%),
    var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  top: 68px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 34px 14px calc(env(safe-area-inset-bottom) + 96px);
  text-align: center;
}

.availability,
.eyebrow {
  margin: 0;
  color: var(--purple);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(85, 43, 136, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 28px rgba(85, 43, 136, 0.08);
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  animation: blink-green 1.35s ease-in-out infinite;
}

@keyframes blink-green {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22), 0 0 16px rgba(52, 211, 153, 0.72);
  }

  50% {
    opacity: 0.42;
    transform: scale(0.72);
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.12), 0 0 4px rgba(52, 211, 153, 0.32);
  }
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 360px;
  margin: 30px auto 0;
  font-size: clamp(48px, 14vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 820;
  color: var(--purple);
}

.hero-copy {
  max-width: 350px;
  margin: 16px auto 0;
  color: rgba(38, 18, 71, 0.76);
  font-size: 16.5px;
  line-height: 1.52;
}

.hero-actions {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.trust-bar {
  width: min(100%, 390px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  align-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(85, 43, 136, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  color: rgba(38, 18, 71, 0.72);
  box-shadow: 0 10px 28px rgba(85, 43, 136, 0.06);
}

.trust-bar span {
  min-width: 0;
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-left: 1px solid rgba(85, 43, 136, 0.14);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 720;
}

.trust-bar span:first-child {
  border-left: 0;
}

.trust-bar svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: rgba(85, 43, 136, 0.78);
}

.trust-bar path,
.trust-bar rect,
.trust-bar circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  min-height: 56px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 16px 34px rgba(85, 43, 136, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.secondary {
  color: var(--purple);
  border: 1px solid rgba(85, 43, 136, 0.14);
  background: rgba(255, 255, 255, 0.5);
}

.trust-strip {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(85, 43, 136, 0.11);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 44px rgba(85, 43, 136, 0.1);
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  color: var(--purple);
  font-size: 14px;
}

.trust-strip small {
  margin-top: 3px;
  color: rgba(38, 18, 71, 0.62);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.trust-seal {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(245, 191, 61, 0.2);
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-card {
  margin-top: 30px;
  margin-left: -6px;
  margin-right: -6px;
  border: 1px solid rgba(85, 43, 136, 0.11);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 54px rgba(85, 43, 136, 0.12);
  text-align: left;
}

.home-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.home-card-body {
  padding: 18px 20px 20px;
}

.home-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-card-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  animation: blink-green 1.35s ease-in-out infinite;
}

.home-card h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.16;
}

.home-card p {
  margin: 8px 0 0;
  color: rgba(38, 18, 71, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 29px;
  height: 29px;
  margin-left: -9px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.avatar-stack span:nth-child(2) {
  background: #c9c2f5;
}

.avatar-stack span:nth-child(3) {
  background: #8b7cff;
}

.avatar-stack span:nth-child(4) {
  background: #6b5bff;
  color: var(--white);
}

.section {
  min-height: 100svh;
  padding: calc(env(safe-area-inset-top) + 28px) 14px calc(env(safe-area-inset-bottom) + 96px);
}

.section-head {
  max-width: 380px;
  margin: 0 auto 14px;
  padding: 0 6px;
  text-align: center;
}

.section h2 {
  margin: 6px 0 0;
  color: var(--purple);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 820;
  letter-spacing: 0;
}

.flow-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-list {
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.service-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.service-item.active {
  border-color: rgba(107, 91, 255, 0.55);
  background: rgba(107, 91, 255, 0.16);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lavender);
}

.active .service-icon {
  color: var(--white);
  background: var(--purple);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-icon path,
.service-icon rect,
.service-icon circle,
.bottom-nav path,
.bottom-nav circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3,
.steps h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.service-item p,
.steps p {
  margin: 4px 0 0;
  color: rgba(38, 18, 71, 0.66);
  font-size: 13px;
  line-height: 1.35;
}

.flow-card {
  width: min(100%, 430px);
  min-height: auto;
  margin: 0 auto;
  border: 1px solid rgba(85, 43, 136, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(320px 220px at 88% 0%, rgba(245, 191, 61, 0.1), transparent 64%),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 54px rgba(85, 43, 136, 0.12);
  overflow: hidden;
}

.flow-topline {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  padding: 13px 14px 9px;
}

.flow-topline span {
  color: rgba(85, 43, 136, 0.66);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.progress {
  height: 4px;
  margin: 0 18px;
  border-radius: 999px;
  background: rgba(85, 43, 136, 0.12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 220ms ease;
}

.flow-screen {
  min-height: auto;
  padding: 18px 16px 14px;
}

.screen-title {
  margin: 0;
  color: var(--purple);
  font-size: 27px;
  line-height: 1.08;
  font-weight: 820;
}

.screen-copy {
  margin: 7px 0 0;
  color: rgba(38, 18, 71, 0.68);
  font-size: 14px;
  line-height: 1.42;
}

.field-label {
  display: block;
  margin: 18px 0 8px;
  color: rgba(85, 43, 136, 0.72);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segmented,
.choice-list,
.photo-grid,
.detail-grid,
.payment-options {
  display: grid;
  gap: 10px;
}

.segmented {
  grid-template-columns: 1fr;
}

.segment,
.choice,
.field,
.photo-tile,
.notice,
.summary,
.pricing-panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.segment,
.choice,
.field,
.photo-tile {
  border-radius: 17px;
}

.segment {
  min-height: 50px;
  padding: 0 16px;
  color: var(--purple);
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.segment.active,
.choice.active {
  border-color: rgba(85, 43, 136, 0.28);
  background: rgba(85, 43, 136, 0.08);
}

.choice {
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 12px;
  align-items: center;
}

.choice strong,
.field strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.choice small,
.field small {
  display: block;
  margin-top: 3px;
  color: rgba(38, 18, 71, 0.62);
  font-size: 12.5px;
  line-height: 1.32;
}

.radio-dot {
  width: 21px;
  height: 21px;
  border: 1.5px solid rgba(85, 43, 136, 0.24);
  border-radius: 999px;
}

.choice.active .radio-dot {
  border: 6px solid var(--purple);
}

.photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.photo-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(38, 18, 71, 0.7);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 248, 234, 0.7);
}

.photo-tile.filled {
  color: var(--white);
  background: linear-gradient(135deg, rgba(85, 43, 136, 0.88), rgba(125, 85, 191, 0.72));
}

.uploaded-photo {
  padding: 10px;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.photo-tile.add {
  border-style: dashed;
}

.photo-tile span {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(38, 18, 71, 0.44);
}

.notice {
  margin-top: 16px;
  border-radius: 18px;
  padding: 15px 16px;
  color: rgba(38, 18, 71, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.notice strong.live-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.live-status span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  animation: blink-green 1.35s ease-in-out infinite;
}

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

.field {
  min-height: 74px;
  padding: 14px;
}

.field.wide {
  grid-column: 1 / -1;
}

.field.editable {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field.editable small {
  margin-top: 0;
}

.detail-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 760;
}

.detail-input:focus {
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(245, 191, 61, 0.62);
}

.detail-input[type="number"] {
  appearance: textfield;
}

.detail-input[type="number"]::-webkit-outer-spin-button,
.detail-input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.notes-field textarea {
  min-height: 82px;
  resize: vertical;
}

.chips {
  display: flex;
  gap: 8px;
  margin-top: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip,
.schedule-chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--purple);
  background: rgba(255, 248, 234, 0.68);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.chip.active,
.schedule-chip.active {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.price-display {
  margin-top: 16px;
  padding: 24px 14px;
  border: 1px solid rgba(245, 191, 61, 0.38);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(245, 191, 61, 0.14), rgba(85, 43, 136, 0.08));
  text-align: center;
}

.price-card-input {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 650;
}

.price-card-input span {
  margin-top: 12px;
  color: var(--purple);
  font-size: 34px;
  font-weight: 500;
}

.price-card-input input {
  width: 176px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-align: center;
  appearance: textfield;
}

.price-card-input input::-webkit-outer-spin-button,
.price-card-input input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.price-card-input input:focus {
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(245, 191, 61, 0.72);
}

.price-display small {
  display: block;
  margin-top: 7px;
  color: rgba(38, 18, 71, 0.58);
}

.pricing-panel {
  margin-top: 12px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(85, 43, 136, 0.1);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: rgba(85, 43, 136, 0.72);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.range {
  position: relative;
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(85, 43, 136, 0.12);
}

.range::before {
  content: "";
  position: absolute;
  left: var(--recommended-left, 30%);
  width: calc(var(--recommended-right, 70%) - var(--recommended-left, 30%));
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(85, 43, 136, 0.72), rgba(245, 191, 61, 0.82));
}

.range::after {
  content: "";
  position: absolute;
  left: var(--price-position, 52%);
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 18px rgba(245, 191, 61, 0.48);
}

.range.empty::after {
  opacity: 0;
}

.price-guidance {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  border: 1px solid rgba(85, 43, 136, 0.12);
  border-radius: 17px;
  padding: 14px 15px;
  background: rgba(255, 248, 234, 0.7);
  font-size: 13px;
  line-height: 1.4;
}

.price-guidance strong {
  color: var(--purple);
  font-size: 15px;
}

.price-guidance span {
  color: rgba(38, 18, 71, 0.76);
}

.price-guidance small {
  color: rgba(38, 18, 71, 0.58);
  font-weight: 700;
}

.price-guidance.low {
  border-color: rgba(245, 191, 61, 0.45);
  background: rgba(245, 191, 61, 0.12);
}

.price-guidance.recommended {
  border-color: rgba(85, 43, 136, 0.22);
  background: rgba(85, 43, 136, 0.08);
}

.price-guidance.priority {
  border-color: rgba(45, 154, 95, 0.32);
  background: rgba(45, 154, 95, 0.09);
}

.payment-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.payment-options button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.72);
  color: var(--purple);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
}

.summary {
  margin-top: 14px;
  border-radius: 20px;
  padding: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(85, 43, 136, 0.1);
  color: rgba(38, 18, 71, 0.7);
  font-size: 13px;
}

.summary-row strong {
  color: var(--ink);
  text-align: right;
}

.confirmed {
  min-height: 360px;
  display: grid;
  align-content: center;
  text-align: center;
}

.confirmed-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold);
  box-shadow: 0 28px 58px rgba(245, 191, 61, 0.38), 0 0 0 8px rgba(245, 191, 61, 0.16);
}

.confirmed-mark svg {
  width: 54px;
  height: 54px;
}

.confirmed-mark path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-actions {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 10px;
  padding: 0 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 248, 234, 0.54));
}

.flow-actions .button {
  min-height: 52px;
}

.steps {
  max-width: 430px;
  margin: 0 auto;
  border: 1px solid rgba(85, 43, 136, 0.1);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.52);
}

.steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  row-gap: 4px;
  padding: 17px 16px;
  border-top: 1px solid rgba(85, 43, 136, 0.09);
}

.steps article:first-child {
  border-top: 0;
}

.steps span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(85, 43, 136, 0.1);
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  grid-row: 1 / 3;
}

.steps h3,
.steps p {
  grid-column: 2;
}

.how {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: calc(env(safe-area-inset-top) + 28px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 92px);
}

.how-card {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 20px 16px 16px;
  border: 1px solid rgba(85, 43, 136, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(300px 200px at 92% 0%, rgba(245, 191, 61, 0.1), transparent 64%),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 54px rgba(85, 43, 136, 0.12);
}

.how .section-head {
  width: 100%;
  margin-bottom: 16px;
  padding: 0 4px;
  text-align: center;
}

.how h2 {
  color: var(--purple);
  font-size: 28px;
  line-height: 1.08;
}

.how .steps {
  width: 100%;
  border-radius: 22px;
  background: rgba(255, 248, 234, 0.58);
}

.how .steps article {
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  padding: 16px 15px;
  align-items: start;
}

.how .steps h3 {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.how .steps p {
  color: rgba(38, 18, 71, 0.64);
  font-size: 13px;
  line-height: 1.38;
}

.how-note {
  margin: 14px 4px 0;
  color: rgba(38, 18, 71, 0.64);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.community-pill {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  max-width: calc(100% - 8px);
  margin: 16px auto 0;
  padding: 9px 13px 9px 11px;
  border: 1px solid rgba(85, 43, 136, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(85, 43, 136, 0.08);
}

.how .community-pill {
  margin-left: auto;
  margin-right: auto;
}

.community-pill span {
  flex: 0 0 auto;
  margin-top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  animation: blink-green 1.35s ease-in-out infinite;
}

.footer {
  padding: 44px 22px 28px;
  color: rgba(38, 18, 71, 0.72);
  text-align: center;
}

.footer .brand {
  justify-content: center;
}

.footer p {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer small {
  font-size: 12px;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(85, 43, 136, 0.16);
  border-radius: 22px;
  background: rgba(255, 248, 234, 0.86);
  box-shadow: 0 20px 48px rgba(85, 43, 136, 0.18);
  backdrop-filter: blur(20px);
}

.bottom-nav a {
  min-height: 47px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: rgba(85, 43, 136, 0.72);
  font-size: 11px;
  font-weight: 820;
}

.bottom-nav a:first-child {
  color: var(--purple);
  background: rgba(245, 191, 61, 0.16);
}

.bottom-nav a.active {
  color: var(--ink);
  background: var(--gold);
}

.bottom-nav a:not(.active):first-child {
  color: rgba(85, 43, 136, 0.72);
  background: transparent;
}

.bottom-nav svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 680px) {
  body {
    padding-bottom: 0;
  }

  .bottom-nav {
    left: 50%;
    transform: translateX(-50%);
    width: min(430px, calc(100vw - 28px));
  }

  .topbar {
    width: min(430px, calc(100vw - 28px));
  }

  .hero,
  .section,
  .footer {
    width: min(480px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    min-height: 870px;
    border-radius: 0 0 38px 38px;
  }
}
