/* A more expressive presentation of the recovered first website. */
:root { --studio-dark: #712049; --studio-ink: #4a1934; --studio-peach: #ffc6a3; }

/* The symbol changes with the header, while the link and its name stay stable. */
.site-header { transition: background .25s, color .25s, box-shadow .25s, border-color .25s; }
.site-header .brand-symbol { position: relative; display: block; width: 35px; height: 38px; flex: 0 0 35px; }
.site-header .brand-symbol img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s; }
.site-header .brand-symbol .brand-color { opacity: 0; }
.site-header.is-scrolled { background: #fffffffa; color: var(--studio-ink); border-color: #eadce3; box-shadow: 0 8px 28px #70213f14; }
.site-header.is-scrolled .brand { color: var(--studio-ink); }
.site-header.is-scrolled .brand-symbol img { opacity: 0; }
.site-header.is-scrolled .brand-symbol .brand-color { opacity: 1; }
.site-header.is-scrolled .header-cta { background: #aa2358; color: #fff; }
.site-header.is-scrolled .header-cta:hover { background: #8d1d49; }

.home-page { background: #94205b; }
.home-page main, .home-page .site-footer { background: #fffdf8; }
.home-page .site-header:not(.is-scrolled) { background: #94205b70; border-color: #ffffff30; box-shadow: none; color: #fff; }
.home-page .site-header:not(.is-scrolled) .language-dropdown > summary,
.home-page .site-header:not(.is-scrolled) .menu-toggle { border-color: #ffffff55; }
.home-page .site-header:not(.is-scrolled) .menu-toggle span { background: #fff; }
.home-page .site-header:not(.is-scrolled) :focus-visible { outline-color: #ffd0ae; }
.home-page .site-header .nav-panel :focus-visible,
.home-page .site-header .nav-list-panel :focus-visible,
.home-page .site-header .language-panel :focus-visible { outline-color: #aa2358; }
.home-page .site-header .site-nav.is-open :focus-visible { outline-color: #aa2358; }
.home-page .site-header .site-nav.is-open .language-dropdown > summary { border-color: #70213f50; }
.home-page .site-header:not(.is-scrolled) .header-cta { background: #ffcfb0; color: #582239; }
.home-page .site-header:not(.is-scrolled) .header-cta:hover { background: #fff0e2; }

/* Type-led learning outputs: illustrative content, rather than a fictional editor. */
.home-page .hero {
  margin-top: -92px;
  padding-top: 170px;
  background: linear-gradient(0deg, #7d185766, transparent 55%), radial-gradient(ellipse at 100% 10%, #ff814f50, transparent 60%), linear-gradient(115deg, #94205b 0%, #cb2865 62%, #ec5164 100%);
  color: #fffdf8;
}
.home-page .hero-grid { grid-template-columns: 1.18fr 1fr; gap: 64px; min-height: 565px; }
.home-page .hero-copy { padding: 30px 0 65px; }
.home-page .hero-copy .eyebrow { color: #ffd4b6; font-size: 11px !important; letter-spacing: .12em; margin-bottom: 30px; }
.home-page .eyebrow-dot { background: #ffbb8c; box-shadow: none; width: 8px; height: 8px; }
.home-page .hero h1 { font-size: clamp(58px, 6.55vw, 96px); letter-spacing: -.065em; line-height: 1.01; }
.home-page .hero h1 span { background: none; color: #ffc6a3; -webkit-text-fill-color: currentColor; white-space: normal; }
html[lang=en] .home-page .hero h1 { font-size: clamp(56px, 5.9vw, 86px); }
html[lang=es] .home-page .hero h1, html[lang=it] .home-page .hero h1, html[lang=fr] .home-page .hero h1 { font-size: clamp(54px, 5.6vw, 82px); }
.home-page .hero-description { color: #ffe9ee; font-size: 17px; line-height: 1.85; max-width: 530px; margin-top: 28px; }
.home-page .hero .button-primary { background: #ffcfb0; color: #582239; border-radius: 13px; box-shadow: none; }
.home-page .hero .button-primary:hover { background: #fff0e2; }
.home-page .hero-secondary { color: #fffdf8; border-bottom: 1px solid #ffffff50; padding-block: 10px; }
.home-page .hero-secondary:hover { color: #ffcfb0; }
.home-page .hero-note, .home-page .hero-note > span { color: #ffd2de; }
.home-page .hero-proof { border-color: #ffffff25; color: #fff3ee; min-height: 105px; }
.home-page .hero-proof > span > span { color: #ffbb8c; }
.home-page .hero-formats { color: #fff3ee; }
.learning-composition { position: relative; height: 505px; width: 100%; margin: 0 0 35px; isolation: isolate; color: #582239; }
.learning-backplate { position: absolute; inset: 28px 0 58px 18px; background: #ff9c70; border-radius: 24px; transform: rotate(5deg); }
.learning-cover { position: absolute; inset: 0 16px 94px 0; padding: 28px; border-radius: 24px; background: #ffd6e2; transform: rotate(-3deg); overflow: hidden; box-shadow: 0 18px 50px #6b19372b; display: flex; flex-direction: column; }
.cover-topline { display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: .13em; position: relative; z-index: 1; }
.cover-category { color: #7c3551; font-size: 10px; line-height: 1.6; letter-spacing: .1em; font-weight: 800; margin: 58px 0 16px; max-width: 240px; position: relative; z-index: 1; }
.cover-title { font-size: clamp(30px, 3vw, 43px); line-height: 1.08; letter-spacing: -.06em; font-weight: 800; max-width: 350px; position: relative; z-index: 1; }
.cover-footer { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; margin-top: auto; padding-top: 25px; position: relative; z-index: 1; }
.cover-footer > span:last-child { font-size: 31px; font-weight: 400; }
.cover-rings { position: absolute; width: 310px; height: 310px; right: -128px; top: 40px; border: 36px solid #e1478030; border-radius: 50%; }
.cover-rings:before { content: ''; position: absolute; inset: 23px; border: 2px solid #e1478060; border-radius: 50%; }
.story-preview { position: absolute; right: -3px; bottom: 2px; width: 213px; min-height: 258px; background: #bf2955; color: #fff; padding: 24px; border-radius: 20px; transform: rotate(5deg); box-shadow: 0 14px 45px #6b193732; }
.story-topline { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.story-title { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.055em; margin: 34px 0 18px; }
.story-preview p { color: #fff; font-size: 10px; line-height: 1.7; max-width: 160px; }
.story-progress { display: flex; gap: 5px; margin-top: 25px; }
.story-progress span { flex: 1; height: 3px; background: #ffffff45; border-radius: 3px; }
.story-progress span:first-child { background: #fff; }
.export-label { position: absolute; bottom: 23px; left: 14px; display: flex; align-items: center; gap: 14px; background: #fff7ef; padding: 15px 20px; border-radius: 13px; transform: rotate(-3deg); font-size: 18px; line-height: 1.2; font-weight: 800; box-shadow: 0 8px 30px #6b193722; }
.export-arrow { font-size: 30px; color: #c6374b; font-weight: 400; }
.export-label small { display: block; font-size: 9px; font-weight: 600; margin-top: 5px; }

/* Oversized format cards, with the same six real destinations in all languages. */
.formats-section { background: var(--studio-dark); color: #fff8f0; padding-top: 100px; padding-bottom: 110px; }
.formats-section .eyebrow { color: #ffb894; }
.formats-section .section-heading h2 { font-size: clamp(40px, 4.3vw, 62px); line-height: 1.06; }
.formats-section .section-heading > p { color: #f5d5e1; font-size: 15px; line-height: 1.9; max-width: 370px; }
.format-grid { gap: 30px; }
.format-card { background: #f0679e; color: var(--studio-ink); border: 0; border-radius: 20px; min-height: 353px; padding: 30px; overflow: visible; rotate: -1.3deg; transition: transform .25s, rotate .25s, box-shadow .25s, opacity .65s; }
.format-card:nth-child(2n) { rotate: 1deg; }
.format-card:nth-child(3n) { rotate: -.6deg; }
.format-card:nth-child(n+4) { margin-top: 6px; }
.format-card:hover { rotate: 0deg; transform: translateY(-8px); box-shadow: 0 18px 30px #47192f30; }
.format-digital-flipbook { background: #ffab78; }
.format-ai-video { background: #f16e86; }
.format-pdf-canva { background: #ffdbc1; }
.format-e-learning { background: #f88db6; }
.format-gamification { background: #ff9466; }
.format-number { font-size: 11px; color: inherit; letter-spacing: .04em; }
.format-card-top svg { width: 40px; height: 40px; }
.format-copy { margin-top: 44px; }
.format-card h3 { font-size: 32px; line-height: 1.12; letter-spacing: -.055em; max-width: 300px; margin-bottom: 16px; }
.format-card p { color: var(--studio-ink); font-size: 13px; line-height: 1.8; max-width: 280px; margin-bottom: 34px; }
.format-card .text-link { width: 100%; justify-content: space-between; font-size: 11px; margin-top: auto; color: inherit; }
.format-card .text-link > span { font-size: 28px; font-weight: 400; }
.formats-section :focus-visible { outline-color: #fff; }

/* Alternate warm paper and brand-colored sections instead of a single repeated surface. */
.home-page .value-section { padding: 85px 0; }
.home-page .value-heading h2 { font-size: 42px; }
.home-page .value-item h3 { color: var(--studio-ink); }
.home-page .workflow-section { background: #ffdec9; color: var(--studio-ink); }
.home-page .workflow-section .eyebrow,
.home-page .workflow-section h2 em,
.home-page .workflow-section .text-link { color: #a22352; }
.home-page .workflow-section p:not(.eyebrow) { color: #6d4253; }
.home-page .workflow-number { border-color: #8a315850; font-size: 15px; border-radius: 12px; }
.home-page .workflow-grid li:not(:last-child):after { color: #a22352; }
.home-page .scorm-editions { border-color: #8a315830; }
.home-page .scorm-editions > span { border-color: #8a315850; color: var(--studio-ink); }
.home-page .ai-section { background: #fffdf8; padding-top: 110px; padding-bottom: 110px; }
.home-page .feature-art { background: #ffe8da; transform: rotate(-2deg); border-radius: 24px; box-shadow: 10px 12px 0 #ffbc983f; }
.home-page .demo-section { background: var(--studio-dark); color: #fff7ef; }
.home-page .demo-copy .eyebrow, .home-page .demo-copy h2 em,
.home-page .demo-copy .text-link { color: #ffb894; }
.home-page .demo-copy > p:not(.eyebrow) { color: #f5d5e1; }
.home-page .demo-spark { display: none; }
.home-page .quiz-wrap { background: #ff9f79; }
.home-page .quiz-card { color: var(--text-ink); }
.home-page .lms-section, .home-page .faq-section { background: #fff6ed; }
.home-page .final-cta { background: #f380a7; color: var(--studio-ink); border-radius: 25px; }
.home-page .final-cta h2 em { background: none; color: #762646; -webkit-text-fill-color: currentColor; }
.home-page .final-cta > p:not(.eyebrow) { color: var(--studio-ink); }
.home-page .final-spark { display: none; }

@media (max-width: 1100px) {
  .home-page .hero { margin-top: -82px; padding-top: 140px; }
  .home-page .hero-grid { gap: 38px; min-height: 525px; }
  .home-page .hero h1 { font-size: clamp(58px, 6.8vw, 78px); }
  html[lang=en] .home-page .hero h1, html[lang=es] .home-page .hero h1, html[lang=it] .home-page .hero h1, html[lang=fr] .home-page .hero h1 { font-size: clamp(47px, 5.7vw, 64px); }
  .home-page .hero-description { font-size: 15px; }
  .learning-composition { height: 440px; margin-bottom: 20px; }
  .learning-cover { inset: 0 5px 90px 0; padding: 24px; }
  .cover-category { margin-top: 45px; font-size: 9px; }
  .cover-title { font-size: 32px; }
  .story-preview { width: 180px; min-height: 225px; padding: 20px; }
  .story-title { font-size: 25px; margin-top: 27px; }
  .export-label { left: 0; padding: 13px; font-size: 15px; gap: 8px; }
  .format-card { padding: 25px; }
  .format-card h3 { font-size: 29px; }
}
@media (max-width: 900px) {
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-card { min-height: 345px; }
  .format-card:nth-child(n+4) { margin-top: 0; }
}
@media (max-width: 767px) {
  .home-page .hero { padding-top: 130px; }
  .home-page .hero-grid { grid-template-columns: 1fr; gap: 16px; min-height: 0; }
  .home-page .hero-copy { padding: 5px 0 25px; }
  .home-page .hero h1 { font-size: clamp(52px, 10vw, 75px); max-width: 650px; }
  html[lang=en] .home-page .hero h1, html[lang=es] .home-page .hero h1, html[lang=it] .home-page .hero h1, html[lang=fr] .home-page .hero h1 { font-size: clamp(47px, 8.9vw, 66px); }
  .home-page .hero-copy .eyebrow { font-size: 9px !important; margin-bottom: 25px; }
  .home-page .hero-description { font-size: 15px; max-width: 520px; }
  .home-page .hero .button-row { flex-direction: row; align-items: center; gap: 18px; margin-top: 30px; }
  .learning-composition { height: 425px; width: min(100%, 450px); margin: 10px auto 30px; }
  .learning-cover { inset: 0 16px 85px 0; padding: 26px; }
  .cover-title { font-size: 36px; }
  .cover-category { margin-top: 40px; }
  .story-preview { right: 0; width: 180px; }
  .export-label { left: 10px; bottom: 12px; padding: 15px; }
  .home-page .hero-proof { min-height: 120px; gap: 18px 30px; font-size: 10px; flex-wrap: wrap; justify-content: flex-start; }
  .home-page .hero-formats { font-size: 10px; width: 100%; }
  .home-page .hero-proof > span > span { font-size: 20px; }
  .formats-section { padding: 75px 0 80px; }
  .formats-section .section-heading h2 { font-size: 42px; }
  .formats-section .section-heading > p { font-size: 14px; max-width: 480px; }
  .format-grid { gap: 24px; }
  .format-card { min-height: 330px; rotate: 0deg !important; padding: 25px; }
  .format-card h3 { font-size: 29px; }
  .format-card p { font-size: 12px; }
  .format-copy { margin-top: 35px; }
  .home-page .value-section, .home-page .ai-section { padding: 70px 0; }
  .home-page .value-heading h2 { font-size: 35px; }
}
@media (max-width: 600px) {
  .site-header .brand-symbol { width: 30px; height: 33px; flex-basis: 30px; }
  .home-page .hero { margin-top: -76px; padding-top: 120px; }
  .format-grid { grid-template-columns: 1fr; gap: 20px; }
  .format-card { min-height: 325px; padding: 28px; }
  .format-card h3 { font-size: 34px; }
  .format-card p { font-size: 14px; max-width: 400px; margin-bottom: 30px; }
  .format-copy { margin-top: 35px; }
}
@media (max-width: 390px) {
  .home-page .hero h1 { font-size: 49px; }
  html[lang=en] .home-page .hero h1, html[lang=es] .home-page .hero h1, html[lang=it] .home-page .hero h1, html[lang=fr] .home-page .hero h1 { font-size: 43px; }
  .home-page .hero-description { font-size: 14px; }
  .home-page .hero .button-row { gap: 15px; }
  .home-page .hero .button { padding: 14px 18px; font-size: 11px; gap: 14px; }
  .home-page .hero-secondary { font-size: 10px; }
  .learning-composition { height: 390px; }
  .learning-cover { padding: 22px; inset: 0 13px 90px 0; }
  .cover-category { margin-top: 33px; font-size: 8px; }
  .cover-title { font-size: 30px; }
  .cover-topline { font-size: 8px; }
  .cover-footer { font-size: 9px; }
  .story-preview { width: 153px; min-height: 215px; padding: 18px; }
  .story-title { font-size: 21px; }
  .story-preview p { font-size: 9px; }
  .story-topline { font-size: 8px; }
  .export-label { left: 2px; font-size: 14px; gap: 7px; padding: 12px; }
  .export-label small { font-size: 8px; }
  .export-arrow { font-size: 24px; }
  .formats-section .section-heading h2 { font-size: 37px; }
  .format-card { padding: 25px; }
  .format-card h3 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .brand-symbol img, .format-card { transition: none; }
  .format-card:hover { transform: none; }
}
@media print {
  .home-page .hero, .formats-section, .home-page .demo-section { background: #fff; color: #000; }
  .home-page .hero { margin-top: 0; padding-top: 25px; }
  .format-card { rotate: 0deg; break-inside: avoid; border: 1px solid #ddd; }
}
