/* Public pages only (landing, login/register, recovery, legal, access denied): "study buddy pop".
   Paper-white canvas, ink blue ("biru tinta"), yellow highlighter and coral; sticker cards with ink outlines
   and hard offset shadows; Plus Jakarta Sans headings over Inter body text.
   The --pop-* palette (light and dark) lives in brand.css and is shared with the user home. */

/* ---------- Tokens ---------- */

.public-site {
  /* Shared Tailwind aliases used by the account forms and legal pages. */
  --color-background: var(--pop-raised);
  --color-surface-container-lowest: var(--pop-surface);
  --color-surface-container-low: var(--pop-surface);
  --color-surface-container: var(--pop-primary-soft);
  --color-on-surface: var(--pop-ink);
  --color-on-surface-variant: var(--pop-muted);
  --color-secondary-fixed: var(--pop-primary-soft);
  --color-primary: var(--pop-primary);
  --color-secondary: var(--pop-primary);
  --color-on-primary: var(--pop-on-primary);
  --color-on-secondary: var(--pop-on-primary);
  --color-navy: var(--pop-ink);
  --color-ink: var(--pop-ink);
  --color-muted: var(--pop-muted);
  --color-action: var(--pop-primary);
  --color-action-hover: var(--pop-primary-hover);
  --color-line: var(--pop-line);
  --color-outline-variant: var(--pop-line);
  --color-canvas: var(--pop-canvas);
  --color-soft: var(--pop-raised);

  background: var(--pop-canvas);
  color: var(--pop-ink);
}

/* ---------- Base ---------- */

.public-site [hidden] {
  display: none !important;
}

.public-site :is(a, button, select, input, textarea, summary):focus-visible {
  outline: 3px solid var(--pop-primary);
  outline-offset: 3px;
}

.public-site :is(h1, h2, h3) {
  font-family: var(--pop-display);
}

.public-container {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.landing-shell {
  overflow-x: clip;
}

html:has(.public-site .pop-header) {
  scroll-padding-top: 104px;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.public-site .pop-header) {
    scroll-behavior: smooth;
  }
}

.public-eyebrow,
.public-site .eyebrow {
  margin: 0;
  color: var(--pop-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.public-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--pop-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.public-text-link:hover {
  color: var(--pop-primary-hover);
}

/* Brand mark, chips, highlighter and avatar live in pop.css (shared with the user home). */

.pop-art-label {
  position: absolute;
  z-index: 3;
  padding: 3px 10px;
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  background: var(--pop-surface);
  color: var(--pop-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

/* ---------- Buttons ---------- */

.public-site .button,
.public-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}

.public-button {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.public-site .button-primary,
.public-button-primary {
  background: var(--pop-primary);
  color: var(--pop-on-primary);
  box-shadow: 3px 3px 0 var(--pop-shadow);
}

.public-site .button-primary:hover,
.public-button-primary:hover {
  background: var(--pop-primary-hover);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--pop-shadow);
}

.public-site .button-secondary,
.public-button-secondary {
  background: var(--pop-surface);
  color: var(--pop-ink);
}

.public-site .button-secondary:hover,
.public-button-secondary:hover {
  background: var(--pop-sun);
  color: var(--pop-on-sun);
}

.public-button-light {
  background: var(--pop-sun);
  color: var(--pop-on-sun);
  box-shadow: 3px 3px 0 var(--pop-shadow);
}

.public-button-light:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--pop-shadow);
}

.public-site :is(.button-primary, .public-button-primary, .public-button-light):active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--pop-shadow);
}

/* ---------- Header ---------- */

/* Sticky and always visible on every public page; it never hides or resizes while scrolling. */
.pop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px clamp(12px, 3vw, 24px) 0;
}

/* Brand left, section links centred, actions right. Auth pages have no centre column content. */
.pop-header-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 1240px;
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  background: var(--pop-surface);
  box-shadow: 4px 4px 0 var(--pop-shadow);
  transition: box-shadow .25s ease;
}

/* Scrolling only adds a soft shadow. */
.pop-header.is-scrolled .pop-header-bar {
  box-shadow: 4px 4px 0 var(--pop-shadow), 0 14px 32px rgb(21 24 43 / 14%);
}

.pop-header-progress {
  position: absolute;
  right: 28px;
  bottom: 4px;
  left: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--pop-primary);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  pointer-events: none;
}

/* Brand styles come from pop.css; here it only takes the left grid column. */
.pop-header .pop-brand {
  grid-column: 1;
  justify-self: start;
}

/* Section links on a soft track; the highlighter indicator slides to the section in view. */
.pop-nav-links {
  position: relative;
  display: flex;
  grid-column: 2;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--pop-raised);
}

.pop-nav-links .nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--pop-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.pop-nav-links .nav-link:hover {
  background: var(--pop-primary-soft);
  color: var(--pop-ink);
}

.pop-nav-links .nav-link[aria-current="true"],
.pop-nav-links .nav-link[aria-current="true"]:hover {
  background: transparent;
  color: var(--pop-on-sun);
}

.pop-nav-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--indicator-w, 0px);
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  background: var(--pop-sun);
  box-shadow: 2px 2px 0 var(--pop-shadow);
  opacity: 0;
  transform: translateX(var(--indicator-x, 0px));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), width .4s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
  pointer-events: none;
}

.pop-nav-links[data-indicator] .pop-nav-indicator {
  opacity: 1;
}

.pop-nav-links .pop-menu-only {
  display: none;
}

.pop-nav-actions {
  display: flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 6px;
}

.pop-nav-actions form {
  display: inline-flex;
}

.pop-nav-actions .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--pop-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pop-nav-actions .nav-link:hover {
  background: var(--pop-primary-soft);
}

.pop-nav-note {
  margin-inline: 4px;
  color: var(--pop-muted);
  font-size: 14px;
}

.pop-nav-actions .theme-toggle {
  border: 2px solid var(--pop-line);
  border-radius: 999px;
  color: var(--pop-ink);
  transition: transform .3s ease, background-color .2s ease;
}

.pop-nav-actions .theme-toggle:hover {
  border-color: var(--pop-outline);
  background: var(--pop-sun);
  color: var(--pop-on-sun);
  transform: rotate(-12deg);
}

.pop-menu-button {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  background: var(--pop-sun);
  box-shadow: 2px 2px 0 var(--pop-shadow);
  color: var(--pop-on-sun);
  cursor: pointer;
}

.pop-menu-button > span {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.pop-menu-button i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .25s ease, transform .25s ease, opacity .2s ease;
}

.pop-menu-button i:nth-child(1) { top: 0; }
.pop-menu-button i:nth-child(2) { top: 6px; }
.pop-menu-button i:nth-child(3) { top: 12px; }

.pop-header[data-menu-open] .pop-menu-button i:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.pop-header[data-menu-open] .pop-menu-button i:nth-child(2) {
  opacity: 0;
}

.pop-header[data-menu-open] .pop-menu-button i:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.pop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 88px);
}

.pop-hero-title {
  margin: 22px 0 0;
  font-size: clamp(40px, 6.2vw, 82px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.pop-hero-lead {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--pop-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pop-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--pop-muted);
  font-size: 14px;
  font-weight: 600;
}

.pop-hero-perks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pop-hero-perks span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--pop-primary-soft);
  color: var(--pop-primary);
  font-size: 12px;
  font-weight: 800;
}

/* Collage of stickers around a draft page; every element is an illustration. */
.pop-hero-art {
  position: relative;
  min-height: 540px;
}

.pop-hero-art::before {
  content: "";
  position: absolute;
  inset: 7% 3% 5% 9%;
  border: 2px solid var(--pop-outline);
  border-radius: 40px;
  background: var(--pop-lilac);
  transform: rotate(3deg);
}

.pop-hero-art > .pop-art-label {
  top: 2%;
  left: 12%;
}

.pop-paper {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 15%;
  width: min(68%, 360px);
  padding: 24px 24px 28px;
  border: 2px solid var(--pop-outline);
  border-radius: 22px;
  background: var(--pop-surface);
  box-shadow: 6px 6px 0 var(--pop-shadow);
  transform: rotate(-3deg);
}

.pop-paper p {
  margin: 0;
}

.pop-paper-meta {
  display: flex;
  justify-content: space-between;
  color: var(--pop-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.pop-paper .pop-paper-title {
  margin-top: 14px;
  font-family: var(--pop-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pop-paper .pop-paper-sub {
  margin-top: 14px;
  color: var(--pop-primary);
  font-weight: 700;
}

.pop-paper .pop-paper-text {
  margin-top: 8px;
  color: var(--pop-muted);
  font-size: 14px;
  line-height: 1.6;
}

.pop-paper-lines {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.pop-paper-lines i {
  display: block;
  height: 9px;
  border-radius: 99px;
  background: var(--pop-line);
}

.pop-paper-lines i:last-child {
  width: 62%;
}

.pop-paper-cite {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--pop-primary-soft);
  color: var(--pop-primary);
  font-size: 13px;
  font-weight: 700;
}

.pop-bubble {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 5%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(62%, 300px);
  padding: 16px 18px;
  border: 2px solid var(--pop-outline);
  border-radius: 22px 22px 6px 22px;
  background: var(--pop-sun);
  box-shadow: 4px 4px 0 var(--pop-shadow);
  color: var(--pop-on-sun);
  transform: rotate(2deg);
}

.pop-bubble strong {
  font-family: var(--pop-display);
  font-size: 15px;
}

.pop-bubble p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.pop-sticker {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 2px solid var(--pop-outline);
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--pop-shadow);
  font-size: 13px;
}

.pop-sticker span {
  font-size: 18px;
  font-weight: 800;
}

.pop-sticker strong {
  font-family: var(--pop-display);
  font-size: 15px;
}

.pop-sticker small {
  font-size: 12px;
  opacity: .85;
}

.pop-sticker-source {
  bottom: 0;
  left: 2%;
  background: var(--pop-coral);
  color: var(--pop-on-coral);
  transform: rotate(-5deg);
}

.pop-sticker-review {
  top: 3%;
  right: 2%;
  background: var(--pop-surface);
  color: var(--pop-ink);
  transform: rotate(6deg);
}

/* ---------- Marquee ---------- */

.pop-marquee {
  width: calc(100% + 48px);
  margin: 8px 0 0 -24px;
  overflow: hidden;
  border-block: 2px solid var(--pop-outline);
  background: var(--pop-primary);
  color: var(--pop-on-primary);
  transform: rotate(-1.4deg);
}

.pop-marquee-track {
  display: flex;
  width: max-content;
  padding: 14px 0;
  font-family: var(--pop-display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  white-space: nowrap;
}

/* Padding instead of gap keeps the two copies exactly half the track for a seamless loop. */
.pop-marquee-track > * {
  padding-right: 28px;
}

.pop-marquee-track b {
  color: var(--pop-sun);
}

html[data-public-theme="dark"] .pop-marquee-track b {
  color: var(--pop-on-primary);
}

@media (prefers-reduced-motion: no-preference) {
  .pop-marquee-track {
    animation: pop-marquee 45s linear infinite;
  }

  @keyframes pop-marquee {
    to { transform: translateX(-50%); }
  }
}

/* ---------- Sections ---------- */

.pop-section {
  padding-block: clamp(56px, 8vw, 104px);
}

.pop-heading {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.pop-heading h2,
.pop-wori h2,
.pop-final h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.03em;
}

.pop-heading > p:not(.public-eyebrow) {
  margin: 16px 0 0;
  color: var(--pop-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- Feature bento ---------- */

.pop-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.pop-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: span 2;
  padding: 26px;
  border: 2px solid var(--pop-outline);
  border-radius: 28px;
  box-shadow: 5px 5px 0 var(--pop-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pop-card:hover {
  transform: translate(-2px, -2px) rotate(-.4deg);
  box-shadow: 7px 7px 0 var(--pop-shadow);
}

.pop-card-wide {
  display: grid;
  grid-column: span 4;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
}

.pop-card-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pop-card-lilac { background: var(--pop-lilac); }
.pop-card-peach { background: var(--pop-peach); }
.pop-card-sun { background: var(--pop-butter); }
.pop-card-sky { background: var(--pop-sky); }
.pop-card-pink { background: var(--pop-pink); }

.pop-card h3 {
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pop-card p {
  margin: 0;
  color: var(--pop-muted);
  font-size: 15px;
  line-height: 1.6;
}

.pop-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--pop-outline);
  border-radius: 14px;
  background: var(--pop-surface);
  box-shadow: 2px 2px 0 var(--pop-shadow);
  color: var(--pop-primary);
  font-size: 20px;
  font-weight: 800;
}

.pop-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  background: var(--pop-surface);
  font-size: 12px;
  font-weight: 700;
}

.pop-mock {
  border: 2px solid var(--pop-outline);
  border-radius: 18px;
  background: var(--pop-surface);
  color: var(--pop-ink);
}

.pop-mock-editor {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 210px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--pop-shadow);
}

.pop-mock-outline {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px 10px;
  border-right: 2px solid var(--pop-line);
  background: var(--pop-raised);
}

.pop-mock-outline span {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--pop-muted);
  font-size: 12px;
  font-weight: 700;
}

.pop-mock-outline .is-active {
  background: var(--pop-primary);
  color: var(--pop-on-primary);
}

.pop-mock-page {
  position: relative;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
}

.pop-mock-page b {
  font-size: 13px;
}

.pop-mock-page i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--pop-line);
}

.pop-mock-page i.is-short {
  width: 55%;
}

/* Tinjau perubahan in miniature: the original beside Wori's proposal, with room below for the floating popup. */
.pop-mock-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 80px;
}

.pop-mock-compare div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border: 2px solid var(--pop-line);
  border-radius: 12px;
}

.pop-mock-compare small {
  color: var(--pop-muted);
  font-size: 11px;
  font-weight: 700;
}

.pop-mock-page i.is-removed {
  background: var(--pop-coral);
  opacity: .6;
}

.pop-mock-page i.is-added {
  background: var(--pop-sun);
}

.pop-mock-popup {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 2px solid var(--pop-outline);
  border-radius: 14px;
  background: var(--pop-sun);
  box-shadow: 3px 3px 0 var(--pop-shadow);
  color: var(--pop-on-sun);
  font-size: 12px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.pop-mock-popup em {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pop-primary);
  color: var(--pop-on-primary);
  font-style: normal;
  text-align: center;
}

.pop-mock-search {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 12px;
}

.pop-mock-query {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pop-raised);
  color: var(--pop-muted);
  font-size: 13px;
}

.pop-mock-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border: 2px dashed var(--pop-line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.pop-mock-result em {
  color: var(--pop-primary);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.pop-mock-question {
  margin: auto 0 0;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Steps ---------- */

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

.pop-step {
  padding: 26px;
  border: 2px solid var(--pop-outline);
  border-radius: 26px;
  background: var(--pop-surface);
  box-shadow: 4px 4px 0 var(--pop-shadow);
}

.pop-step:nth-child(2) {
  transform: rotate(1deg) translateY(14px);
}

.pop-step:nth-child(3) {
  transform: rotate(-1deg);
}

.pop-step-number {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 10px;
  border: 2px solid var(--pop-outline);
  border-radius: 16px;
  background: var(--pop-sun);
  color: var(--pop-on-sun);
  font-family: var(--pop-display);
  font-size: 22px;
  font-weight: 800;
}

.pop-step:nth-child(2) .pop-step-number {
  background: var(--pop-coral);
  color: var(--pop-on-coral);
}

.pop-step:nth-child(3) .pop-step-number {
  background: var(--pop-primary);
  color: var(--pop-on-primary);
}

.pop-step h3 {
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pop-step p {
  margin: 8px 0 0;
  color: var(--pop-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Wori ---------- */

.pop-wori {
  padding-block: clamp(64px, 9vw, 112px);
  border-block: 2px solid var(--pop-outline);
  background: var(--pop-band);
  color: var(--pop-on-band);
}

.pop-wori-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.pop-wori .public-eyebrow,
.pop-wori .public-text-link {
  color: var(--pop-sun);
}

.pop-wori-copy > p:not(.public-eyebrow) {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--pop-band-muted);
  font-size: 17px;
  line-height: 1.7;
}

.pop-promises {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pop-promises li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.pop-promises span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--pop-sun);
  color: var(--pop-on-sun);
  font-size: 13px;
}

.pop-wori .public-text-link {
  margin-top: 22px;
}

/* The integrity line under the promises: smaller than the lead paragraph, its opening sentence in full colour. */
.pop-wori-copy > p.pop-wori-note {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.65;
}

.pop-wori-note strong {
  color: var(--pop-on-band);
}

.pop-chat {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 30px 26px 26px;
  border: 2px solid var(--pop-outline);
  border-radius: 30px;
  background: var(--pop-surface);
  box-shadow: 6px 6px 0 var(--pop-sun);
  color: var(--pop-ink);
}

.pop-chat > .pop-art-label {
  top: -14px;
  right: 22px;
}

.pop-chat-user {
  justify-self: end;
  max-width: 80%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px 18px 6px 18px;
  background: var(--pop-primary);
  color: var(--pop-on-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.pop-chat-wori {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 90%;
}

.pop-chat-wori p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 6px;
  background: var(--pop-raised);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Pricing ---------- */

.public-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.public-price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 2px solid var(--pop-outline);
  border-radius: 28px;
  background: var(--pop-surface);
  box-shadow: 4px 4px 0 var(--pop-shadow);
}

.public-price-featured {
  background: var(--pop-primary);
  box-shadow: 8px 8px 0 var(--pop-shadow);
  color: var(--pop-on-primary);
  transform: translateY(-10px);
}

.public-price h3 {
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.public-price-original {
  display: block;
  margin-top: 12px;
  color: var(--pop-muted);
  font-size: 15px;
  text-decoration-thickness: 2px;
}

.public-price-number {
  margin-top: 8px;
  font-family: var(--pop-display);
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.public-price-overview > p:last-child {
  margin: 8px 0 0;
  color: var(--pop-muted);
  font-size: 14px;
  font-weight: 700;
}

.public-price ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 2px dashed var(--pop-line);
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.public-price li {
  position: relative;
  padding-left: 28px;
}

.public-price li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--pop-primary-soft);
  color: var(--pop-primary);
  font-size: 11px;
  font-weight: 800;
}

.public-price-action {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.public-price-action .public-button {
  width: 100%;
}

.public-price small {
  color: var(--pop-muted);
  font-size: 13px;
  line-height: 1.5;
}

.public-price-badge {
  position: absolute;
  top: -16px;
  right: 22px;
  padding: 6px 14px;
  border: 2px solid var(--pop-outline);
  border-radius: 999px;
  background: var(--pop-sun);
  box-shadow: 2px 2px 0 var(--pop-shadow);
  color: var(--pop-on-sun);
  font-size: 13px;
  font-weight: 800;
  transform: rotate(4deg);
}

.public-price-featured :is(.public-eyebrow, .public-price-original, .public-price-overview > p:last-child, small) {
  color: color-mix(in srgb, var(--pop-on-primary) 82%, transparent);
}

.public-price-featured ul {
  border-top-color: color-mix(in srgb, var(--pop-on-primary) 35%, transparent);
}

.public-price-featured li::before {
  background: var(--pop-sun);
  color: var(--pop-on-sun);
}

.public-price-featured .public-button-primary {
  background: var(--pop-sun);
  color: var(--pop-on-sun);
}

.public-pricing-note {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--pop-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.public-faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.public-faq .pop-heading {
  position: sticky;
  top: 104px;
}

.public-faq-list {
  display: grid;
  gap: 12px;
}

.public-faq details {
  border: 2px solid var(--pop-outline);
  border-radius: 20px;
  background: var(--pop-surface);
  box-shadow: 3px 3px 0 var(--pop-shadow);
}

.public-faq details[open] {
  background: var(--pop-lilac);
}

.public-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  font-family: var(--pop-display);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.public-faq summary::-webkit-details-marker {
  display: none;
}

.public-faq summary span {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--pop-sun);
  color: var(--pop-on-sun);
  font-size: 20px;
  font-weight: 800;
  transition: transform .2s ease;
}

.public-faq details[open] summary span {
  transform: rotate(45deg);
}

.public-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--pop-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Final call to action ---------- */

.pop-final-wrap {
  padding-bottom: clamp(64px, 8vw, 104px);
}

.pop-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 5vw, 56px);
  border: 2px solid var(--pop-outline);
  border-radius: 36px;
  background: var(--pop-primary);
  box-shadow: 8px 8px 0 var(--pop-shadow);
  color: var(--pop-on-primary);
}

.pop-final .public-eyebrow {
  color: var(--pop-on-primary);
  opacity: .85;
}

.pop-final h2 {
  max-width: 20ch;
  line-height: 1.14;
}

.pop-final p:not(.public-eyebrow) {
  margin: 14px 0 0;
  font-size: 17px;
  opacity: .9;
}

/* ---------- Footer ---------- */

.pop-footer {
  border-top: 2px solid var(--pop-outline);
  background: var(--pop-surface);
}

.pop-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: center;
  padding-block: 32px;
}

.pop-footer-tagline {
  margin: 8px 0 0;
  color: var(--pop-muted);
  font-size: 14px;
}

.pop-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.pop-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pop-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.pop-footer-links a:hover {
  color: var(--pop-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pop-footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--pop-line);
  color: var(--pop-muted);
  font-size: 13px;
}

/* ---------- Account pages ---------- */

.public-auth-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding-block: clamp(28px, 5vw, 56px);
}

.public-auth-story {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border: 2px solid var(--pop-outline);
  border-radius: 32px;
  background: var(--pop-lilac);
  box-shadow: 6px 6px 0 var(--pop-shadow);
}

.public-auth-story h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.public-auth-story > p:not(.pop-chip) {
  max-width: 32rem;
  margin: 16px 0 0;
  color: var(--pop-muted);
  font-size: 16px;
  line-height: 1.65;
}

.pop-auth-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.pop-auth-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid var(--pop-outline);
  border-radius: 18px;
  background: var(--pop-surface);
}

.pop-auth-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--pop-outline);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
}

.pop-auth-icon-lilac { background: var(--pop-primary); color: var(--pop-on-primary); }
.pop-auth-icon-peach { background: var(--pop-coral); color: var(--pop-on-coral); }
.pop-auth-icon-sun { background: var(--pop-sun); color: var(--pop-on-sun); }

.pop-auth-list strong {
  font-family: var(--pop-display);
  font-size: 15px;
}

.pop-auth-list small {
  color: var(--pop-muted);
  font-size: 13px;
}

.public-auth-story .pop-auth-bubble {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  margin-top: 22px;
  transform: rotate(-1deg);
}

.public-auth-story .public-text-link {
  margin-top: 14px;
}

.public-auth-card {
  padding: clamp(24px, 3.5vw, 36px);
  border: 2px solid var(--pop-outline);
  border-radius: 28px;
  background: var(--pop-surface);
  box-shadow: 6px 6px 0 var(--pop-shadow);
}

.public-auth-card :is(h1, h2) {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.public-site .label {
  color: var(--pop-ink);
  font-size: 14px;
  font-weight: 700;
}

.public-site .field {
  min-height: 48px;
  padding-inline: 14px;
  border: 2px solid var(--pop-line);
  border-radius: 14px;
  background: var(--pop-surface);
  box-shadow: none;
  color: var(--pop-ink);
  font-size: 16px;
}

.public-site .field:hover {
  border-color: color-mix(in srgb, var(--pop-outline) 45%, var(--pop-line));
}

.public-site .field:focus {
  border-color: var(--pop-primary);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pop-primary) 22%, transparent);
}

/* Unlayered rules beat the shared component padding, so keep room for icons. */
.public-site .field.pl-10 {
  padding-left: 2.5rem;
}

.public-site .auth-submit,
.public-site .auth-google {
  min-height: 52px;
  font-size: 16px;
}

.public-site .auth-google {
  gap: 10px;
}

/* "atau dengan kode email" between the Google button and the email form. */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 20px;
  color: var(--pop-muted);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  flex: 1;
  border-top: 2px solid var(--pop-line);
  content: '';
}

.public-site .field.auth-code {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .35em;
  text-align: center;
}

.public-site .notice {
  border: 2px solid var(--pop-outline);
  border-radius: 16px;
  background: var(--pop-butter);
  color: var(--pop-ink);
}

/* ---------- Legal and access pages ---------- */

.public-paper {
  width: calc(100% - 32px);
  margin-block: clamp(24px, 5vw, 56px);
  padding: clamp(28px, 5vw, 56px);
  border: 2px solid var(--pop-outline);
  border-radius: 32px;
  background: var(--pop-surface);
  box-shadow: 6px 6px 0 var(--pop-shadow);
}

.public-paper h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.public-paper h2 {
  font-size: 20px;
  font-weight: 800;
}

/* Long legal pages (privacy, terms): summary box, contents list, subsection titles and lists. The public
   pages' scroll-padding-top already keeps a section heading clear of the floating header. */
.legal-page .legal-summary {
  margin-top: 28px;
  padding: 18px 22px;
  border: 2px solid var(--pop-outline);
  border-radius: 20px;
  background: var(--pop-butter);
  color: var(--pop-ink);
}

.legal-page .legal-list {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
}

.legal-page .legal-list li + li {
  margin-top: 6px;
}

.legal-page .legal-toc ol {
  columns: 2;
  column-gap: 32px;
}

.legal-page h3 {
  margin-top: 18px;
  color: var(--pop-ink);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .legal-page .legal-toc ol {
    columns: 1;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .pop-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .pop-hero-art {
    width: min(100%, 560px);
    min-height: 520px;
    margin-inline: auto;
  }

  .pop-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pop-card {
    grid-column: span 1;
  }

  /* Two columns after the wide first card: a lone last card fills its row. */
  .pop-card-wide,
  .pop-card:last-child:nth-child(even) {
    grid-column: span 2;
  }

  .pop-wori-inner,
  .public-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-faq .pop-heading {
    position: static;
  }

  .public-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }

  .public-price-featured {
    transform: none;
  }

  .public-auth-frame {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }

  /* On smaller screens the form comes first. */
  .public-auth-card {
    order: -1;
  }
}

@media (max-width: 900px) {
  /* Brand left, actions right; the section links become a drop-down panel. */
  .pop-header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pop-nav-actions {
    grid-column: 2;
  }

  /* grid-column: auto makes the header bar, not the grid cell, the positioning box. */
  .pop-nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    grid-column: auto;
    gap: 4px;
    padding: 10px;
    border: 2px solid var(--pop-outline);
    border-radius: 24px;
    background: var(--pop-surface);
    box-shadow: 4px 4px 0 var(--pop-shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;
    transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
  }

  .pop-header[data-menu-open] .pop-nav-links {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
  }

  .pop-nav-links .nav-link {
    justify-content: space-between;
    min-height: 52px;
    padding: 0 18px;
    color: var(--pop-ink);
    font-size: 17px;
  }

  .pop-nav-links .nav-link::after {
    content: "\2192";
    color: var(--pop-primary);
    font-weight: 800;
  }

  .pop-nav-links .nav-link[aria-current="true"],
  .pop-nav-links .nav-link[aria-current="true"]:hover {
    background: var(--pop-sun);
  }

  .pop-nav-indicator,
  .pop-nav-actions .pop-nav-login {
    display: none;
  }

  .pop-nav-links .pop-menu-only {
    display: flex;
  }

  .pop-menu-button {
    display: inline-grid;
  }

  .pop-header-progress {
    right: 24px;
    left: 24px;
  }
}

@media (max-width: 400px) {
  /* Header only: the mark keeps the brand recognisable; the link keeps its accessible name. */
  .pop-header .pop-brand-name {
    display: none;
  }
}

@media (max-width: 900px) {
  .pop-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .pop-step:nth-child(n) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .pop-header-bar {
    padding-left: 12px;
  }

  .pop-nav-note {
    display: none;
  }

  .pop-hero-art {
    min-height: 520px;
  }

  /* Small screens: the review sticker steps aside and the source sticker takes the top corner. */
  .pop-sticker-review {
    display: none;
  }

  .pop-sticker-source {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
  }

  .pop-paper {
    left: 6%;
    width: 78%;
    padding: 20px;
  }

  .pop-paper .pop-paper-title {
    font-size: 24px;
  }

  .pop-bubble {
    width: 74%;
    bottom: 3%;
  }

  .pop-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .pop-card,
  .pop-card-wide,
  .pop-card:last-child:nth-child(even) {
    grid-column: span 1;
  }

  .pop-card-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .pop-final {
    flex-direction: column;
    align-items: flex-start;
  }

  .pop-final .public-button {
    width: 100%;
  }

  .pop-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 440px) {
  .public-site .pop-header .button {
    padding: 0 14px;
    font-size: 14px;
  }

  .public-button {
    width: 100%;
  }
}

/* ---------- Motion ---------- */
/* Entrance, scroll reveal and micro-interactions. All of it is skipped for reduced motion;
   scroll reveal also needs landing-page.js to set html[data-reveal]. */

@media (prefers-reduced-motion: no-preference) {
  @keyframes pop-rise {
    from { opacity: 0; translate: 0 18px; }
    to { opacity: 1; translate: 0 0; }
  }

  @keyframes pop-in {
    from { opacity: 0; scale: .86; }
    to { opacity: 1; scale: 1; }
  }

  @keyframes pop-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }

  @keyframes pop-highlight {
    from { background-size: 0% 100%; color: var(--pop-ink); }
    to { background-size: 100% 100%; color: var(--pop-on-sun); }
  }

  @keyframes pop-wobble {
    0%, 100% { rotate: 0deg; }
    25% { rotate: -8deg; }
    75% { rotate: 8deg; }
  }

  @keyframes pop-tilt {
    0%, 100% { rotate: 0deg; }
    50% { rotate: -4deg; }
  }

  /* Hero: the copy rises in order, the highlighter sweeps, then the collage pops in piece by piece. */
  .pop-hero-copy > * {
    animation: pop-rise .7s cubic-bezier(.2, .8, .2, 1) both;
  }

  .pop-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .pop-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .pop-hero-copy > :nth-child(4) { animation-delay: .24s; }
  .pop-hero-copy > :nth-child(5) { animation-delay: .32s; }

  .pop-hero-title .pop-mark {
    animation: pop-highlight .6s .55s cubic-bezier(.2, .8, .2, 1) both;
  }

  .pop-hero-art::before {
    animation: pop-in .7s .1s cubic-bezier(.2, .8, .2, 1) both;
  }

  .pop-hero-art > .pop-art-label {
    animation: pop-in .4s .3s ease both;
  }

  .pop-hero-art .pop-paper {
    animation: pop-in .6s .25s cubic-bezier(.2, .8, .2, 1) both;
  }

  .pop-hero-art .pop-bubble {
    animation: pop-in .5s .5s cubic-bezier(.34, 1.56, .64, 1) both, pop-float 6s 1.2s ease-in-out infinite;
  }

  .pop-hero-art .pop-sticker-source {
    animation: pop-in .5s .62s cubic-bezier(.34, 1.56, .64, 1) both, pop-float 7s 1.6s ease-in-out infinite;
  }

  .pop-hero-art .pop-sticker-review {
    animation: pop-in .5s .74s cubic-bezier(.34, 1.56, .64, 1) both;
  }

  /* Scroll reveal: blocks rise in; siblings follow one after another. Hover transitions keep no delay. */
  html[data-reveal] [data-reveal] {
    transition-property: opacity, translate, transform, box-shadow, background-color;
    transition-duration: .6s, .7s, .2s, .2s, .2s;
    transition-timing-function: ease, cubic-bezier(.2, .8, .2, 1), ease, ease, ease;
    transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s, 0s, 0s;
  }

  html[data-reveal] [data-reveal]:not(.is-visible) {
    opacity: 0;
    translate: 0 32px;
  }

  [data-reveal]:nth-child(2) { --reveal-delay: .08s; }
  [data-reveal]:nth-child(3) { --reveal-delay: .16s; }
  [data-reveal]:nth-child(4) { --reveal-delay: .24s; }
  [data-reveal]:nth-child(5) { --reveal-delay: .32s; }
  [data-reveal]:nth-child(6) { --reveal-delay: .4s; }

  /* The Wori example plays like a chat once it scrolls into view. */
  .pop-chat.is-visible > :not(.pop-art-label) {
    animation: pop-rise .45s cubic-bezier(.2, .8, .2, 1) both;
  }

  .pop-chat.is-visible > :nth-child(1) { animation-delay: .25s; }
  .pop-chat.is-visible > :nth-child(2) { animation-delay: .8s; }
  .pop-chat.is-visible > :nth-child(3) { animation-delay: 1.4s; }

  .pop-step.is-visible .pop-step-number {
    animation: pop-in .5s .3s cubic-bezier(.34, 1.56, .64, 1) both;
  }

  /* Micro-interactions. */
  .pop-card:hover .pop-card-icon {
    animation: pop-wobble .5s ease;
  }

  .public-button span[aria-hidden="true"] {
    display: inline-block;
    transition: transform .2s ease;
  }

  .public-button:hover span[aria-hidden="true"] {
    transform: translateX(3px);
  }

  .pop-marquee:hover .pop-marquee-track {
    animation-play-state: paused;
  }

  .public-faq details[open] p {
    animation: pop-rise .35s cubic-bezier(.2, .8, .2, 1) both;
  }

  .public-price-badge {
    animation: pop-tilt 4s 1s ease-in-out infinite;
  }

  .pop-header[data-menu-open] .pop-nav-links > a {
    animation: pop-rise .3s cubic-bezier(.2, .8, .2, 1) both;
  }

  .pop-header[data-menu-open] .pop-nav-links > a:nth-of-type(2) { animation-delay: .04s; }
  .pop-header[data-menu-open] .pop-nav-links > a:nth-of-type(3) { animation-delay: .08s; }
  .pop-header[data-menu-open] .pop-nav-links > a:nth-of-type(4) { animation-delay: .12s; }
  .pop-header[data-menu-open] .pop-nav-links > a:nth-of-type(5) { animation-delay: .16s; }
}

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

/* ---------- Kontak ---------- */

.pop-contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.pop-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* The cards reuse .pop-card; their place in this two-card grid is fixed whatever the bento rules say. */
.pop-contact-list .pop-card.pop-contact-card {
  grid-column: auto;
  color: inherit;
  text-decoration: none;
}

.pop-contact-card:focus-visible {
  outline: 3px solid var(--pop-primary);
  outline-offset: 3px;
}

.pop-card .pop-contact-value {
  color: var(--pop-ink);
  font-family: var(--pop-display);
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .pop-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .pop-contact-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
