/* Homepage only. Shared navigation, footer and inner pages retain their styles. */
.home-page { --home-deep: #073d36; --home-border: #dce4dd; overflow: clip; }
.home-page h2 { font-size: clamp(32px, 3.35vw, 48px); line-height: 1.4; letter-spacing: -.04em; }
.home-page .home-kicker { margin: 0 0 22px; color: var(--green); font-size: 16px; font-weight: 550; letter-spacing: .1em; }
.home-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-section { padding: 108px 0; }
.home-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 48px; }
.home-section-head > p { max-width: 390px; padding-bottom: 7px; }
/* Static network geometry with slow inward light segments; navigation sits below it. */
.home-hero { background: #fff; color: var(--green); }
.home-hero-scene { position: relative; isolation: isolate; background: #f0f5ed; overflow: hidden; }
.home-network { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, #fafbf5 0%, #f0f5ed 53%, #e4eee2 100%); }
.home-network-art { display: block; width: 100%; height: 100%; }
.home-network-mobile { display: none; width: 100%; height: 100%; }
.home-network-traces { opacity: .64; }
.home-network-traces-gold { opacity: .8; }
.home-network-nodes { opacity: .85; }
.home-network-hubs { opacity: .9; }
.home-network-path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.home-network-flow { display: none; fill: none; stroke: #348260; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .11 1.2; stroke-dashoffset: .11; opacity: .72; }
.home-network-flow--gold { stroke: #aa8e4d; stroke-width: 2; }
.home-hero-scene::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 48% 38% at 50% 48%, #f5f8ef 10%, #f5f8efd9 62%, #f5f8ef00 100%), linear-gradient(0deg, #fff 0%, #ffffffed 9%, #ffffff00 32%); }
.home-hero-main { min-height: 590px; display: flex; align-items: center; justify-content: center; padding-block: 125px; }
.home-hero-copy { width: 100%; text-align: center; }
.home-hero h1 { color: #104f43; font-size: clamp(58px, 7.8vw, 108px); line-height: 1.35; letter-spacing: -.035em; font-weight: 650; margin: 0; }
.home-hero h1 > span { display: inline-block; }
.home-growth-future { margin-left: .22em; }
.home-hero-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 20px 0 28px; border-bottom: 1px solid #e1e7df; background: #fff; }
.home-hero-nav > a { display: flex; align-items: center; gap: 14px; padding: 17px 28px; position: relative; border-radius: 6px; transition: background .2s; }
.home-hero-nav > a:first-child { padding-left: 12px; }
.home-hero-nav > a:last-child { padding-right: 12px; }
.home-hero-nav > a + a::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: #e0e7df; }
.home-hero-nav > a > span { color: #786744; font-size: 14px; align-self: flex-start; padding-top: 4px; }
.home-hero-nav strong { font-size: 20px; font-weight: 550; display: block; }
.home-hero-nav small { font-size: 14px; display: block; color: #415b4b; margin-top: 5px; }
.home-hero-nav .icon { width: 18px; margin-left: auto; color: #698473; }
.home-hero-nav > a:hover { background: #f2f6f0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes home-network-build { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes home-network-flow { from { stroke-dashoffset: .11; } to { stroke-dashoffset: -1.2; } }
  @keyframes home-growth-fill {
    0% { color: transparent; -webkit-text-stroke: 1px #397f68; }
    35% { color: #104f431a; -webkit-text-stroke: 1px #397f68b3; }
    100% { color: #104f43; -webkit-text-stroke: 1px transparent; }
  }
  .home-network-path { animation: home-network-build 2s cubic-bezier(.3,.1,.2,1) 1; }
  .home-motion-enabled .home-network-flow { display: block; animation: home-network-flow 20s linear infinite; }
  .home-motion-enabled .home-network-flow:nth-child(3n+1) { animation-duration: 22s; animation-delay: -6s; }
  .home-motion-enabled .home-network-flow:nth-child(3n+2) { animation-duration: 18s; animation-delay: -12s; }
  .home-motion-enabled .home-network-flow:nth-child(4n) { animation-delay: -16s; }
  .home-motion-idle .home-network-flow { animation-play-state: paused; }
  @supports (-webkit-text-stroke: 1px #104f43) {
    .home-hero h1 > span { animation: home-growth-fill 1.8s ease-out 1; }
  }
}
@media (prefers-reduced-motion: reduce), print {
  .home-network-path { animation: none !important; stroke-dashoffset: 0; }
  .home-network-flow { display: none !important; animation: none !important; }
  .home-hero h1 > span { animation: none !important; color: #104f43; -webkit-text-stroke: 0; }
}
.home-intro { background: #fff; padding: 96px 0 0; }
.home-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-bottom: 64px; border-bottom: 1px solid var(--home-border); }
.home-intro h2 { font-size: clamp(30px, 2.8vw, 40px); }
.home-intro-copy p + p { margin-top: 16px; }
.home-intro-copy .text-link { margin-top: 22px; }
.home-course { background: #fff; }
.home-course-layout { display: grid; grid-template-columns: .95fr 1fr; gap: 90px; align-items: center; }
.home-course-art { background: #eff1e9; padding: 27px; border-radius: 14px; transform: rotate(-2deg); }
.home-course-art a { display: block; overflow: hidden; border-radius: 6px; }
.home-course-art img { display: block; width: 100%; height: auto; }
.home-course-art-caption { display: flex; gap: 12px; justify-content: space-between; font-size: 14px; color: #677568; margin-top: 23px; }
.home-course-copy > p { font-size: 20px; line-height: 1.85; color: #43534a; }
.home-course-chapters { margin: 26px 0 30px; }
.home-course-chapters a { display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--home-border); padding: 19px 0; }
.home-course-chapters a > span { color: #9b855c; font-size: 14px; }
.home-course-chapters strong { font-size: 20px; font-weight: 550; display: block; }
.home-course-chapters small { font-size: 14px; color: #768179; display: block; margin-top: 4px; }
.home-course-chapters .icon { margin-left: auto; width: 18px; color: var(--green); transition: transform .2s; }
.home-course-chapters a:hover .icon { transform: translateX(4px); }
.home-products { background: #f1f3ee; }
.home-product-showcase { background: #fff; border: 1px solid #dbe3da; border-radius: 18px; overflow: hidden; }
.home-tabs-list { display: flex; }
.home-product-tabs { padding: 0 35px; gap: 28px; border-bottom: 1px solid var(--home-border); }
.home-product-tabs a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 23px 16px; border-bottom: 3px solid transparent; color: #63736a; font-size: 18px; }
.home-product-tabs a[aria-selected='true'] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.home-product-tabs a:hover { color: var(--green); background: #f6f8f4; }
.home-product-panel { display: grid; grid-template-columns: .92fr 1.3fr; align-items: center; min-height: 475px; padding: 40px 44px 44px; gap: 34px; }
.home-product-panel + .home-product-panel { border-top: 1px solid var(--home-border); }
.home-tabs-enhanced .home-product-panel { border: 0; }
.home-edition { font-size: 14px; color: var(--green); border: 1px solid #c7d8cb; border-radius: 5px; padding: 4px 10px; display: inline-block; margin-bottom: 19px; }
.home-product-copy h3 { font-size: 34px; line-height: 1.4; margin-bottom: 18px; }
.home-product-copy > p { font-size: 18px; }
.home-feature-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 12px; color: #476457; font-size: 16px; }
.home-feature-list li { border-left: 2px solid #c8ab6d; padding-left: 10px; }
.home-product-copy .button { font-size: 16px; }
.home-product-visual { display: block; background: #f5f7f2; border-radius: 12px; overflow: hidden; }
.home-product-visual img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.home-product-visual:hover img { transform: scale(1.02); }
.home-product-collection { display: block; padding: 30px; }
.home-collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 4px 24px; }
.home-collection-heading h3 { font-size: 22px; color: #244c3c; }
.home-collection-heading p { font-size: 16px; color: #788378; }
.home-scenario-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-scenario-card { display: flex; flex-direction: column; background: #f6f7f3; border: 1px solid #e0e6db; border-radius: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.home-scenario-card:hover { border-color: #8ba99a; box-shadow: 0 8px 24px #194b3510; }
.home-scenario-art { padding: 12px 20px 0; background: #ecf0e8; }
.home-scenario-art img { display: block; width: 100%; height: auto; aspect-ratio: 1.75; object-fit: contain; }
.home-scenario-copy { display: flex; flex: 1; flex-direction: column; padding: 22px 23px; }
.home-scenario-copy > span:first-child { font-size: 14px; color: #8b7953; margin-bottom: 7px; }
.home-scenario-copy h3 { font-size: 22px; color: #214839; margin-bottom: 10px; }
.home-scenario-copy p { font-size: 16px; line-height: 1.8; flex: 1; }
.home-ai { background: #103f37; color: #f7f5ed; }
.home-ai .home-kicker { color: #d7bd8b; }
.home-ai h2 { color: #f2f3e9; }
.home-ai-intro { width: 390px; max-width: 45%; }
.home-ai-intro p { color: #c2d4c8; }
.home-ai .text-link { color: #ead5a5; margin-top: 20px; }
.home-ai-showcase { border: 1px solid #a8cbbf40; border-radius: 14px; overflow: hidden; background: #0a312b; }
.home-ai-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 26px; border-bottom: 1px solid #a8cbbf40; }
.home-ai-tabs { gap: 28px; }
.home-ai-tabs a { font-size: 16px; color: #b6cfc1; padding: 22px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.home-ai-tabs a[aria-selected='true'] { border-color: #e6c88b; color: #f1deba; }
.home-ai-tabs a:hover { color: #fff; }
.home-example-label { font-size: 14px; color: #b6c7bc; white-space: nowrap; }
.home-ai-panel { padding: 25px 25px 0; }
.home-ai-image-link { display: block; border-radius: 8px; overflow: hidden; background: #eeeee7; }
.home-ai-image-link img { display: block; width: 100%; aspect-ratio: 1.94; object-fit: contain; object-position: center; }
.home-ai-caption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 2px; }
.home-ai-caption p { font-size: 16px; color: #c5d5ca; }
.home-ai-caption a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 16px; color: #edd5a5; }
.home-ai-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 23px; }
.home-ai-bottom p { color: #a9c1b3; font-size: 14px; max-width: 65%; }
.home-ai-bottom a { display: inline-flex; gap: 8px; align-items: center; color: #d3ded3; font-size: 14px; }
.home-ai-bottom .icon { width: 16px; }
.home-service { background: var(--cream); }
.home-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #ccd8cc; }
.home-services > a { position: relative; padding: 36px 40px 0; display: flex; align-items: flex-start; flex-direction: column; }
.home-services > a:first-child { padding-left: 0; }
.home-services > a:last-child { padding-right: 0; }
.home-services > a + a { border-left: 1px solid #dce3d9; }
.home-services > a > .icon { color: var(--green); width: 34px; height: 34px; margin-bottom: 27px; }
.home-service-no { position: absolute; right: 40px; top: 35px; color: #8a9a8d; font-size: 14px; }
.home-services h3 { font-size: 26px; margin-bottom: 16px; }
.home-services p { flex: 1; }
.home-inline-link { margin-top: 28px; display: inline-flex; align-items: center; gap: 13px; color: var(--green); font-size: 16px; }
.home-services > a:hover h3 { color: var(--green); }
/* Company information shares the page container and a single quiet canvas. */
.home-company { background: #fff; padding-bottom: 86px; }
.home-company-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.home-company-photo { overflow: hidden; border-radius: 12px; }
.home-company-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; }
.home-company-copy > p:not(.home-kicker) { margin-top: 26px; }
.home-company-links { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 28px; }
.home-company-links .text-link { font-size: 16px; }
.home-company-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 55px 0 0; padding: 32px 0 0; border-top: 1px solid var(--home-border); }
.home-company-facts > div { display: flex; align-items: baseline; gap: 25px; }
.home-company-facts > div + div { padding-left: 32px; border-left: 1px solid var(--home-border); }
.home-company-facts dt { font-size: 14px; color: #66786a; }
.home-company-facts dd { margin: 0; font-size: clamp(32px,3vw,44px); color: var(--green); font-weight: 550; line-height: 1.3; white-space: nowrap; }
.home-company-facts dd span { font-size: 14px; font-weight: 400; color: #66786a; margin-left: 7px; }
.home-start { padding: 0 0 88px; background: #fff; }
.home-start-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 85px; padding: 62px; border-radius: 16px; color: #f5f5e9; background: #0e4a40; }
.home-start .home-kicker { color: #dfc38c; margin-bottom: 18px; }
.home-start h2 { color: #f5f5e9; font-size: clamp(32px,3.3vw,46px); }
.home-start-copy > p:last-child { color: #c1d4c7; font-size: 16px; margin-top: 23px; max-width: 26em; }
.home-start-actions { align-self: center; }
.home-start-actions > a { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; }
.home-start-actions > a + a { border-top: 1px solid #b3c9b84a; }
.home-start-actions strong { display: block; font-size: 23px; font-weight: 550; color: #f2e6c9; }
.home-start-actions span { display: block; font-size: 14px; color: #abc7b6; margin-top: 8px; }
.home-start-actions .icon { width: 46px; height: 46px; padding: 12px; border: 1px solid #a7bc9f73; border-radius: 50%; color: #edd1a0; transition: background .2s; }
.home-start-actions > a:hover .icon { background: #7aa08d30; }
@media (prefers-reduced-motion: no-preference) {
  .home-reveal-pending { opacity: 0; translate: 0 22px; transition: opacity .65s ease, translate .65s ease; }
  .home-reveal-pending.is-revealed { opacity: 1; translate: none; }
}
@media (min-width: 1700px) { .home-hero-main { min-height: 710px; } }
@media (max-width: 1150px) {
  .home-hero-main { min-height: 550px; }

  .home-hero-nav > a { padding-inline: 16px; gap: 10px; }
  .home-hero-nav .icon { display: none; }
  .home-intro-grid { gap: 60px; }
  .home-product-panel { padding: 32px; gap: 20px; }
  .home-product-copy h3 { font-size: 30px; }
  .home-scenario-grid { gap: 16px; }
  .home-scenario-copy { padding: 20px; }
  .home-course-layout { gap: 55px; }
  .home-course-art { padding: 18px; }
  .home-course-art-caption { flex-direction: column; gap: 2px; margin-top: 15px; }
  .home-ai-tabs { gap: 20px; }
  .home-ai-toolbar { flex-wrap: wrap; gap: 0; }
  .home-example-label { padding-block: 0 18px; }
  .home-company-layout { gap: 50px; }
  .home-company-facts > div { flex-direction: column; gap: 14px; }
  .home-start-panel { padding: 48px; gap: 55px; }
}
@media (max-width: 900px) {
  .home-section { padding: 78px 0; }
  .home-hero h1 { font-size: clamp(48px,7.8vw,68px); }
  .home-hero-main { min-height: 470px; padding-block: 95px; }
  .home-hero-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-hero-nav { padding-top: 12px; gap: 4px 0; }
  .home-hero-nav > a, .home-hero-nav > a:last-child { padding: 20px; }
  .home-hero-nav > a:nth-child(odd) { padding-left: 12px; }
  .home-hero-nav > a:nth-child(odd)::before { display: none; }
  .home-hero-nav .icon { display: block; }
  .home-intro { padding-top: 78px; }
  .home-intro-grid { gap: 35px; padding-bottom: 48px; }
  .home-section-head { gap: 30px; }
  .home-section-head > p { max-width: 310px; }
  .home-product-tabs { padding: 0 20px; gap: 5px; justify-content: space-between; }
  .home-product-tabs a { padding: 20px 10px; font-size: 16px; }
  .home-product-panel { grid-template-columns: 1fr 1fr; }
  .home-product-copy h3 { font-size: 28px; }
  .home-scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-course-layout { gap: 38px; grid-template-columns: .85fr 1fr; }
  .home-course-copy > p { font-size: 18px; }
  .home-ai-intro { max-width: 43%; }
  .home-ai-toolbar { display: block; padding-inline: 22px; }
  .home-ai-tabs { justify-content: space-between; gap: 16px; }
  .home-example-label { display: block; padding-block: 0 15px; }
  .home-services > a { padding-inline: 26px; }
  .home-service-no { right: 26px; }
  .home-company-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .home-company-photo img { aspect-ratio: 1; }
  .home-start-panel { padding: 40px; gap: 35px; }
  .home-start-actions strong { font-size: 21px; }
}
@media (max-width: 700px) {
  .home-page .container { width: calc(100% - 40px); }
  .home-page { font-size: 16px; }
  .home-section { padding: 64px 0; }
  .home-page h2 { font-size: 31px; }
  .home-page .home-kicker { font-size: 14px; margin-bottom: 18px; }
  .home-hero-main { min-height: 480px; padding: 85px 0 100px; }
  .home-network-art { display: none; }
  .home-network-mobile { display: block; }
  .home-network-traces { opacity: .56; }
  .home-network-hubs { opacity: .55; }
  .home-hero h1 > span { display: block; }
  .home-growth-future { margin-left: 0; }
  .home-hero h1 { font-size: clamp(54px,14vw,76px); line-height: 1.45; letter-spacing: .01em; }

  .home-hero-nav { padding-bottom: 20px; }
  .home-hero-nav > a, .home-hero-nav > a:last-child, .home-hero-nav > a:nth-child(odd) { padding: 18px 8px; gap: 9px; }
  .home-hero-nav > a:nth-child(even) { padding-left: 16px; }
  .home-hero-nav strong { font-size: 18px; }
  .home-hero-nav small { font-size: 14px; max-width: 145px; line-height: 1.6; }
  .home-hero-nav .icon { display: none; }
  .home-hero-nav > a > span { display: none; }
  .home-intro { padding: 58px 0 0; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 25px; padding-bottom: 40px; }
  .home-intro-copy .text-link { font-size: 16px; }
  .home-section-head { display: block; margin-bottom: 30px; }
  .home-section-head > p { margin-top: 22px; max-width: none; }
  .home-product-showcase { border-radius: 12px; }
  .home-product-tabs { padding: 0 10px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; }
  .home-product-tabs a { padding: 16px 4px; gap: 7px; }
  .home-product-tabs .icon { width: 19px; }
  .home-product-panel { grid-template-columns: 1fr; gap: 28px; padding: 26px 23px; min-height: auto; }
  .home-product-copy h3 { font-size: 29px; }
  .home-product-copy > p { font-size: 16px; }
  .home-edition { margin-bottom: 16px; }
  .home-feature-list { margin: 20px 0 24px; font-size: 16px; gap: 8px; }
  .home-product-visual { margin: 0 -5px; }
  .home-product-collection { padding: 22px 18px; }
  .home-collection-heading { display: block; margin-bottom: 22px; }
  .home-collection-heading h3 { font-size: 21px; }
  .home-collection-heading p { margin-top: 8px; }
  .home-scenario-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-scenario-art { padding: 10px 18px 0; }
  .home-scenario-copy { padding: 20px; }
  .home-course-layout { display: flex; flex-direction: column; gap: 42px; }
  .home-course-art { max-width: 420px; width: calc(100% - 12px); padding: 18px; transform: rotate(-1.5deg); }
  .home-course-art-caption { flex-direction: row; font-size: 14px; }
  .home-course-copy > p { font-size: 16px; }
  .home-course-chapters { margin: 22px 0 26px; }
  .home-course-chapters a { padding: 17px 0; gap: 15px; }
  .home-course-chapters strong { font-size: 18px; }
  .home-course-copy .button { font-size: 16px; }
  .home-ai-intro { max-width: none; width: auto; margin-top: 24px; }
  .home-ai .text-link { font-size: 16px; margin-top: 15px; }
  .home-ai-toolbar { padding: 0 16px; }
  .home-ai-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 13px; }
  .home-ai-tabs a { font-size: 16px; padding: 16px 0 12px; text-align: center; }
  .home-example-label { padding: 15px 0; font-size: 14px; }
  .home-ai-panel { padding: 12px 12px 0; }
  .home-ai-image-link { overflow-x: auto; border-radius: 5px; }
  .home-ai-image-link img { min-width: 660px; max-width: none; width: 100%; }
  .home-ai-caption { display: block; padding: 21px 6px; }
  .home-ai-caption a { margin-top: 12px; white-space: normal; }
  .home-ai-bottom { flex-direction: column; gap: 16px; margin-top: 21px; }
  .home-ai-bottom p { max-width: none; }
  .home-services { grid-template-columns: 1fr; }
  .home-services > a, .home-services > a:first-child, .home-services > a:last-child { padding: 29px 0; }
  .home-services > a + a { border-left: 0; border-top: 1px solid var(--home-border); }
  .home-services > a > .icon { width: 30px; height: 30px; margin-bottom: 21px; }
  .home-service-no { right: 0; top: 27px; }
  .home-services h3 { font-size: 24px; margin-bottom: 13px; }
  .home-inline-link { margin-top: 20px; }
  .home-company-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-company-photo img { aspect-ratio: 1.35; }
  .home-company-copy > p:not(.home-kicker) { margin-top: 22px; }
  .home-company-facts { gap: 20px; margin-top: 32px; padding-top: 26px; }
  .home-company-facts > div { gap: 12px; }
  .home-company-facts > div + div { padding-left: 0; border-left: 0; }
  .home-company-facts dt { min-height: 45px; max-width: 6em; }
  .home-company-facts dd { font-size: 29px; }
  .home-company-facts dd span { display: block; margin: 8px 0 0; }
  .home-start { padding-bottom: 60px; }
  .home-start-panel { grid-template-columns: 1fr; padding: 32px 26px; gap: 22px; border-radius: 12px; }
  .home-start-copy > p:last-child { margin-top: 20px; }
  .home-start-actions strong { font-size: 21px; }
  .home-start-actions > a { padding-block: 23px; }
  .home-start-actions > a:last-child { padding-bottom: 6px; }
}
@media (max-width: 360px) {
  .home-page .container { width: calc(100% - 32px); }
  .home-page h2 { font-size: 28px; }
  .home-hero h1 { font-size: 52px; }
  .home-hero-main { min-height: 435px; padding-block: 72px 88px; }

  .home-hero-nav small { max-width: 113px; }
  .home-hero-nav > a { gap: 7px; }
  .home-product-panel { padding-inline: 18px; }
  .home-product-copy h3 { font-size: 26px; }
  .home-ai-toolbar { padding-inline: 12px; }
  .home-ai-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .home-course-art-caption { flex-direction: column; }
  .home-start-panel { padding-inline: 22px; }
  .home-start h2 { font-size: 27px; }
  .home-company-facts { gap: 10px; }
  .home-company-facts dd { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
  .home-reveal-pending { opacity: 1; translate: none; }
}
@media print { .home-reveal-pending { opacity: 1; translate: none; } .home-page [data-home-panel][hidden] { display: block !important; } }

/* Keep examples in a clearly labelled, dismissible preview. */
.home-swipe-hint { display: none; }
html.home-preview-open { overflow: hidden; }
.home-preview-dialog { width: calc(100vw - 48px); max-width: 1440px; height: calc(100dvh - 48px); max-height: none; padding: 0; border: 1px solid #c4d0c7; border-radius: 12px; color: var(--ink); background: var(--cream); }
.home-preview-dialog[open] { display: flex; flex-direction: column; }
.home-preview-dialog::backdrop { background: #153b34c7; }
.home-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 13px 22px; }
.home-page .home-preview-bar h2 { font-size: 18px; letter-spacing: 0; }
.home-preview-bar button { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #cdd7ce; border-radius: 5px; padding: 6px 12px; font-size: 16px; }
.home-preview-bar .icon { width: 16px; height: 16px; }
.home-preview-body { flex: 1; min-height: 0; position: relative; }
.home-preview-body iframe { display: block; width: 100%; height: 100%; border: 0; background: white; }
.home-preview-status { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 16px; background: var(--cream); }
.home-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 14px; color: #6b786e; }
.home-preview-foot a { display: flex; align-items: center; gap: 8px; color: var(--green); }
.home-preview-foot .icon { width: 15px; height: 15px; }
.home-preview-foot button { background: white; border: 1px solid #cdd7ce; border-radius: 4px; padding: 5px 10px; font-size: 16px; }
@media (max-width: 700px) {
  .home-swipe-hint { display: block; color: #b6c7bc; font-size: 14px; margin: 10px 6px 0; }
  .home-preview-dialog { width: 100vw; height: 100dvh; max-width: none; margin: 0; border: 0; border-radius: 0; }
  .home-preview-bar { padding: 12px 16px; }
  .home-page .home-preview-bar h2 { font-size: 16px; }
  .home-preview-foot { padding: 10px 16px; flex-wrap: wrap; gap: 8px 16px; }
  .home-preview-foot > span { width: 100%; }
}
