/* ===========================================================
   Hot Tottie — design system
   =========================================================== */

:root {
  --bg: #030303;
  --surface: #0b0b0b;
  --surface-raised: #111111;
  --border: rgba(245, 243, 238, 0.10);
  --border-strong: rgba(245, 243, 238, 0.22);

  --text-primary: #f5f3ee;
  --text-secondary: rgba(245, 243, 238, 0.68);
  --text-muted: rgba(245, 243, 238, 0.45);

  --white-btn-bg: #f5f3ee;
  --white-btn-text: #0a0a0a;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --max-w: 1120px;
}


/* ===========================================================
   Base
   =========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ===========================================================
   Layout
   =========================================================== */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}


/* ===========================================================
   Typography
   =========================================================== */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* ===========================================================
   Buttons
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;

  padding: 14px 30px;

  border-radius: 999px;
  border: 1px solid transparent;

  cursor: pointer;
  white-space: nowrap;

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--white-btn-bg);
  color: var(--white-btn-text);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--text-primary);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}


/* ===========================================================
   Nav
   =========================================================== */

header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  z-index: 30;

  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.logo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}


/* ===========================================================
   Full-bleed video sections
   =========================================================== */

.video-section {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  min-height: 100vh;
}

.video-section.short {
  min-height: 70vh;
}

.video-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(3, 3, 3, 0.75) 0%,
      rgba(3, 3, 3, 0.35) 30%,
      rgba(3, 3, 3, 0.55) 75%,
      rgba(3, 3, 3, 0.85) 100%
    );

  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;

  max-width: 760px;
  padding: 0 24px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 22px;
}

.video-content .eyebrow {
  color: rgba(245, 243, 238, 0.75);
}

.video-content h1,
.video-content h2 {
  max-width: 640px;
}

.video-content .tagline {
  font-family: var(--font-display);
  font-style: italic;

  font-size: clamp(1.05rem, 2vw, 1.3rem);

  color: rgba(245, 243, 238, 0.85);
}

.video-content .lede {
  max-width: 520px;

  font-size: 16px;

  color: rgba(245, 243, 238, 0.72);
}

.video-actions {
  display: flex;
  align-items: center;

  gap: 16px;

  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 12px;

  letter-spacing: 0.5px;

  color: rgba(245, 243, 238, 0.55);
}

.scroll-cue {
  position: absolute;

  bottom: 32px;
  left: 50%;

  transform: translateX(-50%);

  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 10px;
}

.scroll-cue span {
  font-family: var(--font-mono);
  font-size: 10px;

  letter-spacing: 2px;

  color: rgba(245, 243, 238, 0.55);
}

.scroll-cue .line {
  width: 1px;
  height: 26px;

  background: rgba(245, 243, 238, 0.4);
}


/* ===========================================================
   Section scaffolding
   =========================================================== */

section.content {
  padding: 96px 0;
}

section.content + section.content {
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 620px;

  margin: 0 auto 52px;

  text-align: center;
}

.section-head .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.section-head p {
  margin-top: 14px;
  font-size: 16px;
}

#inside .section-head h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);

  font-weight: 500;
  line-height: 1.35;
}


/* ===========================================================
   Photo grid
   =========================================================== */

.photo-grid {
  display: grid;

  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  );

  gap: 20px;
}

.photo-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 760px) {
  .photo-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}


/* ===========================================================
   LARGE IMAGE CAROUSEL
   One image visible at a time
   Swipe + desktop arrows
   =========================================================== */

.carousel-wrap {
  position: relative;

  /*
    Keeps the image large while preventing it
    from becoming excessively wide on very large screens.
  */
  max-width: 1000px;

  margin: 0 auto;

  /*
    Space reserved for the navigation arrows.
  */
  padding: 0 54px;
}

.carousel {
  display: flex;

  gap: 20px;

  overflow-x: auto;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;

  padding: 0 0 8px;

  scrollbar-width: none;

  /*
    Prevent accidental vertical scrolling while
    swiping horizontally on touch devices.
  */
  touch-action: pan-x;
}

.carousel::-webkit-scrollbar {
  display: none;
}


/*
  Each carousel card occupies the entire available
  carousel width.

  This is the main change from the previous 84% width,
  which caused the next image to peek into view.
*/

.carousel .photo-card {
  flex: 0 0 100%;
  width: 100%;

  scroll-snap-align: center;
}


/* ===========================================================
   Photo cards
   =========================================================== */

.photo-card {
  position: relative;

  border-radius: 18px;

  overflow: hidden;

  aspect-ratio: 4 / 5;

  background: var(--surface-raised);

  border: 1px solid var(--border);
}


/*
  Screenshots are landscape images, so give them
  a wider aspect ratio.
*/

.photo-card.screen {
  aspect-ratio: 16 / 10;

  background: #050505;
}


/*
  Screenshot images must remain completely visible.
  Do not crop the Discord screenshots.
*/

.photo-card.screen img {
  object-fit: contain;
}


/*
  General image styling.
*/

.photo-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  /*
    Indicates that the image can be opened
    and enlarged.
  */
  cursor: zoom-in;

  /*
    Prevents image dragging from interfering
    with carousel interaction.
  */
  user-select: none;
  -webkit-user-select: none;
}


/* ===========================================================
   Card scrim
   =========================================================== */

.photo-card .scrim {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(3, 3, 3, 0) 50%,
      rgba(3, 3, 3, 0.85) 100%
    );

  pointer-events: none;
}


/* ===========================================================
   Card captions
   =========================================================== */

.photo-card .caption {
  position: absolute;

  left: 18px;
  right: 18px;
  bottom: 16px;

  z-index: 2;

  font-size: 14.5px;
  font-weight: 600;

  color: var(--text-primary);

  min-height: 1.4em;
}


/* ===========================================================
   Carousel arrows
   =========================================================== */

.carousel-arrow {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 10;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border-strong);

  border-radius: 50%;

  background: rgba(3, 3, 3, 0.78);

  color: var(--text-primary);

  font-family: var(--font-body);

  font-size: 25px;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(245, 243, 238, 0.12);

  border-color: var(--text-primary);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}


/* ===========================================================
   Feature grid
   =========================================================== */

.grid-4 {
  display: grid;

  grid-template-columns: repeat(
    auto-fit,
    minmax(230px, 1fr)
  );

  gap: 20px;
}

.feature {
  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 30px 26px;
}

.feature .mark {
  font-family: var(--font-mono);

  font-size: 12px;

  letter-spacing: 1.5px;

  color: var(--text-muted);

  display: block;

  margin-bottom: 18px;
}

.feature h3 {
  margin-bottom: 10px;
}

.feature p {
  font-size: 14.5px;
}


/* ===========================================================
   Perk section
   =========================================================== */

.perk-copy {
  max-width: 620px;

  margin: 0 auto 48px;

  text-align: center;
}

.perk-copy .eyebrow {
  display: block;

  margin-bottom: 14px;
}

.perk-copy p {
  margin-top: 16px;

  font-size: 16px;
}


/* ===========================================================
   IMAGE LIGHTBOX
   Full-screen image viewer
   =========================================================== */

.image-lightbox {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(0, 0, 0, 0.94);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}


/*
  Activated by JavaScript when an image
  is clicked/tapped.
*/

.image-lightbox.active {
  opacity: 1;

  visibility: visible;
}


/*
  Full-size image inside the lightbox.
*/

.image-lightbox img {
  max-width: 95vw;

  max-height: 92vh;

  width: auto;
  height: auto;

  object-fit: contain;

  cursor: zoom-in;

  user-select: none;
  -webkit-user-select: none;

  transition: transform 0.25s ease;
}


/*
  Zoomed state.

  JavaScript adds/removes the .zoomed class.
*/

.image-lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;

  cursor: zoom-in;

  user-select: none;
  -webkit-user-select: none;

  transition: transform 0.2s ease;

  touch-action: none;
  will-change: transform;
}

.image-lightbox.active img {
  cursor: zoom-in;
}


/* ===========================================================
   Lightbox close button
   =========================================================== */

.image-lightbox-close {
  position: absolute;

  top: 22px;
  right: 26px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border-strong);

  border-radius: 50%;

  background: rgba(3, 3, 3, 0.8);

  color: var(--text-primary);

  font-size: 26px;

  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.image-lightbox-close:hover {
  background: rgba(245, 243, 238, 0.12);

  border-color: var(--text-primary);
}


/* ===========================================================
   Footer
   =========================================================== */

footer {
  border-top: 1px solid var(--border);

  padding: 40px 0 52px;

  background: var(--bg);
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 24px;

  flex-wrap: wrap;

  align-items: flex-start;
}

.footer-inner .logo {
  display: block;

  margin-bottom: 10px;
}

footer .fine-print {
  font-size: 12.5px;

  color: var(--text-muted);

  max-width: 460px;
}

footer nav {
  display: flex;

  gap: 22px;
}

footer nav a {
  font-size: 14px;

  color: var(--text-secondary);
}

footer nav a:hover {
  color: var(--text-primary);
}


/* ===========================================================
   MOBILE CAROUSEL
   =========================================================== */

@media (max-width: 760px) {

  /*
    The carousel uses almost the entire mobile
    screen while leaving room for the arrows.
  */

  .carousel-wrap {
    max-width: none;

    margin: 0;

    padding: 0 42px;
  }

  .carousel {
    gap: 12px;

    padding-bottom: 5px;
  }

  .carousel .photo-card {
    flex-basis: 100%;
  }


  /*
    Slightly tighter radius on small screens.
  */

  .photo-card {
    border-radius: 14px;
  }

  .photo-card.screen {
    aspect-ratio: 16 / 10;

    border-radius: 14px;
  }


  /*
    Mobile carousel arrows.
  */

  .carousel-arrow {
    width: 36px;
    height: 36px;

    font-size: 21px;
  }

  .carousel-arrow.prev {
    left: 2px;
  }

  .carousel-arrow.next {
    right: 2px;
  }


  /*
    Mobile lightbox.
  */

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox img {
    max-width: 96vw;

    max-height: 88vh;
  }


  /*
    Slightly smaller zoom on mobile so that
    very large screenshots remain usable.
  */

  .image-lightbox.zoomed img {
    transform: scale(1.7);
  }


  /*
    Smaller close button.
  */

  .image-lightbox-close {
    top: 14px;

    right: 14px;

    width: 38px;
    height: 38px;

    font-size: 22px;
  }
}


/* ===========================================================
   VERY SMALL MOBILE SCREENS
   =========================================================== */

@media (max-width: 420px) {

  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .carousel-wrap {
    padding-left: 38px;
    padding-right: 38px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;

    font-size: 20px;
  }

  .carousel-arrow.prev {
    left: 1px;
  }

  .carousel-arrow.next {
    right: 1px;
  }

  .photo-card.screen {
    border-radius: 12px;
  }
}

/* Hot Tottie brush logo */
.brand-logo {
  margin: 0;
  line-height: 0;
}
.brand-logo img {
  display: block;
  width: min(560px, 80vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
}

.apply-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.apply-heading img {
  display: block;
  width: min(420px, 70vw);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
}

/* ===========================================================
   HOT TOTTIE — NIGHT-SEA THEME
   Videos stay natural; deep night-blue sections with subtle
   city-light glows; pink text and accents.
   =========================================================== */

:root {
  /* Pink accents */
  --ht-accent: #ff4f8b;
  --ht-accent-bright: #ff6fa3;
  --ht-warm-white: #fff7f4;

  /* Night sea: very dark blues */
  --ht-sea-darkest: #080b18;  /* page base, video edge fade */
  --ht-sea-deep:    #0e1226;  /* section middle */
  --ht-sea-card:    #131830;  /* cards */
  --ht-sea:         #2a3566;  /* faint glows (city lights on water) */
  --ht-sea-bright:  #4a5aa8;  /* hover borders */

  --bg: var(--ht-sea-darkest);
}

body,
footer {
  background: var(--ht-sea-darkest);
}

/* -----------------------------------------------------------
   Videos: almost neutral overlay, blue only at the very edges
   ----------------------------------------------------------- */

.video-overlay {
  background: linear-gradient(
    180deg,
    rgba(3, 3, 3, 0.60) 0%,
    rgba(3, 3, 3, 0.18) 30%,
    rgba(3, 3, 3, 0.32) 72%,
    rgba(8, 11, 24, 1)  100%
  );
}

.video-section.short .video-overlay {
  background: linear-gradient(
    180deg,
    rgba(8, 11, 24, 1)  0%,
    rgba(3, 3, 3, 0.25) 22%,
    rgba(3, 3, 3, 0.32) 75%,
    rgba(8, 11, 24, 1)  100%
  );
}

/* -----------------------------------------------------------
   Four middle sections
   ----------------------------------------------------------- */

#inside,
#benefits,
#community,
#terminal {
  position: relative;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    var(--ht-sea-darkest) 0%,
    var(--ht-sea-deep) 50%,
    var(--ht-sea-darkest) 100%
  );
}

/* Faint glow, like city lights reflected on dark water */
#inside::before,
#benefits::before,
#community::before,
#terminal::before {
  content: "";
  position: absolute;
  width: min(1000px, 100vw);
  height: 520px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    ellipse at center top,
    rgba(42, 53, 102, 0.22) 0%,
    rgba(42, 53, 102, 0.08) 38%,
    transparent 72%
  );
}

#inside > .wrap,
#benefits > .wrap,
#community > .wrap,
#terminal > .wrap {
  position: relative;
  z-index: 1;
}

/* Pink eyebrows, warm-white headings */
#inside .section-head .eyebrow,
#benefits .section-head .eyebrow,
#community .section-head .eyebrow,
#terminal .perk-copy .eyebrow {
  color: var(--ht-accent-bright);
}

#inside .section-head h2,
#benefits .section-head h2,
#community .section-head h2,
#terminal .perk-copy h2 {
  color: var(--ht-warm-white);
}

#benefits .section-head p,
#community .section-head p,
#terminal .perk-copy p {
  color: rgba(228, 232, 248, 0.74);
}

/* Separators */
#inside + #benefits,
#benefits + #community,
#community + #terminal {
  border-top-color: rgba(74, 90, 168, 0.20);
}

/* -----------------------------------------------------------
   Feature cards
   ----------------------------------------------------------- */

#benefits .feature,
#community .feature {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(74, 90, 168, 0.09),
      rgba(42, 53, 102, 0.05) 55%,
      rgba(255, 255, 255, 0.015)
    ),
    var(--ht-sea-card);

  border-color: rgba(120, 135, 210, 0.16);

  box-shadow:
    0 14px 40px rgba(2, 3, 10, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

#benefits .feature p,
#community .feature p {
  color: rgba(228, 232, 248, 0.72);
}

#benefits .feature::before,
#community .feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ht-accent), transparent);
  opacity: 0.8;
}

#benefits .feature:hover,
#community .feature:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 90, 168, 0.50);
  box-shadow:
    0 18px 48px rgba(2, 3, 10, 0.55),
    0 0 26px rgba(42, 53, 102, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#benefits .feature .mark,
#community .feature .mark {
  color: var(--ht-accent-bright);
}

/* -----------------------------------------------------------
   Screenshots
   ----------------------------------------------------------- */

#inside .photo-card.screen,
#terminal .photo-card.screen {
  border-color: rgba(120, 135, 210, 0.18);
  box-shadow:
    0 16px 44px rgba(2, 3, 10, 0.55),
    0 0 30px rgba(42, 53, 102, 0.18);
}

#inside .photo-card.screen:hover {
  border-color: rgba(74, 90, 168, 0.50);
}

#terminal .perk-copy h2 {
  text-shadow: 0 0 28px rgba(42, 53, 102, 0.40);
}

/* Carousel arrows: dark ring, pink arrow */
#inside .carousel-arrow,
#terminal .carousel-arrow {
  border-color: rgba(74, 90, 168, 0.40);
  color: var(--ht-accent-bright);
  background: rgba(8, 11, 24, 0.85);
}

#inside .carousel-arrow:hover,
#terminal .carousel-arrow:hover {
  border-color: var(--ht-sea-bright);
  background: rgba(42, 53, 102, 0.28);
  box-shadow: 0 0 20px rgba(42, 53, 102, 0.35);
}

/* -----------------------------------------------------------
   Mobile
   ----------------------------------------------------------- */

@media (max-width: 760px) {
  #inside::before,
  #benefits::before,
  #community::before,
  #terminal::before {
    width: 130vw;
    height: 420px;
    background: radial-gradient(
      ellipse at center top,
      rgba(42, 53, 102, 0.18) 0%,
      transparent 68%
    );
  }

  #benefits .feature:hover,
  #community .feature:hover {
    transform: none;
  }
}

/* ===========================================================
   CAROUSELS — screenshots only (no card / box)
   Add at the very end of style.css
   =========================================================== */

#inside .carousel .photo-card.screen,
#terminal .carousel .photo-card.screen {
  aspect-ratio: auto;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Let the screenshot define its own size */
#inside .carousel .photo-card.screen img,
#terminal .carousel .photo-card.screen img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;   /* set to 0 for sharp corners */
}

/* No gradient or caption layer on screenshots */
.photo-card.screen .scrim,
.photo-card.screen .caption {
  display: none;
}

/* Center slides of different heights */
.carousel {
  align-items: center;
}


/* ===========================================================
   COMPLIANCE ADDITIONS — append at the very end of style.css
   Membership, FAQ, legal pages, footer links, placeholders
   =========================================================== */

/* ---- New sections share the night-sea look ---- */
#membership,
#faq {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--ht-sea-darkest) 0%,
    var(--ht-sea-deep) 50%,
    var(--ht-sea-darkest) 100%
  );
}

#membership::before,
#faq::before {
  content: "";
  position: absolute;
  width: min(1000px, 100vw);
  height: 520px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    ellipse at center top,
    rgba(42, 53, 102, 0.22) 0%,
    rgba(42, 53, 102, 0.08) 38%,
    transparent 72%
  );
}

#membership > .wrap,
#faq > .wrap {
  position: relative;
  z-index: 1;
}

#terminal + #membership,
#membership + #faq {
  border-top-color: rgba(74, 90, 168, 0.20);
}

#membership .section-head .eyebrow,
#faq .section-head .eyebrow {
  color: var(--ht-accent-bright);
}

#membership .section-head h2,
#faq .section-head h2 {
  color: var(--ht-warm-white);
}

#membership .section-head p {
  color: rgba(228, 232, 248, 0.74);
}

/* ---- Plan card ---- */
.plan {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;

  max-width: 900px;
  margin: 0 auto 28px;
  padding: 40px;

  background:
    linear-gradient(145deg, rgba(74, 90, 168, 0.09), rgba(42, 53, 102, 0.05) 55%, rgba(255, 255, 255, 0.015)),
    var(--ht-sea-card);
  border: 1px solid rgba(120, 135, 210, 0.16);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(2, 3, 10, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plan-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.plan-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ht-accent-bright);
}

.plan-amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--ht-warm-white);
}

.plan-period {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
}

.plan-billing {
  font-size: 14px;
  color: rgba(228, 232, 248, 0.72);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: rgba(228, 232, 248, 0.82);
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 2px;
  background: var(--ht-accent);
}

/* ---- Admission steps ---- */
.steps {
  max-width: 900px;
  margin: 0 auto 28px;
}

#membership .feature {
  background:
    linear-gradient(145deg, rgba(74, 90, 168, 0.09), rgba(42, 53, 102, 0.05) 55%, rgba(255, 255, 255, 0.015)),
    var(--ht-sea-card);
  border-color: rgba(120, 135, 210, 0.16);
  box-shadow: 0 14px 40px rgba(2, 3, 10, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#membership .feature .mark {
  color: var(--ht-accent-bright);
}

#membership .feature p {
  color: rgba(228, 232, 248, 0.72);
}

/* ---- "What membership is / isn't" ---- */
.notice {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 24px 28px;

  border: 1px solid rgba(120, 135, 210, 0.22);
  border-left: 3px solid var(--ht-accent);
  border-radius: 12px;
  background: rgba(8, 11, 24, 0.55);
}

.notice h3 {
  margin-bottom: 8px;
  color: var(--ht-warm-white);
}

.notice p {
  font-size: 14.5px;
  color: rgba(228, 232, 248, 0.78);
}

.plan-fineprint {
  max-width: 900px;
  margin: 0 auto;
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

.plan-fineprint a,
.faq a,
.legal a,
footer .fine-print a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 111, 163, 0.5);
}

.plan-fineprint a:hover,
.faq a:hover,
.legal a:hover,
footer .fine-print a:hover {
  text-decoration-color: var(--ht-accent-bright);
}

/* ---- FAQ ---- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  background: rgba(19, 24, 48, 0.8);
  border: 1px solid rgba(120, 135, 210, 0.16);
  border-radius: 12px;
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: var(--ht-warm-white);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--ht-accent-bright);
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: rgba(228, 232, 248, 0.76);
}

.faq details[open] {
  border-color: rgba(106, 120, 196, 0.40);
}

/* ---- Footer links ---- */
footer .fine-print + .fine-print {
  margin-top: 10px;
}

footer nav.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 28px;
  align-content: start;
}

/* ---- Legal pages (terms / privacy / refunds) ---- */
.legal-page {
  background: var(--ht-sea-darkest);
}

.legal-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.legal {
  padding: 64px 0 96px;
}

.legal-inner {
  max-width: 760px;
}

.legal .eyebrow {
  color: var(--ht-accent-bright);
  margin-bottom: 12px;
}

.legal h1 {
  color: var(--ht-warm-white);
  margin-bottom: 8px;
}

.legal .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 2.2em 0 0.6em;
  color: var(--ht-warm-white);
}

.legal p {
  margin: 0 0 1em;
  color: rgba(228, 232, 248, 0.78);
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: rgba(228, 232, 248, 0.78);
}

.legal li {
  margin-bottom: 0.5em;
}

.legal strong {
  color: var(--ht-warm-white);
}

/* ---- Mobile ---- */
@media (max-width: 760px) {
  .plan {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }

  .legal {
    padding: 44px 0 72px;
  }

  footer nav.footer-links {
    grid-template-columns: repeat(2, auto);
  }
}


/* ===========================================================
   PLANS GRID — founding / standard / trial
   (append after the compliance block)
   =========================================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  max-width: 760px;
  margin: 0 auto 20px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;

  padding: 32px 28px;

  background:
    linear-gradient(145deg, rgba(74, 90, 168, 0.09), rgba(42, 53, 102, 0.05) 55%, rgba(255, 255, 255, 0.015)),
    var(--ht-sea-card);
  border: 1px solid rgba(120, 135, 210, 0.16);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(2, 3, 10, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plan-card.featured {
  border-color: rgba(255, 111, 163, 0.45);
  box-shadow: 0 14px 40px rgba(2, 3, 10, 0.45), 0 0 30px rgba(255, 79, 139, 0.10);
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ht-accent-bright);
}

.plan-card .plan-billing {
  flex: 1;
}

.plan-card .btn {
  align-self: stretch;
}

.plan-includes {
  max-width: 560px;
  margin: 0 auto 20px;
}

@media (max-width: 700px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

.founding-note {
  margin-bottom: 20px;
}
