:root {
  --topbar-height: 72px;
  --brand-ink: #1f2440;
  --brand-purple: #4e3fc5;
  --brand-deep: #352b88;
  --brand-mist: #f5f5fb;
  --purple: #4e3fc5;
  --purple-dark: #352b88;
  --tint: #f0effb;
  --muted: #697086;
  --line: #e6e7ef;
}

html {
  scroll-padding-top: calc(var(--topbar-height) + 16px);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--brand-mist);
  color: var(--brand-ink);
}

h1, h2, h3, strong {
  color: var(--brand-ink);
}

.eyebrow {
  color: #6758c8;
}

.button {
  background: linear-gradient(135deg, #5a4bd0, #41349f);
  box-shadow: 0 5px 13px rgb(67 52 159 / 19%);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover {
  background: linear-gradient(135deg, #4d40bd, #352b88);
  box-shadow: 0 7px 18px rgb(67 52 159 / 23%);
  transform: translateY(-1px);
}

.button.secondary {
  background: #efedfc;
  color: #463b9d;
  box-shadow: none;
}

.button.secondary:hover {
  background: #e5e2fb;
  box-shadow: none;
}

.card,
.stat-card {
  border-color: #e8e9f0;
  box-shadow: 0 6px 22px rgb(31 36 64 / 5%);
}

.card {
  border-radius: 18px;
}

.stat-card {
  border-radius: 16px;
}

.event-row:hover {
  color: #3e328f;
}

body.drawer-open {
  overflow: hidden;
}

.app-frame {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-height);
  flex: 0 0 var(--topbar-height);
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom-color: #e6e7f0;
  box-shadow: 0 5px 20px rgb(31 36 64 / 5%);
}

.brand {
  min-width: 0;
  gap: 12px;
  color: var(--brand-ink);
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, #7063ea, #372a9b);
  box-shadow: 0 6px 15px rgb(64 50 162 / 20%);
}

.brand-logo {
  max-width: min(180px, 42vw);
  max-height: 44px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.header-workspace {
  max-width: 220px;
  overflow: hidden;
  padding: 8px 13px;
  border: 1px solid #e8e8f1;
  border-radius: 999px;
  background: #f8f8fc;
  color: #52566c;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-cta {
  padding: 10px 14px !important;
}

.menu-toggle,
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5ef;
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  flex-direction: column;
  gap: 5px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgb(31 36 64 / 6%);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #40358f;
  transition: transform .2s ease, width .2s ease;
}

.menu-toggle:hover {
  border-color: #cbc7f0;
  background: #f8f7ff;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  width: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-backdrop[hidden] {
  display: none !important;
}

.drawer-backdrop {
  position: fixed;
  z-index: 110;
  inset: var(--topbar-height) 0 0;
  background: rgb(20 22 42 / 42%);
  backdrop-filter: blur(3px);
  animation: drawer-fade-in .18s ease-out;
}

.site-drawer {
  position: fixed;
  z-index: 120;
  inset: var(--topbar-height) auto 0 0;
  display: flex;
  width: min(390px, calc(100vw - 28px));
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 18px max(20px, env(safe-area-inset-bottom));
  border-right: 1px solid #e6e5f0;
  background: #fff;
  box-shadow: 18px 0 55px rgb(23 25 51 / 16%);
  transform: translateX(-105%);
  transition: transform .24s cubic-bezier(.2,.75,.25,1);
  visibility: hidden;
}

.site-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 18px;
  border-bottom: 1px solid #eef0f5;
}

.drawer-head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer-head strong {
  color: var(--brand-ink);
  font-size: 18px;
  letter-spacing: -.03em;
}

.drawer-kicker {
  color: #7770bd;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #5c5e70;
  font-size: 26px;
  line-height: 1;
}

.drawer-account {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 16px 0 0;
  padding: 13px;
  border: 1px solid #ececf4;
  border-radius: 14px;
  background: #fafaff;
}

.account-avatar,
.footer-brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #7063ea, #372a9b);
  font-weight: 800;
}

.account-avatar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.drawer-account > div {
  min-width: 0;
}

.drawer-account strong,
.drawer-account small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-account strong {
  color: var(--brand-ink);
  font-size: 13px;
}

.drawer-account small {
  margin-top: 3px;
  color: #81869a;
  font-size: 11px;
}

.drawer-workspace {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 10px 0 2px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #f4f3ff;
}

.drawer-workspace > span {
  color: #7b789d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}

.drawer-workspace > strong {
  color: #332d69;
  font-size: 12px;
}

.drawer-workspace .workspace-switcher {
  margin-top: 5px;
}

.drawer-workspace .workspace-switcher select {
  width: 100%;
  max-width: none;
  background: #fff;
  font-size: 12px;
}

.drawer-intro {
  margin: 17px 3px 0;
  color: #70768b;
  font-size: 13px;
  line-height: 1.6;
}

.drawer-section {
  margin-top: 20px;
}

.drawer-section > p {
  margin: 0 10px 7px;
  color: #9296a8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}

.drawer-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  margin: 2px 0;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #555b70;
  font-size: 13px;
  font-weight: 650;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.drawer-link:hover,
.drawer-link:focus-visible {
  border-color: #e9e7fa;
  background: #f8f7ff;
  color: var(--brand-purple);
}

.drawer-link.is-active {
  border-color: #e2dfff;
  background: #f0efff;
  color: var(--brand-deep);
}

.drawer-link-mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 10px;
  background: #f1f1f7;
  color: #625da0;
  font-size: 11px;
  font-weight: 850;
}

.drawer-link.is-active .drawer-link-mark {
  background: #ddd9ff;
  color: #403599;
}

.drawer-link-arrow {
  margin-left: auto;
  color: #a7a8b5;
  font-size: 19px;
  font-weight: 400;
}

.drawer-bottom {
  margin-top: auto;
  padding: 21px 9px 2px;
  color: #999cac;
  font-size: 10px;
}

.page-layout {
  display: flex;
  width: 100%;
  flex: 1 0 auto;
}

.main {
  flex: 1 0 auto;
  min-width: 0;
}

.auth-main {
  min-height: 52vh;
  align-content: center;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #28215f;
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.footer {
  width: 100%;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 23px clamp(16px, 4vw, 48px);
  border-top: 1px solid #e5e6ee;
  background: #fff;
  color: #74798b;
  text-align: left;
}

.footer-inner {
  display: flex;
  max-width: 1260px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 14px;
}

.footer-brand-logo {
  display: block;
  max-width: 110px;
  max-height: 40px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: #31354d;
  font-size: 12px;
}

.footer-brand small {
  margin-top: 3px;
  color: #9296a7;
  font-size: 10px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
}

.footer-contact > span {
  color: #8c90a0;
}

.footer-contact a {
  color: #5145b2;
  font-weight: 700;
}

.footer-links { display: flex; align-items: center; gap: 13px; font-size: 10px; }
.footer-links strong { margin-right: 2px; color: #72778a; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: #666d82; font-weight: 650; }
.footer-links a:hover { color: #5145b2; }

.footer-copyright {
  color: #9699a8;
  font-size: 10px;
  white-space: nowrap;
}

.favicon-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaff;
}

.favicon-preview img {
  width: 48px;
  height: 48px;
  padding: 5px;
  border: 1px solid #ececf3;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.favicon-preview .toggle {
  font-size: 11px;
}

.public-hero {
  position: relative;
  display: grid;
  max-width: 1260px;
  min-height: 440px;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin: 2px auto 28px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid #e8e7f2;
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 20%, rgb(224 222 255 / 76%), transparent 38%),
    linear-gradient(135deg, #fff 5%, #faf9ff 53%, #f3f3fb 100%);
  box-shadow: 0 18px 50px rgb(48 43 107 / 8%);
}

.public-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.public-hero h1 {
  margin: 16px 0;
  color: #20223a;
  font-size: clamp(38px, 5.5vw, 66px);
  letter-spacing: -.065em;
  line-height: 1.04;
}

.public-hero h1 span {
  color: #5145b9;
}

.public-hero-copy > p {
  max-width: 570px;
  margin: 0;
  color: #6a7085;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}

.public-hero-actions .button {
  min-height: 48px;
  padding: 13px 19px;
}

.public-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: #888ca0;
  font-size: 11px;
}

.public-hero-note span {
  color: #c1c1cd;
}

.public-hero-visual {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(112 98 222 / 20%), rgb(112 98 222 / 0%) 68%);
}

.hero-window {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 13px;
  border: 1px solid #e5e4ef;
  border-radius: 20px;
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 20px 48px rgb(43 39 99 / 16%);
  transform: rotate(1.5deg);
}

.hero-window-top {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1px 3px 11px;
}

.hero-window-top > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dddce8;
}

.hero-window-top > span:first-child { background: #edb3ac; }
.hero-window-top > span:nth-child(2) { background: #ecd293; }
.hero-window-top > span:nth-child(3) { background: #a9d7c5; }

.hero-window-top small {
  margin-left: auto;
  color: #989aae;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

.hero-event-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #eeedf6;
  border-radius: 15px;
  background: linear-gradient(135deg, #fcfbff, #f8f7ff);
}

.hero-event-kicker {
  color: #776dc0;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
}

.hero-event-card > strong {
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: -.035em;
}

.hero-event-card > small {
  margin-top: 17px;
  color: #85899b;
  font-size: 10px;
}

.hero-progress {
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7e6f2;
}

.hero-progress i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #574bc1, #9288e6);
}

.hero-progress-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
}

.hero-progress-caption b {
  color: #4d429f;
  font-size: 10px;
}

.hero-progress-caption span {
  color: #85899b;
  font-size: 9px;
}

.hero-task-card,
.hero-reminder-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid #eeedf4;
  border-radius: 13px;
  background: #fff;
}

.hero-task-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: #e6f4ee;
  color: #238263;
  font-size: 12px;
  font-weight: 900;
}

.hero-task-card div,
.hero-reminder-card div {
  min-width: 0;
  flex: 1;
}

.hero-task-card strong,
.hero-reminder-card strong,
.hero-task-card small,
.hero-reminder-card small {
  display: block;
}

.hero-task-card strong,
.hero-reminder-card strong {
  font-size: 10px;
}

.hero-task-card small,
.hero-reminder-card small {
  margin-top: 3px;
  color: #8a8e9f;
  font-size: 8px;
}

.hero-task-status {
  color: #32846a;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .08em;
}

.hero-reminder-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e6a948;
  box-shadow: 0 0 0 4px #fbf1dd;
}

.hero-reminder-card > span:last-child {
  color: #999bac;
}

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #ebeaf4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 24px rgb(39 35 91 / 10%);
}

.hero-float-top {
  top: 28px;
  right: -4px;
}

.hero-float-bottom {
  bottom: 12px;
  left: -18px;
}

.hero-float > span:first-child:not(.hero-avatar-stack) {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  background: #f1efff;
  color: #564ac2;
}

.hero-float strong,
.hero-float small {
  display: block;
  white-space: nowrap;
}

.hero-float strong { font-size: 9px; }
.hero-float small { margin-top: 3px; color: #8c90a0; font-size: 8px; }

.hero-avatar-stack {
  display: flex;
  padding-left: 4px;
}

.hero-avatar-stack i {
  display: grid;
  width: 24px;
  height: 24px;
  margin-left: -4px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #dcd8fb;
  color: #413796;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.hero-avatar-stack i:nth-child(2) { background: #d9efe5; color: #276c58; }
.hero-avatar-stack i:nth-child(3) { background: #f6e7ca; color: #8e6829; }

.public-trust-row {
  display: grid;
  max-width: 1120px;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 0 auto 70px;
  padding: 17px 20px;
  border: 1px solid #e8e9f0;
  border-radius: 16px;
  background: #fff;
}

.public-trust-row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 12px;
}

.public-trust-row > div + div {
  border-left: 1px solid #ececf2;
}

.public-trust-row strong {
  font-size: 12px;
}

.public-trust-row span {
  color: #81869a;
  font-size: 10px;
}

.public-section {
  max-width: 1260px;
  margin: 0 auto 70px;
}

.public-section-heading {
  max-width: 640px;
  margin: 0 auto 26px;
  text-align: center;
}

.public-section-heading h2 {
  margin: 9px 0;
  font-size: clamp(25px,4vw,38px);
  letter-spacing: -.05em;
}

.public-section-heading p {
  margin: 0;
  color: #747a8e;
  font-size: 14px;
  line-height: 1.7;
}

.public-feature-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
}

.public-feature-card {
  min-height: 205px;
  padding: 22px;
  border: 1px solid #e7e8ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(31 36 64 / 4%);
}

.feature-symbol {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 850;
}

.feature-purple { background: #efedff; color: #5143b4; }
.feature-green { background: #e8f5ef; color: #328367; }
.feature-amber { background: #fbf1df; color: #99712f; }

.public-feature-card h3 {
  margin: 16px 0 7px;
  font-size: 15px;
  letter-spacing: -.025em;
}

.public-feature-card p {
  margin: 0;
  color: #72788c;
  font-size: 12px;
  line-height: 1.7;
}

.public-cta {
  display: flex;
  max-width: 1260px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto 12px;
  padding: clamp(22px,4vw,38px);
  border: 1px solid #dedcf3;
  border-radius: 19px;
  background: linear-gradient(120deg, #f1efff, #fbfaff 72%);
}

.public-cta h2 {
  margin: 8px 0 5px;
  font-size: clamp(20px,3vw,28px);
  letter-spacing: -.04em;
}

.public-cta p {
  margin: 0;
  color: #73788d;
  font-size: 13px;
}

.public-cta .button {
  flex: 0 0 auto;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgb(81 69 205 / 35%);
  outline-offset: 2px;
}

@keyframes drawer-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  :root { --topbar-height: 64px; }
  .topbar { padding: 0 13px; }
  .brand { font-size: 15px; gap: 9px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-logo { max-width: min(145px, 40vw); max-height: 38px; }
  .header-actions { gap: 8px; }
  .header-workspace { display: none; }
  .header-cta { display: none !important; }
  .menu-toggle { width: 43px; height: 43px; flex-basis: 43px; }
  .site-drawer { width: min(360px, calc(100vw - 24px)); padding: 16px 14px max(18px, env(safe-area-inset-bottom)); }
  .main { padding-bottom: 28px; }
  .auth-main { min-height: 50vh; }
  .footer { padding: 18px 15px max(18px, env(safe-area-inset-bottom)); }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; gap: 15px 20px; }
  .footer-brand { width: 100%; }
  .footer-contact { flex: 1 1 100%; flex-wrap: wrap; gap: 8px 13px; }
  .footer-contact > span { flex-basis: 100%; }
  .footer-copyright { width: 100%; }
  .public-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 auto 18px;
    padding: 27px 20px 18px;
    border-radius: 19px;
  }
  .public-hero h1 { font-size: clamp(37px,11vw,51px); }
  .public-hero-copy > p { font-size: 14px; }
  .public-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .public-hero-actions .button { min-height: 45px; padding: 10px; font-size: 11px; }
  .public-hero-note { font-size: 9px; gap: 6px; }
  .public-hero-visual { min-height: 290px; margin: 5px 0 0; }
  .hero-window { width: min(100%,330px); }
  .hero-float-top { top: 13px; right: -6px; }
  .hero-float-bottom { bottom: 6px; left: -5px; }
  .public-trust-row { grid-template-columns: 1fr; gap: 0; margin: 0 auto 45px; padding: 8px 15px; }
  .public-trust-row > div { padding: 11px 5px; }
  .public-trust-row > div + div { border-top: 1px solid #ececf2; border-left: 0; }
  .public-section { margin-bottom: 45px; }
  .public-section-heading { text-align: left; margin-bottom: 18px; }
  .public-section-heading p { font-size: 12px; }
  .public-feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .public-feature-card { min-height: 0; padding: 17px; }
  .public-cta { align-items: flex-start; flex-direction: column; margin-bottom: 0; padding: 21px 18px; }
  .public-cta .button { width: 100%; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .public-hero { grid-template-columns: 1fr .9fr; padding: 32px; }
  .public-hero h1 { font-size: 44px; }
  .hero-float-top { right: -8px; }
  .public-section { padding: 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-drawer, .drawer-backdrop, .menu-toggle, .skip-link { display: none !important; }
}

/* Public experience: high contrast photography, layered motion and clear actions. */
.public-page .main {
  width: min(100%, 1480px);
  max-width: 1480px;
  padding-top: clamp(20px, 3vw, 44px);
}

.motion-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #e6e5f2;
  border-radius: 999px;
  background: #fbfaff;
  color: #5145b2;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.motion-toggle:hover { border-color: #bdb6ef; background: #f1efff; transform: translateY(-1px); }
.motion-toggle-icon { display: grid; width: 18px; height: 18px; place-items: center; font-size: 12px; }

.public-hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 53vw, 710px);
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(18px, 3.2vw, 48px);
  overflow: hidden;
  margin: 0 0 26px;
  padding: clamp(34px, 5vw, 76px);
  border: 1px solid #e9e6f3;
  border-radius: 30px;
  background: linear-gradient(135deg, #fbfaff 0%, #f4f4fb 48%, #eef7f6 100%);
  box-shadow: 0 24px 80px rgb(35 32 80 / 10%);
  isolation: isolate;
}

.hero-flow { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-flow > span { position: absolute; width: 380px; height: 380px; border-radius: 50%; filter: blur(42px); opacity: .19; animation: flow-orbit 14s ease-in-out infinite alternate; }
.hero-flow > span:nth-child(2) { top: -190px; left: 22%; background: #b6b0ff; }
.hero-flow > span:nth-child(3) { right: 10%; bottom: -220px; background: #a8e1d2; animation-delay: -5s; }
.hero-flow > span:nth-child(4) { top: 30%; left: -250px; width: 310px; height: 310px; background: #f7dbb4; animation-delay: -8s; }

.public-hero-copy { position: relative; z-index: 1; max-width: 610px; padding: 0; }
.public-hero-copy .eyebrow { color: #6153c9; font-size: 10px; letter-spacing: .18em; }
.public-hero h1 { max-width: 660px; margin: 18px 0 17px; color: #202540; font-size: clamp(44px, 5.3vw, 76px); line-height: .99; letter-spacing: -.065em; }
.public-hero h1 span { color: #5549c5; background: linear-gradient(100deg, #5d52d0 0%, #8059c6 51%, #267c78 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.public-hero-copy > p { max-width: 530px; color: #5e6579; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.75; }
.public-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.public-hero-actions .button { min-height: 51px; padding-inline: 19px; font-size: 13px; }
.public-hero-note { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: #6d7285; font-size: 10px; }
.public-hero-note span { color: #aba9bc; }
.hero-proof { display: flex; align-items: flex-start; gap: 9px; max-width: 420px; margin-top: 31px; color: #687084; font-size: 11px; line-height: 1.6; }
.hero-proof-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 4px; border-radius: 50%; background: #4db192; box-shadow: 0 0 0 5px #4db1921b; }

.public-hero-visual { position: relative; min-width: 0; min-height: 400px; margin: 0; }
.hero-image-frame { position: absolute; inset: 10px 6px 18px 22px; overflow: hidden; border: 6px solid rgb(255 255 255 / 83%); border-radius: 26px; background: #ddd; box-shadow: 0 22px 65px rgb(32 34 67 / 19%); transform: rotate(1.2deg); animation: hero-image-drift 9s ease-in-out infinite; }
.hero-image-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero-image-scrim { position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgb(13 20 34 / 68%)); }
.hero-image-caption { position: absolute; right: 22px; bottom: 22px; left: 24px; display: flex; flex-direction: column; gap: 6px; color: white; }
.hero-image-caption .eyebrow { color: #fff; font-size: 8px; letter-spacing: .17em; }
.hero-image-caption strong { color: #fff; font-size: clamp(19px, 2vw, 28px); letter-spacing: -.04em; }
.hero-floating-card { position: absolute; right: -1px; top: 13%; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgb(255 255 255 / 80%); border-radius: 16px; background: rgb(255 255 255 / 92%); box-shadow: 0 14px 40px rgb(28 30 60 / 14%); backdrop-filter: blur(12px); animation: float-gentle 5.5s ease-in-out infinite; }
.hero-card-check { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px; background: #e7f6ef; color: #26845f; font-weight: 850; }
.hero-floating-card strong, .hero-floating-card small { display: block; }
.hero-floating-card strong { color: #272d42; font-size: 10px; }
.hero-floating-card small { margin-top: 4px; color: #858a9c; font-size: 9px; }
.hero-floating-note { position: absolute; left: 0; bottom: 1%; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid rgb(255 255 255 / 82%); border-radius: 999px; background: rgb(255 255 255 / 93%); box-shadow: 0 12px 30px rgb(28 30 60 / 12%); color: #5145b2; font-size: 10px; font-weight: 800; animation: float-gentle 6s ease-in-out -2s infinite; }
.hero-sparkle { color: #cd9a32; animation: sparkle-pulse 2.2s ease-in-out infinite; }

.public-trust-row { position: relative; z-index: 1; margin: 0 auto 78px; border: 1px solid #e8e7f0; border-radius: 17px; background: #fff; box-shadow: 0 11px 32px rgb(32 34 67 / 5%); }
.public-trust-row > div { padding: 19px 24px; }
.public-trust-row strong { color: #282d45; font-size: 12px; }
.public-trust-row span { margin-top: 5px; color: #7b8193; font-size: 10px; }
.public-section { margin: 0 auto 82px; }
.public-section-heading { max-width: 740px; margin: 0 auto 30px; text-align: center; }
.public-section-heading .eyebrow { font-size: 9px; letter-spacing: .17em; }
.public-section-heading h2 { margin: 11px 0 10px; color: #202540; font-size: clamp(30px, 4vw, 47px); line-height: 1.08; letter-spacing: -.055em; }
.public-section-heading p { max-width: 650px; margin: 0 auto; color: #6e7487; font-size: 13px; line-height: 1.75; }
.event-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; align-items: stretch; }
.event-photo-card { position: relative; min-height: 260px; overflow: hidden; border: 1px solid #e8e7ee; border-radius: 19px; background: #d8d8e2; box-shadow: 0 10px 28px rgb(31 35 61 / 7%); isolation: isolate; }
.event-photo-card:nth-child(2), .event-photo-card:nth-child(7) { min-height: 300px; }
.event-photo-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.event-photo-card::after { position: absolute; z-index: -1; inset: 28% 0 0; background: linear-gradient(180deg, transparent, rgb(15 20 36 / 80%)); content: ""; }
.event-photo-card > div { position: absolute; right: 17px; bottom: 17px; left: 17px; color: #fff; }
.event-photo-card > div span { display: block; margin-bottom: 5px; color: #f1efff; font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.event-photo-card h3 { margin: 0; color: #fff; font-size: 16px; letter-spacing: -.035em; }
.event-photo-card:hover img { transform: scale(1.055); filter: saturate(1.06); }
.public-feature-grid { gap: 15px; }
.public-feature-card { min-height: 190px; padding: 24px; border-color: #e8e7f0; background: linear-gradient(145deg, #fff, #fbfaff); box-shadow: 0 11px 30px rgb(34 36 68 / 5%); transition: transform .35s ease, box-shadow .35s ease; }
.public-feature-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgb(34 36 68 / 10%); }
.public-feature-card h3 { font-size: 15px; }
.public-feature-card p { font-size: 12px; line-height: 1.7; }
.public-cta { position: relative; overflow: hidden; padding: clamp(25px, 4vw, 46px); border: 1px solid #37315e; border-radius: 22px; background: radial-gradient(90% 140% at 100% 0%, #6154cb 0%, transparent 63%), linear-gradient(120deg, #242442, #342e66); box-shadow: 0 18px 48px rgb(34 32 79 / 18%); }
.public-cta::after { position: absolute; top: -45%; right: -9%; width: 390px; height: 390px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 50%; box-shadow: 0 0 0 28px rgb(255 255 255 / 4%), 0 0 0 59px rgb(255 255 255 / 3%); content: ""; animation: cta-orbit 18s linear infinite; pointer-events: none; }
.public-cta h2, .public-cta .eyebrow { color: #fff; }
.public-cta p { color: #dad8f4; }
.public-cta .button { position: relative; z-index: 1; background: #fff; color: #40369e; box-shadow: 0 9px 27px rgb(15 14 43 / 18%); }
.public-cta .button:hover { background: #f2f0ff; color: #332780; }

.public-page-banner { position: relative; min-height: 310px; overflow: hidden; margin: 0 0 28px; border-radius: 25px; background: #252746; box-shadow: 0 18px 50px rgb(32 34 67 / 13%); isolation: isolate; }
.public-page-banner > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.public-page-banner-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(20 23 43 / 90%), rgb(26 28 53 / 65%) 47%, rgb(24 26 51 / 11%)); }
.public-page-banner-copy { max-width: 680px; padding: clamp(32px, 6vw, 68px); color: #fff; }
.public-page-banner-copy .eyebrow { color: #d4d1ff; }
.public-page-banner-copy h1 { margin: 11px 0; color: #fff; font-size: clamp(35px, 5vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.public-page-banner-copy p { max-width: 540px; color: #efeff8; font-size: 13px; line-height: 1.7; }
.banner-caption { position: absolute; right: 21px; bottom: 19px; color: rgb(255 255 255 / 82%); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.pricing-grid { gap: 15px; }
.pricing-card { min-height: 330px; padding: 22px; border-radius: 18px; transition: transform .3s ease, box-shadow .3s ease; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 17px 44px rgb(31 36 64 / 12%); }
.pricing-card:nth-child(2) { border-color: #bbb5ef; box-shadow: 0 14px 36px rgb(81 69 205 / 12%); }
.pricing-card .button { margin-top: auto; }
.pricing-value-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 34px 0 50px; }
.pricing-value-strip > div { display: grid; grid-template-columns: 36px 1fr; align-items: center; column-gap: 11px; padding: 16px; border: 1px solid #e8e7f0; border-radius: 15px; background: #fff; }
.value-icon { grid-row: span 2; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 12px; background: #f0efff; color: #5145b2; font-size: 17px; }
.pricing-value-strip strong { font-size: 11px; }
.pricing-value-strip small { margin-top: 4px; color: #7c8294; font-size: 9px; }
.pricing-reassurance { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 34px; max-width: 950px; margin: 0 auto 20px; padding: 10px 8px 32px; }
.pricing-reassurance h2 { margin: 6px 0 0; font-size: 28px; letter-spacing: -.05em; }
.pricing-reassurance p { margin: 0; color: #6f7588; font-size: 12px; line-height: 1.75; }

.auth-main { display: block; padding: clamp(24px, 5vw, 58px) clamp(12px, 3vw, 42px); }
.auth-showcase { display: grid; width: min(100%, 1110px); min-height: 590px; grid-template-columns: minmax(0, .96fr) minmax(390px, .84fr); overflow: hidden; margin: 0 auto; border: 1px solid #e7e7ef; border-radius: 27px; background: #fff; box-shadow: 0 24px 80px rgb(32 34 67 / 11%); }
.auth-photo { position: relative; min-height: 590px; overflow: hidden; background: #323250; isolation: isolate; }
.auth-photo > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 10s ease; }
.auth-showcase:hover .auth-photo > img { transform: scale(1.045); }
.auth-photo-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(21 25 46 / 5%) 15%, rgb(18 21 42 / 78%) 100%), linear-gradient(90deg, rgb(25 26 51 / 13%), transparent 65%); }
.auth-photo-copy { position: absolute; right: clamp(24px, 4vw, 48px); bottom: clamp(31px, 5vw, 52px); left: clamp(24px, 4vw, 48px); color: #fff; }
.auth-photo-copy .eyebrow { color: #e0ddff; }
.auth-photo-copy h2 { max-width: 510px; margin: 10px 0; color: #fff; font-size: clamp(28px, 3.5vw, 43px); line-height: 1.06; letter-spacing: -.05em; }
.auth-photo-copy p { max-width: 460px; color: rgb(255 255 255 / 84%); font-size: 12px; line-height: 1.75; }
.auth-photo-points { display: grid; gap: 9px; margin-top: 22px; }
.auth-photo-points span { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 10px; }
.auth-photo-points i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 19%); color: #fff; font-size: 10px; font-style: normal; }
.auth-photo-credit { position: absolute; top: 23px; left: 25px; color: rgb(255 255 255 / 82%); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.auth-card { align-self: center; width: 100%; max-width: none; padding: clamp(26px, 4vw, 48px); border: 0; border-radius: 0; box-shadow: none; }
.auth-card h1 { margin-top: 8px; font-size: clamp(29px, 3vw, 38px); }
.auth-card > p { color: #757b8d; font-size: 12px; line-height: 1.65; }
.auth-step-label { display: flex; align-items: center; gap: 7px; margin: 21px 0; color: #777d90; font-size: 9px; font-weight: 700; }
.step-current, .step-next { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #e9e6ff; color: #5145b2; }
.step-next { background: #f1f2f6; color: #8b90a0; }
.step-line { width: 22px; height: 1px; background: #d9dbe4; }
.auth-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #45af8b; box-shadow: 0 0 0 4px #45af8b1b; }
.form-section-heading { display: flex; flex-direction: column; gap: 4px; padding-top: 3px; }
.form-section-heading strong { font-size: 11px; }
.form-section-heading span { color: #8b90a0; font-size: 9px; }
.auth-password-field { display: grid; gap: 7px; }
.auth-password-field > label { color: #434a5d; font-size: 12px; font-weight: 700; }
.auth-password-wrap { position: relative; display: flex; align-items: center; }
.auth-password-wrap input { padding-right: 67px; }
.password-visibility { position: absolute; right: 8px; top: 50%; min-width: 48px; padding: 7px 8px; transform: translateY(-50%); border: 0; border-radius: 8px; background: #f5f4fc; color: #5145b2; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.password-strength { height: 4px; overflow: hidden; border-radius: 999px; background: #eceef4; }
.password-strength > span { display: block; width: 8%; height: 100%; border-radius: inherit; background: #cc6c66; transition: width .25s ease, background .25s ease; }
.password-hint { color: #8a90a1; font-size: 9px; font-weight: 500; }
.signup-plan-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 13px 14px; border: 1px solid #e5e2fb; border-radius: 13px; background: linear-gradient(110deg, #f8f7ff, #f4fbf8); }
.signup-plan-summary > span { grid-column: 1 / -1; color: #868ba0; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.signup-plan-summary strong { font-size: 12px; }
.signup-plan-summary b { color: #4c43ad; font-size: 11px; }
.auth-switch { margin-top: 20px; text-align: center; font-size: 11px !important; }
.auth-switch a { font-weight: 800; }
.auth-security { display: flex; justify-content: center; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid #eff0f5; color: #888ea0; font-size: 8px; }
.auth-security > span:first-child { color: #4ba88a; font-size: 12px; }

.public-event-hero { position: relative; display: flex; min-height: clamp(320px, 47vw, 580px); flex-direction: column; justify-content: flex-end; overflow: hidden; margin: 0 0 25px; padding: clamp(25px, 5vw, 56px); border-radius: 25px; background: #292b49; isolation: isolate; box-shadow: 0 20px 60px rgb(32 34 67 / 15%); }
.public-event-hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.public-event-hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(18 21 43 / 4%) 12%, rgb(18 21 43 / 78%) 100%); }
.public-event-hero-copy { max-width: 850px; color: #fff; }
.public-event-hero-copy .eyebrow, .public-event-hero-copy h1, .public-event-hero-copy p { color: #fff; }
.public-event-hero-copy h1 { margin: 11px 0; font-size: clamp(36px, 6vw, 68px); line-height: 1; letter-spacing: -.06em; }
.public-event-hero-copy p { max-width: 650px; color: rgb(255 255 255 / 88%); font-size: 14px; line-height: 1.7; }
.public-event-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.public-event-facts span { padding: 9px 12px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 999px; background: rgb(19 22 43 / 35%); color: #fff; font-size: 10px; backdrop-filter: blur(8px); }
.public-access-card { overflow: hidden; padding-top: 14px; }
.public-form-photo { position: relative; height: 175px; overflow: hidden; margin: -14px -22px 19px; border-radius: 17px 17px 0 0; background: #34344f; isolation: isolate; }
.public-form-photo img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.public-form-photo::after { position: absolute; z-index: -1; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgb(17 20 39 / 78%)); content: ""; }
.public-form-photo > span { position: absolute; bottom: 13px; left: 16px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.25,1); }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
.motion-pulse { position: relative; isolation: isolate; animation: button-breathe 3.1s ease-in-out infinite; }
.motion-pulse::after { position: absolute; z-index: -1; inset: -4px; border: 1px solid rgb(104 88 219 / 25%); border-radius: inherit; content: ""; animation: button-halo 3.1s ease-out infinite; pointer-events: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition-duration: 0s !important; scroll-behavior: auto !important; }

@keyframes flow-orbit { from { transform: translate3d(-20px, -8px, 0) scale(.9); } to { transform: translate3d(35px, 24px, 0) scale(1.1); } }
@keyframes hero-image-drift { 0%, 100% { transform: rotate(1.2deg) translateY(0); } 50% { transform: rotate(.2deg) translateY(-6px); } }
@keyframes float-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sparkle-pulse { 0%, 100% { opacity: .7; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }
@keyframes button-breathe { 0%, 100% { box-shadow: 0 5px 13px rgb(67 52 159 / 19%); } 50% { box-shadow: 0 8px 24px rgb(89 73 204 / 32%); } }
@keyframes button-halo { 0% { opacity: .5; transform: scale(.98); } 90%, 100% { opacity: 0; transform: scale(1.08); } }
@keyframes cta-orbit { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .public-hero { min-height: 570px; grid-template-columns: 1fr 1fr; padding: 38px; }
  .public-hero h1 { font-size: clamp(42px, 6vw, 62px); }
  .public-hero-visual { min-height: 370px; }
  .event-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-showcase { grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); }
}

@media (max-width: 680px) {
  .public-page .main { padding: 17px 12px 32px; }
  .motion-toggle { width: 42px; min-width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 14px; }
  .motion-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .header-actions { gap: 7px; }
  .public-hero { min-height: auto; grid-template-columns: 1fr; gap: 14px; margin-bottom: 15px; padding: 28px 20px 23px; border-radius: 21px; }
  .public-hero h1 { margin: 12px 0; font-size: clamp(42px, 12vw, 58px); }
  .public-hero-copy > p { font-size: 13px; line-height: 1.65; }
  .public-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .public-hero-actions .button { min-height: 47px; padding: 10px; font-size: 10px; }
  .public-hero-note { font-size: 8px; }
  .hero-proof { margin-top: 17px; font-size: 9px; }
  .public-hero-visual { min-height: 310px; margin: 3px 0 0; }
  .hero-image-frame { inset: 8px 3px 14px 10px; border-width: 4px; border-radius: 18px; }
  .hero-image-caption { right: 14px; bottom: 14px; left: 15px; }
  .hero-floating-card { right: -3px; top: 7%; padding: 9px 11px; }
  .hero-floating-note { bottom: -1%; left: -4px; padding: 9px 12px; font-size: 9px; }
  .public-trust-row { margin-bottom: 43px; }
  .public-trust-row > div { padding: 13px 15px; }
  .public-section { margin-bottom: 50px; }
  .public-section-heading { margin-bottom: 20px; text-align: left; }
  .public-section-heading h2 { font-size: 31px; }
  .public-section-heading p { font-size: 11px; }
  .event-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .event-photo-card, .event-photo-card:nth-child(2), .event-photo-card:nth-child(7) { min-height: 215px; border-radius: 14px; }
  .event-photo-card > div { right: 11px; bottom: 12px; left: 11px; }
  .event-photo-card h3 { font-size: 12px; }
  .event-photo-card > div span { font-size: 7px; }
  .public-feature-grid { grid-template-columns: 1fr; }
  .public-feature-card { min-height: 0; padding: 18px; }
  .public-cta { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 0; padding: 23px 19px; }
  .public-cta .button { width: 100%; }
  .public-page-banner { min-height: 300px; border-radius: 19px; }
  .public-page-banner-copy { padding: 32px 23px; }
  .public-page-banner-copy h1 { font-size: 39px; }
  .banner-caption { right: 14px; bottom: 12px; font-size: 7px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-value-strip { grid-template-columns: 1fr; margin: 24px 0 35px; }
  .pricing-reassurance { grid-template-columns: 1fr; gap: 11px; margin-bottom: 8px; }
  .pricing-reassurance h2 { font-size: 25px; }
  .auth-main { padding: 16px 11px 27px; }
  .auth-showcase { width: 100%; grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
  .auth-photo { min-height: 275px; }
  .auth-photo-copy { right: 20px; bottom: 21px; left: 20px; }
  .auth-photo-copy h2 { max-width: 440px; font-size: 28px; }
  .auth-photo-copy p { margin-bottom: 0; font-size: 10px; }
  .auth-photo-points { display: none; }
  .auth-photo-credit { top: 17px; left: 18px; }
  .auth-card { padding: 25px 20px; }
  .auth-card form { gap: 12px; margin: 18px 0 12px; }
  .auth-card h1 { font-size: 29px; }
  .footer { padding: 20px 15px max(20px, env(safe-area-inset-bottom)); }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 19px 14px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links { grid-column: 1; }
  .footer-contact { grid-column: 2; align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-links strong { margin-bottom: 2px; }
  .footer-copyright { grid-column: 1 / -1; }
  .public-event-hero { min-height: 340px; padding: 23px 19px; border-radius: 19px; }
  .public-event-hero-copy h1 { font-size: 37px; }
  .public-event-hero-copy p { font-size: 12px; }
  .public-form-photo { height: 152px; margin-right: -16px; margin-left: -16px; }
}

@media (max-width: 380px) {
  .event-photo-grid { grid-template-columns: 1fr; }
  .event-photo-card, .event-photo-card:nth-child(2), .event-photo-card:nth-child(7) { min-height: 235px; }
  .public-hero-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow > span, .hero-image-frame, .hero-floating-card, .hero-floating-note,
  .hero-sparkle, .motion-pulse, .motion-pulse::after, .public-cta::after { animation: none !important; }
  .reveal-ready { opacity: 1; transform: none; transition: none; }
  .event-photo-card img, .public-feature-card { transition: none; }
}

@media print {
  .motion-toggle, .hero-flow, .hero-floating-card, .hero-floating-note { display: none !important; }
}
