/* The homepage uses a product-site hierarchy. Shared detail pages stay editorial. */
.home-page .home-hero { padding: 64px 0 0; }
.home-hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 68px; align-items: center; }
.home-title { font-size: clamp(42px, 4.35vw, 59px); line-height: 1.36; letter-spacing: -.055em; margin-top: 22px; }
.home-lead { margin-top: 25px; font-size: 18px; line-height: 1.85; font-weight: 500; letter-spacing: -.02em; }
.home-description { max-width: 430px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 29px; }
.home-actions .button { padding: 15px 22px; gap: 22px; }
.home-actions .text-link { font-size: 13px; gap: 14px; }
.home-concept { min-width: 0; }
.concept-lab { border: 1px solid #ccd4c7; border-radius: 15px; background: linear-gradient(145deg,#f3f4e9,#e9eee3); padding: 26px 28px 20px; box-shadow: 0 18px 50px #16382d0b; }
.concept-lab-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .09em; color: var(--muted); }
.concept-live { letter-spacing: 0; display: flex; align-items: center; gap: 6px; }
.concept-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--forest); }
.concept-prompt { font-size: 12px; margin-top: 23px; line-height: 1.8; }
.concept-picker { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.concept-choice { font: inherit; font-size: 11px; line-height: 1.6; padding: 9px 12px; min-height: 39px; border: 1px solid #b9c5b6; color: var(--forest); border-radius: 22px; background: #ffffff65; cursor: pointer; }
.concept-choice:hover { background: var(--paper); }
.concept-choice[aria-pressed=true] { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.concept-panel { padding-top: 24px; }
.concept-panel[hidden] { display: none; }
.home-page .concept-question { font-size: 25px; line-height: 1.55; margin: 0; letter-spacing: -.035em; }
.concept-explanation { font-size: 13px; line-height: 1.9; margin-top: 13px; color: #4c6257; min-height: 74px; }
.concept-flow { display: grid; grid-template-columns: 1fr 26px 1fr; gap: 7px; align-items: center; margin-top: 21px; }
.concept-ai, .concept-human { min-height: 139px; padding: 16px 15px; border-radius: 9px; display: flex; flex-direction: column; align-items: flex-start; }
.concept-ai { background: var(--forest); color: var(--paper); }
.concept-human { background: var(--paper); border: 1px solid #bdcabc; }
.concept-role { font-size: 10px; opacity: .8; }
.concept-ai strong, .concept-human strong { font-size: 12px; line-height: 1.6; font-weight: 500; margin-top: auto; }
.concept-work-lines { display: grid; gap: 4px; width: 70%; margin-block: 15px; }
.concept-work-lines i { display: block; height: 4px; border-radius: 3px; background: #a7c9ae; }
.concept-work-lines i:nth-child(2) { width: 72%; }
.concept-work-lines i:nth-child(3) { width: 85%; }
.concept-person { font-size: 31px; line-height: 1; color: #698a5a; margin-block: 11px; }
.concept-arrow { font-size: 23px; text-align: center; color: #69836c; }
.concept-benefit { border-top: 1px solid #c4d0bf; margin-top: 23px; padding-top: 17px; display: grid; gap: 7px; }
.concept-benefit > span { font-size: 9px; color: var(--muted); }
.concept-benefit strong { font-size: 14px; line-height: 1.65; font-weight: 500; letter-spacing: -.02em; }
.concept-note { font-size: 10px; line-height: 1.75; color: var(--muted); margin-top: 17px; }
html[lang=en] .home-page .concept-question { font-family: var(--serif); font-size: 29px; line-height: 1.18; }
html[lang=en] .concept-explanation { min-height: 92px; }
html[lang=en] .concept-choice { font-size: 10px; padding-inline: 10px; }
.home-product-figure { min-width: 0; }
.home-product-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.home-product-label > span:first-child { font-size: 10px; letter-spacing: .13em; color: var(--muted); }
.home-product-label .badge { font-size: 10px; padding: 4px 9px; }
.home-product-screen { display: block; position: relative; background: var(--forest-deep); padding: 12px; border-radius: 12px; box-shadow: 0 18px 45px #16382d16; }
.home-product-screen img { display: block; width: 100%; height: auto; border: 1px solid #ffffff16; border-radius: 5px; }
.screen-open { display: inline-flex; align-items: center; justify-content: center; position: absolute; right: 24px; bottom: 24px; min-height: 40px; padding: 8px 13px; background: var(--paper); color: var(--forest); border-radius: 5px; font-size: 11px; font-weight: 500; box-shadow: 0 2px 10px #0002; }
.home-product-screen:hover .screen-open { background: var(--lime); }
.home-product-figure figcaption { padding: 18px 2px 0; }
.home-product-figure figcaption > div { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.home-product-figure strong { font-size: 22px; letter-spacing: -.035em; }
.home-product-figure figcaption > div > span { font-size: 12px; color: var(--muted); }
.home-demo-note { font-size: 10px; color: var(--muted); line-height: 1.8; margin-top: 6px; }
.home-route-strip { display: grid; grid-template-columns: 1fr 1fr; margin-top: 58px; border-block: 1px solid var(--line); }
.home-route-strip > a { display: grid; grid-template-columns: 1fr auto; padding: 27px 34px 29px 0; text-decoration: none; align-items: center; }
.home-route-strip > a + a { padding-left: 36px; border-left: 1px solid var(--line); }
.route-label { grid-column: 1; font-size: 9px; letter-spacing: .12em; color: var(--wood); }
.home-route-strip strong { grid-column: 1; font-size: 18px; margin-top: 7px; line-height: 1.6; font-weight: 500; }
.route-description { grid-column: 1; font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.8; }
.route-arrow { grid-column: 2; grid-row: 1 / 4; font-size: 24px; padding-left: 15px; transition: transform .2s; }
.home-route-strip a:hover .route-arrow { transform: translate(3px,-3px); }
.home-services { padding: 80px 0 62px; }
.home-services-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.home-page h2 { font-size: clamp(29px, 3.05vw, 43px); line-height: 1.55; letter-spacing: -.04em; margin-top: 15px; }
.home-section-copy { font-size: 15px; color: var(--muted); line-height: 2; margin-top: 19px; }
.home-section-heading .text-link { margin-top: 24px; }
.home-service-list article { display: grid; grid-template-columns: 24px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.home-service-list article:first-child { padding-top: 4px; border-top: 0; }
.home-service-list article:last-child { padding-bottom: 0; }
.home-service-number { font-size: 11px; color: var(--wood); padding-top: 6px; }
.home-page .home-service-list h3 { font-size: 19px; line-height: 1.65; letter-spacing: -.02em; }
.home-service-copy { font-size: 14px; line-height: 1.95; color: var(--muted); margin-top: 10px; }
.home-scope-note { font-size: 11px; line-height: 1.8; color: var(--muted); border-top: 1px solid var(--line); padding-top: 19px; margin-top: 39px; }
.home-work { padding: 66px 0 70px; background: var(--paper-alt); border-block: 1px solid var(--line); }
.home-section-top { display: flex; justify-content: space-between; gap: 35px; align-items: end; margin-bottom: 34px; }
.home-section-top .text-link { flex-shrink: 0; font-size: 13px; }
.home-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-work-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 31px 34px; display: flex; flex-direction: column; align-items: start; }
.home-work-type { color: var(--wood); font-size: 10px; line-height: 1.7; }
.home-page .home-work-card h3 { font-size: 25px; line-height: 1.6; margin-top: 18px; letter-spacing: -.03em; }
.home-work-card .home-service-copy { margin-top: 16px; }
.home-work-tags { display: flex; gap: 7px; flex-wrap: wrap; list-style: none; margin: 22px 0 25px; padding: 0; }
.home-work-tags li { padding: 4px 9px; font-size: 10px; line-height: 1.8; color: var(--muted); background: var(--paper-alt); border-radius: 3px; }
.home-work-card .text-link { margin-top: auto; font-size: 12px; }
.home-work-note { margin-top: 20px; font-size: 10px; color: var(--muted); line-height: 1.8; }
.home-story { padding: 88px 0; }
.home-story-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 74px; align-items: center; }
.home-story-image img { width: 100%; height: auto; border-radius: 8px; }
.home-story-image figcaption { color: var(--muted); font-size: 11px; margin-top: 12px; }
.home-founder { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.founder-initial { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--serif); font-size: 17px; }
.home-founder > div { display: flex; flex-direction: column; gap: 4px; }
.home-founder strong { font-size: 14px; font-weight: 500; }
.home-founder > div > span { font-size: 10px; line-height: 1.7; color: var(--muted); }
.home-story .text-link { font-size: 12px; margin-top: 21px; }
.home-faq { padding: 54px 0 72px; border-top: 1px solid var(--line); }
.home-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.home-faq .faq-list summary { font-size: 15px; padding-block: 22px; }
.home-faq .faq-list details > p { font-size: 14px; line-height: 1.9; }
.home-contact { background: var(--forest); color: var(--paper); padding: 57px 0; }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.home-contact .eyebrow { color: var(--light-muted); font-size: 10px; }
.home-page .home-contact h2 { font-size: 37px; line-height: 1.55; }
.home-contact-copy { color: var(--light-muted); font-size: 13px; line-height: 1.9; margin-top: 16px; max-width: 540px; }
.home-contact .button { flex-shrink: 0; }
html[lang=en] .home-title { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 65px); line-height: 1.12; letter-spacing: -.035em; }
html[lang=en] .home-page h2 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.15; }
html[lang=en] .home-lead { font-size: 20px; line-height: 1.6; }
html[lang=en] .home-page .home-service-list h3 { font-size: 25px; line-height: 1.25; }
html[lang=en] .home-page .home-work-card h3 { font-size: 31px; line-height: 1.2; }
html[lang=en] .home-page .home-contact h2 { font-size: 45px; }
@media (max-width: 1050px) {
  .home-hero-grid { gap: 36px; grid-template-columns: 1fr 1fr; }
  .home-title { font-size: 43px; }
  .home-lead { font-size: 17px; }
  .home-services-grid { gap: 55px; }
  .home-story-grid { gap: 45px; }
  .home-faq-grid { gap: 50px; }
  .home-work-card { padding: 27px; }
  .home-actions { gap: 14px; }
}
@media (max-width: 760px) {
  .home-page .home-hero { padding-top: 38px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 37px; }
  .home-title { font-size: clamp(33px, 9.8vw, 43px); line-height: 1.4; margin-top: 17px; }
  .home-lead { font-size: 17px; margin-top: 19px; line-height: 1.8; }
  .home-description { font-size: 14px; line-height: 1.9; margin-top: 14px; }
  .home-actions { gap: 18px; margin-top: 24px; }
  .home-actions .button { padding: 14px 17px; gap: 15px; min-height: 49px; font-size: 12px; }
  .home-actions .text-link { font-size: 12px; gap: 11px; }
  .concept-lab { padding: 22px 20px 17px; border-radius: 12px; }
  .concept-lab-top { font-size: 8px; }
  .concept-prompt { margin-top: 19px; }
  .concept-picker { gap: 6px; }
  .concept-choice { min-height: 44px; padding: 9px 10px; font-size: 10px; }
  .concept-panel { padding-top: 21px; }
  .home-page .concept-question { font-size: 23px; }
  .concept-explanation { min-height: 0; font-size: 13px; }
  .concept-flow { grid-template-columns: 1fr 20px 1fr; gap: 5px; margin-top: 17px; }
  .concept-ai, .concept-human { padding: 14px 12px; min-height: 137px; }
  .concept-role { font-size: 9px; }
  .concept-ai strong, .concept-human strong { font-size: 11px; }
  .concept-benefit strong { font-size: 13px; }
  html[lang=en] .home-page .concept-question { font-size: 28px; }
  html[lang=en] .concept-explanation { min-height: 0; }
  .home-product-label { margin-bottom: 11px; }
  .home-product-screen { border-radius: 9px; padding: 8px; }
  .screen-open { right: 16px; bottom: 16px; font-size: 10px; min-height: 38px; }
  .home-product-figure figcaption { padding-top: 13px; }
  .home-product-figure figcaption > div { gap: 6px 12px; }
  .home-product-figure strong { font-size: 21px; }
  .home-product-figure figcaption > div > span { font-size: 11px; }
  .home-demo-note { font-size: 10px; }
  .home-route-strip { margin-top: 30px; grid-template-columns: 1fr; }
  .home-route-strip > a { padding: 21px 0; }
  .home-route-strip > a + a { border-left: 0; border-top: 1px solid var(--line); padding: 21px 0; }
  .home-route-strip strong { font-size: 17px; margin-top: 4px; }
  .route-description { font-size: 11px; margin-top: 4px; }
  .home-services { padding: 49px 0 40px; }
  .home-services-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-page h2 { font-size: 28px; line-height: 1.55; margin-top: 13px; }
  .home-section-copy { font-size: 14px; line-height: 1.95; margin-top: 17px; }
  .home-section-heading .text-link { margin-top: 17px; }
  .home-service-list article { gap: 13px; padding-block: 22px; grid-template-columns: 22px 1fr; }
  .home-page .home-service-list h3 { font-size: 18px; line-height: 1.65; }
  .home-service-copy { font-size: 14px; line-height: 1.95; }
  .home-scope-note { margin-top: 28px; padding-top: 16px; font-size: 10px; }
  .home-work { padding: 43px 0 45px; }
  .home-section-top { display: block; margin-bottom: 25px; }
  .home-section-top .text-link { margin-top: 17px; }
  .home-work-grid { grid-template-columns: 1fr; gap: 17px; }
  .home-work-card { padding: 26px; }
  .home-page .home-work-card h3 { font-size: 22px; margin-top: 14px; }
  .home-work-tags { margin-block: 18px 22px; }
  .home-work-note { font-size: 10px; }
  .home-story { padding: 50px 0; }
  .home-story-grid { grid-template-columns: 1fr; gap: 29px; }
  .home-story-image { max-width: 560px; }
  .home-story-image figcaption { font-size: 10px; }
  .home-founder { margin-top: 21px; }
  .home-story .text-link { margin-top: 17px; }
  .home-faq { padding: 39px 0 44px; }
  .home-faq-grid { grid-template-columns: 1fr; gap: 23px; }
  .home-faq .faq-list summary { font-size: 14px; padding-block: 20px; }
  .home-faq .faq-list details > p { font-size: 14px; }
  .home-contact { padding: 41px 0; }
  .home-contact-inner { flex-direction: column; align-items: start; gap: 24px; }
  .home-page .home-contact h2 { font-size: 29px; }
  .home-contact-copy { font-size: 13px; margin-top: 14px; }
  html[lang=en] .home-title { font-size: clamp(42px, 11.8vw, 58px); line-height: 1.1; }
  html[lang=en] .home-page h2 { font-size: 34px; }
  html[lang=en] .home-lead { font-size: 18px; }
  html[lang=en] .home-page .home-service-list h3 { font-size: 24px; }
  html[lang=en] .home-page .home-work-card h3 { font-size: 29px; }
  html[lang=en] .home-page .home-contact h2 { font-size: 35px; }
}
@media (max-width: 360px) {
  .home-actions { gap: 12px; }
  .home-actions .button { font-size: 11px; padding-inline: 13px; gap: 10px; }
  .home-actions .text-link { font-size: 11px; gap: 8px; }
  .home-work-card { padding: 22px; }
}
