/* ============================================================
   Dostie — Inner / legal page styles
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 56px;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(139, 92, 246, 0.2), transparent 60%),
    radial-gradient(ellipse 70% 60% at 85% 90%, rgba(59, 130, 246, 0.18), transparent 60%),
    #000;
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin: 0 0 16px;
}
.page-hero__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-pink);
}
.page-hero__title {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}
.page-hero__title span {
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}
.page-hero__meta {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-mute);
}

/* Body */
.page-body {
  background: #000;
  padding: 56px 0 90px;
}
.page-body__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}
.page-body__inner--wide { max-width: 1160px; }
.page-body h2 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 26px 0 10px;
}
.page-body p,
.page-body li {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
}
.page-body p { margin: 0 0 16px; }
.page-body ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.page-body ul li {
  position: relative;
  padding: 8px 0 8px 26px;
}
.page-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}
.page-body strong { color: #fff; }
.page-body a.inline-link { color: var(--pink-2); }
.page-body a.inline-link:hover { color: var(--pink); }

/* Callout box */
.callout {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Data table */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 26px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.policy-table th,
.policy-table td {
  text-align: left;
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.policy-table thead th {
  font-family: var(--font-round);
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,0.05);
  font-size: 14px;
  letter-spacing: 0.01em;
}
.policy-table tbody th {
  font-weight: 700;
  color: #fff;
  width: 42%;
  background: rgba(255,255,255,0.02);
}
.policy-table td { color: var(--text-dim); line-height: 1.65; }
.policy-table tr:last-child th,
.policy-table tr:last-child td { border-bottom: none; }
.policy-table ul { margin: 6px 0 0; }
.policy-table li { font-size: 15px; padding: 4px 0 4px 22px; }
.policy-table li::before { top: 13px; }
@media (max-width: 640px) {
  .policy-table, .policy-table thead, .policy-table tbody,
  .policy-table th, .policy-table td, .policy-table tr { display: block; }
  .policy-table thead { display: none; }
  .policy-table tbody th { width: auto; }
  .policy-table tr { border-bottom: 1px solid var(--line); }
  .policy-table tr:last-child { border-bottom: none; }
  .policy-table th, .policy-table td { border-bottom: none; }
}

/* ============================================================
   Become a Host — extras
   ============================================================ */
.host-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 10px;
}
.host-perk {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease;
}
.host-perk:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
.host-perk__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}
.host-perk__title {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
}
.host-perk__text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.host-steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin: 30px 0;
}
.host-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.host-step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.host-step h3 { margin: 6px 0 4px; }
.host-step p { margin: 0; }

.page-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-round);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  box-shadow: 0 16px 36px -14px rgba(124, 58, 237, 0.6);
}
.page-cta:hover { transform: translateY(-3px) scale(1.03); }

/* About stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}
.about-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.about-stat__num {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(135deg, #f472b6, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.about-stat__label {
  font-size: 14px;
  color: var(--text-dim);
}

/* Danger callout for account deletion */
.callout--danger {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.06);
}

/* ============================================================
   Become a Host — application form
   ============================================================ */
.host-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
  margin: 8px 0 12px;
}
.host-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.host-form__head { margin-bottom: 24px; }
.host-form__head h2 { margin: 0 0 6px; }
.host-form__head p { margin: 0; font-size: 14px; color: var(--text-mute); }
.field { margin-bottom: 22px; }
.field:last-of-type { margin-bottom: 0; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 10px;
}
.field__label .req { color: var(--pink-2); }
.field__hint { font-size: 12.5px; color: var(--text-mute); margin: 8px 0 0; line-height: 1.5; }
.input,
.select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--text-mute); }
.input:focus,
.select:focus {
  outline: none;
  border-color: var(--pink-2);
  background: rgba(255,255,255,0.06);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f472b6' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
input[type="date"].input { color-scheme: dark; cursor: pointer; }

/* chip groups (radio / multi) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--pink-2); color: #fff; }
.chip.is-active {
  background: var(--grad-pink);
  border-color: transparent;
  color: #fff;
}

/* host type toggle */
.host-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.host-type__opt {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.host-type__opt:hover { border-color: var(--pink-2); }
.host-type__opt.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(244,114,182,0.16), rgba(139,92,246,0.16));
  box-shadow: inset 0 0 0 1.5px var(--pink-2);
}
.host-type__name { font-family: var(--font-round); font-weight: 800; color: #fff; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.host-type__desc { font-size: 12.5px; color: var(--text-mute); margin-top: 5px; line-height: 1.45; }
.host-type__star { color: #fbbf24; }

/* dropzones */
.drop-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border: 1.5px dashed var(--line-2);
  border-radius: 14px;
  padding: 22px 16px;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255,255,255,0.02);
}
.dropzone:hover { border-color: var(--pink-2); color: #fff; background: rgba(244,114,182,0.05); }
.dropzone svg { color: var(--pink-2); }
.drop-or { font-size: 12px; color: var(--text-mute); font-weight: 700; letter-spacing: 0.08em; }

/* photo slots */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.photo-slot {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  border: 1.5px dashed var(--line-2);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 8px, rgba(255,255,255,0.05) 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  cursor: pointer;
  transition: all 0.2s ease;
}
.photo-slot:hover { border-color: var(--pink-2); color: var(--pink-2); }
.photo-slot.is-filled {
  border-style: solid;
  border-color: transparent;
}
.photo-slot svg { width: 20px; height: 20px; }

.host-submit {
  width: 100%;
  margin-top: 26px;
  border: none;
  cursor: pointer;
  padding: 17px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 16px 36px -14px rgba(124, 58, 237, 0.6);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.host-submit:hover { transform: translateY(-2px); }
.form-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.55;
}
.form-toast {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
}
.form-toast.is-show { display: block; }

/* image placeholders (gallery / aside) */
.img-ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(244,114,182,0.10) 0 12px, rgba(139,92,246,0.10) 12px 24px),
    var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
}
.img-ph span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  margin: 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* aside gallery beside the form */
.host-aside { display: grid; gap: 16px; position: sticky; top: 90px; }
.host-aside__lead {
  background: linear-gradient(135deg, rgba(244,114,182,0.12), rgba(139,92,246,0.12));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.host-aside__lead h3 { font-family: var(--font-round); font-weight: 800; font-size: 20px; color: #fff; margin: 0 0 8px; }
.host-aside__lead p { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.6; }
.host-aside__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.host-aside__imgs .img-ph:first-child { grid-row: span 2; aspect-ratio: 3/5; }
.host-aside__imgs .img-ph { aspect-ratio: 4/3; }

/* listener banner */
.host-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 64px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.host-banner__img { min-height: 320px; }
.host-banner__body {
  padding: 48px 44px;
  background: linear-gradient(135deg, #15101f 0%, #0c0c16 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.host-banner__body h2 { font-family: var(--font-round); font-weight: 900; font-size: clamp(26px, 3vw, 36px); color: #fff; margin: 0 0 14px; letter-spacing: -0.01em; }
.host-banner__body p { font-size: 16px; color: var(--text-dim); margin: 0 0 26px; line-height: 1.7; }

/* feature highlights */
.host-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 12px;
}
.host-feat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s ease;
}
.host-feat:hover { transform: translateY(-5px); border-color: var(--line-2); }
.host-feat__icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.host-feat h3 { font-family: var(--font-round); font-weight: 800; font-size: 16px; color: #fff; margin: 0; }

/* testimonials */
.host-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 12px;
}
.host-quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.host-quote__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.host-quote__av {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-round); font-weight: 800; font-size: 19px; color: #fff;
  flex-shrink: 0;
}
.host-quote__name { font-family: var(--font-round); font-weight: 800; color: #fff; font-size: 16px; }
.host-quote__stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; }
.host-quote__text { font-size: 14.5px; color: var(--text-dim); line-height: 1.7; margin: 0; }

@media (max-width: 860px) {
  .host-layout { grid-template-columns: 1fr; }
  .host-aside { position: static; }
  .host-banner { grid-template-columns: 1fr; }
  .host-feats { grid-template-columns: 1fr 1fr; }
  .host-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .host-form { padding: 22px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .drop-row { grid-template-columns: 1fr; }
  .drop-or { text-align: center; }
  .host-feats { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .host-perks,
  .about-stats { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero__inner,
  .page-body__inner { padding: 0 20px; }
}
