/* ShopReply AI: photographic navy/teal visual system.
   Real local stock imagery. The original tokens and accessible controls remain. */
:root {
  --color-bg: #e6eef3;
  --color-surface: #dce8ef;
  --color-surface-2: #cbdde7;
  --color-border: #9eb7c4;
  --color-divider: #b7ccd7;
  --content-default: 76rem;
}
[data-theme="dark"] {
  --color-bg: #07151f;
  --color-surface: #0d212d;
  --color-surface-2: #15313f;
  --color-border: #2e4b5a;
  --color-divider: #233c4b;
  --color-text: #edf4f6;
  --color-text-muted: #b6cbd5;
  --color-primary: #8fd3df;
  --color-primary-hover: #b3e7ed;
  --color-on-primary: #071b25;
  --color-dark: #07151f;
  --color-dark-2: #040e15;
  --color-on-dark: #f4f8fa;
  --color-on-dark-muted: #d0e0e8;
  --color-focus: #a3e3ec;
  --shadow-lg: 0 20px 55px rgb(0 0 0 / .32);
}
body { background-image: radial-gradient(ellipse at 90% 0, rgb(35 104 124 / .09), transparent 55%); transition: none; }
.site-header { border-bottom-color: var(--color-divider); }
[data-theme="dark"] .site-header { background: #07151f; }
.header-inner { max-width: 86rem; }
.brand { letter-spacing: -.04em; }
.section { padding-block: clamp(3rem, 5vw, 5rem); }
.section--alt { background: var(--color-surface); }
.section-head { max-width: 48rem; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -.045em; }
.section-head p { font-size: clamp(1rem, 1.3vw, 1.16rem); }
.photo-hero {
  min-height: 39rem;
  display: flex;
  align-items: center;
  padding-block: 4.5rem;
  background: #07151f;
  isolation: isolate;
}
.photo-hero .hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 45%;
}
.photo-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #04131cf5 0%, #04131ce8 32%, #04131c8f 60%, #04131c14 100%),
              linear-gradient(0deg, #07151f 0%, transparent 25%, transparent 80%, #07151f33 100%);
}
.photo-hero .hero-inner {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.photo-hero .hero-eyebrow {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c3e4e9;
  margin-bottom: 1.25rem;
}
.photo-hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  max-width: 13ch;
  text-wrap: initial;
  color: #f4f8fa;
  margin-bottom: 1.5rem;
}
.photo-hero h1 span { color: #a7dce5; display: block; }
.photo-hero .hero-sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.75;
  color: #d8e5eb;
  margin-bottom: 1.75rem;
}
.photo-hero .hero-note { max-width: 36rem; color: #d2e0e7; font-size: .8rem; margin-top: 1.5rem; }
.photo-hero .hero-note strong { color: #f4f8fa; }
.photo-hero .button--primary { color: #071b25; background: #9bdbe5; }
.photo-hero .button--primary:hover { background: #c0ecf2; }
.photo-hero .button--ghost-dark { color: #f1f8fa; border-color: #adceda; background: #07151f80; }
.photo-hero .hero-waves { opacity: .22; height: 4rem; z-index: 0; }
.hero-offer-line { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; color: #d8e9ed; font-size: .75rem; }
.hero-offer-line span { padding: .32rem .65rem; border: 1px solid #63818d; border-radius: 4px; background: #071b2580; }
.hero--service { min-height: 32rem; }
.hero--service h1 { font-size: clamp(2.5rem, 4.3vw, 4rem); max-width: 17ch; }
.hero--service::after { background: linear-gradient(90deg,#04131cf5 0%,#04131ce6 35%,#04131c66 70%,#04131c22),linear-gradient(0deg,#07151f,transparent 35%); }
.card { background: var(--color-surface); border-color: var(--color-border); border-radius: .8rem; }
.card h3 { font-size: 1.2rem; letter-spacing: -.035em; }
.service-grid { gap: 1.5rem; }
.service-section .card > h2 { margin-top: .75rem; }
.service-section .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 48rem; margin-inline: auto; }
.service-card { padding: 0; display: flex; flex-direction: column; }
.service-card > .service-photo-link { display: block; padding: 0; aspect-ratio: 16 / 10; overflow: hidden; z-index: 0; }
.service-card .service-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms ease; }
.service-card:hover .service-photo, .service-card:focus-within .service-photo { transform: scale(1.04); }
.service-copy { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-copy .service-index { color: var(--color-primary); font-size: .7rem; letter-spacing: .12em; font-weight: 650; margin-bottom: .75rem; }
.service-copy h3 { margin-bottom: .8rem; }
.service-copy h3 a { color: var(--color-text); text-decoration: none; }
.service-copy > p:not(.service-index) { font-size: .95rem; margin-bottom: .75rem; }
.service-copy .card-link { margin-top: auto; padding-top: .6rem; min-height: 44px; align-self: flex-start; }
.film-section { background: #102b38; color: #edf5f8; border-block: 1px solid #31515f; }
.film-section .section-head h2 { color: #edf5f8; }
.film-section .section-head p { color: #c0d5df; }
.film-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; width: 75vw; max-width: 100%; margin-inline: auto; }
.film-card { border-radius: .8rem; overflow: hidden; background: #081e2b; border: 1px solid #41616f; position: relative; isolation: isolate; }
.film-card .film-frame { aspect-ratio: 16 / 9; overflow: hidden; background: #07151f; position: relative; }
.film-card .service-film { width: 100%; height: 100%; object-fit: cover; background: #07151f; }
.film-card .film-copy { padding: 1.25rem; }
.film-card .film-copy h3 { color: #eef6f9; font-size: 1.1rem; margin-bottom: .5rem; }
.film-card .film-copy p { color: #c1d6df; font-size: .9rem; }
.film-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; color: #a2dce6; font-size: .72rem; letter-spacing: .09em; }
.film-card .film-copy a { display: inline-flex; min-height: 44px; align-items: center; color: #a7dfeb; font-size: .85rem; margin-top: .5rem; }
.media-disclosure { color: #b3cbd6; font-size: .75rem; margin-top: 1.5rem; max-width: 60rem; }
.industry-film { max-width: 61rem; margin-inline: auto; }
.industry-film .film-copy { padding: 1.5rem; }
.industry-film .film-copy p { max-width: 55rem; }
.workflow-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--color-border); border-radius: .8rem; overflow: hidden; margin-top: 2.5rem; background: var(--color-bg); }
.workflow-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }
.workflow-panel .workflow-copy { padding: clamp(1.5rem,4vw,3rem); align-self: center; }
.workflow-panel h3 { font-size: clamp(1.5rem,2.2vw,2.2rem); letter-spacing: -.04em; margin-bottom: 1rem; }
.workflow-panel p { color: var(--color-text-muted); font-size: .95rem; }
.pricing-table { background: var(--color-surface); }
.pricing-table thead th { background: #123745; color: #f2f8fa; }
[data-theme="dark"] .pricing-table tbody th { background: #102b38; }
.site-footer { padding-bottom: 6rem; background: #040f17; color: #b6cdd7; border-top: 1px solid #2e4a59; }
.site-footer h2 { color: #edf4f6; }
.experience-controls {
  position: fixed;
  z-index: 45;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  padding: .25rem;
  max-width: calc(100vw - 6.5rem);
  border: 1px solid #527687;
  border-radius: .6rem;
  color: #eaf4f8;
  background: #071a26;
  box-shadow: 0 5px 25px #0003;
}
.experience-controls button {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid transparent;
  padding: .5rem .7rem;
  color: #eaf4f8;
  background: transparent;
  font: inherit;
  font-size: .75rem;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: .35rem;
}
.experience-controls button:hover { background: #234250; }
.experience-controls button:focus-visible { outline: 3px solid #a5e0eb; outline-offset: -2px; }
.experience-controls button[aria-pressed="true"] { background: #173c4c; }
.experience-controls .wave-sound-toggle { flex-wrap: wrap; }
.experience-controls .wave-sound-label { min-width: 0; }
.motion-paused .hero-waves svg,
.motion-paused .offer-wave-layer { animation-play-state: paused !important; }
@media (min-width: 90rem) { .photo-hero .hero-inner { padding-inline: 0; } }
@media (max-width: 62rem) {
  .photo-hero { min-height: 36rem; }
  .photo-hero h1 { font-size: clamp(2.8rem,6.8vw,4.5rem); }
  .photo-hero .hero-photo { object-position: 65% center; }
  .film-grid { gap: 1rem; }
  .film-card .film-copy { padding: 1rem; }
}
@media (max-width: 48rem) {
  .photo-hero { min-height: 39rem; padding-block: 3rem 3.5rem; align-items: flex-end; }
  .photo-hero .hero-photo { object-position: 68% 15%; height: 100%; }
  .photo-hero::after { background: linear-gradient(0deg,#04131c 0%,#04131cef 38%,#04131cdb 70%,#04131ccc); }
  .photo-hero .hero-inner { padding-inline: 1.25rem; }
  .photo-hero .hero-eyebrow { margin-bottom: .85rem; font-size: .65rem; }
  .photo-hero h1 { font-size: clamp(2.65rem,9vw,4.1rem); max-width: 16ch; }
  .photo-hero .hero-sub { font-size: 1rem; max-width: 32rem; }
  .photo-hero .hero-note { font-size: .75rem; }
  .photo-hero .hero-actions { gap: .75rem; }
  .photo-hero .hero-actions .button { padding-right: 1.5rem; }
  .hero-offer-line { gap: .4rem; font-size: .68rem; }
  .hero--service { min-height: 34rem; }
  .hero--service h1 { font-size: clamp(2.2rem,8vw,3.5rem); }
  .film-grid { grid-template-columns: 1fr; gap: 1.5rem; width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 42% 1fr; }
  .service-card > .service-photo-link { height: 100%; aspect-ratio: auto; }
  .service-copy { padding: 1.2rem; }
  .service-copy h3 { font-size: 1.12rem; }
  .workflow-panel { grid-template-columns: 1fr; }
  .workflow-panel img { min-height: 0; height: 13rem; }
  .experience-controls { position: static; margin: .75rem; gap: .1rem; padding: .15rem; max-width: calc(100% - 1.5rem); }
  .experience-controls button { padding-inline: .5rem; font-size: .7rem; }
}
@media (max-width: 25rem) {
  .service-card { grid-template-columns: 1fr; }
  .service-card > .service-photo-link { height: auto; aspect-ratio: 16 / 9; }
  .photo-hero { min-height: 42rem; }
  .photo-hero .hero-actions .button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card .service-photo { transition: none; }
  .service-card:hover .service-photo { transform: none; }
}

/* Photo backdrops replace the empty, solid section surfaces.
   Existing local stock only; no content, dimensions or interaction changes.
   CSS-relative URLs also work in the double-click file:// preview. */
:root {
  --section-photo: url("../media/pro/bg-contact.webp");
  /* Preserve photos while keeping small text legible over bright/dark pixels. */
  --section-wash: linear-gradient(90deg, rgb(230 238 243 / .95), rgb(230 238 243 / .93) 52%, rgb(230 238 243 / .91));
  --photo-panel: rgb(239 246 249 / .84);
  --photo-label-panel: rgb(221 235 242 / .90);
}
[data-theme="dark"] {
  --section-wash: linear-gradient(90deg, rgb(4 17 26 / .79), rgb(4 17 26 / .77) 52%, rgb(4 17 26 / .74));
  --photo-panel: rgb(6 23 34 / .66);
  --photo-label-panel: rgb(14 42 56 / .77);
}
main > .section {
  background-image: var(--section-wash), var(--section-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
main > .section:nth-of-type(3n+1) {
  --section-photo: url("../media/pro/bg-partners.webp");
}
main > .section:nth-of-type(3n+2) {
  --section-photo: url("../media/pro/bg-process.webp");
}
main > .section:nth-of-type(3n) {
  --section-photo: url("../media/pro/bg-business-tech.webp");
}
main > .section.service-section {
  --section-photo: url("../media/pro/bg-partners.webp");
}
main > .section[aria-labelledby="problem-title"] {
  --section-photo: url("../media/pro/bg-contact.webp");
}
main > .section[aria-labelledby="page-title"] {
  --section-photo: url("../media/pro/bg-business-tech.webp");
}
main > .section#how-it-works,
main > .section[aria-labelledby="how-title"] {
  --section-photo: url("../media/pro/bg-process.webp");
}
main > .section#security,
main > .section[aria-labelledby="guard-title"] {
  --section-photo: url("../media/pro/workflow-photo.webp");
}
main > .section#what-we-handle,
main > .section[aria-labelledby="emails-title"] {
  --section-photo: url("../media/pro/bg-business-tech.webp");
}
main > .section#pricing,
main > .section[aria-labelledby="pricing-title"] {
  --section-photo: url("../media/pro/ecommerce-photo.webp");
}
main > .section#contact {
  --section-photo: url("../media/pro/bg-contact.webp");
}
main > .section#faq {
  --section-photo: url("../media/pro/bg-faq-office.webp");
}
main > .section.film-section,
main > .section--dark {
  --section-photo: url("../media/pro/bg-partners.webp");
  --section-wash: linear-gradient(90deg, rgb(4 17 26 / .84), rgb(4 17 26 / .80) 52%, rgb(4 17 26 / .76));
}
.section .card,
.section .feature-list li,
.section .faq details,
.section .pricing-explain,
.section .plan-calc,
.section .workflow-panel {
  background-color: var(--photo-panel);
}
.section .pricing-table {
  background: transparent;
}
.section .pricing-table td {
  background: var(--photo-panel);
}
.section .pricing-table tbody th {
  background: var(--photo-label-panel);
}
.section .pricing-table thead th {
  background: rgb(18 55 69 / .90);
}
.section .film-card {
  background: rgb(5 22 34 / .80);
}
.site-footer {
  background-image: linear-gradient(90deg, rgb(4 15 23 / .92), rgb(4 15 23 / .80)), url("../media/pro/workflow-photo.webp");
  background-position: center;
  background-size: cover;
}
@media (forced-colors: active) {
  main > .section,
  .site-footer { background-image: none; }
}
