:root {
  --cream: #fbf7ee;
  --cream-dark: #f5eedd;
  --cream-panel: #f4eedd;
  --ink: #2b3a67;
  --ink-muted: #5a6488;
  --ink-soft: #8089a8;
  --ink-faint: #9aa0ba;
  --border: #eee7d6;
  --border-input: #e4decb;
  --rose: #c0567f;
  --orange: #e8623a;
  --orange-shadow: rgba(232, 98, 58, 0.26);
  --blue: #3b5cc4;
  --blue-dark: #5157b8;
  --blue-soft: #c6c9f0;
  --yellow: #f4c842;
  --sky: #8fb8de;
  --green: #3b9e5c;
  --green-bg: #e3f0e7;
  --nav-blur: rgba(251, 247, 238, 0.92);
  --card-shadow: rgba(43, 58, 103, 0.08);
  --phone-shadow: rgba(43, 58, 103, 0.26);
  --max-width: 1080px;
  --radius-lg: 26px;
  --radius-md: 14px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.logo-text {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1;
}

.logo-text .pepi {
  color: var(--orange);
}

.logo-text .passport {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 15px 28px;
  font-size: 16px;
  box-shadow: 0 12px 24px var(--orange-shadow);
}

.btn-nav {
  background-color: var(--blue-dark);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
}

.nav-links a.btn-nav {
  background-color: var(--blue-dark);
}

.section-label {
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--rose);
}

.section-title {
  margin: 0 0 40px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.01em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: transparent;
  isolation: isolate;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-blur);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links-desktop a:not(.btn) {
  white-space: nowrap;
}

.nav-join-mobile {
  display: none;
}

.hero {
  position: relative;
  overflow: visible;
}

.hero-dot-yellow,
.hero-dot-sky {
  position: absolute;
  border-radius: 50%;
}

.hero-dot-yellow {
  top: 96px;
  left: 7%;
  width: 11px;
  height: 11px;
  background: var(--yellow);
}

.hero-dot-sky {
  bottom: 64px;
  left: 15%;
  width: 9px;
  height: 9px;
  background: var(--sky);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-copy h1 .accent {
  color: var(--orange);
}

.hero-copy p {
  margin: 0 0 34px;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.phone-wrap {
  justify-self: center;
  padding: 16px 32px 8px 16px;
  perspective: 1400px;
}

.phone-device {
  transform: rotateY(-18deg) rotateZ(2deg);
  transform-style: preserve-3d;
}

.phone-shell {
  position: relative;
  width: 276px;
  padding: 4px;
  border-radius: 46px;
  background: linear-gradient(
    155deg,
    #4a5888 0%,
    #2b3a67 42%,
    #151d38 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 36px 72px rgba(43, 58, 103, 0.3);
}

.phone-shell::before,
.phone-shell::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 2px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, #3a466e, #1a2340);
  z-index: 3;
}

.phone-shell::before {
  top: 108px;
  height: 26px;
}

.phone-shell::after {
  top: 148px;
  height: 44px;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 4;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0d1224;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  background: #fbf8f0;
  border-radius: 42px;
  overflow: hidden;
  height: 536px;
}

.phone-screen::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 50px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(251, 248, 240, 0.96));
  pointer-events: none;
  z-index: 2;
}

.phone-screen-scroll {
  height: 100%;
  padding: 38px 10px 62px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-screen-scroll::-webkit-scrollbar {
  display: none;
}

.phone-wireframe-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.phone-bottomnav {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1px;
  width: 68%;
  padding: 3px 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(43, 58, 103, 0.14);
  transform: translateX(-50%);
}

.phone-bottomnav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px;
  border-radius: 999px;
  color: #5a6488;
}

.phone-bottomnav-item svg {
  display: block;
  width: 16px;
  height: 16px;
}

.phone-bottomnav-item.is-active {
  color: #2b3a67;
  background: #f4c842;
}

.phone-bottomnav-item:nth-child(2).is-active {
  color: #3b5cc4;
  background: #f7e3ec;
}

.phone-bottomnav-item:nth-child(3).is-active {
  color: #5872b4;
  background: #dceaf3;
}

.phone-bottomnav-item:nth-child(4).is-active {
  color: #fff;
  background: #8c8fcb;
}

.how-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.how-intro .section-label {
  margin-bottom: 14px;
}

.how-intro .section-title {
  margin-bottom: 0;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-step {
  padding-top: 4px;
  border-top: 3px solid var(--yellow);
  min-width: 0;
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}

.how-step h3 {
  margin: 0 0 10px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.how-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.section-how,
.section-hosts {
  padding: 72px 0 40px;
}

.section-hosts {
  padding-bottom: 72px;
}

.hosts-panel {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.hosts-copy {
  padding: 48px;
  color: #fff;
}

.hosts-copy .section-label {
  color: var(--yellow);
  margin-bottom: 16px;
}

.hosts-copy h2 {
  margin: 0 0 16px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
}

.hosts-copy > p {
  margin: 0 0 24px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--blue-soft);
}

.hosts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hosts-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  color: #eaeaf6;
}

.hosts-visual {
  position: relative;
  background: var(--blue);
  padding: 48px;
}

.stats-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  color: var(--ink);
}

.stats-card .title {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 16px;
}

.stats-card .subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid #f1ecde;
  font-size: 14px;
}

.stat-row span:first-child {
  color: #6b7396;
}

.stat-row span:last-child {
  font-weight: 800;
}

.stat-row .green {
  color: var(--green);
}

.section-signup {
  background: var(--cream-dark);
}

.signup-inner {
  max-width: 600px;
  margin-inline: auto;
  padding: 80px 0;
}

.signup-header {
  text-align: center;
  margin-bottom: 34px;
}

.signup-header h2 {
  margin: 0 0 12px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.01em;
}

.signup-header p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.signup-card {
  background: #fff;
  border: 1px solid #eae3d0;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 18px 44px var(--card-shadow);
}

.role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--cream-panel);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.role-tab {
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: transparent;
  color: var(--ink-soft);
}

.role-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(43, 58, 103, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 7px;
}

.field input,
.field select {
  width: 100%;
  background: #fbf9f2;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 15px;
  color: var(--ink);
}

.field select {
  appearance: none;
  cursor: pointer;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 11px;
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  margin-top: 6px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
}

.form-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fdecec;
  color: #9b1c1c;
  font-size: 14px;
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success-panel {
  text-align: center;
  padding: 26px 10px;
}

.success-icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-bg);
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.success-panel h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 24px;
}

.success-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.site-footer {
  background: var(--ink);
  color: var(--blue-soft);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
}

.footer-logo .pepi {
  color: #f4a03c;
}

.footer-logo .passport {
  color: var(--sky);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1024px) and (min-width: 901px) {
  .nav-links-desktop {
    gap: 16px;
  }

  .btn-nav {
    padding: 10px 14px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 88px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-copy .btn-primary {
    display: block;
    text-align: center;
  }

  .hero-dot-yellow {
    top: 30px;
    right: 26px;
    left: auto;
  }

  .hero-dot-sky {
    top: auto;
    bottom: 28px;
    left: auto;
    right: 18%;
  }

  .phone-wrap {
    justify-self: center;
    padding: 12px 20px 32px;
    perspective: none;
  }

  .phone-device {
    transform: none;
  }

  .phone-shell {
    width: 234px;
  }

  .phone-shell::before {
    top: 92px;
    height: 22px;
  }

  .phone-shell::after {
    top: 124px;
    height: 36px;
  }

  .phone-island {
    top: 12px;
    width: 72px;
    height: 18px;
  }

  .phone-screen {
    height: 430px;
    border-radius: 36px;
  }

  .phone-screen-scroll {
    padding: 32px 8px 54px;
  }

  .phone-screen::after {
    left: 8px;
    right: 8px;
    bottom: 44px;
  }

  .phone-bottomnav {
    bottom: 8px;
    width: 70%;
    padding: 2px 3px;
  }

  .phone-bottomnav-item {
    min-height: 28px;
    padding: 3px;
  }

  .phone-bottomnav-item svg {
    width: 15px;
    height: 15px;
  }

  .phone-wireframe-shot {
    border-radius: 16px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
  }

  .how-intro {
    margin-bottom: 32px;
  }

  .how-intro .section-title {
    font-size: 27px;
  }

  .section-how {
    padding-top: 44px;
  }

  .how-step h3 {
    font-size: 20px;
  }

  .how-step p {
    font-size: 14px;
  }

  .hosts-panel {
    grid-template-columns: 1fr;
  }

  .hosts-copy {
    padding: 30px 26px;
  }

  .hosts-copy h2 {
    font-size: 25px;
  }

  .hosts-visual {
    padding: 0 26px 30px;
    background: transparent;
  }

  .section-hosts {
    padding-top: 40px;
  }

  .signup-inner {
    padding: 44px 0;
  }

  .signup-header h2 {
    font-size: 28px;
  }

  .signup-header p {
    font-size: 15px;
  }

  .signup-card {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-join-mobile {
    display: inline-flex;
    padding: 9px 15px;
    font-size: 13px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 17px;
  }

  .site-footer .container {
    justify-content: center;
    text-align: center;
    padding: 26px 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }
}
