/* PiqSavi Early Access — locked visual system (1440 desktop / 390 mobile). */

:root {
  --navy: #0b1b33;
  --navy-2: #13233f;
  --text: #1a2744;
  --muted: #5b6b84;
  --blue: #1f5eff;
  --blue-hover: #164de6;
  --blue-soft: #3569e8;
  --purple: #6d5efc;
  --line: #e4e9f2;
  --error: #c23a32;
  --error-bg: #fdecec;
  --success: #1f8a4c;
  --success-bg: #e7f6ee;
  --dup-bg: #efe9ff;
  --dup: #6d5efc;
  --sheet: #ffffff;
  --trust-bg: #f4f6ff;
  --overlay: rgba(11, 18, 36, 0.48);
  --radius: 999px;
  --radius-lg: 24px;
  --header-h: 88px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --page-pad: 48px;
  --hero-copy-pad: 86px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .is-loading .btn-spinner {
    animation: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  min-height: 100dvh;
}

.landing-root {
  background: #fff;
  margin: 0;
  border: 0;
  min-height: 100dvh;
}

img,
svg {
  display: block;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  color: #fff;
  background: var(--blue);
}

.btn:hover {
  background: var(--blue-hover);
}

.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.mobile-menu-link:focus-visible,
.signup-brand:focus-visible,
.icon-close:focus-visible,
input:not([type="checkbox"]):focus-visible,
select:focus-visible {
  outline: none;
}

.field-ack input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-header {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  min-height: 44px;
  min-width: 180px;
  white-space: nowrap;
}

.btn-hero,
.btn-submit {
  padding: 0.55rem 1.55rem;
  font-size: 1rem;
  min-height: 43px;
  line-height: 1.1;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 47px;
  font-size: 0.82rem;
}

.btn[disabled] {
  cursor: not-allowed;
  background: var(--blue-soft);
}

.btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
}

.is-loading .btn-spinner {
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
}

.brand-logo {
  display: block;
  height: 38px;
  width: auto;
  overflow: visible;
  object-fit: contain;
}

.brand-compact .brand-logo {
  height: 38px;
  width: auto;
}

.footer-lockup .brand-logo {
  height: 29px;
  width: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0 var(--page-pad);
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  place-items: center;
}

.nav-toggle:hover {
  background: #f3f0fb;
  border-radius: 8px;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu:not([hidden]) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 1.15rem 0.75rem;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.2rem 1rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #edf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.mobile-menu-copy {
  flex: 1 1 auto;
}

.mobile-menu-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #9aa6bc;
  border-top: 2px solid #9aa6bc;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.mobile-menu-title {
  display: block;
  font-weight: 650;
}

.mobile-menu-hint {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
}

.nav-link:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 414px;
  display: flex;
  align-items: center;
  padding: 2.4rem var(--hero-copy-pad) 2.6rem;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 26.5rem;
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  max-width: 7.15em;
  font-size: 3.5rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy);
  font-weight: 700;
}

.hero-lede {
  max-width: 24.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--navy-2);
  margin: 0 0 1.35rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.icon-inline {
  color: var(--blue);
  flex: 0 0 auto;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 28%,
    rgba(255, 255, 255, 0.82) 42%,
    rgba(255, 255, 255, 0) 62%
  );
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.how,
.trust {
  width: 100%;
  margin: 0;
  padding: 1.85rem var(--page-pad) 2rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 1.35rem;
}

.how h2,
.trust h2,
.signup-body h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-size: 1.55rem;
  font-weight: 700;
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin: 0;
  padding: 0;
  position: relative;
}

.how-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-step .how-icon {
  margin: 0 0 0.85rem;
}

@media (min-width: 769px) {
  .how-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    right: -1.35rem;
    width: 18px;
    height: 1.5px;
    background: var(--blue);
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .how-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 23px;
    right: -1.15rem;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--blue);
    border-top: 1.5px solid var(--blue);
    transform: rotate(45deg);
  }
}

.how-step h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--navy);
}

.how-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.88rem;
  max-width: 18rem;
}

.step-label {
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 !important;
}

.how-icon,
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #edf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
}

.how-icon svg,
.trust-icon svg {
  width: 26px;
  height: 26px;
}

.trust {
  padding-top: 2.15rem;
  padding-bottom: 2.35rem;
  background: var(--trust-bg);
}

.trust-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

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

.trust-grid li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 0.85rem;
  padding: 0 1.15rem;
}

.trust-grid li:first-child,
.trust-grid li:last-child {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.trust-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

.trust-icon svg {
  width: 26px;
  height: 26px;
}

.trust-grid p {
  margin: 0;
  color: var(--navy-2);
  line-height: 1.45;
  font-size: 0.88rem;
  max-width: 18rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.95rem var(--page-pad) 1.05rem;
  border-top: 1px solid var(--line);
  min-height: 98px;
}

.footer-lockup {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.signup-brand .brand-logo {
  height: 44px;
  width: auto;
}

.footer-tag,
.signup-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 450;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.footer-legal a,
.legal-gated {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 450;
}

.legal-gated[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.footer-copy {
  margin: 0;
  text-align: right;
  color: var(--muted);
  font-size: 0.88rem;
}

.signup-layer[hidden] {
  display: none;
}

.signup-layer:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.signup-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.signup-sheet {
  position: relative;
  width: min(470px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  background: var(--sheet);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(11, 18, 36, 0.22);
  padding: 2.6rem 3.4rem 1.25rem;
}

.signup-header {
  display: none;
}

.icon-close {
  border: 0;
  background: transparent;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  width: 44px;
  height: 44px;
}

#signup-title {
  line-height: 1.18;
  margin: 0 auto;
  max-width: 18.5rem;
  text-align: center;
}

.signup-body > .eyebrow {
  margin-bottom: 1.4rem;
  text-align: center;
}

.signup-lede {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0.75rem auto 3.25rem;
  max-width: 21rem;
  text-align: center;
}

.field {
  margin-bottom: 1.7rem;
}

.field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  color: var(--navy);
}

.field input:not([type="checkbox"]),
.field select {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--navy);
  font-size: 0.8rem;
}

.field input:not([type="checkbox"]):focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.field.is-invalid label,
.field.is-invalid .field-error {
  color: var(--error);
}

.field.is-invalid input:not([type="checkbox"]),
.field.is-invalid select,
.field.is-invalid input:not([type="checkbox"]):focus,
.field.is-invalid select:focus {
  border-color: var(--error);
  background: #fff;
  box-shadow: 0 0 0 1px var(--error);
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.6rem;
  line-height: 1.1;
}

.field-ack {
  margin-bottom: 0.85rem;
}

.field-ack .ack-label {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 450;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}

.field-ack input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
  border-radius: 4px;
}

.field-ack a {
  color: var(--blue);
  text-decoration: underline;
}

.field-ack.is-invalid .ack-label {
  color: var(--error);
}

.signup-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.result-body {
  text-align: center;
  min-height: 25.9rem;
  padding: 0.9rem 0.25rem 1.55rem;
}

.result-body:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-body p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 1rem auto 0;
  max-width: 21rem;
}

.result-body .btn-submit {
  max-width: 260px;
  margin-top: auto;
}

.result-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 auto 2.3rem;
  display: grid;
  place-items: center;
}

.result-success {
  background: var(--success-bg);
  color: var(--success);
}

.result-duplicate {
  background: var(--dup-bg);
  color: var(--dup);
}

.result-error {
  background: var(--error-bg);
  color: var(--error);
}

@media (max-width: 1279px) {
  :root {
    --page-pad: 36px;
    --hero-copy-pad: 48px;
  }

  /* Keep approved 1440 type scale and hero proportions at 1024.
     Horizontal padding tightens; vertical rhythm does not compress. */
  .hero {
    min-height: 480px;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: grid;
  }

  .nav-link {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    padding: 0 1.15rem;
    min-height: 72px;
  }

  .site-header .brand {
    justify-self: center;
  }

  .site-header .brand-logo {
    height: 32px;
    width: auto;
  }

  .btn-header {
    min-width: 0;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 1024px) {
  .nav-toggle,
  .mobile-menu {
    display: none !important;
  }

  .btn-hero {
    min-width: 305px;
  }
}

@media (max-width: 768px) {
  .hero-art picture,
  .hero-art img {
    object-position: 59% 42%;
  }

  .how-steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .how-steps {
    position: relative;
    gap: 0;
  }

  .how-steps::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 18px;
    bottom: 18px;
    border-left: 1px dashed #cfd7e6;
  }

  .how-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0.75rem;
    align-items: start;
    text-align: left;
    padding: 0.85rem 0;
    border-bottom: 0;
  }

  .how-step:last-child {
    border-bottom: 0;
  }

  .how-step .how-icon {
    grid-row: 1 / span 3;
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .how-step:not(:last-child)::after,
  .how-step:not(:last-child)::before {
    content: none;
  }

  .how-step .step-label {
    margin: 0 !important;
  }

  .trust-grid li,
  .trust-grid li:nth-child(odd),
  .trust-grid li:first-child,
  .trust-grid li:last-child {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 0.7rem;
    align-items: start;
    padding: 0.7rem 0;
    border-right: 0;
    border-top: 0;
  }

  .trust-grid li:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .trust-grid p {
    margin: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    text-align: left;
    justify-items: start;
    gap: 0.35rem 0.75rem;
    min-height: 0;
    padding-top: 0.85rem;
    padding-bottom: 0.95rem;
  }

  .footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  body {
    background: #fff;
    min-height: 0;
  }

  .landing-root {
    margin: 0;
    border: 0;
    border-radius: 0;
    min-height: 0;
  }

  .site-header {
    padding: 0 1.15rem;
    min-height: 52px;
  }

  .site-header .brand-logo {
    height: 26px;
    width: auto;
  }

  .how,
  .trust,
  .site-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero {
    min-height: 196px;
    align-items: flex-start;
    padding: 0.38rem 1.15rem 0.4rem;
  }

  .hero-copy {
    max-width: 18.5rem;
  }

  .hero-copy h1 {
    font-size: 1.7rem;
    line-height: 1.12;
    max-width: 7.6em;
    margin-bottom: 0.4rem;
  }

  .hero-lede {
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 0.38rem;
    max-width: 16.5rem;
  }

  .hero-art picture,
  .hero-art img {
    object-position: 60% 47%;
  }

  .hero-art::after {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.15) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .btn-header {
    padding: 0.28rem 0.55rem;
    font-size: 0.68rem;
    min-height: 27px;
    min-width: 0;
    border-radius: 7px;
  }

  .btn-hero {
    width: auto;
    min-height: 26px;
    padding: 0.28rem 0.85rem;
    font-size: 0.74rem;
  }

  .hero-trust {
    font-size: 0.72rem;
    margin-top: 0.28rem;
  }

  .how {
    padding-top: 0.2rem;
    padding-bottom: 0.15rem;
  }

  .how .section-intro {
    margin-bottom: 0.15rem;
  }

  .trust .section-intro {
    margin-bottom: 0.12rem;
  }

  .how h2,
  .trust h2 {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.12rem;
  }

  .how-steps::before {
    left: 19px;
    top: 18px;
    bottom: 18px;
  }

  .how-step {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 0.75rem;
    padding: 0.08rem 0;
  }

  .how-step .how-icon {
    width: 40px;
    height: 40px;
  }

  .how-step .how-icon svg {
    width: 18px;
    height: 18px;
  }

  .how-step h3 {
    font-size: 0.92rem;
    line-height: 1.3;
    max-width: 14rem;
    margin: 0.02rem 0 0.08rem;
  }

  .how-step p {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 16rem;
  }

  .trust {
    padding-top: 0.18rem;
    padding-bottom: 0.16rem;
  }

  .trust-panel {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .trust-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
  }

  .trust-icon svg {
    width: 14px;
    height: 14px;
  }

  .trust-grid p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .trust-grid li,
  .trust-grid li:nth-child(odd),
  .trust-grid li:first-child,
  .trust-grid li:last-child {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 0.65rem;
    align-items: start;
    text-align: left;
    padding: 0.08rem 0;
  }

  .trust-grid li:first-child {
    padding-top: 0;
  }

  .trust-grid li:last-child {
    padding-bottom: 0;
  }

  .site-footer {
    padding-top: 0.48rem;
    padding-bottom: 0.55rem;
    gap: 0.12rem 0.75rem;
    min-height: 0;
  }

  .footer-lockup {
    gap: 0.1rem;
  }

  .footer-lockup .brand-logo {
    height: 18px;
    width: auto;
  }

  .footer-legal a,
  .legal-gated {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 450;
  }

  .signup-brand .brand-logo {
    height: 44px;
    width: auto;
  }

  .footer-tag {
    font-size: 0.62rem;
  }

  .footer-copy {
    font-size: 0.68rem;
    color: var(--muted);
  }

  .btn-submit {
    width: 100%;
  }

  .field.is-invalid {
    margin-bottom: 1.45rem;
  }

  .field[data-field="shopping_interest"] {
    margin-bottom: 1.3rem;
  }

  body.is-signup-open {
    overflow: auto;
  }

  body.is-signup-open .landing-root {
    display: none;
  }

  .signup-layer:not([hidden]) {
    position: static;
    display: block;
    padding: 0;
    min-height: 100dvh;
  }

  .signup-backdrop {
    display: none;
  }

  .signup-sheet {
    width: 100%;
    max-height: none;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem 1.5rem 2rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--kb-inset, 0px));
  }

  .signup-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .signup-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  .signup-body h2 {
    text-align: center;
  }

  .signup-lede,
  .eyebrow {
    text-align: center;
  }

  .signup-body > .eyebrow {
    margin-bottom: 1.4rem;
  }

  #signup-title {
    line-height: 1.2;
  }

  .signup-lede {
    margin-top: 0.75rem;
    margin-bottom: 3.25rem;
    line-height: 1.45;
  }

  .result-body {
    min-height: 39.5rem;
    padding: 3.3rem 0 0;
  }

  .result-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 3.05rem;
  }

  .result-body .btn-submit {
    width: 100%;
    max-width: 300px;
  }
}

@media (min-width: 768px) {
  .signup-sheet {
    transform: none;
  }

  .signup-sheet:has(.result-body:not([hidden])) {
    transform: translateY(-1.05rem);
  }

  .signup-lede {
    margin-bottom: 4rem;
  }

  .signup-sheet .signup-header .signup-brand {
    display: none;
  }

  .signup-sheet .icon-close {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    display: block;
  }

  .signup-header {
    display: block;
    min-height: 0;
    border: 0;
    padding: 0;
  }
}
