/* Homepage only: photograph-led layout; shared public pages retain their styles. */
.home-page {
  --home-bg: #ffffff;
  --home-surface: #ffffff;
  --home-text: #172036;
  --home-muted: #526078;
  --home-border: #dce1eb;
  --home-accent: #2563eb;
  --home-accent-hover: #1d4ed8;
  --home-on-accent: #ffffff;
  --home-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  font-family: 'Manrope', 'Arial', sans-serif;
}
.home-page.dark {
  --home-bg: #101827;
  --home-surface: #192337;
  --home-text: #eef2f8;
  --home-muted: #b2bdd1;
  --home-border: #33415a;
}
body.home-page { background: var(--home-bg); color: var(--home-text); }
.home-page::after { display: none; }
.home-page .hero {
  background: var(--home-bg);
  min-height: auto;
  padding: 132px 0 64px;
}
.home-page .hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
}
.home-page .hero-copy { min-width: 0; }
.home-page .hero-context { font-size: 15px; color: var(--home-muted); margin-bottom: 24px; }
.home-page .hero-title {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--home-text);
}
.home-page .hero-subtitle { font-size: 18px; line-height: 1.6; color: var(--home-muted); max-width: 46ch; margin-bottom: 28px; }
.home-page .hero-actions { margin-bottom: 14px; gap: 12px; }
.home-page .hero-payment-note { color: var(--home-muted); font-size: 14px; margin-bottom: 32px; }
.home-page .hero-features { gap: 16px 24px; }
.home-page .hero-feature { color: var(--home-muted); font-size: 14px; }
.home-page .btn-primary { background: var(--home-accent); color: var(--home-on-accent); }
.home-page .btn-primary, .home-page .btn-outline {
  min-height: 48px;
  font-size: 16px;
  transition: transform 140ms var(--home-ease-out), background-color 180ms ease, border-color 180ms ease;
}
.home-page .btn-outline { color: var(--home-text); border-color: var(--home-border); }
.home-page .btn-primary:hover { transform: none; box-shadow: none; background: var(--home-accent); }
.home-page .btn-primary:active, .home-page .btn-outline:active { transform: scale(.98); }
.home-page .hero-comparison { margin: 0; min-width: 0; }
.home-page .comparison-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; margin-bottom: 12px; color: var(--home-text); }
.home-page .comparison-status { color: var(--home-muted); font-size: 12px; }
.home-page .hero-photo { aspect-ratio: 1 / 1; border-radius: 18px; background: var(--home-surface); border: 1px solid var(--home-border); }
.home-page .hero-comparison figcaption { margin-top: 14px; color: var(--home-muted); font-size: 13px; line-height: 1.5; max-width: 64ch; }
.comparison-label { position: absolute; top: 16px; z-index: 3; color: #fff; background: #172036; padding: 5px 12px; border-radius: 6px; font-size: 13px; pointer-events: none; }
.comparison-label-after { left: 16px; }
.comparison-label-before { right: 16px; }
.home-page .trust-section { padding: 28px 0 40px; border-top: 1px solid var(--home-border); }
.home-page .trust-grid { gap: 24px; }
.home-page .trust-stat .icon-circle { display: none; }
.home-page .trust-value { color: var(--home-text); font-size: 28px; }
.home-page .trust-label, .home-page .gallery-hint { color: var(--home-muted); }
.home-page .section-label { text-transform: none; letter-spacing: 0; color: var(--home-muted); }
.home-page .section-title { font-size: clamp(28px, 3vw, 40px); }
.home-page .card { transition: border-color 180ms ease; }
.home-page .card:hover { transform: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .home-page .btn-primary:hover { background: var(--home-accent-hover); transform: translateY(-1px); }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-page .hero-comparison { animation: home-photo-enter 500ms var(--home-ease-out) both; }
}
@keyframes home-photo-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .home-page .hero { padding: 104px 0 44px; }
  .home-page .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .home-page .hero-title { max-width: 20ch; }
  .home-page .hero-comparison { width: 100%; max-width: 600px; }
  .home-page .hero-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .home-page .hero-title { font-size: 36px; }
  .home-page .hero-subtitle { font-size: 16px; }
  .home-page .hero-actions { flex-direction: column; align-items: stretch; }
  .home-page .hero-actions a { justify-content: center; }
  .home-page .hero-context { font-size: 13px; margin-bottom: 16px; }
  .home-page .hero-photo { aspect-ratio: 1 / 1; }
}
/* Recomposed content blocks. Each has its own layout, not another card grid. */
.home-page main section:not(.hero):not(.trust-section) { padding-block: 72px; }
.home-page main section .section-label { display: none; }
.home-page .section-title { text-align: left; max-width: 24ch; margin: 0 0 36px; font-size: clamp(30px, 3vw, 42px); line-height: 1.18; font-weight: 700; }
.home-page .workflow-layout { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; align-items: start; }
.home-page .workflow-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 44px; list-style: none; margin: 0; padding: 0; }
.home-page .workflow-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.home-page .workflow-number { font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--home-accent); font-variant-numeric: tabular-nums; }
.home-page .workflow-steps h3, .home-page .safety-notes h3 { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 0 0 10px; }
.home-page .workflow-steps p, .home-page .safety-notes p { color: var(--home-muted); font-size: 16px; line-height: 1.7; margin: 0; }
.home-page .use-case-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 72px; align-items: start; }
.home-page .use-case-photo { margin: 0; min-width: 0; }
.home-page .use-case-photo .ba-container { aspect-ratio: 4/5; border-radius: 16px; }
.home-page .use-case-photo figcaption { font-size: 13px; line-height: 1.6; color: var(--home-muted); margin-top: 16px; max-width: 40ch; }
.home-page .use-case-links { display: grid; gap: 0; }
.home-page .use-case-links > a { display: block; padding: 22px 0; border-top: 1px solid var(--home-border); color: var(--home-text); }
.home-page .use-case-links h3 { display: flex; justify-content: space-between; align-items: start; gap: 16px; font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0 0 12px; }
.home-page .use-case-links h3 svg, .home-page .task-directory h3 svg, .home-page .directory-blog-link svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--home-accent); }
.home-page .use-case-links p { font-size: 16px; line-height: 1.7; color: var(--home-muted); max-width: 65ch; margin: 0; }
.home-page .why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; max-width: none; }
.home-page .why-item { padding: 0; border: 0; background: transparent; box-shadow: none; gap: 20px; align-items: flex-start; }
.home-page .why-item .icon-circle { width: 28px; height: 28px; padding: 0; background: transparent; color: var(--home-accent); }
.home-page .why-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.home-page .why-item p { font-size: 16px; line-height: 1.7; }
.home-page .scenarios-list, .home-page .faq-list { max-width: 960px; margin-left: 0; }
.home-page .scenario-item, .home-page .faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--home-border); border-radius: 0; box-shadow: none; margin-bottom: 0; }
.home-page .scenario-header, .home-page .faq-question { padding: 24px 0; min-height: 72px; }
.home-page .scenario-header > span, .home-page .faq-question-text { font-size: 18px; font-weight: 500; }
.home-page .scenario-content, .home-page .faq-answer-text { font-size: 16px; line-height: 1.75; padding: 0 0 24px; max-width: 75ch; }
.home-page .testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; }
.home-page .testimonial-card { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.home-page .testimonial-text { order: 0; margin: 0 0 18px; font-size: 18px; line-height: 1.7; color: var(--home-text); }
.home-page .testimonial-card > div:first-child { order: 2; margin-bottom: 0 !important; }
.home-page .testimonial-initials { display: none; }
.home-page .testimonial-name { font-size: 14px; font-weight: 600; }
.home-page .testimonial-role { font-size: 13px; }
.home-page .testimonial-stars { order: 1; font-size: 13px; margin: 0 0 14px; color: var(--home-muted); }
.home-page .guarantees-section { background: var(--site-raised); }
.home-page .safety-layout { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; }
.home-page .safety-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 44px; }
.home-page .closing-layout { display: grid; grid-template-columns: 1.6fr .65fr; gap: 80px; align-items: center; padding: 56px 64px; background: var(--site-raised); border-radius: 16px; }
.home-page .closing-copy .cta-title { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.15; font-weight: 600; text-align: left; max-width: 21ch; margin: 0 0 24px; }
.home-page .closing-copy .cta-subtitle { text-align: left; color: var(--home-muted); font-size: 17px; line-height: 1.7; margin: 0 0 28px; max-width: 52ch; }
.home-page .closing-copy .btn-primary svg { width: 18px; height: 18px; }
.home-page .closing-photo { margin: 0; padding: 8px; background: #fff; transform: rotate(3deg); box-shadow: 0 12px 30px rgb(23 32 54 / .10); }
.home-page .closing-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.home-page #photo-tasks .section-title { max-width: none; }
.home-page .task-directory-intro { max-width: 70ch; margin: 0 0 40px; color: var(--home-muted); font-size: 17px; line-height: 1.7; }
.home-page .task-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.home-page .task-directory a { color: var(--home-text); }
.home-page .task-directory h3 { display: flex; justify-content: space-between; gap: 16px; font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.home-page .task-directory p { font-size: 16px; line-height: 1.7; color: var(--home-muted); margin: 0; }
.home-page .blog-status { grid-column: 1 / -1; margin: 0; color: var(--home-muted); font-size: 16px; line-height: 1.7; }
.home-page .directory-blog-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; font-size: 16px; line-height: 1.5; color: var(--home-accent); text-decoration: underline; text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .home-page .use-case-links > a:hover h3, .home-page .task-directory a:hover h3 { color: var(--home-accent); }
}
@media (max-width: 1023px) {
  .home-page .workflow-layout, .home-page .safety-layout { grid-template-columns: 1fr; gap: 12px; }
  .home-page .use-case-layout { gap: 36px; grid-template-columns: .8fr 1.2fr; }
  .home-page .closing-layout { padding: 40px; gap: 40px; }
  .home-page .task-directory { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .home-page main section:not(.hero):not(.trust-section) { padding-block: 48px; }
  .home-page .section-title { margin-bottom: 28px; font-size: 30px; }
  .home-page .workflow-steps { grid-template-columns: 1fr; gap: 28px; }
  .home-page .use-case-layout { display: flex; flex-direction: column; gap: 28px; }
  .home-page .use-case-copy { order: 0; width: 100%; }
  .home-page .use-case-photo { order: 1; width: 100%; max-width: 480px; }
  .home-page .use-case-photo .ba-container { aspect-ratio: 1; }
  .home-page .use-case-links h3 { font-size: 20px; }
  .home-page .why-list, .home-page .testimonials-grid, .home-page .safety-notes, .home-page .task-directory { grid-template-columns: 1fr; gap: 28px; }
  .home-page .closing-layout { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .home-page .closing-photo { max-width: 220px; justify-self: end; }
  .home-page .testimonial-text { font-size: 17px; }
  .home-page .directory-blog-link { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
  .home-page .btn-primary:hover, .home-page .btn-primary:active, .home-page .btn-outline:active { transform: none; }
}
