/* D: a photographic learning journey, with the client's original illustrations. */
body[data-design="brand"] {
  --surface: #ffffff;
  --surface-soft: #eef5f7;
  --paper: #ffffff;
  --ink: #17384e;
  --muted: #526773;
  --line: #dce5e8;
  --link-accent: #b32f3d;
  --focus: #154b75;
  background: var(--surface);
}
body[data-design="brand"] h2 { margin-top: 0; }
body[data-design="brand"] .site-header {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: 52px 76px;
  height: 156px; width: 100%; max-width: none; gap: 0 36px;
  padding: 12px max(40px, calc((100vw - 1376px) / 2)) 16px;
  border: 0; border-bottom: 1px solid #d4e4eb; background: white;
}
body[data-design="brand"] .site-header::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 12px; pointer-events: none;
  background: linear-gradient(to bottom, #c63140 0 3px, #17384e 3px 9px, #c63140 9px 12px);
}
body[data-design="brand"] .site-brand { grid-column: 1; grid-row: 1 / span 2; align-self: start; position: relative; z-index: 1; }
body[data-design="brand"] .site-logo { width: 200px; height: auto; max-width: none; }
body[data-design="brand"] .site-logo-frame { width: 200px; height: auto; aspect-ratio: 246 / 189; }
body[data-design="brand"] .site-logo-frame .site-logo { width: 100%; height: 100%; max-width: none; }
.brand-logo-stage { display: none; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  html.logo-motion-ready body[data-home-logo-motion] .site-header { position: fixed; inset: 0 0 auto; }
  html.logo-motion-ready body[data-home-logo-motion] .brand-logo-stage { display: block; height: 156px; }
  html.logo-motion-ready body[data-home-logo-motion] .site-brand { transform-origin: center center; }
  html.logo-motion-ready body[data-home-logo-motion] .site-brand.is-logo-moving { will-change: transform; }
  html.logo-motion-ready body[data-home-logo-motion] .main-navigation,
  html.logo-motion-ready body[data-home-logo-motion] .header-actions { z-index: 2; }
  html.logo-motion-ready body[data-home-logo-motion] #learning-journey { scroll-margin-top: 180px; }
  @media (min-width: 768px) and (max-width: 1199px) {
    html.logo-motion-ready body[data-home-logo-motion] .brand-logo-stage { height: 120px; }
  }
}
body[data-design="brand"] .main-navigation { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; margin-left: 0; padding-bottom: 10px; gap: 18px; }
body[data-design="brand"] .header-actions { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
@media (min-width: 1200px) {
  html[lang="en"] body[data-design="brand"] .main-navigation > a,
  html[lang="en"] body[data-design="brand"] .nav-group > summary { font-size: 12px; }
}
body[data-design="brand"] .button { border-radius: 4px; }
body[data-design="brand"] .button--small { min-height: 44px; }
.brand-hero { position: relative; isolation: isolate; min-height: 640px; background: #fff; overflow: hidden; }
.brand-hero-photo { position: absolute; inset: 0 22% 0 0; z-index: -2; }
.brand-hero-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 50%, rgba(255,255,255,.94) 58%, #fff 65%); }
.brand-hero-inner { min-height: 576px; display: flex; align-items: center; justify-content: flex-end; padding-block: 64px 70px; }
.brand-hero-copy { width: 43%; }
.brand-hero .eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; font-size: 13px; letter-spacing: .04em; }
.brand-dot { flex: 0 0 7px; height: 7px; background: #c63140; border-radius: 50%; }
.brand-hero h1 { max-width: 510px; font-size: clamp(40px, 3.65vw, 57px); line-height: 1.38; letter-spacing: -.04em; font-weight: 650; text-wrap: balance; margin: 0 0 24px; }
.brand-hero .hero-intro { font-size: 16px; max-width: 430px; margin-bottom: 30px; line-height: 1.95; }
.brand-hero-actions { display: flex; gap: 25px; flex-wrap: wrap; align-items: center; }
.brand-explore { font-size: 13px; text-decoration: none; min-height: 48px; display: inline-flex; gap: 20px; align-items: center; border-bottom: 1px solid #92a6af; }
.brand-hero-foot { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; font-size: 11px; letter-spacing: .12em; }
.brand-hero-foot::before { content: ""; position: absolute; inset: 0 calc((1216px - 100vw) / 2); background: rgba(255,255,255,.88); z-index: -1; }
.brand-hero-foot span:last-child { color: var(--muted); letter-spacing: .08em; }
.brand-hero--text .brand-hero-inner { justify-content: center; }
.brand-hero--text .brand-hero-copy { width: min(100%, 700px); }
body[data-design="brand"] .journey-section { padding-block: 84px 100px; }
body[data-design="brand"] .journey-section .section-heading { max-width: none; display: flex; align-items: flex-end; gap: 60px; margin-bottom: 36px; }
body[data-design="brand"] .journey-section h2 { max-width: 520px; margin-bottom: 0; font-size: clamp(28px, 2.5vw, 39px); }
body[data-design="brand"] .journey-section .section-heading p { max-width: 400px; font-size: 15px; margin: 0 0 3px auto; }
body[data-design="brand"] .journey-grid { grid-template-columns: repeat(3, 1fr); gap: 38px; position: relative; }
body[data-design="brand"] .journey-grid::before { content: ""; position: absolute; top: 74px; left: 6%; right: 6%; border-top: 1px dashed #91a8b4; }
body[data-design="brand"] .journey-item, body[data-design="brand"] .journey-item:first-child { position: relative; display: flex; flex-direction: column; grid-row: auto; border: 0; border-radius: 0; background: transparent; overflow: visible; }
body[data-design="brand"] .journey-item:nth-child(2) { padding-top: 28px; }
body[data-design="brand"] .journey-item:nth-child(3) { padding-top: 56px; }
body[data-design="brand"] .journey-illustration { width: 134px; height: auto; object-fit: contain; align-self: flex-start; background: white; margin: 0 0 16px -8px; position: relative; }
body[data-design="brand"] .journey-step { position: absolute; top: 40px; right: 4px; font-size: 12px; letter-spacing: .12em; color: var(--muted); background: white; padding: 8px; }
body[data-design="brand"] .journey-item:nth-child(2) .journey-step { top: 68px; }
body[data-design="brand"] .journey-item:nth-child(3) .journey-step { top: 96px; }
body[data-design="brand"] .journey-image { border-radius: 2px 30px 2px 2px; }
body[data-design="brand"] .journey-image img, body[data-design="brand"] .journey-item:first-child .journey-image img { height: 228px; min-height: 0; object-fit: cover; }
body[data-design="brand"] .journey-copy { padding: 22px 0 0; }
body[data-design="brand"] .journey-copy h3 { font-size: 23px; margin-bottom: 12px; }
body[data-design="brand"] .journey-copy h3 span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; font-size: 17px; }
body[data-design="brand"] .journey-copy p { font-size: 15px; }
.brand-product { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 60px; padding: 64px 60px; background: #f1f6f8; margin-bottom: 88px; }
.brand-product-copy h2 { font-size: clamp(28px, 2.6vw, 39px); line-height: 1.5; text-wrap: balance; }
.brand-product-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.95; }
.brand-product-copy .text-link { margin-top: 16px; }
.brand-product-stage { display: grid; gap: 20px; }
.brand-product-books { width: 100%; max-height: 410px; object-fit: contain; }
.brand-product-detail { justify-self: end; width: min(68%, 360px); background: white; padding: 12px 12px 10px; border-bottom: 3px solid #c63140; }
.brand-product-detail img { width: 100%; height: auto; object-fit: contain; }
.brand-product-detail span { display: block; font-size: 12px; letter-spacing: .04em; margin-top: 8px; }
body[data-design="brand"] .age-section { background: #eef5f7; padding-block: 72px; }
.age-section .age-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.age-section:has(.age-path) .section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px; max-width: none; margin-bottom: 36px; }
.age-section:has(.age-path) .section-heading h2 { margin: 0; text-wrap: balance; }
.age-section:has(.age-path) .section-heading p { margin: 0; max-width: 380px; justify-self: end; }
.age-step { position: relative; min-width: 0; }
.age-step::before { content: ""; position: absolute; top: 16px; left: 0; right: -20px; height: 1px; background: #a6bac5; }
.age-step:last-child::before { right: 0; }
.age-step-number { position: relative; display: inline-flex; align-items: center; min-height: 32px; padding-right: 12px; margin-bottom: 16px; background: #eef5f7; color: var(--ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.age-step-number::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); }
.age-section .age-card { display: flex; flex-direction: column; height: calc(100% - 48px); overflow: hidden; border: 1px solid #a6bac5; border-radius: 4px; background: #fff; text-decoration: none; }
.age-card-image { width: 100%; height: auto; }
.age-card-copy { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 20px; padding: 22px 18px 18px; }
.age-card-label { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.4; text-wrap: balance; }
.age-card-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #586c78; font-size: 13px; }
.age-card-action > span { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--control-line); border-radius: 50%; color: var(--ink); font-size: 17px; line-height: 1; }
.age-section .age-card:hover, .age-section .age-card:focus-visible { border-color: var(--accent); }
.age-card:hover .age-card-label, .age-card:hover .age-card-action, .age-card:focus-visible .age-card-action { color: var(--accent-hover); }
.age-card:hover .age-card-action > span, .age-card:focus-visible .age-card-action > span { color: #fff; background: var(--accent); border-color: var(--accent); }
.age-card--text .age-card-copy { min-height: 180px; }
@media (min-width: 768px) and (max-width: 1099px) {
  .age-section .age-path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .age-step:nth-child(3n)::before { right: 0; }
  .age-card-label { font-size: 22px; }
}
body[data-design="brand"] .image-text-section { padding-block: 100px; gap: 90px; }
body[data-design="brand"] .feature-image img { border-radius: 3px; }
body[data-design="brand"] .article-section { padding-block: 38px 88px; }
body[data-design="brand"] .article-item img { border-radius: 2px; }
body[data-design="brand"] .trial-section { background: #eef5f7; border-top: 5px solid #d5e4e9; }
body[data-design="brand"] .site-footer {
  position: relative; background: #f3f8fb; width: 100%; max-width: none;
  padding: 64px max(48px, calc((100% - 1216px) / 2)) 36px;
}
body[data-design="brand"] .site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 7px;
  background: linear-gradient(to right, #303d47 0 28%, #e52b3f 28% 69%, #7eaccb 69% 100%);
}
.footer-characters { align-self: center; justify-self: center; width: 100%; max-width: 280px; }
.footer-characters img { display: block; width: 100%; height: auto; object-fit: contain; }
.site-footer:has(.footer-characters) { grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 280px) minmax(0, 1fr); }
.site-footer .footer-intro, .site-footer .footer-contact { min-width: 0; }
.site-footer a, .site-footer a:hover { text-decoration: none; }
.site-footer .footer-link { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 100%; min-height: 28px; line-height: 1.7; }
.site-footer .footer-link > span { min-width: 0; overflow-wrap: anywhere; }
.site-footer .footer-icon { flex: 0 0 20px; margin-top: 1px; }
.site-footer .footer-contact > small { padding-inline-start: 30px; }
.site-footer .footer-contact address { max-width: 100%; min-width: 0; }
.site-footer .footer-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.standard-page[data-page="ai-pen-app"] .feature-image img {
  width: auto; height: 540px; max-width: 100%; object-fit: contain; margin-inline: auto;
}
.standard-page[data-page="ai-pen-app"] .rich-content { max-width: none; }
.standard-page[data-page="ai-pen-app"] .image-text-section {
  width: 100%; align-items: start; padding-block: 24px 48px; gap: 64px;
}
@media (max-width: 767px) {
  body[data-design="brand"] .site-footer { padding: 40px 20px 28px; }
  .site-footer:has(.footer-characters) { grid-template-columns: 1fr; }
  .footer-characters { max-width: 180px; justify-self: center; }
  .standard-page[data-page="ai-pen-app"] .feature-image img { height: 360px; }
}
@media (max-width: 1199px) {
  body[data-design="brand"] .site-header { display: flex; height: 120px; padding: 14px 32px 10px; gap: 20px; }
  body[data-design="brand"] .site-logo { width: 144px; height: auto; max-width: none; }
  body[data-design="brand"] .site-logo-frame { width: 144px; }
  body[data-design="brand"] .main-navigation.is-open { top: 100%; max-height: calc(100dvh - 120px); padding-bottom: 24px; }
  .brand-hero { min-height: 570px; }
  .brand-hero-inner { min-height: 510px; }
  .brand-hero h1 { font-size: 40px; }
  .brand-hero-foot::before { inset-inline: -48px; }
  body[data-design="brand"] .journey-grid { gap: 24px; }
  body[data-design="brand"] .journey-copy h3 { font-size: 19px; }
  .brand-product { padding: 40px; gap: 35px; }
}
@media (max-width: 767px) {
  body[data-design="brand"] .site-header { height: 112px; padding-inline: 20px; gap: 12px; }
  body[data-design="brand"] .site-logo { width: 116px; height: auto; max-width: none; }
  body[data-design="brand"] .site-logo-frame { width: 116px; }
  body[data-design="brand"] .main-navigation.is-open { top: 100%; max-height: calc(100dvh - 112px); }
  body[data-design="brand"] .header-actions { gap: 9px; }
  .brand-hero { display: flex; flex-direction: column; min-height: 0; background: #eef5f7; }
  .brand-hero::before { display: none; }
  .brand-hero-inner { order: 0; min-height: 0; padding-block: 33px 29px; }
  .brand-hero-copy { width: 100%; }
  .brand-hero .eyebrow { font-size: 11px; margin-bottom: 17px; }
  .brand-hero h1 { font-size: 36px; line-height: 1.4; max-width: 355px; margin-bottom: 17px; }
  .brand-hero .hero-intro { font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
  .brand-hero-actions { gap: 19px; }
  .brand-explore { font-size: 12px; gap: 12px; }
  .brand-hero-photo { position: relative; inset: auto; order: 1; z-index: 0; }
  .brand-hero-photo img { width: 100%; height: auto; object-fit: contain; object-position: center; }
  .brand-hero-foot { order: 2; min-height: 52px; font-size: 9px; letter-spacing: .04em; gap: 10px; }
  .brand-hero-foot::before { inset-inline: -20px; }
  .brand-hero-foot span:last-child { font-size: 9px; letter-spacing: 0; }
  body[data-design="brand"] .journey-section { padding-block: 46px 52px; }
  body[data-design="brand"] .journey-section .section-heading { display: block; margin-bottom: 18px; }
  body[data-design="brand"] .journey-section h2 { font-size: 28px; max-width: 300px; margin-bottom: 16px; }
  body[data-design="brand"] .journey-section .section-heading p { font-size: 14px; }
  body[data-design="brand"] .journey-grid { grid-template-columns: 1fr; gap: 32px; }
  body[data-design="brand"] .journey-grid::before { display: none; }
  body[data-design="brand"] .journey-item:nth-child(n) { padding-top: 0; }
  body[data-design="brand"] .journey-illustration { width: 108px; margin-bottom: 8px; }
  body[data-design="brand"] .journey-item:nth-child(n) .journey-step { top: 25px; }
  body[data-design="brand"] .journey-image img, body[data-design="brand"] .journey-item:first-child .journey-image img { height: 220px; }
  body[data-design="brand"] .journey-copy { padding-top: 16px; }
  body[data-design="brand"] .journey-copy h3 { font-size: 22px; }
  body[data-design="brand"] .journey-copy p { font-size: 14px; }
  .brand-product { grid-template-columns: 1fr; padding: 30px 24px; gap: 30px; margin-bottom: 48px; }
  .brand-product-copy h2 { font-size: 28px; margin-bottom: 20px; }
  .brand-product-copy .eyebrow { font-size: 10px; }
  .brand-product-copy p:not(.eyebrow) { font-size: 14px; }
  .brand-product-stage { gap: 16px; }
  .brand-product-detail { width: 100%; padding: 10px; }
  .brand-product-detail span { font-size: 10px; }
  body[data-design="brand"] .age-section { padding-block: 44px; }
  .age-section:has(.age-path) .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .age-section:has(.age-path) .section-heading p { justify-self: start; max-width: 35em; }
  .age-section .age-path { grid-template-columns: 1fr; gap: 16px; }
  .age-step { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
  .age-step::before { inset: 15px auto -32px 10px; width: 1px; height: auto; }
  .age-step:last-child::before { display: none; }
  .age-step-number { min-height: 30px; padding: 0; margin: 12px 0 0; justify-content: center; font-size: 12px; }
  .age-step-number::before { display: none; }
  .age-section .age-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); height: 100%; min-height: 112px; }
  .age-card-image { align-self: center; }
  .age-card-copy { padding: 16px 12px; gap: 10px; justify-content: center; }
  .age-card-label { font-size: 20px; }
  .age-card-action { font-size: 12px; }
  .age-card-action > span { width: 24px; height: 24px; font-size: 15px; }
  .age-card--text .age-card-copy { grid-column: 1 / -1; min-height: 112px; }
  body[data-design="brand"] .image-text-section { padding-block: 50px; gap: 28px; }
  body[data-design="brand"] .article-section { padding-bottom: 48px; }
  html[lang="en"] .brand-hero h1 { font-size: 34px; line-height: 1.25; }
}
@media (prefers-reduced-motion: no-preference) {
  body[data-design="brand"] .journey-image img { transition: transform .35s ease; }
  body[data-design="brand"] .journey-image:hover img { transform: scale(1.035); }
}
@media (max-width: 359px) {
  body[data-design="brand"] .site-header { padding-inline: 12px; gap: 8px; }
  body[data-design="brand"] .site-logo { width: 98px; height: auto; max-width: none; }
  body[data-design="brand"] .site-logo-frame { width: 98px; }
  body[data-design="brand"] .header-actions { gap: 6px; }
  body[data-design="brand"] .header-actions .button--small { font-size: 11px; padding-inline: 10px; }
  body[data-design="brand"] .menu-toggle { font-size: 11px; padding-inline: 8px; }
}
