:root {
  --p: #4217b1;
  --pd: #281078;
  --o: #ff630f;
  --ink: #211b35;
  --mut: #716b80;
  --line: #e8e5ed;
  --wash: #f7f5ff;
  --shadow: 0 18px 50px #26115d1a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: #f5f3f8;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
svg {
  display: block;
}
.shell {
  min-height: 100vh;
}
#app {
  min-height: 100vh;
  padding-bottom: 86px;
  background: #fff;
}
.sidebar {
  display: none;
}
.hero {
  position: relative;
  min-height: 290px;
  padding: max(28px, env(safe-area-inset-top)) 24px 84px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 8%, #7244e79e, transparent 33%),
    linear-gradient(135deg, var(--pd), #5122c6);
}
.hero:after,
.page-header:after {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 12px solid var(--o);
  border-radius: 50%;
  content: "";
  right: -92px;
  bottom: -92px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand b {
  font-family: "Barlow Condensed";
  font-size: 67px;
  line-height: 0.8;
  letter-spacing: -4px;
}
.brand i {
  width: 2px;
  height: 52px;
  background: #ffffff70;
}
.brand span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.hero h1 {
  margin: 38px 0 8px;
  font-size: clamp(26px, 7vw, 38px);
  line-height: 1.08;
}
.hero p {
  margin: 0;
  color: #ffffffb8;
  font-size: 13px;
}
.hero p strong,
.sidebar strong {
  color: #ff955c;
}
.home {
  position: relative;
  z-index: 2;
  padding: 0 18px 30px;
  margin-top: -56px;
}
.panel {
  border: 1px solid #2c195412;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.quick {
  padding: 20px;
}
.quick h2 {
  margin: 0 0 16px;
  font-size: 19px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}
.quick-action {
  min-height: 135px;
  padding: 17px 8px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  transition: 0.2s;
}
.quick-action:hover,
.content-card:hover {
  transform: translateY(-3px);
  border-color: #cfc4f5;
  box-shadow: 0 12px 25px #36187e17;
}
.quick-action strong {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}
.orb {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 17px;
  color: var(--p);
  background: var(--wash);
}
.orb.orange {
  color: var(--o);
  background: #fff0e8;
}
.orb svg {
  width: 28px;
  height: 28px;
}
.social {
  padding: 7px 18px;
  margin-top: 15px;
}
.social-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.social-link:last-child {
  border: 0;
}
.social-link svg {
  width: 22px;
  height: 22px;
  color: var(--p);
}
.external {
  width: 19px !important;
  height: 19px !important;
  margin-left: auto;
  color: var(--o) !important;
}
.page-header {
  position: relative;
  min-height: 156px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: max(30px, env(safe-area-inset-top)) 22px 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--pd), #5122c6);
}
.back {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff1a;
}
.back svg {
  width: 23px;
}
.page-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(27px, 7vw, 36px);
  line-height: 1.05;
}
.page-title small {
  display: block;
  margin-bottom: 5px;
  color: #c8baff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-body {
  max-width: 1040px;
  padding: 22px 17px 40px;
  margin: auto;
}
.intro {
  margin: 0 0 21px;
  color: var(--mut);
  font-size: 14px;
  line-height: 1.55;
}
.content-list {
  display: grid;
  gap: 13px;
}
.content-card {
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 15px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 22px #1f11410a;
  transition: 0.2s;
}
.cover {
  position: relative;
  width: 112px;
  height: 82px;
  flex: none;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(150deg, #f18b50, #71459b 42%, #171838);
}
.cover:before {
  position: absolute;
  width: 120px;
  height: 60px;
  border-radius: 50%;
  background: #242448;
  content: "";
  left: -25px;
  bottom: -37px;
}
.play {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--p);
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 15px #170a4138;
}
.play svg {
  width: 19px;
  margin-left: 2px;
}
.copy {
  min-width: 0;
  flex: 1;
}
.copy h2 {
  margin: 0 0 5px;
  font-size: 16px;
}
.copy p {
  margin: 0;
  color: var(--mut);
  font-size: 12px;
}
.arrow {
  color: var(--o);
}
.arrow svg {
  width: 23px;
}
.form-card,
.info-card {
  min-height: 94px;
}
.form-card .orb,
.info-card .orb {
  flex: none;
  margin: 0;
}
.callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  margin-top: 22px;
  border-radius: 18px;
  color: var(--pd);
  background: var(--wash);
}
.callout > svg {
  width: 27px;
  flex: none;
  color: var(--o);
}
.callout p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.mobile-nav {
  position: fixed;
  z-index: 20;
  display: flex;
  height: calc(72px + env(safe-area-inset-bottom));
  align-items: flex-start;
  justify-content: space-around;
  padding: 9px 5px env(safe-area-inset-bottom);
  border-top: 1px solid #ddd7ea;
  background: #fffffff2;
  backdrop-filter: blur(15px);
  left: 0;
  right: 0;
  bottom: 0;
}
.nav-link {
  display: flex;
  min-width: 66px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #7b7488;
  font-size: 10px;
  font-weight: 600;
}
.nav-link svg {
  width: 23px;
  height: 23px;
}
.nav-link.active {
  color: var(--o);
}
.toast {
  position: fixed;
  z-index: 50;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border-radius: 13px;
  color: #fff;
  background: #241c34;
  left: 50%;
  bottom: 92px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: 0.25s;
  font-size: 13px;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 540px) {
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home {
    padding-inline: 28px;
  }
  .page-body {
    padding: 30px 28px 55px;
  }
  .content-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .shell {
    display: grid;
    grid-template-columns: 270px 1fr;
  }
  .sidebar {
    position: fixed;
    z-index: 30;
    display: flex;
    width: 270px;
    height: 100vh;
    flex-direction: column;
    padding: 35px 24px 28px;
    color: #fff;
    background: linear-gradient(165deg, var(--pd), var(--p));
    left: 0;
    top: 0;
  }
  .side-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 7px 33px;
    font-size: 11px;
    line-height: 1.35;
  }
  .side-brand b {
    font-family: "Barlow Condensed";
    font-size: 38px;
    letter-spacing: -2px;
  }
  .sidebar nav {
    display: grid;
    gap: 8px;
  }
  .sidebar .nav-link {
    min-width: 0;
    flex-direction: row;
    gap: 14px;
    padding: 13px 15px;
    border-radius: 13px;
    color: #ffffffab;
    font-size: 13px;
  }
  .sidebar .nav-link.active {
    color: #fff;
    background: #ffffff21;
  }
  .sidebar p {
    margin: auto 7px 0;
    color: #ffffff8c;
    font-size: 12px;
    line-height: 1.5;
  }
  #app {
    grid-column: 2;
    padding-bottom: 0;
  }
  .mobile-nav {
    display: none;
  }
  .hero {
    min-height: 330px;
    padding: 58px 6vw 110px;
  }
  .hero .brand {
    display: none;
  }
  .hero h1 {
    margin-top: 0;
    font-size: 44px;
  }
  .home {
    max-width: 1120px;
    padding: 0 36px 50px;
    margin: -73px auto 0;
  }
  .quick {
    padding: 28px;
  }
  .quick-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .quick-action {
    min-height: 150px;
  }
  .social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 20px;
  }
  .social-link {
    padding: 0 17px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .page-header {
    min-height: 196px;
    padding: 46px 6vw;
  }
  .page-body {
    padding-top: 38px;
  }
  .toast {
    bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
