@font-face {
  font-family: "Around Poppins";
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Around Theme Icons";
  src: url("/assets/fonts/font-awesome-solid.otf") format("opentype");
  font-display: block;
  font-weight: 900;
}

:root {
  --around-shell-primary: #8582be;
  --around-shell-primary-strong: #615d9c;
  --around-footer-heading: #655aa8;
  --around-shell-accent: #6bb3a6;
  --around-shell-sky: #a9d8ee;
  --around-shell-ink: #272432;
  --around-shell-muted: #6c6878;
  --around-shell-surface: rgba(255, 255, 255, 0.84);
  --around-shell-menu-surface: rgba(255, 255, 255, 0.98);
  --around-shell-line: rgba(81, 75, 112, 0.16);
  --around-shell-focus: #4f8f84;
  --around-shell-width: 1240px;
}

:root[data-theme="dark"] {
  --around-footer-heading: #c6bbff;
  --around-shell-ink: #f7f5fb;
  --around-shell-muted: #c8c3d2;
  --around-shell-surface: rgba(29, 26, 37, 0.88);
  --around-shell-menu-surface: rgba(29, 26, 37, 0.98);
  --around-shell-line: rgba(225, 218, 239, 0.16);
  --around-shell-focus: #8ed7ca;
}

:root[data-theme="dark"] body[data-around-shell="login"] {
  --auth-ink: #f7f4fc;
  --auth-soft: #d4ccdf;
  --auth-muted: #b7afc2;
  --auth-primary: #aaa5e4;
  --auth-primary-deep: #c6bbff;
  --auth-primary-soft: #302a43;
  --auth-accent: #79cbbb;
  --auth-accent-soft: #1f3936;
  --auth-paper: #1d1a25;
  --auth-base: #111017;
  --auth-line: rgba(226, 217, 240, 0.17);
  --auth-danger: #f09ab0;
  --auth-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
  background:
    radial-gradient(circle at 88% 8%, rgba(107, 179, 166, 0.18), transparent 30rem),
    radial-gradient(circle at 8% 0%, rgba(133, 130, 190, 0.2), transparent 28rem),
    var(--auth-base);
}

:root[data-theme="dark"] body[data-around-shell="login"] .auth-story {
  border-color: rgba(226, 217, 240, 0.14);
  background: rgba(36, 32, 47, 0.72);
}

:root[data-theme="dark"] body[data-around-shell="login"] .auth-panel {
  border-color: rgba(226, 217, 240, 0.16);
  background: rgba(29, 26, 37, 0.94);
}

:root[data-theme="dark"] body[data-around-shell="login"] .auth-provider--google {
  border-color: rgba(226, 217, 240, 0.22);
  color: #292638;
  background: #fff;
}

:root[data-theme="light"] body[data-around-shell="legal"] {
  --ink: #3e3e3e;
  --muted: #686371;
  --primary: #8582be;
  --primary-soft: #f0eff8;
  --accent: #6bb3a6;
  --secondary: #dfa8b2;
  --tertiary: #5f93ae;
  --basic: #fcfcfc;
  --surface: rgba(255, 255, 255, 0.88);
  --border: rgba(133, 130, 190, 0.16);
  --shadow: 0 24px 70px rgba(49, 38, 65, 0.1);
  color-scheme: light;
  background-color: var(--basic);
  background-image: url("/assets/iridescent-background.png");
}

:root[data-theme="dark"] body[data-around-shell="legal"] {
  --ink: #f3eff8;
  --muted: #bdb5c9;
  --primary: #b7adf4;
  --primary-soft: rgba(133, 130, 190, 0.16);
  --accent: #79cbbb;
  --secondary: #e4a8b6;
  --tertiary: #9fd4ed;
  --basic: #111017;
  --surface: rgba(29, 26, 37, 0.9);
  --border: rgba(226, 217, 240, 0.17);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
  background-color: var(--basic);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(133, 130, 190, 0.2), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(107, 179, 166, 0.14), transparent 30rem);
}

:root[data-theme="dark"] body[data-around-shell="legal"] :is(.hero, .document-section, .legal-card, .legal-support-card) {
  border-color: var(--border);
  color: var(--ink);
  background-color: var(--surface);
  box-shadow: var(--shadow);
}

.around-site-header {
  box-sizing: border-box;
  width: min(calc(100% - 32px), var(--around-shell-width));
  min-height: 72px;
  margin-inline: auto;
  color: var(--around-shell-ink);
}

.around-shell-header {
  position: relative;
  z-index: 40;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  gap: 24px;
  padding-block: 10px;
  border-bottom: 1px solid var(--around-shell-line);
  background: var(--around-shell-surface);
  backdrop-filter: blur(22px);
}

.around-shell-header:not(.organizer-topbar) {
  margin-top: 12px;
  padding-inline: 18px;
  border: 1px solid var(--around-shell-line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(48, 42, 68, 0.1);
}

.organizer-topbar.around-shell-header {
  width: 100%;
  max-width: none;
  padding: 0;
  grid-template-columns: 1fr;
}

.brand-bar.around-shell-header,
.download-bar.around-shell-header {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
}

.around-shell-main {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
}

.around-shell-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 44px;
  min-height: 44px;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.around-shell-header .around-shell-brand-mark { display: none; width: 38px; height: 38px; object-fit: contain; transform: none; }
.around-shell-header .around-shell-brand-wordmark { display: block; width: 122px; height: 29px; object-fit: contain; transform: none; }

.around-shell-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  gap: clamp(8px, 2vw, 26px);
}

.around-shell-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--around-shell-muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.around-shell-nav a:hover,
.around-shell-nav a[aria-current="page"] { color: var(--around-shell-ink); }

.around-shell-nav-cta,
.around-shell-button,
.around-shell-login {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.around-shell-nav .around-shell-nav-cta { color: #252333; background: var(--around-shell-accent); }
.around-shell-button { color: #fff; background: var(--around-shell-primary-strong); cursor: pointer; }
.around-shell-login { border-color: var(--around-shell-line); color: var(--around-shell-ink); background: transparent; }
.around-cloud-appbar [data-user-login][hidden] { display: none !important; }

:root[data-theme="light"] .around-shell-header .around-shell-login {
  border-color: var(--around-shell-line);
  color: #272432 !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

/* Shared light-only app bar for the experimental public web. */
body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) {
  --cloud-frame-inline: clamp(18px, 4vw, 64px);
  --cloud-frame-width: 1480px;
  --cloud-header-height: clamp(72px, 7vw, 92px);
  --cloud-radius: clamp(22px, 2.5vw, 38px);
  --cloud-appbar-glass:
    linear-gradient(
      108deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(247, 252, 255, 0.95) 60%,
      rgba(252, 249, 255, 0.95) 100%
    );
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar.around-shell-header {
  position: fixed;
  z-index: 100;
  top: 30px;
  right: auto;
  left: 50%;
  display: grid;
  align-items: center;
  width: min(calc(100% - (2 * var(--cloud-frame-inline))), var(--cloud-frame-width));
  max-width: none;
  min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
  margin: 0;
  padding: 0 clamp(24px, 3.8vw, 60px) var(--cloud-radius);
  border: 0;
  border-radius: var(--cloud-radius) var(--cloud-radius) 0 0;
  color: #17151d;
  background: var(--cloud-appbar-glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 -12px 34px rgba(82, 72, 116, 0.07);
  backdrop-filter: blur(26px) saturate(1.14);
  -webkit-backdrop-filter: blur(26px) saturate(1.14);
  transform: translateX(-50%);
  grid-template-columns: minmax(150px, 1fr) auto;
}

body:is(.legal-glass-experiment, .legal-document-glass)[data-around-shell] :is(.legal-cloud-card, .legal-document-frame) {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--cloud-radius);
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar .around-shell-brand {
  justify-self: start;
  width: auto;
  min-width: 0;
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar .around-shell-brand-mark {
  display: none;
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar .around-shell-brand-wordmark {
  display: block;
  width: clamp(128px, 10.5vw, 166px);
  height: auto;
  filter: none !important;
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar .around-shell-public-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .creator-plan-page).creator-plan-page[data-around-shell="account-create"] .around-cloud-appbar.around-shell-header,
body.plans-page[data-around-shell="account-plans"] .around-cloud-appbar.around-shell-header.around-site-header {
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar :is([data-user-login], .around-shell-back-home) {
  min-width: 132px;
  min-height: 44px;
  padding-inline: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  color: #fff !important;
  background:
    linear-gradient(
      135deg,
      rgba(126, 111, 188, 0.76) 0%,
      rgba(96, 81, 157, 0.64) 54%,
      rgba(118, 99, 180, 0.7) 100%
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 5px 14px rgba(71, 58, 113, 0.12);
  font-family: "Around Poppins", "Poppins", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar :is([data-user-login], .around-shell-back-home):hover,
body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar :is([data-user-login], .around-shell-back-home):focus-visible {
  border-color: rgba(101, 87, 153, 0.38);
  background:
    linear-gradient(
      135deg,
      rgba(115, 98, 179, 0.84) 0%,
      rgba(84, 69, 146, 0.76) 54%,
      rgba(107, 88, 170, 0.8) 100%
    ) !important;
}

@media (max-width: 560px) {
  body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) {
    padding-top: 18px;
  }

  body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .plans-page, .creator-plan-page, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar.around-shell-header {
    top: 18px;
    width: calc(100% - 36px);
    padding-right: 16px;
    padding-left: 16px;
  }

  body:is(.home-cloud-experiment.public-home.hero-review-mode, .download-cloud-experiment, .around-link-glass, .legal-glass-experiment, .legal-document-glass, .auth-cloud-experiment[data-around-shell="login"]) .around-cloud-appbar :is([data-user-login], .around-shell-back-home) {
    min-width: 0;
    padding-inline: 12px !important;
    font-size: 0.72rem;
  }
}

/* Match Home's edge-to-edge mobile appbar on the other cloud surfaces. */
@media (max-width: 819px) {
  body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]) {
    padding-top: 0 !important;
  }

  body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]) .around-cloud-appbar.around-shell-header.around-site-header {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
    margin: 0 !important;
    padding: 0 18px var(--cloud-radius);
    border-radius: 0;
    transform: none !important;
  }

  .download-cloud-experiment .download-page,
  .auth-cloud-experiment .auth-shell,
  .legal-glass-experiment .legal-cloud-card,
  .legal-document-glass .legal-document-frame,
  .around-link-glass .plan-link-card,
  .creator-plan-page .creator-studio {
    width: 100% !important;
  }

  .legal-glass-experiment .legal-cloud-card,
  .legal-document-glass .legal-document-frame {
    margin-top: var(--cloud-header-height) !important;
    border-radius: var(--cloud-radius);
  }

  .creator-plan-page .creator-studio {
    margin-top: var(--cloud-header-height);
  }
}

@media (max-width: 560px) {
  .creator-plan-page .creator-studio {
    margin-top: calc(-1 * var(--cloud-radius));
  }
}

.around-shell-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.around-shell-theme-toggle {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 70px;
  height: 44px;
  padding: 5px;
  border: 1px solid var(--around-shell-line);
  border-radius: 13px;
  color: var(--around-shell-muted);
  background: transparent;
  grid-template-columns: repeat(2, 29px);
  cursor: pointer;
}

.around-shell-theme-toggle::before {
  position: absolute;
  z-index: -1;
  top: 5px;
  left: 5px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 12px rgba(46, 38, 82, 0.14);
  content: "";
  transition: transform 180ms ease, background-color 180ms ease;
}

.around-shell-theme-toggle[data-theme="dark"]::before {
  transform: translateX(28px);
  background: rgba(133, 130, 190, 0.82);
}

.around-shell-theme-toggle > span { display: grid; font-family: "Around Theme Icons", sans-serif; place-items: center; }
.around-shell-theme-toggle[data-theme="light"] .theme-sun { color: var(--around-shell-primary-strong); }
.around-shell-theme-toggle[data-theme="dark"] .theme-moon { color: #fff; }

.around-shell-account { position: relative; }
.around-shell-account[hidden] { display: none; }
.around-shell-account-trigger {
  display: grid;
  min-height: 44px;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--around-shell-line);
  border-radius: 8px;
  color: var(--around-shell-ink);
  background: transparent;
  grid-template-columns: 34px auto auto;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.around-shell-account-trigger > span:first-child { display: grid; width: 34px; height: 34px; overflow: hidden; border-radius: 8px; color: #fff; background: var(--around-shell-primary); place-items: center; }
.around-shell-account-trigger img { width: 100%; height: 100%; object-fit: cover; }
.around-shell-account-trigger i { font-style: normal; }
.around-shell-account-menu[hidden] { display: none; }
.around-shell-account-menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; display: grid; min-width: 210px; padding: 8px; border: 1px solid var(--around-shell-line); border-radius: 8px; color: var(--around-shell-ink); background: var(--around-shell-menu-surface); box-shadow: 0 18px 48px rgba(31, 27, 44, 0.2); backdrop-filter: blur(20px); }
.around-shell-account-menu p { margin: 0; padding: 8px; color: var(--around-shell-muted); font-size: 0.7rem; }
.around-shell-account-menu a,
.around-shell-account-menu button { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; color: inherit; background: transparent; font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.around-shell-account-menu :is(a, button):hover { background: rgba(133, 130, 190, 0.13); }
.around-shell-account-menu p { color: var(--around-shell-primary-strong); font-weight: 750; }
.around-shell-menu-icon { display: grid; width: 28px; height: 28px; margin-right: 8px; border-radius: 8px; color: var(--around-shell-primary-strong); background: rgba(133, 130, 190, 0.12); font-family: "Around Theme Icons"; place-items: center; }
.around-shell-account-menu .around-shell-signout { min-height: 53px; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--around-shell-line); border-radius: 0 0 8px 8px; }

.around-shell-context { display: grid; justify-items: center; min-width: 0; }
.around-shell-context span { color: var(--around-shell-muted); font-size: 0.66rem; }
.around-shell-context strong { overflow: hidden; max-width: 34vw; text-overflow: ellipsis; white-space: nowrap; }
.around-shell-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.around-site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.around-site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.around-site-nav > a,
.around-site-nav > button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.around-site-header :is(a, button):focus-visible,
.around-site-footer a:focus-visible {
  outline: 3px solid var(--around-shell-focus);
  outline-offset: 3px;
}

.around-site-footer {
  box-sizing: border-box;
  display: grid;
  width: min(calc(100% - 32px), var(--around-shell-width));
  margin: clamp(56px, 8vw, 104px) auto 0;
  padding: 28px 0 34px;
  border-top: 1px solid var(--around-shell-line);
  color: var(--around-shell-muted);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

.around-site-footer-brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
  gap: 6px;
}

.around-site-footer-brand img {
  display: block;
  width: auto;
  height: 24px;
  max-width: 112px;
  object-fit: contain;
}

.around-site-footer p { margin: 0; }

.around-site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 20px;
}

.around-site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.around-site-footer a:hover { color: var(--around-shell-ink); }

@media (max-width: 960px) {
  .around-site-footer {
    grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  }

  .around-site-footer nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    justify-content: stretch;
    gap: 0 16px;
  }
}

@media (max-width: 760px) {
  .around-site-header {
    width: min(calc(100% - 24px), var(--around-shell-width));
    min-height: 62px;
  }

  .around-site-nav { gap: 8px; }

  .around-shell-header { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; }
  .around-shell-header .around-shell-brand-wordmark { display: none; }
  .around-shell-header .around-shell-brand-mark { display: block; }
  .around-shell-nav { gap: 4px; }
  .around-shell-nav a { padding-inline: 7px; font-size: 0.7rem; }
  .around-shell-nav a:not([aria-current="page"]):not(.around-shell-nav-cta) { display: none; }
  .creator-topbar .around-shell-nav a,
  .download-bar .around-shell-nav a { display: inline-flex; }
  body[data-around-shell="account-create"] .creator-topbar .around-shell-nav a {
    display: inline-flex;
  }
  .creator-topbar .around-shell-nav,
  .download-bar .around-shell-nav { overflow-x: auto; justify-content: flex-start; }
  .around-shell-nav-cta { padding-inline: 10px; }
  .around-shell-theme-toggle { width: 62px; grid-template-columns: repeat(2, 25px); }
  .around-shell-theme-toggle::before { width: 28px; }
  .around-shell-theme-toggle[data-theme="dark"]::before { transform: translateX(24px); }
  .around-shell-account-trigger { grid-template-columns: 34px; padding-right: 4px; }
  .around-shell-account-trigger > span:nth-child(2), .around-shell-account-trigger i { display: none; }

  .around-site-footer {
    width: min(calc(100% - 32px), var(--around-shell-width));
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .around-site-footer nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .around-shell-header:not(.organizer-topbar) {
    grid-template-columns: 44px minmax(0, 1fr);
    row-gap: 6px;
  }

  .around-shell-header:not(.organizer-topbar) .around-shell-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .around-shell-header:not(.organizer-topbar) .around-shell-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .around-shell-header:not(.organizer-topbar) .around-shell-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow: visible;
    justify-content: space-between;
  }

  .around-site-footer nav { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .around-site-header *,
  .around-site-footer * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* One mobile account app bar for both the plan list and the editor. */
@media (max-width: 560px) {
  body:is(.plans-page[data-around-shell="account-plans"], .creator-plan-page[data-around-shell="account-create"]) .around-cloud-appbar.around-shell-header.around-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    flex: none;
    min-height: 0;
    padding-top: var(--cloud-radius);
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 8px;
  }

  body:is(.plans-page[data-around-shell="account-plans"], .creator-plan-page[data-around-shell="account-create"]) .around-cloud-appbar .around-shell-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  body:is(.plans-page[data-around-shell="account-plans"], .creator-plan-page[data-around-shell="account-create"]) .around-cloud-appbar .around-shell-nav {
    display: none;
  }

  body.creator-plan-page[data-around-shell="account-create"] .creator-studio {
    margin-top: calc(-1 * (var(--cloud-radius) + 4px));
  }
}

@media (max-width: 560px) {
  body.creator-plan-page[data-around-shell="account-create"] .around-cloud-appbar.around-shell-header.around-site-header {
    min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
    padding-top: 0;
    padding-bottom: var(--cloud-radius);
  }

  body.creator-plan-page[data-around-shell="account-create"] .creator-studio {
    margin-top: calc(-1 * var(--cloud-radius));
  }
}

/* Headers that keep their original flow remain visible across the full page. */
.organizer-dashboard-page .organizer-topbar.around-shell-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.created-plan-page[data-around-shell="plan"] > .around-site-header.around-shell-header {
  position: sticky;
  top: 0;
  z-index: 2;
}

/* The approved Home footer, shared by the other local web surfaces. */
body[data-around-shell] .around-site-footer.around-unified-footer {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  width: min(calc(100% - (2 * var(--cloud-frame-inline, 24px))), var(--cloud-frame-width, 1360px));
  max-width: none;
  min-height: 0;
  margin: 36px auto 24px;
  padding: clamp(34px, 4vw, 50px) clamp(26px, 4vw, 52px) 20px;
  border: 1.5px solid transparent;
  border-radius: 30px;
  color: #2d2938;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.57)) padding-box,
    linear-gradient(125deg, rgba(255, 255, 255, 0.98), rgba(202, 191, 235, 0.7) 56%, rgba(159, 220, 210, 0.86)) border-box;
  box-shadow:
    0 24px 70px rgba(65, 55, 90, 0.1),
    0 0 28px rgba(164, 151, 218, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(111, 102, 145, 0.08);
  backdrop-filter: blur(26px) saturate(1.14);
  -webkit-backdrop-filter: blur(26px) saturate(1.14);
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.42fr);
  column-gap: clamp(52px, 7vw, 104px);
  row-gap: 0;
  overflow: hidden;
}

body[data-around-shell] .around-site-footer.around-unified-footer::before,
body[data-around-shell] .around-site-footer.around-unified-footer::after {
  display: none;
}

body[data-around-shell] .around-unified-footer .around-unified-footer-brand {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  align-self: start;
}

body[data-around-shell] .around-unified-footer .around-unified-footer-brand a {
  min-height: 44px;
}

body[data-around-shell] .around-unified-footer .around-unified-footer-brand img {
  display: block;
  width: clamp(150px, 13vw, 188px);
  max-width: 100%;
  height: auto;
  filter: none;
}

body[data-around-shell] .around-unified-footer .around-unified-footer-brand p {
  max-width: 250px;
  margin: 0 0 14px;
  color: #5f596d;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.45;
}

body[data-around-shell] .around-site-footer.around-unified-footer > nav {
  display: grid;
  min-width: 0;
  align-items: start;
  justify-content: stretch;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 54px);
}

body[data-around-shell] .around-unified-footer nav section {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
}

body[data-around-shell] .around-unified-footer nav h2 {
  margin: 0 0 10px;
  color: var(--around-footer-heading);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-around-shell] .around-unified-footer nav a {
  min-height: 42px;
  color: #696274;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body[data-around-shell] .around-unified-footer nav a:hover {
  color: #59558e;
}

body[data-around-shell] .around-unified-footer .around-unified-footer-bottom {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(91, 83, 119, 0.13);
  color: #817a8c;
  grid-column: 1 / -1;
  gap: 24px;
}

body[data-around-shell] .around-unified-footer .around-unified-footer-bottom small {
  font-size: 0.68rem;
  line-height: 1.45;
}

body[data-around-shell] .around-unified-footer a:focus-visible {
  outline: 3px solid rgba(107, 179, 166, 0.5);
  outline-offset: 3px;
}

body[data-around-shell="plan"] main .around-site-footer.around-unified-footer {
  width: calc(100% - 40px);
  margin: 30px 20px 36px;
}

body[data-around-shell="account-create"] .around-site-footer.around-unified-footer {
  margin-bottom: 130px;
}

@media (max-width: 1050px) {
  body[data-around-shell] .around-site-footer.around-unified-footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  body[data-around-shell] .around-site-footer.around-unified-footer {
    width: calc(100% - 24px);
    margin-top: 28px;
    margin-bottom: 12px;
    padding: 18px 18px 12px;
    border-radius: 24px;
    gap: 14px;
  }

  body[data-around-shell] .around-unified-footer .around-unified-footer-brand {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
  }

  body[data-around-shell] .around-unified-footer .around-unified-footer-brand img {
    width: 112px;
  }

  body[data-around-shell] .around-unified-footer .around-unified-footer-brand p {
    margin: 0;
    font-size: 0.79rem;
    text-align: left;
  }

  body[data-around-shell] .around-site-footer.around-unified-footer > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 8px;
  }

  body[data-around-shell] .around-unified-footer nav h2 {
    margin-bottom: 4px;
  }

  body[data-around-shell] .around-unified-footer nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    line-height: 1.25;
  }

  body[data-around-shell] .around-unified-footer nav section:last-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  body[data-around-shell] .around-unified-footer nav section:last-child h2 {
    grid-column: 1 / -1;
  }

  body[data-around-shell] .around-unified-footer .around-unified-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
    padding-top: 10px;
    gap: 0;
  }

  body[data-around-shell] .around-unified-footer .around-unified-footer-bottom small:last-child {
    display: none;
  }

  body[data-around-shell="plan"] main .around-site-footer.around-unified-footer {
    width: calc(100% + 28px);
    margin: 28px -14px 24px;
  }

  body[data-around-shell="account-create"] .around-site-footer.around-unified-footer {
    margin-bottom: 164px;
  }
}

/* My Plans already applies the page gutter to its scroll frame. */
body[data-around-shell="account-plans"] .plans-scroll > .around-site-footer.around-unified-footer {
  width: 100%;
  margin-inline: 0;
}

/* The shared scroll frame has already applied the page gutter. */
body[data-around-shell] > .around-cloud-scroll > .around-site-footer.around-unified-footer {
  width: 100%;
  margin-inline: 0;
}

body[data-around-shell="management"] > .organizer-scroll-region > .around-site-footer.around-unified-footer {
  width: 100%;
  margin-inline: 0;
}

/* The plan canvas adds its own padding; the footer spans the full canvas. */
body[data-around-shell="plan"] .plan-body-canvas > .around-site-footer.around-unified-footer {
  width: calc(100% + 60px);
  margin-inline: -30px;
}

@media (max-width: 900px) {
  body[data-around-shell="plan"] .plan-body-canvas > .around-site-footer.around-unified-footer {
    width: calc(100% + 44px);
    margin-inline: -22px;
  }
}

@media (max-width: 720px) {
  body[data-around-shell="plan"] .plan-body-canvas > .around-site-footer.around-unified-footer {
    width: calc(100% + 28px);
    margin-inline: -14px;
  }
}

/* Home's scroll frame: the content, including the footer, passes over the lower appbar curve. */
body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 0;
  padding-top: 30px !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]) > .around-cloud-appbar.around-shell-header.around-site-header {
  position: relative !important;
  z-index: 0 !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  flex: none;
  margin-inline: auto !important;
  transform: none !important;
}

body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]).is-account-menu-open > .around-cloud-appbar.around-shell-header.around-site-header {
  z-index: 10 !important;
}

body[data-around-shell] > .around-cloud-scroll {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: min(calc(100% - (2 * var(--cloud-frame-inline))), var(--cloud-frame-width));
  min-height: 0;
  margin: calc(-1 * var(--cloud-radius)) auto 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: var(--cloud-radius) var(--cloud-radius) 0 0;
  overscroll-behavior-y: contain;
  scroll-padding-top: 16px;
  scrollbar-width: none;
}

body[data-around-shell] > .around-cloud-scroll::-webkit-scrollbar { display: none; }

body[data-around-shell] > .around-cloud-scroll > :is(main, form),
body[data-around-shell] > .around-cloud-scroll > form > main {
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 819px) {
  body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]) {
    padding-top: 0 !important;
  }

  body[data-around-shell] > .around-cloud-scroll {
    width: 100%;
  }

  body:is(.download-cloud-experiment, .auth-cloud-experiment[data-around-shell="login"], .legal-glass-experiment, .legal-document-glass, .around-link-glass, .creator-plan-page[data-around-shell="account-create"]) > .around-cloud-appbar.around-shell-header.around-site-header {
    width: 100% !important;
  }
}

/* Management already has a dedicated scroll region; align its frame with Home. */
body.organizer-dashboard-page {
  --cloud-frame-inline: clamp(18px, 4vw, 64px);
  --cloud-frame-width: 1480px;
  --cloud-header-height: clamp(72px, 7vw, 92px);
  --cloud-radius: clamp(22px, 2.5vw, 38px);
  --cloud-appbar-glass: linear-gradient(108deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 252, 255, 0.95) 60%, rgba(252, 249, 255, 0.95) 100%);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

body.organizer-dashboard-page > .organizer-topbar.around-shell-header.around-site-header {
  position: relative;
  z-index: 0;
  top: auto;
  flex: none;
  width: min(calc(100% - (2 * var(--cloud-frame-inline))), var(--cloud-frame-width));
  min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
  margin: 0 auto;
  padding: 0 clamp(24px, 3.8vw, 60px) var(--cloud-radius);
  border: 0;
  border-radius: var(--cloud-radius) var(--cloud-radius) 0 0;
  background: var(--cloud-appbar-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 -12px 34px rgba(82, 72, 116, 0.07);
  backdrop-filter: blur(26px) saturate(1.14);
}

body.organizer-dashboard-page.is-account-menu-open > .organizer-topbar.around-shell-header.around-site-header {
  z-index: 10;
}

body.organizer-dashboard-page > .organizer-scroll-region {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: min(calc(100% - (2 * var(--cloud-frame-inline))), var(--cloud-frame-width));
  height: auto;
  min-height: 0;
  margin: calc(-1 * var(--cloud-radius)) auto 0;
  border-radius: var(--cloud-radius) var(--cloud-radius) 0 0;
  scroll-padding-top: 16px;
}

body.organizer-dashboard-page .organizer-scroll-region > .organizer-shell {
  width: 100%;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--cloud-radius);
}

body.organizer-dashboard-page .organizer-topbar .around-shell-brand-wordmark {
  width: clamp(128px, 10.5vw, 166px);
}

@media (max-width: 819px) {
  body.organizer-dashboard-page { padding-top: 0; }

  body.organizer-dashboard-page > .organizer-topbar.around-shell-header.around-site-header {
    width: 100%;
    min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
    padding: 0 18px var(--cloud-radius);
    border-radius: 0;
  }

  body.organizer-dashboard-page > .organizer-scroll-region { width: 100%; }
}

/* Opening a menu lifts its controls without repainting the panel overlap. */
body.is-account-menu-open > .around-cloud-appbar.around-shell-header,
body.organizer-dashboard-page.is-account-menu-open > .organizer-topbar.around-shell-header {
  background-size: 100% calc(100% - var(--cloud-radius)) !important;
  background-repeat: no-repeat !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Plan details use the same appbar and scroll frame while retaining the plan cover. */
body.created-plan-page[data-around-shell="plan"] {
  --cloud-frame-inline: clamp(18px, 4vw, 64px);
  --cloud-frame-width: 1480px;
  --cloud-header-height: clamp(72px, 7vw, 92px);
  --cloud-radius: clamp(22px, 2.5vw, 38px);
  --cloud-appbar-glass: linear-gradient(108deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 252, 255, 0.95) 60%, rgba(252, 249, 255, 0.95) 100%);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

body.created-plan-page[data-around-shell="plan"] > .around-site-header.around-shell-header {
  position: relative;
  z-index: 0;
  top: auto;
  flex: none;
  width: min(calc(100% - (2 * var(--cloud-frame-inline))), var(--cloud-frame-width));
  min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
  margin: 0 auto;
  padding: 0 clamp(24px, 3.8vw, 60px) var(--cloud-radius);
  border: 0;
  border-radius: var(--cloud-radius) var(--cloud-radius) 0 0;
  background: var(--cloud-appbar-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 -12px 34px rgba(82, 72, 116, 0.07);
  backdrop-filter: blur(26px) saturate(1.14);
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
}

body.created-plan-page[data-around-shell="plan"] > main {
  z-index: 1;
  flex: 1 1 auto;
  width: min(calc(100% - (2 * var(--cloud-frame-inline))), var(--cloud-frame-width));
  height: auto;
  min-height: 0;
  margin: calc(-1 * var(--cloud-radius)) auto 0;
  border-radius: var(--cloud-radius) var(--cloud-radius) 0 0;
}

body.created-plan-page[data-around-shell="plan"] .around-cloud-appbar .around-shell-brand-mark { display: none; }
body.created-plan-page[data-around-shell="plan"] .around-cloud-appbar .around-shell-brand-wordmark {
  display: block;
  width: clamp(128px, 10.5vw, 166px);
  height: auto;
}

@media (max-width: 819px) {
  body.created-plan-page[data-around-shell="plan"] { padding-top: 0; }

  body.created-plan-page[data-around-shell="plan"] > .around-site-header.around-shell-header {
    width: 100%;
    min-height: calc(var(--cloud-header-height) + var(--cloud-radius));
    padding: 0 18px var(--cloud-radius);
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.created-plan-page[data-around-shell="plan"] .around-shell-context { display: none; }
  body.created-plan-page[data-around-shell="plan"] > main { width: 100%; }
}
