:root {
  color-scheme: light;
  --pink: #f04878;
  --pink-dark: #ce2d61;
  --ink: #201c20;
  --muted: #665c62;
  --paper: #fffafc;
  --line: rgba(46, 31, 39, .12);
  --shadow: 0 22px 70px rgba(39, 20, 30, .24);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: #f7edf1;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}
button { font: inherit; }
button:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #151015;
  outline-offset: 3px;
}
.portal-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #fff7fa url("/images/australiangrannies-background.webp") center top / cover no-repeat;
  cursor: pointer;
}
.portal-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02) 34%, rgba(38,20,29,.16) 70%, rgba(27,14,20,.42) 100%),
    linear-gradient(90deg, rgba(255,255,255,.04), transparent 55%);
}
.portal-panel {
  position: absolute;
  left: clamp(18px, 4vw, 52px);
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: rgba(255,250,252,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  cursor: default;
  animation: portal-rise .65s cubic-bezier(.2,.8,.2,1) both;
}
.portal-copy { max-width: 760px; }
.portal-kicker {
  margin: 0 0 10px;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.portal-title {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.portal-intro {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.55;
}
.portal-overview {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.portal-overview b { font-size: 12px; }
.portal-overview p {
  max-width: 720px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.portal-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.portal-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #554a50;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.portal-trust span::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}
.portal-actions { display: grid; gap: 10px; }
.portal-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 13px 20px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 13px 30px rgba(240,72,120,.3);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.portal-primary:hover {
  transform: translateY(-2px);
  background: var(--pink-dark);
  box-shadow: 0 16px 36px rgba(206,45,97,.34);
}
.portal-primary svg { width: 23px; height: 23px; flex: 0 0 auto; }
.portal-minor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.portal-login,
.portal-secondary {
  min-height: 44px;
  border: 0;
  color: #675d62;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}
.portal-login:hover,
.portal-secondary:hover { color: var(--ink); text-decoration: underline; }
.portal-note {
  margin: 0;
  color: #786f74;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.cta { cursor: pointer; }
details {
  position: absolute;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
details summary { display: none; }
@keyframes portal-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 820px) {
  .portal-stage {
    background-color: #fff7fa;
    background-position: center top;
    background-size: 100% auto;
  }
  .portal-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
  }
  .portal-intro { display: none; }
  .portal-overview { display: none; }
  .portal-trust { margin-top: 14px; }
}
@media (max-width: 520px) {
  .portal-stage { background-position: 60% top; }
  .portal-panel { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 18px; }
  .portal-kicker { margin-bottom: 7px; font-size: 10px; }
  .portal-title { font-size: clamp(25px, 8vw, 34px); }
  .portal-trust { gap: 6px; }
  .portal-trust span { min-height: 28px; padding: 5px 9px; font-size: 10px; }
  .portal-primary { min-height: 54px; border-radius: 15px; font-size: 14px; }
  .portal-secondary { min-height: 40px; }
}
@media (max-height: 650px) and (min-width: 521px) {
  .portal-panel { padding: 18px 24px; }
  .portal-title { font-size: clamp(26px, 3vw, 40px); }
  .portal-intro { margin-top: 8px; font-size: 14px; }
  .portal-trust { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-panel { animation: none; }
  .portal-primary { transition: none; }
}
