:root {
  --ink: #17313c;
  --muted: #6e7d80;
  --paper: #f6f2e9;
  --card: #fffdf8;
  --coral: #ee603e;
  --aqua: #4faaa8;
  --line: rgba(23, 49, 60, 0.13);
  --shadow: 0 18px 60px rgba(23, 49, 60, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(79, 170, 168, 0.13),
      transparent 35rem
    ),
    var(--paper);
}
button,
input,
textarea {
  font: inherit;
}
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 233, 0.88);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand-button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}
.brand-mark {
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0.02em;
  font-size: 15px;
  text-align: left;
}
.brand-mark > span {
  color: var(--coral);
}
.at {
  color: var(--muted);
  font-family: Georgia, serif;
  font-style: italic;
}
.brand-button img {
  width: 76px;
  height: 45px;
  object-fit: contain;
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
main {
  width: min(100%, 980px);
  margin: auto;
  padding: 0 clamp(18px, 4vw, 42px);
  flex: 1;
}
.hero {
  padding: clamp(56px, 10vw, 112px) 0 62px;
  max-width: 790px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.19em;
  font-weight: 900;
  color: var(--aqua);
  margin: 0 0 15px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(49px, 9vw, 92px);
  letter-spacing: -0.055em;
  line-height: 0.88;
  margin: 0;
}
.hero h1 em {
  color: var(--coral);
  font-weight: 400;
}
.hero h1.coworking-title {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.96;
  max-width: 780px;
}
.lede {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 550px;
  margin: 28px 0;
}
.primary {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--coral);
  color: #fff;
  min-height: 54px;
  padding: 0 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(238, 96, 62, 0.2);
}
.primary.big {
  width: auto;
  min-width: 224px;
}
.primary:hover {
  transform: translateY(-1px);
}
.return-card {
  margin-top: 12px;
  max-width: 380px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 11px;
  border-radius: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.return-card span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.return-card small,
.choice small,
.toggle-row small {
  color: var(--muted);
  margin-top: 3px;
}
.mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--aqua);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.announcement {
  padding: 16px 18px;
  border-radius: 14px;
  background: #17313c;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.45;
}
.people-section {
  padding: 40px 0 90px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-family: Georgia, serif;
  font-size: 42px;
  letter-spacing: -0.04em;
  margin: 0;
}
.count {
  display: grid;
  place-items: center;
  background: var(--aqua);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: 900;
}
.people-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.person {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
}
.person:hover {
  border-color: var(--aqua);
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.person h3 {
  margin: 2px 0 4px;
  font-size: 18px;
}
.person p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}
.person .open {
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  margin-top: 10px;
}
.empty-state {
  text-align: center;
  padding: 55px 15px;
  color: var(--muted);
}
.empty-state h3 {
  font-family: Georgia, serif;
  color: var(--ink);
  font-size: 28px;
  margin: 15px 0 8px;
}
.empty-state p {
  max-width: 390px;
  margin: auto;
  line-height: 1.5;
}
.empty-orbit {
  margin: auto;
  width: 70px;
  height: 70px;
  border: 1px dashed var(--aqua);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.empty-orbit span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--aqua);
  color: white;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.profile-wrap {
  padding: 54px 0 90px;
}
.back {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 34px;
}
.profile-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(25px, 5vw, 50px);
  box-shadow: var(--shadow);
}
.profile-head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
}
.profile-head .avatar {
  width: 76px;
  height: 76px;
  font-size: 22px;
  background: var(--coral);
}
.profile-head h1 {
  font-family: Georgia, serif;
  font-size: 44px;
  margin: 0;
}
.profile-head p {
  margin: 4px 0;
  color: var(--muted);
}
.detail {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.detail h4 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--aqua);
}
.detail p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.secondary,
.danger {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  min-height: 50px;
  border-radius: 13px;
  padding: 0 17px;
  font-weight: 850;
  cursor: pointer;
}
.danger {
  color: #a9432c;
}
.request {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  margin-top: 10px;
}
.request p {
  color: var(--muted);
  line-height: 1.4;
}
.request .actions {
  margin-top: 10px;
}
.host-panel {
  padding: 54px 0 90px;
}
.host-panel h1 {
  font-family: Georgia, serif;
  font-size: 48px;
  margin: 0 0 8px;
}
.host-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.host-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.host-card.full {
  grid-column: 1/-1;
}
.host-card h3 {
  margin-top: 0;
}
.host-list {
  display: grid;
  gap: 8px;
}
.host-row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.host-row p {
  margin: 3px 0;
  color: var(--muted);
}
.qr-preview {
  width: min(100%, 260px);
  border-radius: 12px;
}
footer {
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
footer a {
  color: var(--ink);
  text-decoration: none;
}
footer button {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
dialog {
  width: min(calc(100% - 28px), 520px);
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(23, 49, 60, 0.3);
}
dialog::backdrop {
  background: rgba(15, 34, 42, 0.55);
  backdrop-filter: blur(3px);
}
dialog form,
.dialog-body {
  padding: 34px;
}
dialog h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  margin: 0 0 8px;
}
.form-intro {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 24px;
}
.close {
  float: right;
  border: 0;
  background: #eee9df;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 17px;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  padding: 13px;
  color: var(--ink);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(79, 170, 168, 0.13);
}
.toggle-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.toggle-row span {
  display: grid;
}
.toggle-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--coral);
}
.consent-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 500;
  line-height: 1.4;
}
.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--coral);
}
.consent-row a,
.legal a {
  color: var(--ink);
  font-weight: 800;
}
.legal {
  max-width: 720px;
  margin: auto;
}
.legal h1 {
  font-family: Georgia, serif;
  font-size: clamp(46px, 8vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.legal h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  margin-top: 30px;
}
.legal p {
  color: var(--muted);
  line-height: 1.65;
}
.privacy {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 16px;
}
.choice {
  width: 100%;
  display: grid;
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 17px;
  margin-top: 10px;
  cursor: pointer;
  color: var(--ink);
}
#toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 17px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  font-weight: 750;
  font-size: 13px;
  box-shadow: var(--shadow);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hidden {
  display: none !important;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 650px) {
  .topbar {
    height: 68px;
  }
  .brand-button img {
    width: 66px;
  }
  .hero {
    padding-top: 55px;
  }
  .people-list,
  .host-grid {
    grid-template-columns: 1fr;
  }
  .host-card.full {
    grid-column: auto;
  }
  .profile-head h1 {
    font-size: 38px;
  }
  .actions {
    flex-direction: column;
  }
  .primary.big {
    width: 100%;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .person {
    padding: 16px;
  }
  dialog {
    margin: auto 14px;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }
  dialog form,
  .dialog-body {
    padding: 25px;
  }
}
