/* Mobile layout refinement, 2026/10/28. Desktop changes are limited to the
   requested case tabs and the explanatory handoff illustration. */
.mobile-pricing-link,.hero-mobile-lead,.plan-nav,.metric-label-mobile,.mv-answer-mobile{display:none}

/* Case studies: three clear, equally sized controls on PC and mobile. */
.case-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:7px;border:1px solid #cad9ed;border-radius:12px;background:#e8eff9;margin-top:36px}
.case-tabs button{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:68px;padding:14px 16px;margin:0;border:1px solid transparent;border-radius:7px;background:#fff;color:#4c6586;font-size:17px;line-height:1.5;transition:background .15s,color .15s,border-color .15s}
.case-tabs button[aria-selected="true"]{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:0 3px 7px #142b501a}
.case-tabs button:hover:not([aria-selected="true"]){background:#f8fbff;border-color:#8aaddb;color:var(--navy)}
.case-tab-number{font-size:12px;font-weight:700;opacity:.75}
.case-tabs button:focus-visible{outline:3px solid #168dff;outline-offset:3px}
.case-panel{margin-top:15px;border:1px solid #d7e3f2;border-radius:9px}

/* A process illustration, with no simulated inputs or close/submit controls. */
.handoff-preview{margin:0;min-width:0;align-self:start}
.handoff-preview>figcaption{font-size:13px;font-weight:700;letter-spacing:.06em;color:#6d84a3;margin-bottom:12px;text-align:left}
.handoff-preview-card{border:1px solid #c9d9ed;border-radius:15px;padding:30px;background:linear-gradient(160deg,#fff,#f3f8ff);box-shadow:0 10px 28px #183f7008}
.handoff-preview-title{font-size:22px;line-height:1.6;font-weight:700;color:var(--navy);margin-bottom:23px}
.handoff-preview-steps{list-style:none;display:grid;gap:23px}
.handoff-preview-steps>li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:13px;align-items:start}
.handoff-preview-steps>li>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#e1edff;color:var(--blue);font-size:12px;font-weight:700;line-height:1}
.handoff-preview-steps h4{font-size:18px;line-height:1.65;margin-bottom:4px}
.handoff-preview-steps p{font-size:15px;line-height:1.85;color:#647d9f}
.handoff-preview-result{display:flex;align-items:center;gap:11px;border-top:1px solid #ccdaed;margin-top:25px;padding-top:21px;color:var(--navy);font-size:17px;font-weight:700}
.handoff-preview-result svg{width:22px;height:22px;color:var(--blue)}
.pricing-plan{scroll-margin-top:0}

@media(max-width:760px){
  html{scroll-padding-top:78px}
  .site-header{height:60px}
  .header-inner{display:flex;grid-template-columns:none;width:calc(100% - 32px);justify-content:space-between;gap:12px}
  .site-header .brand{width:166px}
  .site-header nav,.site-header .header-actions{display:none}
  .mobile-pricing-link{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;text-decoration:none;color:var(--navy);border:1px solid #c5d7ed;background:#fff;border-radius:5px;min-height:44px;padding:6px 11px;white-space:nowrap}

  /* The message, compact visual and fixed CTA fit in the first viewport.
     Supporting metrics follow immediately below this first screen. */
  .hero-main{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:20px;height:auto;min-height:0;max-height:none;padding-block:25px 18px;overflow:visible}
  .hero-copy{max-width:none;width:100%}
  .hero-copy .eyebrow{font-size:11px;line-height:1.5;letter-spacing:.025em;margin-bottom:9px}
  .hero h1{font-size:clamp(31px,9.6vw,42px);line-height:1.17;letter-spacing:-.015em}
  .hero h1 .text-blue{font-size:inherit}
  .hero-intro{font-size:clamp(17px,5.2vw,22px);line-height:1.5;letter-spacing:.015em;margin-bottom:6px}
  .hero .subsidy-achievement{margin-top:11px;padding:7px 10px;gap:8px;border-radius:5px;box-shadow:none}
  .hero .achievement-mark{width:27px;height:27px}
  .hero .achievement-mark>svg{width:18px;height:18px}
  .hero .subsidy-achievement>span:nth-child(2){display:flex;align-items:center;gap:9px;line-height:1.4}
  .hero .subsidy-achievement small{font-size:10px;white-space:nowrap}
  .hero .subsidy-achievement strong{font-size:15px;margin:0;letter-spacing:.02em;white-space:nowrap}
  .hero .achievement-link,.hero .hero-lead,.hero .cta-row,.hero .hero-cta-note{display:none}
  .hero-mobile-lead{display:block;margin-top:11px;font-size:14px;line-height:1.8;letter-spacing:.01em;color:#526783}
  .hero-mobile-lead strong{color:var(--navy)}
  .hero-visual{flex:none;align-self:center;position:relative;width:min(100%,360px);height:clamp(170px,27svh,245px);max-width:none;margin:0}
  .hero .hero-speech{display:none}
  .hero .hero-orbit{width:205px;height:205px;top:0;left:calc(50% - 105px)}
  .hero .orbit-b{width:245px;height:245px;top:-19px;left:calc(50% - 125px)}
  .hero .hero-mascot{width:51%;max-width:190px;top:auto;bottom:8px;left:3%;z-index:4}
  .hero .hero-phone.hero-umekomi-phone{width:45%;max-width:158px;height:calc(100% - 15px);max-height:224px;top:0;right:5%;border-width:5px;border-radius:19px;padding:10px 0 9px;transform:rotate(5deg);box-shadow:9px 12px 24px #1737541a}
  .hero .mv-chat-header{padding:6px 7px;gap:6px;min-height:0}
  .hero .mv-chat-header>img{width:22px;height:22px;min-width:22px}
  .hero .mv-chat-header strong{font-size:10px;line-height:1.5}
  .hero .mv-chat-header div>span{font-size:7px;line-height:1.5}
  .hero .mv-chat-close,.hero .mv-chat-welcome,.hero .mv-chat-suggestions,.hero .mv-chat-privacy,.hero .mv-chat-input{display:none}
  .hero .mv-chat-content{padding:9px 7px 5px;min-height:0}
  .hero .mv-chat-question{font-size:9px;line-height:1.6;padding:6px 8px;margin:0 0 9px 18px}
  .hero .mv-chat-answer{gap:4px;align-items:start}
  .hero .mv-chat-answer>img{width:17px;height:17px;min-width:17px}
  .hero .mv-chat-answer>p{font-size:9px;line-height:1.7;padding:6px 7px;letter-spacing:0}
  .hero .mv-answer-desktop,.hero-metrics .metric-label-desktop{display:none}
  .hero .mv-answer-mobile,.hero-metrics .metric-label-mobile{display:inline}
  .hero .phone-speaker{width:32px;left:calc(50% - 16px);height:3px;top:4px}
  .hero .phone-home{width:35px;left:calc(50% - 17px);height:2px;bottom:4px}
  .hero .visual-caption{right:5%;bottom:0;font-size:9px;gap:5px}
  .hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 0;padding-block:21px 18px;align-items:start}
  .hero-metrics>div,.hero-metrics>div:first-child{display:grid;grid-template-rows:22px 42px;gap:7px;padding:0 7px;min-width:0;justify-items:center;text-align:center}
  .hero-metrics .metric-label{display:flex;align-items:center;justify-content:center;width:100%;font-size:12px!important;line-height:1.5;letter-spacing:0;white-space:nowrap;margin:0}
  .hero-metrics>div>strong,.hero-metrics>.faq-metric>strong{display:flex;align-items:baseline;justify-content:center;width:100%;font-size:32px;line-height:1.2;letter-spacing:-.03em;white-space:nowrap}
  .hero-metrics>div>strong span,.hero-metrics>.faq-metric>strong span{font-size:16px;line-height:1;letter-spacing:0;padding-left:2px}
  .hero-metrics>div>strong small{font-size:11px;line-height:1;margin:0 3px 0 0}
  .hero-metrics>p,.hero-metrics>p strong{font-size:11px;line-height:1.7;padding:0}
  .hero-metrics>p{grid-column:1/-1}
  .hero-metrics>p br{display:none}
  .subsidy-strip{padding:17px 16px;gap:7px 10px}
  .subsidy-strip>span{font-size:12px}
  .subsidy-strip strong{font-size:17px}
  .subsidy-strip a{font-size:12px}
  .mobile-cta{padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}
  .mobile-cta>button{min-height:52px;font-size:13px;gap:7px;line-height:1.3;padding:8px 6px;white-space:nowrap}
  .mobile-cta .line-icon{width:26px;height:26px;min-width:26px}

  /* Give percentages a deliberate, compact number column. */
  .problem-stats{grid-template-columns:1fr;padding:0;margin-top:26px;gap:0}
  .problem-stats>div,.problem-stats>div:first-child{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid #e6d4cf;padding:21px 4px}
  .problem-stats>div:last-child{border-bottom:0}
  .problem-stats strong{display:block;width:100%;min-width:0;justify-self:center;text-align:center;font-size:36px;line-height:1.15;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
  .problem-stats small{font-size:16px;margin-left:2px}
  .problem-stats p{font-size:14px;line-height:1.85;margin:0;letter-spacing:.015em}
  .problem-stats p br{display:none}
  .problem-stats p span{font-size:10px;line-height:1.8;margin-top:7px;letter-spacing:0}

  /* Compare effort side by side, even on a 320px screen. */
  .effort-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
  .effort-arrow{display:none}
  .effort-self,.effort-umekomi{padding:19px 14px;min-height:0;min-width:0;border-radius:5px}
  .effort-self>p:first-child{font-size:13px;line-height:1.7;min-height:76px}
  .effort-self>strong{font-size:clamp(25px,7vw,36px);line-height:1.3;letter-spacing:-.045em;margin:16px 0 15px;white-space:nowrap;min-height:70px}
  .effort-self>strong span{display:block;font-size:13px;line-height:1.6;margin:0;letter-spacing:0}
  .effort-self ul{font-size:12px;line-height:1.85;margin-bottom:12px}
  .effort-self li{padding-left:10px;position:relative;margin-bottom:5px}
  .effort-self li:before{position:absolute;left:0;top:0;margin:0}
  .effort-self .micro{font-size:11px;line-height:1.8}
  .effort-umekomi>.tag{font-size:16px;line-height:1.5;letter-spacing:-.02em;margin-bottom:10px}
  .effort-umekomi>p{font-size:12px;line-height:1.8}
  .effort-umekomi>strong{font-size:58px;line-height:1.2;margin:13px 0 17px;white-space:nowrap}
  .effort-umekomi>strong small,.effort-umekomi>strong span{font-size:14px;letter-spacing:0}
  .effort-umekomi>strong small{padding-right:4px}
  .effort-umekomi>strong span{margin-left:4px}
  .effort-umekomi>p:last-of-type{font-size:12px;line-height:1.85;max-width:none}
  .effort-umekomi>p:last-of-type br{display:none}
  .effort-umekomi>img{display:none}

  .case-main{grid-template-columns:minmax(0,1fr);gap:26px}
  .case-screen-body{padding:20px;gap:17px;min-height:0;align-items:center;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr)}
  .case-screen-body>img{width:100%;max-width:160px}
  .case-screen-caption{position:static;width:auto;min-width:0}
  .case-screen-caption p{font-size:16px;line-height:1.8}
  .case-screen-caption strong{font-size:21px;white-space:nowrap}
  .case-screen-caption>span{font-size:12px;line-height:1.7;margin-block:10px 7px}
  .case-screen-caption>img{width:140px;max-width:100%;margin:0}
  .case-small-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
  .case-small-stats>div{display:block;min-width:0;border:1px solid #d9e5f3;background:#fff;border-radius:7px;padding:15px 14px}
  .case-small-stats strong{display:block;font-size:40px;line-height:1.15;margin-bottom:10px}
  .case-small-stats strong small{font-size:19px;padding-left:2px}
  .case-small-stats p{font-size:13px;line-height:1.8;margin:0;letter-spacing:0}
  .case-small-stats p br{display:none}
  .case-tabs{gap:5px;padding:5px;margin-top:28px;border-radius:10px}
  .case-tabs button{flex-direction:column;gap:5px;padding:12px 4px;min-height:68px;font-size:12px;line-height:1.5;letter-spacing:0;white-space:nowrap}
  .case-tab-number{font-size:10px;letter-spacing:.08em}
  .case-panel{padding:23px 20px;min-height:0}
  .case-panel h3{font-size:19px;line-height:1.7}
  .case-panel p{font-size:15px;line-height:1.9}
  .response-examples{grid-template-columns:minmax(0,1fr)}
  .response-examples>article,.response-title>div,.ai-response>p{min-width:0}
  .response-title h3{font-size:18px;overflow-wrap:anywhere}
  .ai-response>p{overflow-wrap:anywhere}
  .handoff-details-grid{gap:26px}
  .handoff-preview-card{padding:23px 20px;border-radius:11px}
  .handoff-preview-title{font-size:21px;line-height:1.7;margin-bottom:21px}
  .handoff-preview-steps{gap:20px}
  .handoff-preview-steps h4{font-size:17px}
  .handoff-preview-steps p{font-size:14px}
  .handoff-preview-result{font-size:16px;line-height:1.7}

  /* Eight use cases, two columns; no fixed line breaks in body copy. */
  .industry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0}
  .industry-grid>article:nth-child(n){padding:19px 14px;border:1px solid #d5e3f4;border-radius:7px;background:#fff;min-width:0}
  .industry-grid article>svg{width:30px;height:30px;margin-bottom:15px}
  .industry-grid article>span{top:20px;right:12px;font-size:10px;line-height:1.5}
  .industry-grid h3{font-size:15px;line-height:1.65;letter-spacing:0;min-height:3.3em;margin-bottom:9px;overflow-wrap:normal;word-break:keep-all}
  .industry-grid p{font-size:13px;line-height:1.85;letter-spacing:0}
  .industry-grid p br{display:none}

  /* Plan shortcuts, followed by shorter cards with fees side by side. */
  .pricing-section .section-heading{margin-bottom:26px}
  .plan-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:21px}
  .plan-nav a{display:grid;grid-template-columns:minmax(0,1fr) 16px;gap:4px 3px;text-decoration:none;border:1px solid #bfd1eb;border-radius:7px;padding:13px 11px;background:#fff;color:var(--navy);min-width:0}
  .plan-nav a>span{font-size:12px;font-weight:700;line-height:1.7;letter-spacing:0}
  .plan-nav a>small{font-size:11px;color:#647d9f;grid-row:2;line-height:1.7;letter-spacing:0}
  .plan-nav a>svg{width:16px;height:16px;grid-column:2;grid-row:1/3;align-self:center;transform:rotate(90deg);color:var(--blue)}
  .plan-nav a:active{background:#e7f0ff}
  .pricing-plans{gap:18px}
  .pricing-plan{padding:22px 20px;scroll-margin-top:0;min-height:0}
  .plan-eyebrow{font-size:10px;line-height:1.5;margin-bottom:7px}
  .plan-heading h3{font-size:22px;line-height:1.6}
  .plan-condition{font-size:12px;padding:5px 9px;margin-top:10px;line-height:1.6}
  .plan-fees{display:grid;grid-template-columns:1.05fr 1fr;gap:14px;align-items:center;margin-top:20px}
  .plan-fees dt{font-size:12px;line-height:1.7;letter-spacing:0}
  .plan-fees dd{white-space:normal;gap:5px;margin-top:4px;line-height:1.2}
  .plan-initial-fee strong{font-size:48px;line-height:1.2}
  .plan-initial-fee dd>span{font-size:16px;white-space:nowrap;line-height:1.5}
  .plan-included-support,.plan-monthly-fee{margin:0;padding:0 0 0 14px;border-top:0;border-left:1px solid #d8e4f2;min-width:0}
  .plan-included-support dd{font-size:17px;line-height:1.7;margin-top:5px;white-space:normal;display:block}
  .plan-monthly-fee strong{font-size:34px}
  .plan-monthly-fee dd>span{font-size:17px}
  .plan-description{font-size:14px;line-height:1.8;margin-block:19px}
  .plan-description br{display:none}
  .pricing-plan>.btn{min-height:48px;font-size:14px;padding:12px 10px;gap:7px}
  .pricing-plan>.btn svg{width:17px;height:17px;margin-left:2px}
  .pricing-inclusions{margin-top:22px}
  .contact-options{grid-template-columns:minmax(0,1fr)}
  .contact-options>article{min-width:0;padding:24px 18px}
  .contact-options h3{overflow-wrap:anywhere}
  .contact-options .btn{min-width:0;white-space:normal;font-size:14px;line-height:1.6;padding:12px 10px}
  .contact-options .btn .line-icon{width:26px;height:26px;min-width:26px}
}

@media(max-width:370px){
  .hero h1{font-size:32px}.hero-intro{font-size:18px}
  .hero-mobile-lead{font-size:12px}
  .hero .subsidy-achievement small{font-size:9px}.hero .subsidy-achievement strong{font-size:14px}
  .problem-stats>div,.problem-stats>div:first-child{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:19px 4px}
  .problem-stats strong{font-size:33px}.problem-stats p{font-size:13px}
  .effort-self,.effort-umekomi{padding:17px 11px}
  .effort-self>strong{font-size:25px}.effort-umekomi>strong{font-size:51px}
  .case-screen-body{padding:15px;gap:12px}.case-screen-caption strong{font-size:18px}
  .case-small-stats>div{padding:14px 11px}
  .industry-grid>article:nth-child(n){padding:17px 11px}.industry-grid h3{font-size:14px}.industry-grid p{font-size:12px}
  .plan-heading h3{font-size:20px}.pricing-plan{padding:20px 17px}.plan-initial-fee strong{font-size:42px}.plan-initial-fee dd>span{font-size:14px}.plan-fees{gap:10px}
  .plan-included-support,.plan-monthly-fee{padding-left:11px}.plan-included-support dd{font-size:15px}
}
@media(max-width:760px) and (max-height:700px){
  .hero-main{height:auto;min-height:0;max-height:none;gap:16px;padding-block:14px 18px}
  .hero-copy .eyebrow{font-size:10px;margin-bottom:6px}
  .hero h1{font-size:32px}.hero-intro{font-size:17px;margin-bottom:4px}
  .hero .subsidy-achievement{margin-top:8px;padding:5px 9px}
  .hero-mobile-lead{margin-top:8px;font-size:12px;line-height:1.75}
  .hero-visual{height:clamp(140px,26svh,175px);width:290px}
  .hero .hero-phone.hero-umekomi-phone{width:128px;height:calc(100% - 9px);right:9%}
  .hero .hero-mascot{width:145px;left:6%;bottom:4px}
  .hero .hero-orbit{width:165px;height:165px;left:calc(50% - 85px)}
  .hero .orbit-b{width:195px;height:195px;top:-15px;left:calc(50% - 100px)}
  .hero .mv-chat-header div>span{display:none}.hero .mv-chat-content{padding-top:6px}
  .hero .mv-chat-answer>p{font-size:8px;line-height:1.6;padding:5px}
  .hero .mv-chat-question{font-size:8px;margin-bottom:6px;padding:5px}
}
