/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
  font-family: 'Blauer Neue';
  src: url('../fonts/blauer-neue/BlauerNue-Light.woff2') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'Blauer Neue';
  src: url('../fonts/blauer-neue/BlauerNue-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Blauer Neue';
  src: url('../fonts/blauer-neue/BlauerNue-Medium.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'Blauer Neue';
  src: url('../fonts/blauer-neue/BlauerNue-SemiBold.woff2') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: 'Blauer Neue';
  src: url('../fonts/blauer-neue/BlauerNue-Bold.woff2') format('woff2');
  font-weight: 700;
}
@font-face {
  font-family: 'Supply Mono';
  src: url('../fonts/supply-mono/Supply-Light.otf') format('opentype');
  font-weight: 300;
}
@font-face {
  font-family: 'Supply Mono';
  src: url('../fonts/supply-mono/Supply-Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Supply Mono';
  src: url('../fonts/supply-mono/Supply-Medium.otf') format('opentype');
  font-weight: 500;
}
@font-face {
  font-family: 'Supply Mono';
  src: url('../fonts/supply-mono/Supply-Bold.otf') format('opentype');
  font-weight: 700;
}

/* ==========================================================================
   Root variables
   ========================================================================== */
:root {
  --pw-orange: #ff7a1a;
  --pw-dark: #131313;
  --pw-dark-2: #1b1b1b;
  --pw-gray: #b9b9b9;
  --font-body: 'Blauer Neue', sans-serif;
  --font-mono: 'Supply Mono', monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  margin: 0;
  background: #E5E8EA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Film-grain noise overlay, matching Figma spec: Mono, size 0.1, density 100%, #000000 5% */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Shared page container (max-width + gutter) */
.ph-container {
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   Top bar (hazard ticker)
   ========================================================================== */
.hazard-bar {
  background: #FFA636;
  overflow: hidden;
  white-space: nowrap;
}

.hazard-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hazard-scroll 32s linear infinite;
}

.hazard-group {
  display: flex;
  align-items: center;
  flex: none;
}

.hazard-img {
  height: 40px;
  width: auto;
  flex: none;
}

@keyframes hazard-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: #ffffff;
  padding: 5px 15px;
  padding-left: 30px;
  height: 64px;
  border-radius: 32px 12px 12px 32px;
  margin-top: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

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

.badge-pill {
  font-family: var(--font-mono);
  color: #303030;
  font-size: 14px;
  letter-spacing: 0.08em;
  background: #E5E8EA;
  border: 1px solid #CBCBCB;
  padding: 6px 16px;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-bold {
  font-weight: 700;
}

.badge-regular {
  font-weight: 400;
}

.badge-pill .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FA6723;
  display: inline-block;
}

.header-divider {
  width: 1px;
  background: #E5E8EA;
  flex: none;
  align-self: stretch;
  margin: -5px 0;
}

.header-divider--brand {
  margin-left: 16px;
}

.btn-get-in-touch {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: #F1F6F8;
  letter-spacing: 0.08em;
  background: #1A1A1A;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-get-in-touch:hover {
  color: #F1F6F8;
}

@media (max-width: 991px) {
  .ph-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-header {
    height: 56px;
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .brand-lockup {
    height: 29px;
  }

  .header-divider--brand {
    margin-left: 0;
  }

  .badge-prefix {
    display: none;
  }

  .header-divider--actions,
  .btn-get-in-touch {
    display: none;
  }
}

@media (max-width: 370px) {
  .badge-pill{
    font-size: 12px;
    padding: 6px 10px;
  }
}



/* ==========================================================================
   Hero
   ========================================================================== */
.hero-wrapper {
  position: relative;
  margin-bottom: 26px;
}

.hero-section {
  background: var(--pw-dark) url('../images/hero-desktop.png') center / cover no-repeat;
  color: #fff;
  height: 800px;
  border-radius: 12px;
  border-bottom-right-radius: 80px;
  display: flex;
  align-items: stretch;
  padding-left: 95px;
  position: relative;
}

/* Sits on top of the CSS background image; only populated on eligible
   desktop devices by js/hero-3d-init.js. Left empty/hidden everywhere else,
   so the background image underneath keeps working as the fallback. */
.hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border-bottom-right-radius: 80px;
  pointer-events: none;
  z-index: 0;
}

.hero-callout {
  position: absolute;
  top: 22%;
  left: 42%;
  z-index: 1;
  pointer-events: none;
}

.hero-callout-badge {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #807F80;
  background: #242323;
  border: 1px solid #807F80;
  border-radius: 32px;
  padding: 6px 16px;
  white-space: nowrap;
  display: inline-block;
}

.hero-callout-badge span {
  font-weight: 300;
}

.hero-callout-line {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100px;
  height: 1px;
  background: rgba(185, 185, 185, 0.4);
  transform-origin: left center;
  transform: rotate(21.1deg);
}

@media (max-width: 991px) {
  .hero-callout { display: none; }
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 440px;
  gap: 20px;
}

.hero-text p,
.hero-text h1 {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  color: #FA6723;
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-mono);
  font-weight: 400;
  color: #F1F6F8;
  font-size: 56px;
  line-height: 60px;
}

.hero-copy {
  font-family: var(--font-body);
  font-weight: 400;
  color: #F1F6F8;
  font-size: 20px;
  line-height: 32px;
  max-width: 355px;
}

.hero-meta {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: #616161;
}

.hero-meta-regular {
  font-weight: 400;
}

/* Corner panel (top-left decorative shape with icon) */
.corner-panel {
  width: 95px;
  height: 335px;
  background: #E5E8EA;
  border-radius: 0 0px 53px 0;
  padding: 0px 22px 30px 0px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

/* Concave corner where the panel meets the hero background */
.corner-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 12px;
  height: 12px;
  background: transparent;
  pointer-events: none;
  border-radius: 12px 0 0 0;
  box-shadow: -12px -12px 0 12px #E5E8EA;
}

.corner-panel-icon {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .corner-panel {
    width: 67px;
    height: 205px;
    border-radius: 0 0px 40px 0;
  }
}


/* Aster signup form (overlaps the bottom edge of the hero section) */
.aster-form {
  width: 440px;
  background: #E5E8EA;
  border-radius: 26px 26px 0 0;
  padding: 30px 30px 10px;
  position: absolute;
  bottom: 0;
  z-index: 2;
  margin-left: calc(var(--bs-gutter-x) * .5);
}

/* Concave corners where the form meets the hero background, left and right */
.aster-form::before,
.aster-form::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: transparent;
  pointer-events: none;
}

.aster-form::before {
  right: 100%;
  border-radius: 0 0 12px 0;
  box-shadow: 12px 12px 0 12px #E5E8EA;
}

.aster-form::after {
  left: 100%;
  border-radius: 0 0 0 12px;
  box-shadow: -12px 12px 0 12px #E5E8EA;
}

.aster-form .input-group {
  gap: 12px;
}

.aster-form .form-control {
  border: none;
  border-bottom: 1.5px solid #1A1A1A;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #1A1A1A;
  padding-left: 20px;
  padding-right: 20px;
}

.aster-form .form-control:focus {
  box-shadow: none;
  outline: none;
}

.aster-form .form-control::placeholder {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #1A1A1A;
}

.btn-submit {
  background: #FA6723;
  color: #F1F6F8;
  border: none;
  border-radius: 8px !important;
  padding: 0.7rem 24px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background 0.15s ease;
}

.btn-submit:hover {
  background: #e6690f;
  color: #F1F6F8;
}

.form-feedback {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  margin-top: 0.75rem;
  min-height: 1.1rem;
  padding-left: 0.5rem;
  color: #FA6723;
}

.form-feedback.text-success { color: #7bd88f; }
.form-feedback.text-danger { color: #ff8a8a; }

@media (max-width: 991px) {
  .hero-section {
    height: 498px;
    padding: 2rem 1rem;
    background-position: left;
  }
  .hero-text { padding-left: 80px; justify-content: flex-start; width: 100%; gap: 8px; }
  .hero-title { font-size: 32px; line-height: 40px; }
  .hero-copy { font-size: 14px; line-height: 24px; max-width: 255px; }
  .hero-meta { display: none; }
  .aster-form { position: relative; border-radius: 0; width: 100%; padding: 16px 16px 10px; margin-left: 0px; }
  .aster-form .input-group { flex-direction: column; }
  .aster-form .form-control,
  .aster-form .btn-submit { width: 100%; }
}

@media (max-width: 767px) {
  .hero-section {
    height: 498px;
    padding: 2rem 1rem;
    background-image: url('../images/hero-mobile.png');
    background-position: left;
  }
}

@media (max-width: 370px) {
  .hero-text {
    padding-left: 68px;
  }
}

@media (max-width: 345px) {
  .hero-text {
    padding-left: 65px;
  }
  .hero-title {
    font-size: 29px;
    line-height: 36px;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-section {
  position: relative;
  background-color: #E5E8EA;
  background-image: url('../images/pattern-dots.svg');
  background-repeat: repeat;
  padding: 76px 0;
}

/* Vertical "WHAT IS PLAYHOUSE" side label, running the full height of the section */
.about-side-label {
  position: absolute;
  top: 0;
  left: 0px;
  height: 100%;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  background-color: #E5E8EA;
}

.about-side-line {
  flex: 1;
  width: 1px;
  background: #616161;
}

.about-side-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #616161;
  white-space: nowrap;
  padding: 16px 0;
}

/* --- Desktop layout: background shape SVG + absolutely-positioned overlay --- */
.about-wrapper {
  position: relative;
  width: min(1005px, 100%);
  aspect-ratio: 1000 / 475;
  margin: 0 auto;
  container-type: inline-size;
}

@media (max-width: 1100px) {
  .about-wrapper {
    margin-left: 34px;
    max-width: calc(100% - 50px);
  }
}

.about-shape {
  position: absolute;
  top: 12.21%;
  left: 20.7%;
  width: 79.8%;
  height: auto;
  display: block;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.about-image {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 48.1%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-description {
  position: absolute;
  top: 20.21%;
  left: 66.5%;
  width: 29.8%;
  z-index: 2;
}

.about-description p {
  margin: 0;
  font-family: var(--font-body, Arial, sans-serif);
  font-size: clamp(11px, 1.5vw, 14.4px); /* fallback for browsers without container query units */
  font-size: clamp(11px, 1.5cqw, 14.4px);
  line-height: 1.535;
  font-weight: 400;
  color: #616161;
}

.about-title {
  position: absolute;
  top: 58.7%;
  left: 38.5%;
  width: 27.9%;
  z-index: 2;
}

.about-title h2 {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: clamp(28px, 4.5vw, 45.2px); /* fallback for browsers without container query units */
  font-size: clamp(28px, 4.5cqw, 45.2px);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #303030;
}

.about-icons {
  position: absolute;
  top: 64.84%;
  left: 71.6%;
  width: 25.8%;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.about-icons img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .about-section { padding: 30px 0; padding-bottom: 15px; }
}

/* --- Mobile layout ---
   The background shape SVG already includes the icon pill + icon glyphs, so only
   the photo and the two text blocks are overlaid on top of it.
   Note: the %-based positions below are estimated from the design mock — fine-tune as needed. */
.about-mobile-wrapper {
  position: relative;
  width: 100%;
  max-width: calc(100% - 50px);
  margin-left: 34px;
  aspect-ratio: 329 / 712;
  container-type: inline-size;
}

@media (min-width: 550px) {
  .about-mobile-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
}

.about-mobile-shape {
  position: relative;
  inset: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  margin-top: -22%;
  pointer-events: none;
  user-select: none;
}

.about-mobile-image {
  position: relative;
  left: 0%;
  top: 0%;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.about-mobile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-mobile-title {
  position: absolute;
  left: 7.3%;
  top: 39.2%;
  width: 88.9%;
  height: 22.6%;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.about-mobile-title h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9vw; /* fallback for browsers without container query units */
  font-size: 9cqw;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #303030;
}

.about-mobile-text {
  position: absolute;
  left: 27.5%;
  top: 62%;
  width: 68.4%;
  height: 38.3%;
  z-index: 2;
  padding: 16px;
  overflow: hidden;
}

.about-mobile-text p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 4.3vw; /* fallback for browsers without container query units */
  font-size: 4.3cqw;
  line-height: 1.45;
  color: #616161;
}

/* ==========================================================================
   Recap
   ========================================================================== */
.recap-section {
  position: relative;
  background: #FA6723;
  padding: 0px;
  margin-top: 58px;
}

/* Decorative top edge, sits over the section background but behind the content */
.recap-top {
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 130px;
  background-image: url('../images/recap-top.svg');
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 130px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Decorative bottom edge, sits over the section background but behind the content */
.recap-bottom {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url('../images/recap-bottom.svg');
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 100px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.recap-section > .ph-container {
  position: relative;
  z-index: 1;
}

.recap-header {
  padding-top: 25px;
  padding-bottom: 20px;
}

.recap-lines {
  width: 23px;
  height: 102px;
}

.recap-header-divider {
  align-self: stretch;
  width: 1px;
  margin-top: -25px;
  margin-bottom: -20px;
  background: rgba(26, 26, 26, 0.2);
}

.recap-header-divider--lines {
  position: relative;
  right: -24px;
}

.recap-header-divider--ring {
      margin-left: -40px;
    margin-right: 40px;
}

.recap-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 56px;
  line-height: 60px;
  color: rgba(26, 26, 26, 0.8);
  margin: 0;
}

.recap-ring {
  width: 70px;
  height: 70px;
}

.recap-card {
  height: 100%;
  border: 1px solid rgba(26, 26, 26, 0.6);
  border-radius: 9px;
  padding: 24px;
  min-height: 148px;
}

.recap-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: #F1F6F8;
  margin: 0 0 4px;
}

.recap-value {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 20px;
  color: #1A1A1A;
  margin: 0 0 4px;
  letter-spacing: 1.2px;
}

.recap-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
}

.recap-link:hover {
  text-decoration: underline;
}

/* Full-bleed divider lines above/below the cards, breaking out of the container */
.recap-divider {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 1px;
  background: rgba(26, 26, 26, 0.2);
}

.recap-divider--top {
  margin-bottom: 64px;
}

.recap-divider--bottom {
  margin-top: 64px;
}

/* Short vertical line, centered, filling the gap between the bottom divider and the section's end */
.recap-center-line {
  width: 1px;
  height: 40px;
  background: rgba(26, 26, 26, 0.2);
}

@media (max-width: 767px) {
  .about-section {
    background-image: none;
  }

  .recap-section {
    margin-top: 48px;
  }

  .recap-header {
    height: 135px;
  }

  .recap-lines-col {
    position: relative;
  }

  .recap-top {
    background-image: url('../images/recap-top-mobile.svg');
    top: -32px;
  }

  .recap-bottom {
    background-image: url('../images/recap-bottom-mobile.svg');
    bottom: -37px;
  }

  .recap-header-divider--ring {
    margin-left: 0px;
    margin-right: 0px;
  }

  .recap-divider--top {
    margin-bottom: 40px;
  }

  .recap-divider--bottom {
    margin-top: 40px;
  }

 

  .recap-title {
    font-size: 40px;
  }

  .recap-ring {
    display: none;
  }

  

  .recap-lines {
    position: absolute;
    right: -2px;
    width: 100%;
    max-width: 23px;
    padding: 1px;
  }


  .recap-cards > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background:#1A1A1A;
  padding: 64px 0 32px;
      padding-top: 100px;
  overflow: hidden;
}

.site-footer .ph-container {
  padding-left: 60px;
  padding-right: 60px;
}


.footer-main {
  margin-bottom: 48px;
}

.footer-logo {
  width: 233px;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.footer-opens {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: #FA6723;
  margin: 0 0 8px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: #616161;
  margin: 0;
}

.footer-signup {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  height: 100%;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .footer-signup {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

  .footer-signup-copy {
    width: 100%;
  }
}

.footer-signup-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: #F1F6F8;
  margin: 0 0 4px;
}

.footer-signup-subtitle {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: #616161;
  margin: 0;
}

.footer-form {
  display: flex;
}

.footer-input {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.11em;
  color: #ffffff;
  background: rgba(241, 246, 248, 0.05);
  border: 1.5px solid #303030;
  border-radius: 8px 0 0 8px;
  padding: 0 20px;
  height: 48px;
  width: 260px;
}

.footer-input::placeholder {
  color: #616161;
}

.footer-input:focus {
  outline: none;
  border-color: #FA6723;
}

.footer-btn {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.11em;
  color: #1A1A1A;
  background: #FA6723;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0 24px;
  height: 48px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.footer-btn:hover {
  background: #e6690f;
}

.footer-divider {
  height: 1px;
  background: #616161;
  margin-bottom: 24px;
}

.footer-copy,
.footer-legal {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: #616161;
  margin: 0;
}

.footer-legal-group {
  display: flex;
  justify-content: flex-end;
}

.footer-legal-group p + p::before {
  content: "\00B7";
  margin: 0 6px;
}

@media (max-width: 991px) {
  .site-footer .ph-container {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-signup {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 12px;
  }

  .footer-form {
    width: 100%;
  }

  .footer-input {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 767px) {
  .footer-main {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-form {
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }

  .footer-input {
    flex: none;
    height: 48px;
    border-radius: 8px;
  }

  .footer-btn {
    width: 100%;
    height: 48px;
    border-radius: 8px;
  }

  .footer-bottom [class^="col-"] {
    text-align: left !important;
  }

  .footer-legal-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: normal;
    margin-top: 24px;
    gap: 25px;
  }

  .footer-legal-group p + p::before {
    content: none;
    margin: 0;
  }
}

/* ==========================================================================
   Aster signup modal
   ========================================================================== */
.aster-modal-content {
  background: var(--pw-dark);
  border: 1px solid #3A3A3A;
  border-radius: 16px;
}

.aster-modal-header {
  border-bottom: 1px solid #3A3A3A;
  padding: 24px 24px 16px;
}

.aster-modal-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 22px;
  color: #F1F6F8;
  margin: 0;
}

.aster-modal-form {
  padding: 24px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aster-modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aster-modal-row {
  display: flex;
  gap: 16px;
}

.aster-modal-row .aster-modal-field {
  flex: 1;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .aster-modal-row {
    flex-direction: column;
  }
}

.aster-modal-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #616161;
}

.aster-modal-input {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #F1F6F8;
  background: rgba(241, 246, 248, 0.05);
  border: 1.5px solid #303030;
  border-radius: 8px;
  height: 48px;
  padding: 0 16px;
  width: 100%;
}

.aster-modal-input::placeholder {
  color: #616161;
}

.aster-modal-input:focus {
  outline: none;
  border-color: #FA6723;
}

.aster-modal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.aster-modal-check input {
  margin-top: 3px;
  accent-color: #FA6723;
}

.aster-modal-check label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: #B9B9B9;
}

.aster-modal-check a {
  color: #FA6723;
  text-decoration: underline;
}

.aster-modal-submit {
  width: 100%;
  margin-top: 8px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Aster success modal
   ========================================================================== */
.aster-success-body {
  padding: 40px 32px 32px;
  text-align: center;
}

.aster-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #7bd88f;
}

.aster-success-title {
  text-align: center;
  margin-bottom: 12px;
}

.aster-success-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #B9B9B9;
  margin-bottom: 8px;
}

/* ==========================================================================
   Aster terms modal
   ========================================================================== */
.aster-terms-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: #B9B9B9;
  padding: 24px;
}

.aster-terms-body p {
  margin-bottom: 16px;
}

.aster-terms-body p:last-child {
  margin-bottom: 0;
}

.aster-terms-body strong {
  color: #F1F6F8;
}

.aster-terms-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.aster-terms-list li {
  margin-bottom: 16px;
}

.aster-terms-list li:last-child {
  margin-bottom: 0;
}

.aster-terms-list a {
  color: #FA6723;
  text-decoration: underline;
}

.aster-terms-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #3A3A3A;
}

/* ==========================================================================
   Scroll-reveal (subtle fade + rise on entering the viewport)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.1s ease-out, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
