/* PANTONA: white and navy identity, blue-gray surfaces, shoji lines, and a quiet sunrise. */
:root {
  --navy: #182b47;
  --navy-soft: #213b63;
  --blue: #213b63;
  --cyan: #b35743;
  --ink: #213b63;
  --muted: #66707c;
  --line: #e1e6ed;
  --light: #f4f6f9;
  --radius: 4px;
  --shadow: 0 16px 40px #213b6308;
}
body { background: #ffffff; }
::selection { background: #c9705529; }
h1, h2, h3, h4 { letter-spacing: -.045em; }
.button { border-radius: 2px; padding: 14px 22px; }
.button-primary:hover { background: #142c4f; }
.button:hover { box-shadow: 0 5px 18px #213b6314; }
.button-secondary { border-color: #c9ced3; }
.button-secondary:hover { background: #edf0f5; }
.site-header { background: #ffffffed; color: #4c596a; border-bottom: 1px solid var(--line); }
.header-inner { gap: 20px; height: 86px; }
.brand { display: inline-flex; width: 176px; flex-shrink: 0; }
.brand-logo { width: 100%; height: auto; }
.nav-links { gap: 19px; margin-left: auto; }
.nav-links > a { font-size: 11px; }
.nav-links > a:hover, .nav-links > a[aria-current=page] { color: var(--blue); }
.nav-links > a[aria-current=page]:after { background: var(--cyan); bottom: 21px; }
.header-cta { padding: 11px 15px; font-size: 11px; }
.header-cta .icon { width: 14px; }
.nav-toggle { border-color: #cbd0d6; color: var(--blue); border-radius: 2px; }
.language-switch { display: flex; gap: 4px; align-items: center; flex-shrink: 0; border-left: 1px solid var(--line); padding-left: 14px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 5px; color: #727b85; font-size: 10px; white-space: nowrap; }
.language-switch a[aria-current=page] { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 6px; }
.language-switch a:hover { color: var(--cyan); }
.hero { color: var(--ink); background: #ffffff; padding: 66px 0 39px; }
.hero:before { background-image: linear-gradient(90deg, #213b6304 1px, transparent 1px); background-size: 80px 100%; mask-image: none; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 32px; }
.hero-label { padding: 0; border: 0; border-radius: 0; color: var(--blue); background: none; letter-spacing: .17em; font-size: 10px; margin-bottom: 27px; }
.status-dot { background: var(--cyan); border-radius: 50%; box-shadow: none; width: 7px; height: 7px; }
.hero h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.23; letter-spacing: -.055em; }
.gradient-text { background: none; color: var(--blue); }
.hero h1 .gradient-text { color: var(--blue); }
.hero-copy > p { color: #68717c; max-width: 495px; margin: 26px 0 30px; }
.hero .button-dark-outline { color: var(--blue); border-color: #c7cdd4; }
.hero .button-dark-outline:hover { background: #edf0f5; }
.hero-note { color: #6c7783; }
.hero-note .icon { color: var(--cyan); }
.hero-visual > img { width: 107%; margin-left: -3%; }
.vertical-note { position: absolute; writing-mode: vertical-rl; right: -8px; top: 50px; font: 500 12px 'Noto Serif JP',serif; letter-spacing: .35em; color: #66768b; }
.hero-bottom { border-color: #dce2ea; margin-top: 34px; padding-top: 26px; }
.hero-bottom > p, .scroll-note { color: #6c7783; }
.capability-list span { color: #475b76; font-size: 11px; }
.capability-list .icon { color: #64758c; }
.eyebrow { color: #667185; font-size: 10px; letter-spacing: .15em; }
.eyebrow:before { border-radius: 0; background: var(--cyan); width: 6px; height: 6px; }
.text-link { color: var(--blue); }
.text-link:hover { color: var(--cyan); }
.about-art { border-radius: 2px; background: #f4f6f9; border-color: #e1e6ed; }
.about-art-caption { border-radius: 1px; border-left: 2px solid var(--cyan); }
.service-card, .product-card, .industry-card, .insight-card, .feature-card, .team-card, .contact-form, .case-sidebar, .project-detail-image { border-radius: 3px; }
.service-card:hover, .industry-card:hover { border-color: #a4b2c1; }
.icon-box { background: #f0f2f4; border-color: #e1e6ec; color: var(--blue); border-radius: 2px; }
.product-preview { background: #edf0f3; }
.product-preview img { border-radius: 3px 3px 0 0; }
.product-features span { background: #f4f6f9; border-color: #e1e6ed; border-radius: 1px; }
.industry-card > .icon { color: #586d8a; }
.why-section { background: var(--navy); }
.why-grid .eyebrow, .cta-panel .eyebrow { color: #bbc9da; }
.why-point .icon-box { background: #ffffff07; border-color: #ffffff26; color: #b5c5d9; }
.stack-grid, .project-card .project-image { border-radius: 3px; }
.cta-panel { background: var(--navy); border-radius: 3px; padding: 58px; }
.cta-panel:after { width: 330px; height: 330px; right: 17%; top: -180px; border: 1px solid #ffffff16; box-shadow: 0 0 0 35px #ffffff04, 0 0 0 70px #ffffff03; }
.cta-panel .button-primary { background: #ffffff; color: var(--blue); border-color: #ffffff; }
.cta-panel .button-primary:hover { background: #e7ebef; }
.site-footer { background: #152740; }
.site-footer .brand { width: 185px; padding: 8px; background: white; border-radius: 1px; }
.site-footer .text-link { color: #c1cede; }
.footer-column a:hover { color: #e3b1a2; }
.social-links a, .back-top { border-radius: 2px; }
.page-hero { color: var(--ink); background: #f4f6f9; border-bottom: 1px solid var(--line); }
.page-hero:after { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid #b3574314; border-radius: 50%; right: 7%; top: -100px; pointer-events: none; box-shadow: 0 0 0 35px #213b6303, 0 0 0 70px #213b6302; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero p { color: #6b7380; }
.page-hero .eyebrow { color: #687992; }
.breadcrumbs { color: #6c7785; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero .button-dark-outline { color: var(--blue); border-color: #cbd1d7; }
.page-hero .button-dark-outline:hover { background: #edf0f5; }
.product-hero-grid .product-big-preview { background: #e9edf0; border-color: #d8dfe5; border-radius: 3px; box-shadow: 0 20px 45px #213b6310; }
.product-big-preview img, .filter-button, .form-field input, .form-field select, .form-field textarea { border-radius: 2px; }
.filter-button:hover { border-color: #9caec3; }
.solution-panel { border-radius: 3px; }
.solution-title { background: #f4f6f9; }
.related-links a { background: #eef1f4; border-radius: 1px; }
.use-case { border-color: #8a9bb1; border-radius: 0; }
.callout { background: #f0f3f5; border-color: var(--blue); border-radius: 0; }
.placeholder-notice { background: #f2f4f6; border-color: #dde3ea; color: #52647c!important; border-radius: 2px; }
.team-mark { background: #edf0f3; color: var(--blue); }
.article-cover { border-radius: 3px; }
.privacy-copy, .demo-note, .article-meta, .number-label, .stack-group h3 { color: #68717c; }
.form-field input, .form-field select, .form-field textarea { background: #ffffff; }

/* Japanese content has its own typography and comfortable line lengths. */
html[lang=ja] body { font-family: 'Noto Sans JP', sans-serif; line-height: 1.95; }
html[lang=ja] h1, html[lang=ja] h2 { font-family: 'Noto Serif JP', serif; font-weight: 600; letter-spacing: .025em; line-height: 1.65; }
html[lang=ja] h3, html[lang=ja] h4 { font-family: 'Noto Sans JP', sans-serif; letter-spacing: .02em; line-height: 1.65; }
html[lang=ja] h1 { font-size: clamp(34px, 3.3vw, 48px); }
html[lang=ja] h2 { font-size: clamp(27px, 2.7vw, 37px); }
html[lang=ja] .hero h1 { font-size: clamp(35px, 3.5vw, 49px); line-height: 1.65; }
html[lang=ja] .hero h1 .gradient-text { display: inline; }
html[lang=ja] .nav-links { gap: 18px; }
html[lang=ja] .nav-links > a { font-size: 11px; }
html[lang=ja] .hero-copy > p, html[lang=ja] .page-hero p { font-size: 14px; line-height: 2; }
html[lang=ja] .eyebrow { letter-spacing: .12em; }
html[lang=ja] .product-content h3, html[lang=ja] .service-card h3 { font-size: 16px; }
html[lang=ja] .capability-list span { font-family: 'Noto Sans JP', sans-serif; font-size: 10px; }
html[lang=ja] .footer-column h3 { font-family: 'Noto Sans JP', sans-serif; }
html[lang=ja] .filter-bar { gap: 8px; }
@media(max-width:1150px) {
  .header-inner { gap: 13px; }
  .brand { width: 153px; }
  .nav-links, html[lang=ja] .nav-links { gap: 13px; }
  .language-switch { padding-left: 9px; }
  .language-switch a { padding-inline: 3px; }
  .hero h1 { font-size: 50px; }
  .header-cta { padding: 10px 12px; }
}
@media(max-width:960px) {
  .header-inner { height: 74px; }
  .nav-links, html[lang=ja] .nav-links { background: #ffffff; top: 74px; padding-inline: 28px; border-color: var(--line); gap: 0; margin-left: 0; }
  .nav-links > a, html[lang=ja] .nav-links > a { font-size: 14px; }
  .header-cta { margin-left: 0; }
  .language-switch { margin-left: auto; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: 43px; }
  .hero-visual > img { width: 116%; margin-left: -9%; }
  .vertical-note { right: -10px; top: 14px; font-size: 10px; }
  .capability-list { gap: 13px; }
  .capability-list span { font-size: 10px; }
  html[lang=ja] .hero h1 { font-size: 36px; }
  html[lang=ja] .capability-list span { font-size: 9px; }
}
@media(max-width:700px) {
  .header-inner { gap: 11px; }
  .brand { width: 143px; }
  .header-cta { display: none; }
  .language-switch { border: 0; padding: 0; gap: 3px; }
  .language-switch a { font-size: 10px; min-height: 38px; padding-inline: 4px; }
  .hero { padding-top: 43px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero h1 { font-size: clamp(37px, 8.8vw, 51px); }
  .hero-label { font-size: 9px; margin-bottom: 22px; }
  .hero-copy > p { font-size: 14px; }
  .hero .button { padding: 13px 17px; }
  .hero-visual { margin-top: 24px; }
  .hero-visual > img { width: 100%; margin-left: 0; }
  .vertical-note { top: 28px; right: 1px; font-size: 9px; }
  .hero-bottom { margin-top: 17px; }
  .capability-list span { font-size: 10px; }
  .cta-panel { padding: 35px 27px; }
  html[lang=ja] .hero h1 { font-size: 34px; line-height: 1.65; }
  html[lang=ja] .page-hero h1 { font-size: 32px; }
  html[lang=ja] h2 { font-size: 28px; }
  html[lang=ja] .cta-panel h2 { font-size: 26px; }
  html[lang=ja] .section-heading { display: block; }
  html[lang=ja] .section-heading h2 { font-size: 28px; }
  html[lang=ja] .footer-column a { font-size: 11px; }
  html[lang=ja] .button { font-size: 11px; }
  html[lang=ja] .product-content h3 { font-size: 15px; letter-spacing: -.01em; }
}
@media(max-width:380px) {
  .brand { width: 126px; }
  .hero h1 { font-size: 35px; }
  html[lang=ja] .hero h1 { font-size: 30px; }
  html[lang=ja] .page-hero h1 { font-size: 29px; }
  .language-switch a { font-size: 9px; }
  html[lang=ja] .capability-list span { font-size: 8px; }
}
