:root {
  --pink: #c52f67;
  --footer: #242424;
  --paper: #f6f2ee;
  --ink: #232120;
  --body-text: #55504b;
  --rule: #ddd6cf;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--footer);
  color: #292929;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-shell {
  min-height: 100vh;
  overflow: hidden;
}
.photographic-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1452/985;
  min-height: 720px;
  overflow: hidden;
  background: #898989;
}
.photographic-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/aila-warm-room-clean.png") center top/100% auto no-repeat;
  filter: grayscale(1);
  z-index: 0;
}
.topbar {
  height: 12%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.9%;
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  font-size: 14px;
  color: #202020;
}
.nav-links a {
  color: inherit;
}
.nav-links a:hover {
  color: var(--pink);
}
.signup-menu-button {
  border: 1px solid var(--pink);
  color: var(--pink) !important;
  border-radius: 999px;
  padding: 6px 16px;
}
.trust-row {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(20px, 2.2vw, 32px);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #393939;
}
.trust-item svg {
  flex-shrink: 0;
  color: var(--pink);
}
.brand {
  font:
    clamp(30px, 3vw, 44px)/1 Georgia,
    serif;
  letter-spacing: 0.04em;
  color: #202020;
  text-shadow: 0 1px 0 #fff8;
}
.topbar nav {
  display: flex;
  align-items: center;
}
.demo-button {
  background: var(--pink);
  color: #fff;
  padding: clamp(12px, 0.95vw, 15px) clamp(22px, 1.7vw, 28px);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(10px, 0.78vw, 12px);
  box-shadow: 0 7px 18px #0002;
  transition:
    background 0.2s,
    transform 0.2s;
}
.demo-button:hover,
.demo-button:focus-visible {
  background: #dd477f;
  transform: translateY(-1px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero-copy {
  position: absolute;
  z-index: 5;
  left: 10.6%;
  top: 32%;
  width: 31%;
}
.hero-copy h1 {
  margin: 0;
  font:
    clamp(38px, 3.7vw, 56px)/1.15 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: #262626;
  text-shadow: 0 1px 0 #fff8;
  opacity: 0;
  animation: hero-copy-in 0.95s cubic-bezier(0.22, 0.72, 0.24, 1) 0.18s forwards;
}
.hero-copy h1 em {
  color: var(--pink);
  font-style: normal;
}
.hero-copy > p {
  width: 90%;
  margin: 2vw 0 0;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.8;
  color: #393939;
  text-shadow: 0 1px 0 #fff6;
  opacity: 0;
  animation: hero-copy-in 0.85s cubic-bezier(0.22, 0.72, 0.24, 1) 0.48s forwards;
}
@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 9px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.library {
  position: absolute;
  left: 67%;
  top: 29.25%;
  width: 55%;
  height: 60.5%;
  z-index: 4;
  transition: left 1.4s cubic-bezier(0.25, 0.7, 0.2, 1);
  will-change: left;
}
.library.library-open {
  left: 41%;
}
.library-base,
.library-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.library-base {
  filter: grayscale(1);
}
.library-color {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.library-color.active {
  opacity: 1;
}
.book-hotspot {
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  outline: none;
}
.book-hotspot:focus-visible {
  box-shadow: inset 0 0 0 2px #fff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.anchor-target {
  position: absolute;
  bottom: 0;
}
.site-footer {
  position: relative;
  background: var(--footer);
  color: #f4f4f4;
  padding: 58px 4% 24px;
  min-height: 330px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.32fr 1fr 0.95fr;
  gap: 4vw;
}
.footer-column a {
  font-size: 16px;
  line-height: 1.5;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-column span {
  font-size: 15px;
  color: #a9a9a9;
  margin-bottom: 7px;
}
.footer-column a {
  color: #f4f4f4;
}
.footer-column a:hover {
  color: #f08aaf;
}
.footer-bottom {
  margin-top: 52px;
  border-top: 1px solid #ffffff33;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #c7c7c7;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .photographic-hero {
    min-height: 780px;
    aspect-ratio: auto;
  }
  .photographic-hero:before {
    background-position: center top;
    background-size: auto 780px;
  }
  .topbar {
    height: 88px;
    padding: 0 22px;
  }
  .demo-button {
    padding: 11px 17px;
  }
  .hero-copy {
    left: 92px;
    top: 25%;
    width: 43%;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .library {
    left: 67%;
    top: 34%;
    width: 54%;
    height: 51%;
  }
  .library.library-open {
    left: 43%;
  }
  .site-footer {
    padding: 44px 24px 24px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 34px;
  }
  .footer-column:nth-of-type(n + 4) {
    display: none;
  }
  .footer-column a {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  .photographic-hero:before {
    background-position: 44% top;
  }
  .hero-copy {
    left: 64px;
    width: 68%;
    top: 13%;
  }
  .hero-copy h1 {
    font-size: 34px;
  }
  .hero-copy > p {
    width: 90%;
    font-size: 13px;
  }
  .library {
    left: 67%;
    top: 48%;
    width: 72%;
    height: 41%;
  }
  .library.library-open {
    left: 27%;
  }
  .site-footer {
    padding-top: 36px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-column:nth-of-type(n + 3) {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
/* ---------- content sections ---------- */
.content-section {
  background: var(--paper);
  padding: clamp(56px, 7vw, 104px) 4%;
  border-bottom: 1px solid var(--rule);
}
.content-wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
}
.eyebrow {
  display: block;
  color: var(--pink);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.content-grid h2 {
  font: 400 clamp(28px, 3vw, 40px)/1.2 Georgia, "Times New Roman", serif;
  color: var(--ink);
  margin: 0 0 20px;
}
.content-grid .rule {
  width: 56px;
  height: 2px;
  background: var(--pink);
  border: 0;
  margin: 0 0 24px;
}
.content-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-text);
  margin: 0 0 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* features tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
  list-style: none;
  margin: 0 0 40px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--rule);
}
.tab-button {
  background: none;
  border: 0;
  padding: 4px 0;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: var(--body-text);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.tab-button.active,
.tab-button:hover,
.tab-button:focus-visible {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.capabilities {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.capabilities strong {
  color: var(--pink);
  margin-right: 6px;
}

/* demo section */
.demo-section .content-wrap {
  max-width: 720px;
  text-align: center;
}
.demo-section h2 {
  font: 400 clamp(28px, 3vw, 40px)/1.2 Georgia, "Times New Roman", serif;
  margin: 0 0 20px;
}

/* pricing calculator */
.calculator {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 40px);
  margin: 32px 0;
}
.calc-row {
  margin-bottom: 24px;
}
.calc-row label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
}
.calc-row output {
  color: var(--pink);
  font-weight: bold;
}
.calc-row input[type="range"] {
  width: 100%;
  accent-color: var(--pink);
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9a938a;
  margin-top: 4px;
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 8px;
}
.calc-result .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9a938a;
  margin-bottom: 6px;
}
.calc-result .value {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: bold;
  color: var(--ink);
}
.calc-note {
  font-size: 13px;
  color: #9a938a;
  line-height: 1.6;
}

/* back-to-top pill */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: #dd477f;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .library,
  .library-color,
  .demo-button {
    transition: none;
  }
  .hero-copy h1,
  .hero-copy > p {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
