.photo-landing .home-hero { padding-bottom: 70px; background: radial-gradient(ellipse at 80% 35%, #32241e 0%, transparent 56%); }
.photo-restoration .home-preview-toolbar > span,
.photo-restoration .home-preview-bottom > span { border: 0; padding: 0; font-size: 12px; }
.photo-formats { margin-top: 16px !important; color: var(--home-muted); text-align: center; font-size: 12px; }
.photo-restoration .sr-comparison { position: relative; isolation: isolate; direction: ltr; width: 100%; aspect-ratio: var(--sr-ratio, 4 / 3); overflow: hidden; }
.photo-restoration .sr-comparison img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-restoration .sr-comparison:focus-within { outline: 3px solid var(--home-orange); outline-offset: -3px; }
.photo-jump { color: var(--home-orange) !important; font-size: 12px; text-underline-offset: 4px; }
.photo-jump:hover { text-decoration: underline; }
.photo-jump span { padding-inline-start: 4px; }
.photo-examples { scroll-margin-top: 72px; }
.photo-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.photo-example { margin: 0; }
.photo-example figcaption { min-height: 96px; padding: 20px 24px 24px; }
.photo-example h3, .photo-feature-grid h3, .photo-steps h3 { font-size: 17px; line-height: 1.4; }
.photo-example p, .photo-feature-grid dd, .photo-steps p, .photo-faq p { margin: 7px 0 0; color: var(--home-muted); font-size: 13px; line-height: 1.7; }
.photo-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-feature-grid article { border: 1px solid var(--home-line); border-radius: 14px; padding: 22px; background: var(--home-surface); }
.photo-feature-grid h3 { color: var(--home-orange); }
.photo-feature-grid dl { margin: 8px 0 0; }
.photo-feature-grid dl > div { padding-top: 15px; }
.photo-feature-grid dl > div + div { margin-top: 14px; border-top: 1px solid var(--home-line); }
.photo-feature-grid dt { font-size: 14px; font-weight: 600; }
.photo-feature-grid dd { margin-top: 4px; }
.photo-feature-grid .photo-size-example { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 16px; margin-top: 12px; font-size: 11px; }
.photo-size-example > span { display: grid; justify-items: center; gap: 5px; white-space: nowrap; }
.photo-size-example > span::before { content: ""; width: 32px; aspect-ratio: 4 / 3; background: #36312d; border: 1px solid #745443; border-radius: 4px; }
.photo-size-example .photo-size-enlarged::before { width: 64px; background: #4f382e; border-color: var(--home-orange); }
.photo-steps { list-style: none; margin: 0; padding: 0; gap: 20px; }
.photo-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: start; padding-top: 20px; border-top: 1px solid var(--home-line); }
.photo-steps li > span { grid-row: span 2; color: var(--home-orange); font-size: 13px; line-height: 1.9; font-variant-numeric: tabular-nums; }
.photo-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.photo-faq-grid .home-section-heading { margin: 0; text-align: start; }
.photo-faq-grid h2 { margin-block: 0; }
.photo-faq { border-bottom: 1px solid var(--home-line); }
.photo-faq:first-child { border-top: 1px solid var(--home-line); }
.photo-faq summary { cursor: pointer; font-weight: 600; padding-block: 16px; }
.photo-faq p { margin: 0 0 16px; }
.photo-faq summary:focus-visible { outline: 3px solid var(--home-orange); outline-offset: 5px; }
.photo-landing .home-final-cta h2 { margin-top: 0; }
.photo-editor-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 46px; }
.photo-editor-header h1 { margin: 0; font-size: clamp(30px, 4vw, 42px); }
.photo-editor-content { padding-block: 28px 70px; }
.photo-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 20px; align-items: start; }
.photo-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 56px; padding: 10px 14px; color: var(--home-muted); font-size: 12px; }
.photo-dimensions { direction: ltr; unicode-bidi: isolate; }
.photo-views { display: flex; flex-wrap: wrap; gap: 3px; }
.photo-views button, .photo-text-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--home-line); border-radius: 8px; background: transparent; color: var(--home-ink); padding: 8px 12px; min-height: 36px; font-size: 13px !important; transition: background 180ms; }
.photo-views button { border-color: transparent; color: var(--home-muted); }
.photo-views button[aria-pressed="true"], .photo-views button:hover, .photo-text-button:hover { background: var(--home-raised); color: var(--home-ink); text-decoration: none; }
.photo-stage { --photo-stage-height: clamp(360px, 37vw, 530px); position: relative; display: grid; place-items: center; min-height: var(--photo-stage-height); background: #14171a; }
.photo-stage > img { display: block; width: 100%; height: var(--photo-stage-height); object-fit: contain; }
.photo-stage .sr-comparison { width: min(100%, calc(var(--photo-stage-height) * var(--sr-ratio))); }
.photo-status { position: absolute; inset: 0; display: grid; place-items: center; background: #111315a0; }
.photo-status > * { max-width: calc(100% - 24px); padding: 12px 18px !important; background: var(--home-surface); border: 1px solid var(--home-line); border-radius: 32px; }
.photo-empty { padding: 24px; text-align: center; color: var(--home-muted); }
.photo-options { background: var(--home-surface); border: 1px solid var(--home-line); border-radius: 16px; padding: 20px; }
.photo-options fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.photo-options legend { float: none; margin: 0 0 8px; font-size: 20px; line-height: 1.25; font-weight: 650; }
.photo-option-hint { color: var(--home-muted); font-size: 12px; line-height: 1.6; margin-bottom: 16px !important; }
.photo-option { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; padding: 9px 10px; border: 1px solid var(--home-line); border-radius: 8px; cursor: pointer; transition: background 180ms, border-color 180ms; }
.photo-option:hover, .photo-option:has(input:checked) { background: var(--home-raised); border-color: #545051; }
.photo-option:has(input:disabled) { opacity: .55; cursor: default; }
.photo-option input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--home-orange); cursor: inherit; }
.photo-option strong { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; }
.photo-option small { display: block; margin-top: 3px; color: var(--home-muted); font-size: 11px; line-height: 1.5; }
.photo-actions { display: grid; gap: 10px; margin-top: 16px; }
.photo-actions .home-upload-button { min-height: 46px; padding: 10px 12px; font-size: 14px !important; }
.photo-error { color: #ffb7a8; font-size: 13px; line-height: 1.6; }
.photo-restoration button:disabled { opacity: .5; cursor: default; }
@media (max-width: 900px) {
  .photo-feature-grid article { padding: 16px; }
  .photo-workspace { grid-template-columns: minmax(0, 1fr) minmax(230px, 280px); }
}
@media (max-width: 767px) {
  .photo-landing .home-hero { padding-bottom: 36px; background-position: center bottom; }
  .photo-example-grid, .photo-feature-grid, .photo-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-example figcaption { min-height: auto; padding: 16px 18px 20px; }
  .photo-faq-grid { gap: 20px; }
  .photo-steps { gap: 18px; }
  .photo-editor-header { padding-top: 28px; }
  .photo-editor-content { padding-top: 20px; }
  .photo-workspace { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .photo-stage { --photo-stage-height: clamp(240px, 64vw, 430px); }
}
@media (prefers-reduced-motion: reduce) {
  .photo-restoration :is(button, a, label) { transition: none; }
}
