/* Illustrated home: scoped so product pages and consent UI keep their theme. */
.home-page {
  background: #faf8f3;
}

.home-page > header,
.home-page > main {
  --text: #17233b;
  --muted: #4f5b70;
  --line: #dce1e8;
  color: var(--text);
}

.home-page .home-hero {
  background: #faf8f3;
  overflow: visible;
  border: 0;
  padding-bottom: 0;
}

.home-page .home-hero::before { display: none; }
.home-page .home-nav { flex-direction: row; align-items: center; gap: 24px; border-bottom: 1px solid #e3e3df; }
.home-page .home-brand { font-size: 1.05rem; }
.home-page .home-nav-links { gap: 22px; }
.home-page .home-nav-links a:hover { color: #2854d7; }
.home-page .language-switcher summary { background: #fff; border-color: #d7dce4; }
.home-page .language-menu { left: auto; right: 0; background: #fff; box-shadow: 0 16px 35px #17233b18; }
.home-page .language-menu a:hover,
.home-page .language-menu a[aria-current="page"] { background: #edf1ff; }

.story-hero { padding-top: clamp(40px, 6vw, 76px); }
.story-kicker { margin: 0 0 18px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #2854bd; }
.story-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(2.15rem, 4.5vw, 3.7rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.story-hero h1 > span { color: #3059d7; }
.story-hero-intro { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; margin: 24px 0 0; }
.story-hero .home-benefits-grid h2 { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.35; }
.story-hero .home-benefits-grid article > span { color: #2854bd; }
.home-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 28px 0 48px; }
.home-contact .story-kicker { color: #a8beff; }
.home-contact h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.25; margin: 0; }
.home-contact > p { font-size: 1.1rem; line-height: 2; color: #ccd5e8; }
.home-contact a { color: #fff; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.home-contact a:hover { color: #cce994; }
.home-page .btn { gap: 12px; line-height: 1.45; text-align: center; padding: 13px 22px; min-height: 48px; }
.home-page header .btn-primary,
.home-page main .btn-primary { color: #fff; background: #2d54cf; box-shadow: none; border: 1px solid #2d54cf; }
.home-page header .btn-primary:hover,
.home-page main .btn-primary:hover { background: #2042ae; transform: translateY(-2px); }
.home-page .btn-secondary { background: transparent; border: 1px solid #bcc4d2; color: #233550; }
.home-page .btn-secondary:hover { background: #eaf0ff; border-color: #3059d7; }
.home-page a:focus-visible,
.home-page summary:focus-visible { outline: 3px solid #4165e4; outline-offset: 5px; }
.story-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid #dce1e8; border-bottom: 1px solid #dce1e8; }
.story-shortcuts a { display: flex; align-items: center; gap: 12px; padding: 23px 18px; font-size: .94rem; font-weight: 750; transition: background .2s; }
.story-shortcuts a + a { border-left: 1px solid #dce1e8; }
.story-shortcuts a:hover { background: #e8edfb; }
.story-shortcuts a > span:last-child { margin-left: auto; font-size: 1.25rem; color: #3059d7; }
.story-shortcut-number { color: #3059d7; font-size: .75rem; font-weight: 800; }

.story-section-heading { padding-top: 60px; padding-bottom: 18px; }
.story-section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.035em; margin: 0 0 14px; }
.story-section-heading > p { max-width: 740px; color: var(--muted); line-height: 1.75; margin: 0; }
.service-story { padding: clamp(38px, 6vw, 76px) 0; scroll-margin-top: 24px; }
.service-story-2 { background: #eaf0ff; }
.service-story-3 { background: #f9f7f1; }
.service-story-4 { background: #eef2e5; }
.service-story-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 84px); }
.service-story-art { width: 100%; max-width: 500px; margin: 0; }
.service-story-art img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 16px 36px #10213b20; }
.service-story:nth-of-type(even) .service-story-art { grid-column: 2; grid-row: 1; justify-self: end; }
.service-story:nth-of-type(even) .service-story-copy { grid-column: 1; grid-row: 1; }
.service-story-copy { max-width: 520px; }
.service-story-copy .story-kicker { display: flex; align-items: center; gap: 12px; }
.service-story-number { display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #bcc9e5; border-radius: 50%; }
.service-story-copy h3 { font-size: clamp(1.9rem, 3.35vw, 2.9rem); line-height: 1.16; letter-spacing: -.035em; margin: 0 0 23px; text-wrap: balance; }
.service-story-description { font-size: 1.05rem; line-height: 1.8; color: var(--muted); margin: 0; }
.service-story-copy ul { list-style: none; padding: 0; margin: 24px 0 30px; }
.service-story-copy li { position: relative; padding: 0 0 0 28px; margin: 12px 0; line-height: 1.65; }
.service-story-copy li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #3154b3; font-weight: 800; }
.story-contact { max-width: 100%; }

.home-page .home-benefits-section { background: #fff; }
.home-page main .section-kicker { color: #2854bd; }
.home-page main .section-heading p { color: var(--muted); }
.home-page .home-benefits-grid article { background: transparent; }
.home-page .home-benefits-grid article > span { color: #2854bd; }
.home-page #portfolio { background: #faf8f3; }
.home-page .studio-product-status { color: #3657ac; }
.home-page .studio-product-row:hover { background: #edf1fb; border-color: #a8b9de; }
.home-page .studio-product-play { box-shadow: none; background: #e6edff; border-color: #c4d0ef; }
.home-page .home-principles-section { background: #edf2fa; }
.home-page .home-principles-grid article { background: transparent; border-radius: 0; border: 0; padding: 12px 20px 12px 0; }
.home-page .home-principles-grid article > span { color: #2854bd; }
.home-page .home-cta-section { background: #faf8f3; }
.home-page .home-cta { background: #e9efd9; border: 0; border-radius: 24px; padding: clamp(24px, 4vw, 48px); max-width: var(--max); }
.home-page .home-footer { background: #101b30; color: #f5f7ff; }

@media (max-width: 1000px) {
  .home-page .home-nav { flex-wrap: wrap; }
  .home-page .home-nav-links { order: 3; width: 100%; justify-content: center; }
  .story-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-shortcuts a:nth-child(3) { border-left: 0; }
  .story-shortcuts a:nth-child(n+3) { border-top: 1px solid #dce1e8; }
}

@media (max-width: 760px) {
  .home-contact { grid-template-columns: 1fr; gap: 16px; }
  .home-page .home-brand { max-width: calc(100% - 155px); font-size: .9rem; gap: 8px; }
  .home-page .home-brand-mark { width: 32px; height: 32px; }
  .home-page .home-nav { gap: 18px 10px; }
  .home-page .language-switcher summary { min-width: 128px; }
  .home-page .home-nav-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
  .home-page .home-nav-links a { font-size: .85rem; }
  .story-hero h1 { letter-spacing: -.035em; }
  .story-hero-intro { margin-top: 20px; }
  .home-page .story-hero .home-hero-actions { align-items: stretch; }
  .home-page .story-hero .home-hero-actions .btn { width: 100%; flex-basis: 100%; }
  .story-shortcuts { margin-top: 32px; }
  .story-shortcuts a { gap: 8px; padding: 18px 10px; font-size: .82rem; }
  .story-section-heading { padding-top: 40px; }
  .service-story-layout { grid-template-columns: 1fr; gap: 28px; }
  .service-story-art { max-width: 520px; justify-self: center; }
  .service-story-copy { max-width: none; }
  .service-story:nth-of-type(even) .service-story-art,
  .service-story:nth-of-type(even) .service-story-copy { grid-column: auto; grid-row: auto; justify-self: center; }
  .service-story-copy h3 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .service-story-art img { border-radius: 14px; }
  .story-contact { width: 100%; }
}

.promotion-guide { margin-top: 48px; color: #17233b; }
.promotion-guide h4 { font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.25; margin: 10px 0 16px; }
.promotion-intro { max-width: 850px; line-height: 1.8; color: #4f5b70; }
.promotion-channels { margin-top: 26px; border-top: 1px solid #cbd4e3; }
.promotion-channel { border-bottom: 1px solid #cbd4e3; }
.promotion-channel summary { cursor: pointer; padding: 22px 8px; line-height: 1.6; }
.promotion-name { font-weight: 750; margin-right: 20px; }
.promotion-budget { display: inline-block; color: #2854bd; font-size: .95rem; }
.promotion-channel[open] { background: #fffdf8; }
.promotion-channel-body { padding: 0 24px 18px; max-width: 920px; }
.promotion-channel-body p, .promotion-budget-note p { line-height: 1.8; margin: 0 0 14px; }
.promotion-budget-note { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: #e9efd9; border-radius: 20px; }
.promotion-budget-note h5 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 16px; }
.promotion-cost-note, .promotion-sources { font-size: .9rem; line-height: 1.7; color: #4f5b70; }
.promotion-cost-note { margin-top: 20px; }
.promotion-sources summary { cursor: pointer; padding: 12px 0; }
.promotion-sources ul { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; }
.promotion-sources a { color: #2854bd; text-decoration: underline; }
.promotion-guide summary:focus-visible { outline: 3px solid #2854bd; outline-offset: 3px; }
@media (max-width: 760px) {
  .promotion-budget { display: block; margin-left: 18px; }
  .promotion-channel-body { padding: 0 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page a { transition: none; }
  .home-page .btn:hover { transform: none; }
}
