/* PlatMemoir overrides on Solid State (HTML5 UP) */

/* Top-left white wordmark — visible on all pages */
#header h1 {
  opacity: 1;
  visibility: visible;
}

#header.alt h1 {
  opacity: 1;
  visibility: visible;
}

#header h1 a.header-logo-link {
  border-bottom: 0;
  display: inline-block;
  line-height: 1;
}

#header .header-logo {
  height: 1.75em;
  width: auto;
  filter: brightness(0) invert(1);
  vertical-align: middle;
  display: block;
}

#banner {
  background-image: linear-gradient(to top, rgba(46, 49, 65, 0.72), rgba(46, 49, 65, 0.82)),
    url("/images/hero-hardcover.jpg");
  background-position: center 40%;
  background-size: cover;
}

@media screen and (max-width: 1280px) {
  #banner {
    background-image: linear-gradient(to top, rgba(46, 49, 65, 0.72), rgba(46, 49, 65, 0.82)),
      url("/images/hero-hardcover.jpg");
    background-position: center 40%;
    background-size: cover;
  }
}

/* App icon in banner circle (replaces fa-gem diamond) */
#banner .logo .icon.icon-app {
  border-radius: 100%;
  border: solid 2px rgba(255, 255, 255, 0.125);
  cursor: default;
  display: inline-block;
  font-size: 2em;
  height: 2.25em;
  width: 2.25em;
  line-height: 0;
  overflow: hidden;
  padding: 0;
  vertical-align: middle;
}

#banner .logo .icon.icon-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 100%;
}

#banner h2 {
  letter-spacing: 0.06em;
}

#banner p.tagline {
  font-size: 1.05em;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

#banner p.hero-app-store {
  margin-top: 1.75em;
  margin-bottom: 0;
}

.spotlight .content h2.major {
  letter-spacing: 0.04em;
}

/* Spotlight circles: force square container so border-radius stays a true circle */
.wrapper.spotlight .image {
  display: block;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  align-self: flex-start;
  height: auto;
}

.wrapper.spotlight .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 100%;
}

#four .features article .image img {
  object-fit: cover;
  object-position: top;
}

#four .inner > h2.major + p + .features + h2.major {
  margin-top: 2.5em;
}

#four .features article h3.lang-tag {
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35em;
}

#footer .waitlist-note {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

#footer form .field-narrow {
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.copyright a {
  border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
}

/* Plain-text status labels (no link) */
.status-label,
.waitlist-status {
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.waitlist-status {
  text-align: center;
  margin-top: 1.5em;
}

.waitlist-feedback {
  max-width: 28em;
  margin: 1.25em auto 0;
  text-align: center;
  font-size: 0.95em;
  line-height: 1.6;
}

.waitlist-feedback.is-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 1.5em 1.75em;
  margin-top: 1.75em;
  border: solid 2px rgba(120, 220, 160, 0.7);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(42, 110, 78, 0.55), rgba(30, 80, 60, 0.4));
  box-shadow: 0 0 28px rgba(90, 200, 140, 0.2);
  animation: waitlist-success-in 0.45s ease-out;
}

.waitlist-form.is-success-state .fields,
.waitlist-form.is-success-state .actions {
  display: none;
}

.waitlist-form.is-success-state .waitlist-feedback.is-success {
  margin-top: 0;
}

.waitlist-reset-link {
  margin-top: 0.5em;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-transform: uppercase;
  cursor: pointer;
}

.waitlist-reset-link:hover {
  color: #fff;
}

.waitlist-feedback-icon {
  font-size: 2.25rem;
  color: #8ee4b0;
  line-height: 1;
}

.waitlist-feedback-title {
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.waitlist-feedback-detail {
  font-size: 1em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.waitlist-feedback-email {
  color: #fff;
  font-weight: 700;
}

.waitlist-success-extra {
  margin-top: 0.35em;
  font-size: 0.88em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
  max-width: 24em;
}

@keyframes waitlist-success-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.waitlist-feedback.is-error {
  padding: 1em 1.25em;
  border: solid 1px rgba(240, 140, 140, 0.55);
  border-radius: 6px;
  background: rgba(120, 40, 40, 0.25);
  color: #f5c4c4;
  font-weight: 600;
}

.waitlist-form input[type="submit"]:disabled {
  opacity: 0.65;
  cursor: default;
}

/* App Store promo band — full-width CTA (official badge from Apple) */
.app-store-promo {
  margin: 2.5em 0 0;
  padding: 3em 2em;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #5a4a8a 0%, #4c5c96 45%, #3f4e85 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.app-store-promo-title {
  margin: 0 0 0.65em;
  font-family: Raleway, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  border-bottom: 0;
  padding-bottom: 0;
}

.app-store-promo-lead {
  margin: 0 auto 1.75em;
  max-width: 32em;
  font-size: 1.05em;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.app-store-button {
  display: inline-block;
  padding: 0.85em 2em;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #4c5c96;
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  color: #3f4e85;
  border-bottom: 0;
}

.app-store-button.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: auto;
}

.app-store-button.is-disabled:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Photobook page */
.photobook-banner {
  background-image: linear-gradient(to top, rgba(46, 49, 65, 0.78), rgba(46, 49, 65, 0.88)),
    url("/images/hero-hardcover.jpg");
  background-position: center 40%;
  background-size: cover;
}

.book-pipeline.photobook-steps {
  list-style: none;
  margin: 1.25em 0 0;
  padding: 0;
}

.book-pipeline.photobook-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.book-pipeline.photobook-steps .step-num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #c9a227;
  color: #2a1e16;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text subpages (privacy, support) */
.page-content .inner {
  max-width: 46em;
}

.page-content .page-meta {
  margin: -0.5em 0 1.5em;
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 0.9em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.page-content h3 {
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2em 0 0.75em;
  color: #fff;
}

.page-content p,
.page-content li {
  color: rgba(255, 255, 255, 0.82);
}

.page-content a {
  border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
}

.page-content ul {
  padding-left: 1.25em;
}

#footer.footer-minimal .inner {
  padding: 3em 0 2.5em;
}

/* Subpage banner — matches FAQ (hero + transparent header + angled overlap) */
#banner.page-sub-banner {
  padding: 10em 2em 8.25em;
  margin-bottom: -6.5em;
  background-color: #2e3141;
  background-image: linear-gradient(to top, rgba(46, 49, 65, 0.82), rgba(46, 49, 65, 0.88)),
    url("/images/hero-hardcover.jpg");
  background-position: center 40%;
  background-size: cover;
  text-align: center;
}

#banner.page-sub-banner .inner {
  max-width: 48em;
  width: 100%;
  margin: 0 auto;
}

#banner.page-sub-banner h2 {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin: 0 0 0.8em;
  font-size: 2.25em;
  border-bottom: solid 2px rgba(255, 255, 255, 0.125);
  padding-bottom: 0.4em;
}

#banner.page-sub-banner p.tagline {
  margin: 0;
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* First content block after subpage hero */
#banner.page-sub-banner + #wrapper {
  margin-top: 0;
}

#banner.page-sub-banner + #wrapper > .wrapper:first-child {
  margin-top: 0;
}

@media screen and (max-width: 1280px) {
  #banner.page-sub-banner {
    background-image: linear-gradient(to top, rgba(46, 49, 65, 0.82), rgba(46, 49, 65, 0.88)),
      url("/images/hero-hardcover.jpg");
    margin-bottom: -6.5em;
  }
}

@media screen and (max-width: 980px) {
  #banner.page-sub-banner {
    padding: 12em 3em 12.375em;
    margin-bottom: -4.75em;
  }
}

@media screen and (max-width: 736px) {
  #banner.page-sub-banner {
    padding: 7em 2em 4.25em;
    margin-bottom: -2.5em;
  }

  #banner.page-sub-banner h2 {
    font-size: 1.5em;
  }

  #banner.page-sub-banner p.tagline {
    font-size: 0.8em;
  }
}

/* FAQ */
.faq-item {
  margin-bottom: 2.25em;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-family: Raleway, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 0.75em;
  color: #fff;
}

.faq-answer p {
  margin: 0 0 0.85em;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0 0 0.85em;
  padding-left: 1.35em;
}

.faq-answer li {
  margin-bottom: 0.35em;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 736px) {
  #header .header-logo {
    height: 1.45em;
  }

  #banner .logo .icon.icon-app {
    font-size: 1.5em;
  }

  .app-store-promo {
    padding: 2.25em 1.25em;
  }
}
