.photo-rescue-page {
  --photo-green: #237656;
  --photo-green-dark: #15523b;
  --photo-mint: #eef6f0;
  --photo-paper: #f8f7f3;
  --photo-ink: #202720;
  --photo-muted: #5c665f;
  --photo-line: #d8e0d8;
  background: #fff;
  color: var(--photo-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}
.photo-rescue-page * { box-sizing: border-box; }
.photo-rescue-page .product-container { width: min(100% - 48px, 1160px); margin: 0 auto; }
.photo-rescue-page .product-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--photo-line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.photo-rescue-page .product-header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 22px; }
.photo-rescue-page .product-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--photo-ink); font-weight: 900; text-decoration: none; white-space: nowrap; }
.photo-rescue-page .product-brand img { border-radius: 10px; }
.photo-rescue-page .product-header nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.photo-rescue-page .product-header nav a { color: var(--photo-muted); font-size: .9rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.photo-rescue-page .product-header nav a:hover, .photo-rescue-page .text-link:hover { color: var(--photo-green); }
.photo-rescue-page .app-store-cta { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 0; border-radius: 7px; background: var(--photo-green-dark); color: #fff; font-weight: 850; text-decoration: none; transition: background .2s, transform .2s; }
.photo-rescue-page .app-store-cta:hover { transform: translateY(-1px); background: #103f2d; }
.photo-rescue-page .header-store-cta { min-height: 42px; padding: 8px 15px; font-size: .86rem; }
.photo-rescue-page .product-hero { padding: 66px 0 56px; background: linear-gradient(115deg, #f7f6f0 0%, #edf4ed 100%); }
.photo-rescue-page .hero-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.photo-rescue-page .app-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.photo-rescue-page .app-identity img { border-radius: 18px; box-shadow: 0 12px 28px #294c3730; }
.photo-rescue-page .app-identity p { margin: 0; color: var(--photo-green-dark); font-weight: 850; }
.photo-rescue-page .product-kicker, .photo-rescue-page .section-kicker { margin: 0 0 10px; color: var(--photo-green); font-size: .84rem; font-weight: 900; letter-spacing: .08em; }
.photo-rescue-page .product-hero h1 { margin: 6px 0 8px; color: var(--photo-ink); font-size: clamp(3rem, 5.4vw, 5rem); font-weight: 900; line-height: 1.15; letter-spacing: 0; }
.photo-rescue-page .hero-lead { margin: 14px 0; font-size: clamp(1.35rem, 2.35vw, 1.9rem); font-weight: 850; }
.photo-rescue-page .hero-description { max-width: 560px; color: var(--photo-muted); font-size: 1.05rem; font-weight: 600; }
.photo-rescue-page .hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.photo-rescue-page .hero-points span { padding: 6px 12px; border: 1px solid #bed1c2; border-radius: 999px; background: #fff; color: var(--photo-green-dark); font-size: .84rem; font-weight: 800; }
.photo-rescue-page .store-note { margin: 10px 0 0; color: var(--photo-muted); font-size: .82rem; }
.photo-rescue-page .hero-visual { overflow: hidden; height: clamp(340px, 35vw, 470px); margin: 0; border: 8px solid #fff; border-radius: 12px; background: #f2f0e9; box-shadow: 0 26px 60px #314c3926; }
.photo-rescue-page .hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.photo-rescue-page .hero-visual figcaption { position: relative; margin: -34px 12px 0; color: #fff; font-size: .75rem; text-align: right; text-shadow: 0 1px 4px #000; }
.photo-rescue-page .product-section { padding: 78px 0; }
.photo-rescue-page .product-section h2, .photo-rescue-page .product-final-cta h2 { margin: 0 0 22px; color: var(--photo-ink); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.35; letter-spacing: 0; }
.photo-rescue-page .answer-block { max-width: 900px; }
.photo-rescue-page .answer-block > p:last-child { margin-bottom: 0; color: var(--photo-muted); font-size: 1.08rem; }
.photo-rescue-page .how-section { background: var(--photo-paper); }
.photo-rescue-page .how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-rescue-page .how-grid article { min-height: 200px; padding: 26px 28px; border: 1px solid var(--photo-line); border-radius: 8px; background: #fff; }
.photo-rescue-page .how-grid article > span { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--photo-mint); color: var(--photo-green-dark); font-weight: 900; }
.photo-rescue-page .how-grid h3 { margin: 16px 0 6px; font-size: 1.15rem; }
.photo-rescue-page .how-grid p { margin: 0; color: var(--photo-muted); }
.photo-rescue-page .feature-band { background: #f5f4ef; }
.photo-rescue-page .feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.photo-rescue-page .feature-grid article { min-height: 205px; padding: 24px; border-top: 4px solid var(--photo-green); background: #fff; box-shadow: 0 10px 28px #34463812; }
.photo-rescue-page .feature-grid strong { font-size: 1.08rem; }
.photo-rescue-page .feature-grid p { margin: 12px 0 0; color: var(--photo-muted); font-size: .94rem; }
.photo-rescue-page .privacy-section { background: #fff; }
.photo-rescue-page .privacy-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 360px); align-items: center; gap: 72px; }
.photo-rescue-page .privacy-layout > div > p:not(.section-kicker) { max-width: 640px; color: var(--photo-muted); }
.photo-rescue-page .fine-print { font-size: .88rem; }
.photo-rescue-page .text-link { color: var(--photo-green-dark); font-weight: 850; text-underline-offset: 4px; }
.photo-rescue-page .privacy-visual { margin: 0; }
.photo-rescue-page .privacy-visual img { display: block; width: 100%; max-height: 500px; object-fit: cover; object-position: top; border: 1px solid var(--photo-line); border-radius: 8px; box-shadow: 0 18px 38px #34463818; }
.photo-rescue-page .privacy-visual figcaption { margin-top: 9px; color: var(--photo-muted); font-size: .8rem; }
.photo-rescue-page .price-band { background: #eff5ed; }
.photo-rescue-page .price-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
.photo-rescue-page .price-layout > div > p:not(.section-kicker) { color: var(--photo-muted); }
.photo-rescue-page .price-facts { margin: 0; border: 1px solid #ccdacd; background: #fff; }
.photo-rescue-page .price-facts div { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 18px; padding: 19px 24px; }
.photo-rescue-page .price-facts div + div { border-top: 1px solid #dbe4dc; }
.photo-rescue-page .price-facts dt { font-weight: 850; }
.photo-rescue-page .price-facts dd { margin: 0; color: var(--photo-green-dark); font-size: 1.25rem; font-weight: 900; }
.photo-rescue-page .price-facts small { color: var(--photo-muted); font-size: .8rem; font-weight: 650; }
.photo-rescue-page .price-cta { margin-top: 30px; text-align: right; }
.photo-rescue-page .facts-section { background: #faf9f5; }
.photo-rescue-page .facts-list { margin: 0; border-top: 1px solid var(--photo-line); }
.photo-rescue-page .facts-list div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--photo-line); }
.photo-rescue-page .facts-list dt { font-weight: 850; }
.photo-rescue-page .facts-list dd { margin: 0; color: var(--photo-muted); }
.photo-rescue-page .gallery-section { overflow: hidden; }
.photo-rescue-page .gallery-intro { margin: -8px 0 28px; color: var(--photo-muted); }
.photo-rescue-page .screenshot-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: start; gap: 20px; }
.photo-rescue-page .screenshot-row figure { overflow: hidden; margin: 0; border: 1px solid var(--photo-line); border-radius: 8px; background: #fff; box-shadow: 0 12px 30px #34463812; }
.photo-rescue-page .screenshot-row img { display: block; width: 100%; height: auto; }
.photo-rescue-page .screenshot-row figcaption { padding: 13px 15px; color: var(--photo-green-dark); font-size: .9rem; font-weight: 850; }
.photo-rescue-page .faq-section { background: var(--photo-mint); }
.photo-rescue-page .faq-list { border-top: 1px solid #c2d6c6; }
.photo-rescue-page .faq-list details { padding: 20px 0; border-bottom: 1px solid #c2d6c6; }
.photo-rescue-page .faq-list summary { cursor: pointer; font-size: 1.08rem; font-weight: 850; }
.photo-rescue-page .faq-list p { max-width: 920px; margin: 12px 0 0; color: var(--photo-muted); }
.photo-rescue-page .product-final-cta { padding: 56px 0; background: #f5f4ef; }
.photo-rescue-page .final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.photo-rescue-page .product-final-cta h2 { margin-bottom: 0; }
.photo-rescue-page .product-footer { padding: 36px 0; background: #1b3f30; color: #fff; }
.photo-rescue-page .footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.photo-rescue-page .footer-inner > strong { white-space: nowrap; }
.photo-rescue-page .product-footer nav { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.photo-rescue-page .product-footer a { color: #fff; }
@media (max-width: 960px) {
  .photo-rescue-page .product-header nav { gap: 12px; }
  .photo-rescue-page .product-header nav a { font-size: .8rem; }
  .photo-rescue-page .hero-inner { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 34px; }
  .photo-rescue-page .feature-grid { grid-template-columns: repeat(2,1fr); }
  .photo-rescue-page .screenshot-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .photo-rescue-page .product-container { width: min(100% - 32px, 1160px); }
  .photo-rescue-page .product-header-inner { min-height: 66px; }
  .photo-rescue-page .product-header nav { display: none; }
  .photo-rescue-page .hero-inner, .photo-rescue-page .privacy-layout, .photo-rescue-page .price-layout { grid-template-columns: 1fr; }
  .photo-rescue-page .product-hero { padding: 46px 0 42px; }
  .photo-rescue-page .hero-inner { gap: 30px; }
  .photo-rescue-page .product-hero h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .photo-rescue-page .hero-visual { height: min(90vw, 440px); }
  .photo-rescue-page .product-section { padding: 60px 0; }
  .photo-rescue-page .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .photo-rescue-page .how-grid article { min-height: 0; }
  .photo-rescue-page .privacy-layout { gap: 28px; }
  .photo-rescue-page .privacy-visual img { width: min(100%, 390px); margin: 0 auto; }
  .photo-rescue-page .price-layout { gap: 24px; }
  .photo-rescue-page .footer-inner { display: block; }
  .photo-rescue-page .product-footer nav { margin-top: 18px; }
  .photo-rescue-page .final-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .photo-rescue-page .product-container { width: min(100% - 28px, 1160px); }
  .photo-rescue-page .header-store-cta { min-height: 38px; padding: 7px 11px; }
  .photo-rescue-page .app-identity img { width: 64px; height: 64px; }
  .photo-rescue-page .feature-grid, .photo-rescue-page .screenshot-row { grid-template-columns: 1fr; }
  .photo-rescue-page .screenshot-row { width: min(100%, 390px); margin: 0 auto; }
  .photo-rescue-page .price-facts div { grid-template-columns: 1fr; gap: 3px; padding: 16px 18px; }
  .photo-rescue-page .facts-list div { grid-template-columns: 1fr; gap: 3px; }
  .photo-rescue-page .product-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (min-width: 761px) {
  .photo-rescue-page .hero-visual { height: auto; }
  .photo-rescue-page .hero-visual img { height: clamp(340px, 35vw, 470px); }
  .photo-rescue-page .hero-visual figcaption { margin: 8px 6px 0; color: var(--photo-muted); text-shadow: none; }
}


/* A real before/after control: the overlaid monochrome image moves with the range input. */
.photo-rescue-page .hero-visual { height: auto; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.photo-rescue-page .colorization-demo { padding: 22px; border: 1px solid var(--photo-line); border-radius: 12px; background: #fff; box-shadow: 0 24px 55px #314c3920; }
.photo-rescue-page .compare-kicker { margin: 0 0 3px; color: var(--photo-green); font-size: .82rem; font-weight: 900; }
.photo-rescue-page .colorization-demo h2 { margin: 0 0 16px; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; }
.photo-rescue-page .compare-stage { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 2.444 / 1; border-radius: 7px; background: #242424; cursor: ew-resize; touch-action: pan-y; }
.photo-rescue-page .compare-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-rescue-page .compare-stage .compare-after { z-index: 0; }
.photo-rescue-page .compare-stage .compare-before { z-index: 1; clip-path: inset(0 calc(100% - var(--split)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.photo-rescue-page .compare-label { position: absolute; z-index: 2; top: 12px; padding: 5px 9px; border-radius: 4px; background: #13241dd9; color: #fff; font-size: .75rem; font-weight: 850; pointer-events: none; }
.photo-rescue-page .compare-label-before { left: 12px; }
.photo-rescue-page .compare-label-after { right: 12px; }
.photo-rescue-page .compare-divider { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--split); display: grid; width: 3px; place-items: center; transform: translateX(-50%); background: #fff; box-shadow: 0 0 5px #0008; pointer-events: none; }
.photo-rescue-page .compare-divider span { display: grid; width: 40px; height: 40px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--photo-green-dark); color: #fff; font-size: 1.2rem; font-weight: 900; box-shadow: 0 2px 12px #0005; }
.photo-rescue-page .compare-range { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; opacity: 0; cursor: ew-resize; }
.photo-rescue-page .compare-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.photo-rescue-page .compare-range::-webkit-slider-thumb { width: 24px; height: 100%; appearance: none; -webkit-appearance: none; background: transparent; }
.photo-rescue-page .compare-range::-moz-range-track { height: 100%; background: transparent; }
.photo-rescue-page .compare-range::-moz-range-thumb { width: 24px; height: 100%; border: 0; background: transparent; }
.photo-rescue-page .compare-range:focus-visible { opacity: .02; outline: 3px solid #f4c75b; outline-offset: -4px; }
.photo-rescue-page .colorization-demo figcaption { margin-top: 12px; color: var(--photo-muted); font-size: .82rem; line-height: 1.6; }

/* The hero makes the color result the first thing visitors see. */
.photo-rescue-page .product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0;
  background:
    radial-gradient(ellipse at 82% 48%, #277a5638 0, transparent 42%),
    linear-gradient(112deg, #102c24 0%, #173d30 55%, #102d26 100%);
  color: #fff;
}
.photo-rescue-page .product-hero::after {
  position: absolute;
  right: -130px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.photo-rescue-page .hero-inner { position: relative; z-index: 1; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(30px, 4vw, 56px); }
.photo-rescue-page .app-identity p, .photo-rescue-page .product-kicker { color: #b7e5c7; }
.photo-rescue-page .product-hero h1 { color: #fff; font-size: clamp(3rem, 4vw, 3.8rem); }
.photo-rescue-page .hero-lead { margin: 18px 0 12px; color: #f5d58a; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.4; }
.photo-rescue-page .hero-description { max-width: 500px; color: #e2ece5; font-size: 1.06rem; line-height: 1.9; }
.photo-rescue-page .hero-points span { border-color: #ffffff35; background: #ffffff12; color: #f5f7f4; }
.photo-rescue-page .product-hero .app-store-cta { background: #f5c65e; color: #182d23; box-shadow: 0 8px 24px #0003; }
.photo-rescue-page .product-hero .app-store-cta:hover { background: #ffda7e; }
.photo-rescue-page .store-note { color: #c6d6cb; }
.photo-rescue-page .hero-visual { width: 100%; }
.photo-rescue-page .colorization-demo { padding: clamp(16px, 2vw, 24px); border: 1px solid #ffffff45; border-radius: 16px; background: #fdfcf8; box-shadow: 0 32px 90px #0006; }
.photo-rescue-page .colorization-demo h2 { margin-bottom: 18px; color: #182820; font-size: clamp(1.45rem, 2.25vw, 1.9rem); }
.photo-rescue-page .compare-kicker { color: #1c7050; letter-spacing: .05em; }
.photo-rescue-page .compare-stage { aspect-ratio: 1.56 / 1; border: 1px solid #d7d6ca; border-radius: 11px; box-shadow: 0 14px 35px #1d2d2430; }
.photo-rescue-page .compare-stage img { object-position: center 44%; }
.photo-rescue-page .compare-divider span { width: 48px; height: 48px; border-color: #fff; background: #f5c65e; color: #173b2d; font-size: 1.45rem; box-shadow: 0 3px 15px #0007; }
.photo-rescue-page .compare-label { top: 14px; padding: 7px 11px; font-size: .82rem; }
.photo-rescue-page .colorization-demo figcaption { color: #4f5d54; font-size: .84rem; }
@media (max-width: 760px) {
  .photo-rescue-page .product-hero { padding: 42px 0 48px; }
  .photo-rescue-page .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .photo-rescue-page .product-hero h1 { font-size: clamp(2.75rem, 11vw, 3.8rem); }
  .photo-rescue-page .hero-visual { width: 100%; }
  .photo-rescue-page .compare-stage { aspect-ratio: 1.34 / 1; }
}
@media (max-width: 760px) {
  .photo-rescue-page .hero-visual { width: 100%; height: auto; }
  .photo-rescue-page .colorization-demo { padding: 14px; }
}
