/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Lobster&family=Teko:wght@500&display=swap');

/* ============================================
   Root Variables
   ============================================ */
:root {
  --color-bg: #FFFFFF;
  --color-bg-gray: #F5F5F5;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-brand: #3733C6;
  --color-cta: #2196F3;
  --color-cta-hover: #1976D2;
  --color-footer-bg: #6B6B6B;
  --color-footer-text: #FFFFFF;
  --color-border: #E0E0E0;
  --color-subnav-bg: #F5F5F5;
  --max-width: 960px;
  --radius: 8px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-helvetica: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-cursive: 'Dancing Script', cursive;
  --font-teko: 'Teko', sans-serif;
  --font-lobster: 'Lobster', cursive;
}

/* ============================================
   Reset and Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  color: var(--color-brand);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ============================================
   Header — Brand Bar
   ============================================ */
.header {
  background: var(--color-bg-gray);
}

.header__inner {
  width: fit-content;
  margin: 0 auto;
  padding: 0 24px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px;
}

.header__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.header__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-brand);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   Header — App Icon Strip
   ============================================ */
.header__apps {
  display: flex;
  gap: 28px;
  padding: 10px 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.header__app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.header__app-link:hover {
  transform: translateY(-2px);
}

.header__app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.header__app-icon--all-apps {
  background: #FFFFFF;
  padding: 14px;
  object-fit: contain;
}

.header__app-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
}

/* ============================================
   Sub-Navigation
   ============================================ */
.subnav {
  background: #F5F5F5;
  position: relative;
}

.subnav::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(to bottom, #CACACA, transparent);
}

.subnav::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to bottom, #CACACA, transparent);
  pointer-events: none;
  z-index: 1;
}

/* Per-page subnav bottom shadow overrides */
.page-no-dont-do-it .subnav::after {
  background: linear-gradient(to bottom, #B84A00, #FB6601);
}

.page-zendlove .subnav::after {
  background: linear-gradient(to bottom, #537672, #7DA9A7);
}

.page-photo-gallery .subnav::after {
  background: linear-gradient(to bottom, #000000, #1a1a1a);
}

.subnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 2px 24px 6px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-helvetica);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.subnav__link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-brand);
}

.subnav__link--active {
  color: var(--color-brand);
  font-weight: 500;
}

.subnav__link i {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Toggle button — hidden on desktop, chevron on mobile */
.subnav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-brand);
  font-size: 18px;
}

.subnav__toggle i {
  display: inline-flex;
  transition: transform var(--transition);
}

.subnav__toggle.active i {
  transform: rotate(180deg);
}

/* ============================================
   Main Content Area
   ============================================ */
.main {
  min-height: 40vh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

main:not(.main) {
  min-height: 40vh;
}

/* ============================================
   Footer — Container
   ============================================ */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 24px 32px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================
   Footer — Newsletter
   ============================================ */
.footer__newsletter {
  text-align: center;
  margin-bottom: 36px;
}

.footer__newsletter-text {
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 24px;
  opacity: 0.9;
}

.footer__newsletter-form {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.footer__newsletter-input {
  flex: 1;
  height: 46px;
  padding: 0 24px;
  font-size: 15px;
  box-sizing: border-box;
  color: var(--color-text);
  background: transparent;
}

.footer__newsletter-input::placeholder {
  color: #AAAAAA;
}

.footer__newsletter-btn {
  height: 46px;
  padding: 0 28px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--color-cta);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  background: var(--color-cta-hover);
}

/* ============================================
   Footer — Social Icons
   ============================================ */
.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-footer-text);
  font-size: 20px;
  transition: background var(--transition), transform var(--transition);
}

.footer__social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   Footer — Links
   ============================================ */
.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 14px;
}

.footer__link {
  color: var(--color-footer-text);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__links-separator {
  opacity: 0.5;
  user-select: none;
}

/* ============================================
   Footer — Values
   ============================================ */
.footer__values {
  text-align: center;
  margin-bottom: 36px;
}

.footer__values-image {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 0;
}

/* ============================================
   Footer — Copyright
   ============================================ */
.footer__copyright {
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* ============================================
   Homepage — App Sections
   ============================================ */
.app-section {
  padding: 24px 24px;
}

/* Wise Camera & Wise Photos — subtle purple gradient */
#wise-camera,
#wise-camera-hero,
#wise-photos,
#wise-photos-hero {
  background: linear-gradient(to bottom, #E8E0F0, #F3EEF8);
}

.app-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.app-section__title {
  text-align: center;
  margin-bottom: 4px;
}

.app-section__title--brand {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 2px;
}

.app-section__title--teko {
  font-family: var(--font-teko);
  font-size: 42px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 3px;
  line-height: 1;
}

.app-section__title--zendlove {
  font-family: var(--font-lobster);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 1px;
}

.zl-z { color: #F845A0; }
.zl-e1 { color: #F89495; }
.zl-n { color: #F1B866; }
.zl-d { color: #CCDE93; }
.zl-l { color: #A6C5C5; }
.zl-o { color: #63BA78; }
.zl-v { color: #56B4F0; }
.zl-e2 { color: #4865D7; }

.app-section__subtitle--cursive {
  font-family: var(--font-cursive);
  font-size: 42px;
  color: var(--color-brand);
  text-align: center;
  margin-bottom: 32px;
}

/* Split layout: screenshots left, text right */
.app-section__content--split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.app-section__screenshots--wise-camera {
  flex: 0 0 45%;
}

.app-section__screenshot--hero {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.app-section__screenshot-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.app-section__screenshot--small {
  width: calc(50% - 8px);
  height: auto;
  border-radius: var(--radius);
}

.app-section__text {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.app-section__text p {
  margin-bottom: 16px;
}

.app-section__text--centered {
  max-width: 680px;
  margin: 32px auto;
  text-align: left;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.app-section__text--centered p {
  margin-bottom: 16px;
}

.app-section__link {
  color: var(--color-cta);
  text-decoration: underline;
  transition: color var(--transition);
}

.app-section__link:hover {
  color: var(--color-cta-hover);
}

/* Row of screenshots */
.app-section__screenshots--row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 8px;
}

.app-section__screenshots--row .app-section__screenshot {
  width: auto;
  max-width: 170px;
  height: auto;
  max-height: 360px;
  border-radius: var(--radius);
}

.app-section__screenshots--row .app-section__screenshot--large {
  max-width: 220px;
  max-height: 410px;
}

.app-section__screenshot-wrap {
  position: relative;
}

.app-section__screenshots--row .app-section__screenshot--ipad {
  max-width: 425px;
  border-radius: 24px;
}

.app-section__badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  width: 99px;
  height: 99px;
  object-fit: contain;
}

/* Wise Camera & Wise Photos download bands */
.download-band--wise {
  background: #D5CAE0;
}

/* ZendLove gradient section */
.app-section--zendlove {
  background: linear-gradient(to bottom, #7DA9A7, #B7D8D6);
}

.app-section--zendlove .app-section__subtitle--cursive {
  color: #fff;
}

.app-section--zendlove .app-section__text--centered {
  color: #fff;
}

.app-section--zendlove .app-section__link {
  color: #fff;
  font-weight: 600;
}

.download-band--zendlove .reviews__text,
.download-band--zendlove .reviews__author {
  color: var(--color-text);
}

.download-band--zendlove .reviews__stars {
  color: #FFB300;
}

.app-section__screenshots--zendlove .app-section__screenshot {
  max-width: 150px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.app-section__subtitle--zendlove {
  color: #fff;
}

/* ============================================
   Homepage — Download Band (full-width strip)
   ============================================ */
.download-band {
  background: #F5F5F5;
  width: 100%;
  padding: 10px 24px;
  text-align: center;
}

.download-band__inner {
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Homepage — Download Block
   ============================================ */
.download-block {
  padding: 24px 32px 16px;
  max-width: 560px;
  margin: 0 auto 16px;
  text-align: center;
}

.download-block__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.download-block__btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.download-block__btn:hover {
  background: var(--color-cta-hover);
}

.download-block__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.download-block__icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.download-block__label {
  font-size: 12px;
  color: var(--color-text-light);
}

.download-block__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.download-block__qr img {
  width: 80px;
  height: 80px;
}

.download-block__qr-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text);
}

.download-block__store {
  display: inline-block;
}

.download-block__store-badge {
  height: 40px;
  width: auto;
}

/* ZendLove download band — match standard style */
.download-band--zendlove {
  background: #F5F5F5;
}

.download-band--zendlove .download-block__label,
.download-band--zendlove .download-block__qr-label {
  color: var(--color-text);
}

/* ============================================
   Homepage — Reviews
   ============================================ */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 16px;
}

.reviews__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}

.reviews__stars {
  color: #FF9800;
  font-size: 13px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.reviews__text {
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.5;
}

.reviews__author {
  color: var(--color-text-light);
  font-size: 10px;
  font-style: italic;
}

/* ============================================
   Homepage — Poster Section (Etsy)
   ============================================ */
.poster-section {
  background: #F0ADA0;
  padding: 48px 24px;
}

.poster-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.poster-section__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.poster-section__image-side {
  flex: 0 0 45%;
}

.poster-section__heading {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.poster-section__image {
  width: 100%;
  height: auto;
}

.poster-section__text-side {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
  color: #fff;
}

.poster-section__text-side p {
  margin-bottom: 16px;
}

.poster-section__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 12px;
}

.poster-section__etsy-logo {
  width: 50px;
  height: auto;
}

.poster-section__btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
  text-decoration: none;
}

.poster-section__btn:hover {
  background: var(--color-cta-hover);
}

.poster-section__note {
  font-size: 13px;
  opacity: 0.85;
  font-style: italic;
}

/* ============================================
   Homepage — Camera Showcase (DIGIX AMR1)
   ============================================ */
.camera-showcase {
  max-width: 680px;
  margin: 0 auto 32px;
}

.camera-showcase__block {
  margin-bottom: 40px;
  text-align: center;
}

#digix-amr1 {
  background: linear-gradient(180deg, #E3E3E3 0%, #FFFFFF 60%);
}

#digix-amr1 .app-section__subtitle--cursive {
  color: var(--color-text-light);
}

#digix-amr1 .app-section__text--centered {
  font-family: var(--font-teko);
  font-size: 22px;
  line-height: 1.6;
}

.camera-showcase__heading {
  font-family: var(--font-teko);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}

.camera-showcase__sub {
  font-family: var(--font-teko);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.camera-showcase__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ============================================
   Gallery Section (Photo Gallery strip)
   ============================================ */
.gallery-section {
  background: #1a1a1a;
  padding: 40px 0;
}

.gallery-section__header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 28px;
}

.gallery-section__title {
  font-family: var(--font-cursive);
  font-size: 32px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.gallery-section__subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.gallery-section__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.gallery-section__link:hover {
  color: var(--color-cta-hover);
}

.gallery-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 24px;
}

.gallery-section__photo {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
}

/* ============================================
   Compositions Section (Rule Grid)
   ============================================ */
.compositions-section {
  padding: 48px 24px;
  background: var(--color-bg);
}

.compositions-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.compositions-section__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.compositions-section__intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 680px;
  margin: 0 auto 28px;
}

.compositions-section__note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.compositions-section__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.compositions-section__link:hover {
  color: var(--color-cta-hover);
}

.compositions-section__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 16px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.compositions-section__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.compositions-section__item img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}

.compositions-section__item span {
  font-size: 12px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.3;
}

.compositions-section__footer {
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  padding: 48px 24px;
  background: var(--color-bg);
}

.faq-section__inner {
  max-width: 740px;
  margin: 0 auto;
}

.faq-section__title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 24px;
}

.faq-section__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-section__item {
  border-bottom: 1px solid var(--color-border);
}

.faq-section__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-section__question {
  display: block;
  padding: 16px 32px 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.5;
}

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

.faq-section__question::marker {
  display: none;
  content: "";
}

.faq-section__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-text-light);
  transition: transform var(--transition);
}

.faq-section__item[open] .faq-section__question::after {
  content: '\2212';
}

.faq-section__answer {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.faq-section__answer p {
  margin-bottom: 12px;
}

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

.faq-section__answer a {
  color: var(--color-cta);
  text-decoration: underline;
}

.faq-section__answer a:hover {
  color: var(--color-cta-hover);
}

/* ============================================
   Focus on Five Page
   ============================================ */
.fof-hero {
  background: #E8DCCA;
  padding: 24px 24px;
}

.fof-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.fof-hero__title {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 800;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 4px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.fof-hero__subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 16px;
}

.fof-hero__rating {
  margin-bottom: 32px;
  text-align: center;
}

.fof-hero__accolade {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.fof-screenshots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.fof-screenshots__img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.fof-screenshots--secondary {
  margin-top: 32px;
}

.fof-screenshots--secondary .fof-screenshots__img {
  width: 180px;
}

.fof-text {
  max-width: 700px;
  margin: 0 auto 24px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.fof-text p {
  margin-bottom: 14px;
}

.fof-ai-badge {
  text-align: center;
  margin-bottom: 16px;
}

.fof-ai-badge__icon {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.fof-categories {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.fof-categories li {
  padding: 4px 0;
  font-size: 15px;
  color: #333;
}

.fof-categories li::before {
  content: '• ';
  color: #999;
}

.fof-heading {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
  margin: 28px 0 12px;
}

.fof-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.fof-features li {
  padding: 4px 0;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.fof-features li::before {
  content: '• ';
  color: #999;
}

.fof-pricing {
  background: rgba(255,255,255,0.6);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}

.fof-pricing > :first-child {
  margin-top: 0;
}

.fof-pricing p {
  margin-bottom: 8px;
  font-size: 15px;
}

.fof-pricing p:last-child {
  margin-bottom: 0;
}

.fof-wellness {
  background: #FFF9C4;
  padding: 32px 24px;
  border-radius: var(--radius);
  max-width: 700px;
  margin: 0 auto 40px;
}

.fof-wellness__inner {
  max-width: 700px;
  margin: 0 auto;
}

.fof-wellness__title {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  text-align: center;
}

.fof-wellness p {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.fof-wellness__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.fof-wellness__link:hover {
  color: var(--color-cta-hover);
}

/* ============================================
   DIGIX AMR1 Page — Exposure Triangle Section
   ============================================ */
.app-section__subtitle--muted {
  color: var(--color-text-light);
}

.app-section__text--teko {
  font-family: var(--font-teko);
  font-size: 22px;
  line-height: 1.6;
}

.app-section__mode-heading {
  font-family: var(--font-teko);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  margin: 24px 0 4px;
}

.compositions-note {
  text-align: center;
  padding: 24px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.compositions-note__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.compositions-note__link:hover {
  color: var(--color-cta-hover);
}

/* ============================================
   Page Video Section (YouTube embed)
   ============================================ */
.video-section {
  background: #000000;
  padding: 40px 24px;
  text-align: center;
}

.video-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-section__player {
  position: relative;
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-section--vertical .video-section__player {
  max-width: 320px;
  aspect-ratio: 9 / 16;
}

.video-section__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.exposure-section {
  background: #F5F5F5;
  padding: 56px 24px;
  text-align: center;
}

.exposure-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.exposure-section__text {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 32px;
}

.exposure-section__image {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.exposure-section__label {
  font-family: var(--font-teko);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.exposure-section__sublabel {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.exposure-section__note {
  color: var(--color-text-light);
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin: 16px auto 0;
}

.exposure-section__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.exposure-section__link:hover {
  color: #64B5F6;
}

/* ============================================
   Utility Classes
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.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;
}

/* ============================================
   Media Queries — 900px
   ============================================ */
@media (max-width: 900px) {
  .header__inner {
    padding: 0 16px;
  }

  .header__apps {
    gap: 20px;
    padding: 12px 0 16px;
  }

  .header__app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .header__app-label {
    font-size: 11px;
  }

  .app-section__content--split {
    flex-direction: column;
    gap: 24px;
  }

  .app-section__screenshots--wise-camera {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .poster-section__content {
    flex-direction: column;
    gap: 24px;
  }

  .poster-section__image-side {
    flex: none;
    max-width: 400px;
    margin: 0 auto;
  }

  .camera-showcase__image {
    max-width: 100%;
  }

  .gallery-section__photo {
    border-radius: var(--radius);
  }

  .compositions-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
}

/* ============================================
   Media Queries — 768px (Mobile)
   ============================================ */
@media (max-width: 768px) {
  .header__inner {
    width: auto;
    padding: 0 16px;
  }

  .header__brand {
    padding: 12px 0;
  }

  .header__title {
    font-size: 18px;
  }

  .header__apps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px 8px;
    padding: 10px 0 14px;
    justify-items: center;
    overflow-x: visible;
  }

  .header__app-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .header__app-label {
    font-size: 10px;
  }

  /* Sub-nav toggle visible */
  .subnav {
    position: sticky;
    top: 0;
  }

  .subnav__toggle {
    display: flex;
  }

  .subnav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .subnav__list.open {
    display: flex;
  }

  .subnav__link {
    height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    border-radius: 0;
    font-size: 15px;
  }

  /* Homepage sections */
  .app-section {
    padding: 36px 16px;
  }

  .app-section__title--brand {
    font-size: 24px;
  }

  .app-section__title--teko {
    font-size: 36px;
  }

  .app-section__title--zendlove {
    font-size: 36px;
  }

  .app-section__subtitle--cursive {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .app-section__screenshots--row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .app-section__screenshots--row .app-section__screenshot {
    max-width: 160px;
    max-height: 320px;
  }

  .app-section__screenshot--ipad {
    max-width: 260px;
  }

  .app-section__screenshots--zendlove .app-section__screenshot {
    max-width: 140px;
  }

  .download-block {
    padding: 20px 16px;
    max-width: 100%;
  }

  .download-block__row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .camera-showcase__sub {
    margin-bottom: 12px;
  }

  .gallery-section {
    padding: 32px 0;
  }

  .gallery-section__title {
    font-size: 26px;
  }

  .compositions-section {
    padding: 36px 16px;
  }

  .compositions-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }

  .faq-section {
    padding: 36px 16px;
  }

  .faq-section__question {
    font-size: 14px;
  }

  .faq-section__answer {
    font-size: 14px;
  }

  .poster-section {
    padding: 36px 16px;
  }

  .poster-section__heading {
    font-size: 16px;
  }

  .reviews__item {
    font-size: 12px;
  }

  /* Footer */
  .footer {
    padding: 36px 16px 24px;
  }

  .footer__newsletter-text {
    font-size: 14px;
  }

  .footer__newsletter-form {
    flex-direction: column;
    border-radius: var(--radius);
    max-width: 100%;
  }

  .footer__newsletter-input {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  }

  .footer__newsletter-btn {
    width: 100%;
    padding: 14px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .footer__links {
    flex-direction: column;
    gap: 12px;
  }

  .footer__links-separator {
    display: none;
  }

  .footer__values-image {
    max-width: 280px;
  }

  .main {
    padding: 24px 16px;
  }
}

/* ============================================
   Media Queries — 480px (Small Mobile)
   ============================================ */
@media (max-width: 480px) {
  .header__inner {
    padding: 0 12px;
  }

  .header__brand {
    padding: 10px 0;
  }

  .header__title {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .header__apps {
    gap: 10px 4px;
    padding: 8px 0 12px;
  }

  .header__app-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .app-section__screenshots--row .app-section__screenshot {
    max-width: 130px;
    max-height: 260px;
  }

  .app-section__screenshot--ipad {
    max-width: 200px;
  }

  .app-section__screenshots--zendlove .app-section__screenshot {
    max-width: 110px;
  }

  .compositions-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
  }

  .compositions-section__item span {
    font-size: 11px;
  }

  .download-block__icon {
    width: 48px;
    height: 48px;
  }

  .download-block__qr img {
    width: 64px;
    height: 64px;
  }

  .footer__social {
    gap: 12px;
  }

  .footer__social-link {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .footer__values-image {
    max-width: 240px;
  }

  .fof-screenshots__img {
    width: 120px;
  }

  .fof-screenshots--secondary .fof-screenshots__img {
    width: 140px;
  }

  .fof-hero__title {
    font-size: 28px;
  }

  .nddi-hero__title {
    font-size: 28px;
  }

  .nddi-hero__subtitle {
    font-size: 18px;
  }

  .nddi-screenshots__figure {
    min-width: 80px;
    max-width: 120px;
  }

  .nddi-screenshots__caption {
    font-size: 10px;
  }

  .cf-hero__title {
    font-size: 24px;
  }

  .cf-hero__subtitle {
    font-size: 20px;
  }

  .cf-screenshots__figure {
    min-width: 160px;
  }
}

/* ============================================
   No, Don't Do It Page
   ============================================ */
.nddi-dark {
  background: linear-gradient(to bottom, #FB6601 0%, #FFB070 100%);
  color: #FFFFFF;
  padding: 24px 24px 64px;
  text-align: center;
}

.nddi-dark__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.nddi-hero__title {
  font-family: var(--font-body);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.nddi-hero__subtitle {
  font-family: var(--font-cursive);
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.nddi-hero__free {
  color: #FFFFFF;
  text-transform: uppercase;
}

.nddi-hero__video {
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 0 auto 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: #000;
}

.nddi-hero__video video,
.nddi-hero__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.nddi-hero__cta {
  display: inline-block;
  background: #007AFF;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 48px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  margin-bottom: 24px;
  transition: background var(--transition);
}

.nddi-hero__cta:hover {
  background: #0062CC;
}

.nddi-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.nddi-download__icon {
  border-radius: 14px;
}

.nddi-download__label {
  font-size: 14px;
  color: #FFFFFF;
}

.nddi-download__store {
  width: 140px;
}

.nddi-download__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nddi-download__qr-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nddi-reviews {
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 1.8;
}

.nddi-reviews p {
  margin-bottom: 2px;
}

.nddi-reviews em {
  color: rgba(255, 255, 255, 0.6);
}

.nddi-reviews__stars {
  color: #FFD700;
}

.nddi-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.nddi-body p {
  margin-bottom: 14px;
}

.nddi-body__quote {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
}

.nddi-body__heading {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 32px 0 12px;
  color: #FFFFFF;
}

.nddi-body__features {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.nddi-body__features li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.nddi-card {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}

.nddi-card > :first-child {
  margin-top: 0;
}

.nddi-card > :last-child {
  margin-bottom: 0;
}

.nddi-body__link {
  color: #64B5F6;
  text-decoration: underline;
}

.nddi-body__link:hover {
  color: #90CAF9;
}

.nddi-screenshots {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 960px;
}

.nddi-screenshots__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 120px;
  max-width: 180px;
}

.nddi-screenshots__caption {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
  color: #FFFFFF;
}

.nddi-screenshots__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ============================================
   Collage Frame Page
   ============================================ */
.cf-hero {
  padding: 24px 24px 0;
  text-align: center;
  background: #FFFFFF;
}

.cf-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cf-hero__title {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-brand);
  margin-bottom: 4px;
}

.cf-hero__subtitle {
  font-family: var(--font-cursive);
  font-size: 28px;
  color: var(--color-brand);
  margin-bottom: 24px;
}

.cf-hero__body {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  text-align: left;
}

.cf-screenshots {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 900px;
}

.cf-screenshots__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.cf-screenshots__caption {
  font-size: 13px;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.cf-screenshots__img {
  width: 100%;
  height: auto;
}

.cf-videos {
  background: #333333;
  color: #FFFFFF;
  padding: 48px 24px;
  text-align: center;
}

.cf-videos__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cf-videos__title {
  font-family: var(--font-cursive);
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.cf-videos__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.cf-videos__item {
  text-align: left;
}

.cf-videos__label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cf-videos__player {
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.cf-videos__player video,
.cf-videos__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =============================================
   Support / Help page
   ============================================= */

.support-hero {
  padding: 24px 24px 32px;
  text-align: center;
}

.support-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.support-hero__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 32px;
}

/* App support list */
.support-apps {
  margin-bottom: 36px;
  padding: 24px 0;
}

.support-apps__heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.support-apps__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 680px;
  margin: 0 auto;
}

.support-apps__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.support-apps__link:hover {
  text-decoration: underline;
}

.support-apps__icon {
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: inline-block;
  flex-shrink: 0;
}

/* Body text */
.support-body {
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

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

.support-body a {
  color: var(--color-brand);
  text-decoration: none;
}

.support-body a:hover {
  text-decoration: underline;
}

.support-body h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 32px 0 12px;
}

.support-body h2:first-child {
  margin-top: 0;
}

.support-body ol,
.support-body ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.support-body li {
  margin-bottom: 6px;
}

.support-screenshots {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.support-screenshots img {
  width: 130px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.support-video-placeholder {
  background: var(--color-bg-alt, #f5f5f7);
  border-radius: 12px;
  padding: 32px;
  margin: 16px 0 24px;
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
}

/* Contact section */
.support-contact {
  padding: 24px 24px 64px;
  text-align: center;
}

.support-contact__inner {
  max-width: 560px;
  margin: 0 auto;
}

.support-contact__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.support-contact__intro {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 28px;
}

/* Form */
.support-form {
  text-align: left;
}

.support-form__input,
.support-form__select,
.support-form__textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid var(--color-brand);
  border-radius: var(--radius);
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.support-form__input::placeholder,
.support-form__textarea::placeholder {
  color: var(--color-brand);
  opacity: 0.7;
}

.support-form__select {
  color: var(--color-brand);
  appearance: none;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233733C6' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  cursor: pointer;
}

.support-form__select option {
  color: var(--color-text);
}

.support-form__input:focus,
.support-form__select:focus,
.support-form__textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 2px rgba(55, 51, 198, 0.15);
}

.support-form__hint {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.support-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.support-form__btn {
  display: block;
  width: 100%;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--color-cta);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 1px;
}

.support-form__btn:hover {
  background: #1976D2;
}

.support-form__btn:active {
  transform: scale(0.98);
}

.support-form__privacy {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 16px;
}

.support-form__privacy a {
  color: var(--color-brand);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .support-hero__title {
    font-size: 22px;
  }
  .support-apps__list {
    align-items: flex-start;
  }
  .support-screenshots img {
    width: 100px;
  }
}

/* =============================================
   About page
   ============================================= */

.about-hero {
  padding: 24px 24px 24px;
  text-align: center;
}

.about-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-hero__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.about-hero__subtitle {
  font-family: var(--font-cursive);
  font-size: 32px;
  color: var(--color-brand);
  margin-bottom: 32px;
}

.about-hero__photo {
  max-width: 560px;
  margin: 0 auto 24px;
}

.about-hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.about-hero__caption {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 12px;
  font-style: italic;
}

.about-hero__audio {
  max-width: 400px;
  margin: 0 auto;
}

.about-hero__audio audio {
  width: 100%;
}

/* About body */
.about-body {
  padding: 32px 24px 64px;
}

.about-body__inner {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.about-body__inner p {
  margin-bottom: 16px;
}

.about-body__lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-body__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin: 36px 0 16px;
}

.about-body__link {
  color: var(--color-cta);
  text-decoration: underline;
  transition: color var(--transition);
}

.about-body__link:hover {
  color: var(--color-cta-hover);
}

.about-body__list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.about-body__list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.about-body__contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.about-body__social-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.about-body__social-list li {
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .about-hero__title {
    font-size: 22px;
  }
  .about-hero__subtitle {
    font-size: 24px;
  }
  .about-hero__photo {
    max-width: 100%;
  }
}

/* =============================================
   Photo Gallery page
   ============================================= */

.pg-hero {
  padding: 24px 24px 24px;
  text-align: center;
  background: #1a1a1a;
}

.pg-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pg-hero__title {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.pg-hero__intro {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto;
}

.pg-hero__link {
  color: var(--color-cta);
  text-decoration: underline;
  transition: color var(--transition);
}

.pg-hero__link:hover {
  color: var(--color-cta-hover);
}

.pg-gallery {
  padding: 8px 24px 64px;
  background: #1a1a1a;
}

.pg-gallery__grid {
  max-width: 1200px;
  margin: 0 auto;
  columns: 4;
  column-gap: 12px;
}

.pg-gallery__photo {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
  border-radius: 6px;
  break-inside: avoid;
  background: #2a2a2a;
}

.pg-gallery__sentinel {
  height: 1px;
}

.pg-gallery__status {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 16px 0;
}

@media (max-width: 900px) {
  .pg-gallery__grid {
    columns: 3;
    column-gap: 10px;
  }
  .pg-gallery__photo {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .pg-hero__title {
    font-size: 22px;
  }
  .pg-gallery {
    padding: 8px 12px 48px;
  }
  .pg-gallery__grid {
    columns: 2;
    column-gap: 8px;
  }
  .pg-gallery__photo {
    margin-bottom: 8px;
    border-radius: 4px;
  }
}

/* =============================================
   Composition Detail Page
   ============================================= */

.comp-detail {
  padding: 48px 24px;
}

.comp-detail__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.comp-detail__title {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.comp-detail__image {
  width: 100%;
  max-width: 680px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.comp-detail__body {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.comp-detail__body p {
  margin-bottom: 16px;
}

.comp-detail__icon-section {
  margin-bottom: 40px;
}

.comp-detail__icon {
  width: 100px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}

.comp-detail__icon-caption {
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
}

.comp-detail__partner {
  margin-bottom: 16px;
}

.comp-detail__partner-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.comp-detail__partner-link {
  color: var(--color-cta);
  text-decoration: underline;
  font-size: 16px;
  font-weight: 500;
  transition: color var(--transition);
}

.comp-detail__partner-link:hover {
  color: var(--color-cta-hover);
}

.comp-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-cta);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--transition);
}
.comp-detail__back i {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.comp-detail__back:hover {
  color: var(--color-cta-hover);
}

@media (max-width: 768px) {
  .comp-detail {
    padding: 36px 16px;
  }

  .comp-detail__title {
    font-size: 22px;
  }
}

/* =============================================
   Composition Rules Listing Page
   ============================================= */

.comp-listing {
  padding: 24px 24px;
}

.comp-listing__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.comp-listing__title {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.comp-listing__intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 680px;
  margin: 0 auto 12px;
}

.comp-listing__note {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.comp-listing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.comp-listing__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition);
}

.comp-listing__card:hover {
  transform: translateY(-4px);
}

.comp-listing__card img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.comp-listing__card:hover img {
  box-shadow: var(--shadow-md);
}

.comp-listing__card span {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

.comp-listing__section {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: left;
}

.comp-listing__section-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.comp-listing__section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.comp-listing__link {
  color: var(--color-cta);
  text-decoration: underline;
}

.comp-listing__link:hover {
  color: var(--color-cta-hover);
}

@media (max-width: 900px) {
  .comp-listing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 768px) {
  .comp-listing {
    padding: 36px 16px;
  }

  .comp-listing__title {
    font-size: 22px;
  }

  .comp-listing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }

  .comp-listing__card span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .comp-listing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
}

/* =============================================
   Blog Listing Page
   ============================================= */
.blog-listing { padding: 24px 24px; }
.blog-listing__inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }
.blog-listing__title { font-family: var(--font-body); font-size: 28px; font-weight: 700; color: var(--color-brand); letter-spacing: 2px; margin-bottom: 36px; }
.blog-listing__grid { display: flex; flex-direction: column; gap: 40px; max-width: 720px; margin: 0 auto 48px; }
.blog-listing__card { display: flex; gap: 20px; text-decoration: none; color: var(--color-text); text-align: left; transition: transform var(--transition); }
.blog-listing__card:hover { transform: translateY(-3px); }
.blog-listing__thumb { width: 220px; min-width: 220px; height: 148px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.blog-listing__card:hover .blog-listing__thumb { box-shadow: var(--shadow-md); }
.blog-listing__card-body { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; }
.blog-listing__card-title { font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--color-brand); }
.blog-listing__card-excerpt { font-size: 14px; line-height: 1.6; color: var(--color-text-light); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-listing__card-meta { font-size: 12px; color: var(--color-text-light); }
.blog-listing__card-times { font-size: 12px; color: var(--color-text-light); display: flex; align-items: center; gap: 4px; }
.blog-listing__card-times i { font-size: 11px; display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; }
.blog-article__meta i { display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; position: relative; top: -1px; }
@media (max-width: 768px) {
  .blog-listing { padding: 24px 16px; }
  .blog-listing__title { font-size: 22px; }
  .blog-listing__card { flex-direction: column; gap: 12px; }
  .blog-listing__thumb { width: 100%; min-width: unset; height: 200px; }
}

/* =============================================
   Blog Article Page
   ============================================= */
.blog-article { padding: 48px 24px; }
.blog-article__inner { max-width: 720px; margin: 0 auto; }
.blog-article__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--color-cta); text-decoration: none; margin-bottom: 32px; transition: color var(--transition); }
.blog-article__back i { display: inline-flex; align-items: center; line-height: 1; }
.blog-article__back:hover { color: var(--color-cta-hover); }
.blog-article__title { font-family: var(--font-body); font-size: 28px; font-weight: 700; color: var(--color-brand); letter-spacing: 1px; line-height: 1.3; margin-bottom: 12px; }
.blog-article__meta { font-size: 13px; color: var(--color-text-light); margin-bottom: 28px; }
.blog-article__hero { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 32px; }
.blog-article__audio { margin-bottom: 32px; text-align: center; }
.blog-article__audio-label { font-size: 13px; color: var(--color-text-light); margin-bottom: 6px; }
.blog-article__audio audio { width: 100%; max-width: 400px; display: inline-block; }
.blog-article__body { text-align: left; font-size: 16px; line-height: 1.85; color: var(--color-text); }
.blog-article__body p { margin-bottom: 18px; }
.blog-article__body h2 { font-family: var(--font-body); font-size: 22px; font-weight: 600; margin: 36px 0 14px; color: var(--color-brand); }
.blog-article__body h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin: 28px 0 12px; color: var(--color-brand); }
.blog-article__body h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 24px 0 10px; color: var(--color-text); }
.blog-article__body blockquote { border-left: 3px solid var(--color-cta); padding: 12px 20px; margin: 20px 0; background: rgba(0,0,0,0.02); font-style: italic; color: var(--color-text-light); }
.blog-article__body ul, .blog-article__body ol { margin: 0 0 18px 20px; list-style: disc; }
.blog-article__body ol { list-style: decimal; }
.blog-article__body li { margin-bottom: 6px; }
.blog-article__body a { color: var(--color-cta); text-decoration: underline; transition: color var(--transition); }
.blog-article__body a:hover { color: var(--color-cta-hover); }
.blog-article__body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; display: block; }
.blog-article__body .img-caption { font-size: 13px; color: var(--color-text-light); text-align: center; margin-top: -10px; margin-bottom: 18px; font-style: italic; }
.blog-article__tags { margin-top: 40px; }
.blog-article__tags-label { font-size: 13px; font-weight: 600; color: var(--color-text-light); margin-bottom: 8px; }
.blog-article__tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-article__tag { font-size: 12px; padding: 4px 12px; background: rgba(0,0,0,0.04); border-radius: 20px; color: var(--color-text-light); }
.blog-article__refs { margin-top: 32px; }
.blog-article__refs h2, .blog-article__refs h3 { font-size: 16px; margin: 0 0 10px; text-align: left; }
.blog-article__refs p { font-size: 13px; line-height: 1.7; color: var(--color-text-light); margin-bottom: 6px; }
.blog-article__refs a { color: var(--color-cta); text-decoration: underline; font-size: 13px; }
@media (max-width: 768px) {
  .blog-article { padding: 36px 16px; }
  .blog-article__title { font-size: 22px; }
  .blog-article__body { font-size: 15px; }
}

/* =============================================
   All Apps page
   ============================================= */

.all-apps-hero {
  padding: 24px 24px 24px;
  text-align: center;
}

.all-apps-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.all-apps-hero__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-brand);
}

.all-apps-grid {
  padding: 24px 24px 64px;
}

.all-apps-grid__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #F5F5F7;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.app-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.app-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 20px;
}

.app-card__icon-link {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.app-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.app-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.app-card__name a {
  color: var(--color-brand);
  text-decoration: none;
}

.app-card__name a:hover {
  text-decoration: underline;
}

.app-card__tagline {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.app-card__rating {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.app-card__stars {
  color: #FFB800;
  letter-spacing: 1px;
}

.app-card__cta {
  display: inline-block;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--color-cta);
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background var(--transition), transform 0.1s;
}

.app-card__cta:hover {
  background: var(--color-cta-hover);
}

.app-card__cta:active {
  transform: scale(0.97);
}

.app-card__qr {
  width: 72px;
  height: 72px;
  margin: 12px auto;
}

.app-card__store-note {
  font-size: 10px;
  color: var(--color-text-light);
  margin-top: 6px;
  margin-bottom: 10px;
}

.app-card__badge-link {
  display: inline-block;
}

.app-card__store-badge {
  width: 120px;
  height: auto;
}

.app-card__screenshot-link {
  display: block;
  line-height: 0;
  padding: 0 16px 16px;
}

.app-card__screenshot {
  max-height: 300px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .all-apps-grid__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .all-apps-hero__title {
    font-size: 22px;
  }
  .all-apps-grid__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 320px;
  }
}


