body.ptln-page #homeSection { background: transparent; border: 0; box-shadow: none; padding: 0; }
body.ptln-page #homeSection #homeContent { display: grid; gap: 18px; min-width: 0; }
body.ptln-page #homeSection .ptln-home-journey-overview,
body.ptln-page #homeSection .ptln-home-global-map,
body.ptln-page #homeSection .ptln-home-current-focus,
body.ptln-page #homeSection .ptln-home-steps { content-visibility: visible; contain-intrinsic-size: none; }
body.ptln-page #homeSection .ptln-home-visual-hero {
  position: relative;
  isolation: isolate;
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  overflow: hidden;
  background: #edf7ff;
}
body.ptln-page #homeSection .ptln-home-visual-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 861px) {
  body.ptln-page #homeSection .ptln-home-visual-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(245, 250, 255, .92) 0%, rgba(245, 250, 255, .84) 30%, rgba(240, 248, 255, .58) 48%, rgba(237, 247, 255, .16) 62%, rgba(237, 247, 255, 0) 74%);
    pointer-events: none;
  }
}
body.ptln-page #homeSection .ptln-home-hero-symbol { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
body.ptln-page #homeSection .ptln-home-hero-floater { --drift-x: 28px; --drift-y: -24px; position: absolute; aspect-ratio: 1; opacity: 0.13; animation: ptln-porfoo-symbol-float 26s ease-in-out infinite alternate; }
body.ptln-page #homeSection .ptln-home-hero-floater img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 3px rgba(100, 205, 255, 0.8)) drop-shadow(0 0 10px rgba(114, 210, 255, 0.45)); }
body.ptln-page #homeSection .ptln-home-hero-floater.is-large { left: 38%; top: 24%; width: min(30%, 320px); min-width: 160px; opacity: 0.12; animation-duration: 32s; animation-delay: -12s; }
body.ptln-page #homeSection .ptln-home-hero-floater.is-medium { width: min(12%, 128px); min-width: 64px; }
body.ptln-page #homeSection .ptln-home-hero-floater.is-small { width: min(4%, 42px); min-width: 22px; opacity: 0.17; }
body.ptln-page #homeSection .ptln-home-hero-floater:nth-of-type(2) { left: 16%; top: 53%; --drift-x: 40px; --drift-y: -32px; animation-duration: 28s; animation-delay: -7s; }
body.ptln-page #homeSection .ptln-home-hero-floater:nth-of-type(3) { left: 66%; top: 15%; --drift-x: -18px; --drift-y: 22px; animation-duration: 24s; animation-delay: -15s; }
body.ptln-page #homeSection .ptln-home-hero-floater:nth-of-type(4) { left: 52%; top: 69%; --drift-x: 34px; --drift-y: -28px; animation-duration: 30s; animation-delay: -4s; }
body.ptln-page #homeSection .ptln-home-hero-floater:nth-of-type(5) { left: 9%; top: 25%; --drift-x: 18px; --drift-y: -16px; animation-duration: 22s; animation-delay: -9s; }
body.ptln-page #homeSection .ptln-home-hero-floater:nth-of-type(6) { left: 34%; top: 14%; --drift-x: 24px; --drift-y: 18px; animation-duration: 27s; animation-delay: -18s; }
body.ptln-page #homeSection .ptln-home-hero-floater:nth-of-type(7) { left: 88%; top: 62%; --drift-x: -22px; --drift-y: -30px; animation-duration: 25s; animation-delay: -6s; }
body.ptln-page #homeSection .ptln-home-hero-orbits { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.13; animation: ptln-porfoo-orbit-glow 18s ease-in-out infinite alternate; }
@keyframes ptln-porfoo-symbol-float {
  from { transform: translate3d(0, 0, 0) scale(0.97); }
  to { transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1.05); }
}
@keyframes ptln-porfoo-orbit-glow {
  from { opacity: 0.1; }
  to { opacity: 0.18; }
}
@media (prefers-reduced-motion: reduce) {
  body.ptln-page #homeSection .ptln-home-hero-floater,
  body.ptln-page #homeSection .ptln-home-hero-orbits { animation: none; }
}
body.ptln-page #homeSection .ptln-home-hero-brand { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start; gap: 0; min-width: 0; padding: 16px 32px 0; }
body.ptln-page #homeSection .ptln-home-hero-brand-logo { display: block; flex: 0 0 112.2px; width: 112.2px; height: 28.9px; object-fit: cover; object-position: center top; }
body.ptln-page #homeSection .ptln-home-hero-brand-tagline { position: relative; top: 1.7px; color: #1244a6; font-family: "Century Gothic", "Avenir Next", "Inter", Arial, sans-serif; font-size: 17px; font-weight: 700 !important; line-height: 1.2; text-align: left; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.45); overflow-wrap: anywhere; }
body.ptln-page #homeSection .ptln-home-hero-brand-tagline::before { content: ""; display: inline-block; width: 15.3px; height: 1px; background: currentColor; vertical-align: middle; margin-inline: 6.8px; }
body.ptln-page #homeSection .ptln-home-visual-hero-copy { position: relative; z-index: 2; width: 50%; max-width: 680px; padding: 24px 32px 32px; }
body.ptln-page #homeSection .ptln-home-hero-kicker { color: #2563eb; font-size: 14px; font-weight: 700 !important; line-height: 1.5; margin: 0 0 14px; }
body.ptln-page #homeSection .ptln-home-hero-description { color: #334155; font-size: 16px; font-weight: 400; line-height: 1.6; margin: 16px 0 12px; max-width: min(100%, 52ch); }
body.ptln-page #homeSection .ptln-home-hero-promise { color: #172033; font-size: 16px; font-weight: 700 !important; line-height: 1.5; margin: 0 0 18px; }
body.ptln-page #homeSection .ptln-home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.ptln-page #homeSection .ptln-home-hero-action-separator { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26.01px; height: 26.01px; box-sizing: border-box; border: 1px solid #e5e7eb; border-radius: 50%; background: #ffffff; color: #666666; font-size: 8.67px; font-weight: 600; line-height: 1; }
body.ptln-page #homeSection .ptln-home-hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; min-height: 42px; padding: 10px 14px; white-space: normal; line-height: 1.4; text-align: center; }
body.ptln-page #homeSection .ptln-home-hero-actions .btn img { flex: 0 0 18px; }
body.ptln-page #homeSection .ptln-home-hero-actions .primary img { filter: brightness(0) invert(1); }
body.ptln-page #homeSection .ptln-home-hero-actions .btn.primary { color: #ffffff !important; background: #2563eb; }
body.ptln-page #homeSection #ptlnHomeMapHeroTitle { color: #10254b; font-size: 36px; font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: 0; overflow-wrap: anywhere; }
body.ptln-page #homeSection .ptln-home-title-nowrap { white-space: normal; }
body.ptln-page #homeSection .porfoo-coverage,
body.ptln-page #homeSection .ptln-home-journey-overview,
body.ptln-page #homeSection .ptln-home-global-map {
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
  padding: 18px 20px;
  min-width: 0;
}
body.ptln-page #homeSection .porfoo-coverage { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 20px; padding-block: 22px; }
body.ptln-page #homeSection .porfoo-coverage-head { min-width: 0; }
body.ptln-page #homeSection .porfoo-coverage-head h2 { font-size: 22px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
body.ptln-page #homeSection .porfoo-coverage-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; min-width: 0; }
body.ptln-page #homeSection .porfoo-coverage-kicker { display: none; }
body.ptln-page #homeSection .porfoo-coverage-card { box-sizing: border-box; box-shadow: none; border-radius: 6px; min-width: 0; min-height: 116px; padding: 14px 10px; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: 36px auto; gap: 10px 6px; }
body.ptln-page #homeSection .porfoo-coverage-code { width: 24px; height: 24px; font-size: 9px; }
body.ptln-page #homeSection .porfoo-coverage-card strong { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; overflow-wrap: anywhere; }
body.ptln-page #homeSection .porfoo-coverage-label { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
body.ptln-page #homeSection .ptln-home-journey-head { grid-template-columns: minmax(0, 1fr); }
body.ptln-page #homeSection .ptln-home-journey-head h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
body.ptln-page #homeSection #ptlnHomeJourneyTitle { font-size: 18px; line-height: 1.3; margin: 0; }
@media (min-width: 1101px) {
  body.ptln-page #homeSection #ptlnHomeJourneyTitle { white-space: nowrap; }
}
body.ptln-page #homeSection .ptln-home-phase-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.ptln-page #homeSection .ptln-home-phase-card { box-shadow: none; min-height: 150px; padding: 12px; gap: 7px; }
body.ptln-page #homeSection .ptln-home-phase-card strong { font-size: 13px; font-weight: 600; }
body.ptln-page #homeSection .ptln-home-phase-card p { font-weight: 400; }
body.ptln-page #homeSection .ptln-home-global-map-visual { margin: 10px 0 0; max-height: none; }
body.ptln-page #homeSection .ptln-home-global-map-stage { max-height: none; }
body.ptln-page #homeSection .ptln-home-global-map-stage > img { width: 100%; height: auto; object-fit: contain; }
body.ptln-page #homeSection .ptln-home-action-flow { display: grid; grid-template-columns: minmax(250px, 0.32fr) minmax(0, 0.68fr); gap: 24px; background: #ffffff; padding: 20px; align-items: stretch; }
body.ptln-page #homeSection .ptln-home-current-focus,
body.ptln-page #homeSection .ptln-home-steps { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; min-width: 0; margin: 0; align-items: start; }
body.ptln-page #homeSection .ptln-home-current-focus-main { border: 0; border-left: 3px solid #16a34a; border-radius: 0; background: none; padding: 0 18px; gap: 12px; }
body.ptln-page #homeSection .ptln-home-current-focus h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
body.ptln-page #homeSection .ptln-home-current-focus h4 { font-size: 16px; font-weight: 500; }
body.ptln-page #homeSection .ptln-home-current-focus p:not(.eyebrow) { font-size: 13px; line-height: 1.6; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-steps .ptln-home-steps-head { grid-template-columns: 1fr; }
body.ptln-page #homeSection .ptln-home-action-flow .eyebrow { margin: 0; font-size: 11px; line-height: 1.4; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-steps-content { gap: 14px; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; grid-auto-rows: 1fr; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-card { background: #fbfdff; box-shadow: none; padding: 10px; min-width: 0; min-height: 116px; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: 14px minmax(30px, auto) 1fr; gap: 4px 8px; align-content: start; border-left-width: 2px; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-number { grid-column: 1; grid-row: 1 / 3; width: 24px; height: 24px; margin: 0; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-card strong { grid-column: 2; grid-row: 2; font-size: 12px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-card small { grid-column: 1 / -1; grid-row: 3; font-size: 11px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-card i { grid-column: 2; grid-row: 1; font-size: 10px; line-height: 1.4; letter-spacing: 0; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-current-focus h3,
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-current-focus h4 { margin: 0; }
body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-current-focus .btn { justify-self: start; width: auto; max-width: 100%; margin-top: 4px; }
body.ptln-page #homeSection .ptln-home-action-flow h3,
body.ptln-page #homeSection .ptln-home-action-flow h4,
body.ptln-page #homeSection .ptln-home-action-flow p { overflow-wrap: anywhere; }
@media (min-width: 1101px) {
  body.ptln-page #homeSection .ptln-home-action-flow > .ptln-home-current-focus,
  body.ptln-page #homeSection .ptln-home-action-flow > .ptln-home-steps { align-self: stretch; align-items: stretch; }
  body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-current-focus-main { height: 100%; grid-template-rows: auto auto auto 1fr auto; align-items: start; }
  body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-steps-content { height: 100%; grid-template-rows: auto 1fr; }
}
@media (max-width: 1100px) {
  body.ptln-page #homeSection .ptln-home-hero-brand { padding-inline: 24px; }
  body.ptln-page #homeSection .porfoo-coverage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ptln-page #homeSection .ptln-home-visual-hero-copy { width: 50%; padding: 24px; }
  body.ptln-page #homeSection #ptlnHomeMapHeroTitle { font-size: 28px; }
  body.ptln-page #homeSection .ptln-home-phase-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ptln-page #homeSection .ptln-home-action-flow { grid-template-columns: 1fr; }
  body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.ptln-page #homeSection .ptln-home-hero-brand { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 20px 0; }
  body.ptln-page #homeSection .ptln-home-hero-brand-logo { flex: none; }
  body.ptln-page #homeSection .ptln-home-hero-brand-tagline { top: 0; font-size: 12px; }
  body.ptln-page #homeSection .ptln-home-hero-brand-tagline::before { content: none; }
  body.ptln-page #homeSection .porfoo-coverage { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.ptln-page #homeSection #homeContent { gap: 12px; }
  body.ptln-page #homeSection .ptln-home-visual-hero { min-height: 350px; align-items: flex-start; }
  body.ptln-page #homeSection .ptln-home-visual-hero-copy { width: 100%; padding: 24px 20px 230px; }
  body.ptln-page #homeSection .ptln-home-hero-actions { flex-direction: column; align-items: stretch; }
  body.ptln-page #homeSection .ptln-home-hero-action-separator { align-self: center; }
  body.ptln-page #homeSection #ptlnHomeMapHeroTitle { font-size: 26px; max-width: 420px; }
  body.ptln-page #homeSection .ptln-home-hero-kicker { font-size: 12px; }
  body.ptln-page #homeSection .ptln-home-hero-description,
  body.ptln-page #homeSection .ptln-home-hero-promise { font-size: 14px; }
  body.ptln-page #homeSection .ptln-home-visual-hero-image { inset: auto -5% 0 auto; width: 170%; max-width: none; height: auto; object-fit: contain; }
  body.ptln-page #homeSection .porfoo-coverage,
  body.ptln-page #homeSection .ptln-home-journey-overview,
  body.ptln-page #homeSection .ptln-home-global-map { padding: 16px 12px; }
  body.ptln-page #homeSection .porfoo-coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ptln-page #homeSection .porfoo-coverage-head h2 { font-size: 21px; }
  body.ptln-page #homeSection .porfoo-coverage-card strong { font-size: 24px; }
  body.ptln-page #homeSection .porfoo-coverage-card:last-child { grid-column: 1 / -1; }
  body.ptln-page #homeSection .ptln-home-phase-timeline { grid-template-columns: 1fr; }
  body.ptln-page #homeSection .ptln-home-phase-card { min-height: 0; }
  body.ptln-page #homeSection .ptln-home-phase-timeline::before { display: none; }
  body.ptln-page #homeSection .ptln-home-action-flow { grid-template-columns: 1fr; padding: 16px 12px; }
  body.ptln-page #homeSection .ptln-home-current-focus-main { padding: 0 12px; }
  body.ptln-page #homeSection .ptln-home-action-flow .ptln-home-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  body.ptln-page #homeSection .porfoo-coverage-grid { grid-template-columns: 1fr; }
  body.ptln-page #homeSection .porfoo-coverage-card:last-child { grid-column: auto; }
}

/* Home-only mobile layout: use the available content width, never viewport-based panel widths. */
@media (max-width: 860px) {
  body.ptln-page .ptln-app[data-active-section="homeSection"] > .ptln-main,
  body.ptln-page .ptln-app[data-initial-section="homeSection"]:not([data-active-section]) > .ptln-main {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
  }

  body.ptln-page .ptln-main > #homeSection {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: 0;
  }

  body.ptln-page .ptln-main > #homeSection #homeContent,
  body.ptln-page .ptln-main > #homeSection #homeContent > * {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero {
    min-height: 0;
    grid-template-rows: auto auto;
    align-items: start;
    border-radius: 12px;
  }

  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero-image,
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-symbol {
    display: none;
  }

  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 18px 0;
  }

  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-brand-logo { flex: none; }
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-brand-tagline {
    top: 0;
    font-size: 12px;
    line-height: 1.5;
  }
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-brand-tagline::before { content: none; }

  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 22px 18px;
  }

  body.ptln-page .ptln-main > #homeSection #ptlnHomeMapHeroTitle {
    font-size: clamp(25px, 6.6vw, 30px);
    line-height: 1.22;
    max-width: 100%;
  }

  body.ptln-page .ptln-main > #homeSection .porfoo-coverage,
  body.ptln-page .ptln-main > #homeSection .ptln-home-journey-overview,
  body.ptln-page .ptln-main > #homeSection .ptln-home-global-map,
  body.ptln-page .ptln-main > #homeSection .ptln-home-action-flow {
    padding: 16px;
  }

  body.ptln-page .ptln-main > #homeSection .porfoo-coverage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.ptln-page .ptln-main > #homeSection .porfoo-coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.ptln-page .ptln-main > #homeSection .porfoo-coverage-card:last-child { grid-column: 1 / -1; }

  body.ptln-page .ptln-main > #homeSection .ptln-home-action-flow { grid-template-columns: minmax(0, 1fr); }
  body.ptln-page .ptln-main > #homeSection .ptln-home-current-focus { padding: 0; }
  body.ptln-page .ptln-main > #homeSection .ptln-home-current-focus-main { padding: 0 12px; }
  body.ptln-page .ptln-main > #homeSection .ptln-home-phase-timeline { grid-template-columns: minmax(0, 1fr); }
  body.ptln-page .ptln-main > #homeSection .ptln-home-phase-card { min-height: 0; }
  body.ptln-page .ptln-main > #homeSection #ptlnHomeJourneyTitle { white-space: normal; }
}

@media (max-width: 560px) {
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-action-separator { align-self: center; }
  body.ptln-page .ptln-main > #homeSection .ptln-home-action-flow .ptln-home-step-grid { grid-template-columns: minmax(0, 1fr); }
  body.ptln-page .ptln-main > #homeSection .ptln-home-action-flow .ptln-home-step-card {
    min-height: 0;
    padding: 12px;
    grid-template-rows: auto auto auto;
  }
}

@media (max-width: 380px) {
  body.ptln-page .ptln-main > #homeSection .porfoo-coverage-grid { grid-template-columns: minmax(0, 1fr); }
  body.ptln-page .ptln-main > #homeSection .porfoo-coverage-card:last-child { grid-column: auto; }
}

/* Coverage and the journey diagram share a Home-only introduction row. */
body.ptln-page #homeSection .ptln-home-intro-grid { display: grid; grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr); gap: 18px; align-items: stretch; min-width: 0; }
body.ptln-page #homeSection .ptln-home-intro-grid > .porfoo-coverage,
body.ptln-page #homeSection .ptln-home-flow { background: #fff; border: 1px solid #dce5f1; border-radius: 12px; padding: 20px; min-width: 0; }
body.ptln-page #homeSection .ptln-home-intro-grid > .porfoo-coverage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: 16px; }
body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-head { align-content: start; }
body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 10px; }
body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-card { min-height: 80px; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; padding: 12px 14px; gap: 5px 10px; align-content: center; }
body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-code { width: 28px; height: 28px; }
body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-card strong { font-size: 27px; }
body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-label { font-size: 13px; line-height: 1.5; }
body.ptln-page #homeSection .ptln-home-flow { display: grid; align-content: start; gap: 14px; }
body.ptln-page #homeSection .ptln-home-flow-head h3 { margin: 0; color: #142441; font-size: 22px; font-weight: 700; line-height: 1.3; }
body.ptln-page #homeSection .ptln-home-flow-head p { margin: 6px 0 0; color: #61728c; font-size: 13px; line-height: 1.5; }
body.ptln-page #homeSection .ptln-home-flow-diagram { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
body.ptln-page #homeSection .ptln-home-flow-node { box-sizing: border-box; display: grid; align-content: center; justify-items: center; gap: 4px; min-width: 0; min-height: 58px; padding: 10px 12px; border: 1px solid #d5e5f5; border-radius: 9px; background: #f7fbff; color: #142441; text-decoration: none; text-align: center; white-space: normal; overflow-wrap: break-word; }
body.ptln-page #homeSection .ptln-home-flow-node strong { font-size: 14px; font-weight: 700; line-height: 1.4; color: #142441; }
body.ptln-page #homeSection .ptln-home-flow-node > span { font-size: 12px; line-height: 1.5; color: #60718a; }
body.ptln-page #homeSection a.ptln-home-flow-node:hover { background: #edf5ff; border-color: #8bb7fa; }
body.ptln-page #homeSection :is(a.ptln-home-flow-node, .ptln-home-flow-foundation a):focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
body.ptln-page #homeSection .ptln-home-flow-foundation { background: #edf6ff; }
body.ptln-page #homeSection .ptln-home-flow-foundation nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; max-width: 100%; }
body.ptln-page #homeSection .ptln-home-flow-foundation nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 4px; color: #2458b7; font-size: 13px; line-height: 1.5; text-decoration: none; border-radius: 4px; }
body.ptln-page #homeSection .ptln-home-flow-foundation nav a:hover { text-decoration: underline; }
body.ptln-page #homeSection .ptln-home-flow-foundation nav > span { color: #7b9ac6; font-size: 13px; }
body.ptln-page #homeSection .ptln-home-flow-research { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.ptln-page #homeSection .ptln-home-flow-preparation { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); align-items: stretch; }
body.ptln-page #homeSection .ptln-home-flow-both { display: grid; place-items: center; color: #4384dc; font-size: 23px; line-height: 1; }
body.ptln-page #homeSection .ptln-home-flow-connector { display: block; width: 100%; height: 20px; overflow: visible; }
body.ptln-page #homeSection .ptln-home-flow-connector path { stroke: #6f9fe1; stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
body.ptln-page #homeSection .ptln-home-flow-down { display: grid; place-items: center; height: 20px; color: #6f9fe1; font-size: 21px; line-height: 1; }
body.ptln-page #homeSection .ptln-home-flow-review { background: #edf4ff; border-color: #c2d8f6; }
body.ptln-page #homeSection .ptln-home-flow-note { margin: 0; padding-top: 10px; border-top: 1px solid #e5ecf5; color: #6b7c92; font-size: 11px; line-height: 1.6; }
@media (max-width: 1100px) {
  body.ptln-page #homeSection .ptln-home-intro-grid { grid-template-columns: minmax(0, 1fr); }
  body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
}
@media (max-width: 700px) {
  body.ptln-page #homeSection .ptln-home-intro-grid { gap: 12px; }
  body.ptln-page #homeSection .ptln-home-intro-grid > .porfoo-coverage,
  body.ptln-page #homeSection .ptln-home-flow { padding: 16px; }
  body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-card:last-child { grid-column: 1 / -1; }
  body.ptln-page #homeSection .ptln-home-flow-head h3 { font-size: 21px; }
  body.ptln-page #homeSection .ptln-home-flow-research { gap: 10px; }
  body.ptln-page #homeSection .ptln-home-flow-node { padding: 10px 8px; }
  body.ptln-page #homeSection .ptln-home-flow-foundation nav { gap: 1px; }
  body.ptln-page #homeSection .ptln-home-flow-foundation nav a { min-height: 44px; font-size: 12px; }
}
@media (max-width: 380px) {
  body.ptln-page #homeSection .ptln-home-intro-grid .porfoo-coverage-grid { grid-template-columns: minmax(0, 1fr); }
  body.ptln-page #homeSection .ptln-home-flow-node strong { font-size: 13px; }
  body.ptln-page #homeSection .ptln-home-flow-foundation nav { gap: 0; }
}
/* Home-only footer stays in document flow, after the student's content. */
body.ptln-page #homeSection .ptln-home-footer {
  position: static;
  margin-top: 8px;
  padding: 18px 22px 10px;
  border-top: 1px solid #d8e4f5;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  color: #526580;
  font-size: 13px;
  line-height: 1.6;
}
body.ptln-page #homeSection .ptln-home-footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px 20px; }
body.ptln-page #homeSection .ptln-home-footer-brand img { display: block; width: 132px; height: auto; }
body.ptln-page #homeSection .ptln-home-footer-brand p { margin: 6px 0 0; max-width: 280px; font-size: 12px; }
body.ptln-page #homeSection .ptln-home-footer nav { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
body.ptln-page #homeSection .ptln-home-footer h3 { margin: 0 0 4px; font-size: 13px; color: #102247; }
body.ptln-page #homeSection .ptln-home-footer a,
body.ptln-page #homeSection .ptln-home-footer button { display: inline-flex; align-items: center; min-height: 32px; max-width: 100%; padding: 3px 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #2563eb; font: inherit; line-height: 1.5; text-align: left; text-decoration: none; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
body.ptln-page #homeSection .ptln-home-footer a:hover,
body.ptln-page #homeSection .ptln-home-footer button:hover { text-decoration: underline; }
body.ptln-page #homeSection .ptln-home-footer a:focus-visible,
body.ptln-page #homeSection .ptln-home-footer button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; border-radius: 3px; }
body.ptln-page #homeSection .ptln-home-footer-note { margin: 10px 0 0; padding: 8px 0; border-top: 1px solid #e1eaf7; font-size: 12px; }
body.ptln-page #homeSection .ptln-home-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding-top: 5px; border-top: 1px solid #e1eaf7; }
body.ptln-page #homeSection .ptln-home-footer-bottom small,
body.ptln-page #homeSection .ptln-home-footer-bottom a { font-size: 11px; }
@media (max-width: 860px) {
  body.ptln-page #homeSection .ptln-home-footer { padding: 16px 12px 10px; }
  body.ptln-page #homeSection .ptln-home-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.ptln-page #homeSection .ptln-home-footer-brand { grid-column: 1 / -1; }
  body.ptln-page #homeSection .ptln-home-footer-main > nav:last-child { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  body.ptln-page #homeSection .ptln-home-footer-main > nav:last-child h3 { grid-column: 1 / -1; }
  body.ptln-page #homeSection .ptln-home-footer a,
  body.ptln-page #homeSection .ptln-home-footer button { min-height: 44px; }
  body.ptln-page #homeSection .ptln-home-footer-bottom { gap: 0 12px; }
}

/* Let the Home background show through the hero's softly fading edges. */
body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media(min-width:861px) {
  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero-image,
  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero::before,
  body.ptln-page .ptln-main > #homeSection .ptln-home-hero-symbol {
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 82%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 82%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}

/* Match the Home canvas to the hero sky without recoloring other workspaces. */
body.ptln-page:has(.ptln-app[data-active-section="homeSection"]),
body.ptln-page:has(.ptln-app[data-initial-section="homeSection"]:not([data-active-section])) {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .11), transparent 28%),
    linear-gradient(180deg, #f6faff 0%, #edf4fc 100%);
}

/* Feather the landscape along its composition rather than a rectangular frame. */
@media(min-width:861px) {
  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero {
    overflow: visible;
  }
  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero-image,
  body.ptln-page .ptln-main > #homeSection .ptln-home-visual-hero::before {
    -webkit-mask-image: url('/assets/images/porfoo-home-scene-blend-v1.svg'), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 32px, #000 calc(100% - 36px), transparent);
    mask-image: url('/assets/images/porfoo-home-scene-blend-v1.svg'), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 32px, #000 calc(100% - 36px), transparent);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}

/* Decorative, inline coverage artwork: no downloads, animation, or layout shift. */
body.ptln-page #homeSection .porfoo-coverage-card { position:relative; isolation:isolate; }
body.ptln-page #homeSection .porfoo-coverage-illustration { position:absolute; right:14px; top:10px; width:64px; height:64px; opacity:.13; pointer-events:none; z-index:-1; }
body.ptln-page #homeSection .is-blue .porfoo-coverage-illustration { color:#4169ff; }
body.ptln-page #homeSection .is-teal .porfoo-coverage-illustration { color:#00896b; }
body.ptln-page #homeSection .is-cyan .porfoo-coverage-illustration { color:#0098b6; }
body.ptln-page #homeSection .is-amber .porfoo-coverage-illustration { color:#db7b00; }
@media(max-width:1100px) { body.ptln-page #homeSection .porfoo-coverage-illustration { width:40px; height:40px; right:10px; top:10px; } }
@media(max-width:700px) { body.ptln-page #homeSection .porfoo-coverage-illustration { display:none; } }
