/* Shared palette: white, navy and restrained teal accents. */
:root {
  --blue-dark: #172b49;
  --blue-mid: #274464;
  --blue-bright: #087f83;
  --blue-light: #b5dadd;
  --accent: #087f83;
  --gray-light: #f3f5f8;
  --gray-text: #536174;
}
body { background: #fff; color: #253449; }
header { background: #172b49; box-shadow: 0 2px 16px rgba(23,43,73,.12); }
header .logo span { color: #8dcdd0; }
header nav a:hover { color: #b5dadd; }
h1, h2, dt { color: #172b49; }
a { color: #08777b; }
a:focus-visible { outline-color: #087f83; }
.label { color: #536174; }
footer { background: #101e33; color: #b9c4d2; }
footer a { color: #b5dadd !important; }

/* Home */
.hero { background: linear-gradient(135deg, #fff 0%, #f3f5f8 100%); padding-top: 210px; }
.hero::before { display: none; }
.hero-network { opacity: .12; filter: grayscale(1); }
.hero-logos { background: #fff; box-shadow: 0 3px 16px rgba(23,43,73,.08); }
.hero-badge { background: #fff; color: #274464; border-color: #c7d1dd; }
.hero h1 { color: #172b49; text-shadow: none; }
.hero h1 .highlight { background: none; -webkit-text-fill-color: #172b49; color: #172b49; animation: none; }
.hero-sub { color: #536174; }
.btn-primary, .btn-contact { background: #08777b; box-shadow: 0 4px 12px rgba(23,43,73,.12); }
.btn-primary:hover, .btn-contact:hover { background: #066368; box-shadow: 0 6px 18px rgba(23,43,73,.16); }
.btn-secondary { color: #172b49; border-color: #aab8c8; background: #fff; }
.btn-secondary:hover { background: #edf1f6; border-color: #274464; }
.section-label { color: #536174; }
.mission-subtitle { color: #274464; }
.problem-card, .reason-item { box-shadow: 0 3px 16px rgba(23,43,73,.05); }
.problem-card:hover { box-shadow: 0 6px 20px rgba(23,43,73,.1); }
.service-card { background: #fff; border: 1px solid #d5dde7; color: #253449; box-shadow: 0 3px 16px rgba(23,43,73,.04); }
.service-card::after { background: #f3f5f8; }
.service-card:hover { border-color: #087f83; box-shadow: 0 10px 28px rgba(23,43,73,.12); }
.service-card .num { color: #bac7d7; }
.service-card h3 { color: #172b49; }
.service-card p { color: #536174; }
.reason-icon { background: #e9eef5; }
.profile-photo { box-shadow: 0 6px 24px rgba(23,43,73,.12); }
.profile-text .role { color: #08777b; }
.contact { background: #172b49; }
.contact .section-label, .contact .c-label { color: #b5dadd !important; }
.contact .contact-note { color: #bec9d7; }
.modal-overlay { background: rgba(16,30,51,.65); }
.modal-num { color: #b9c7d7; }
.modal-title { color: #172b49; }
.modal-head, .modal-section + .modal-section, .modal-table th, .modal-table td,
.service-terms dl, .service-terms dl > div { border-color: #d5dde7; }

/* Company and FAQ */
body:not(.home) main { background: #fff; }
dl { box-shadow: 0 4px 24px rgba(23,43,73,.05); }
dl > div { border-color: #d5dde7; }
.questions { background: #f3f5f8; }
.faq-item { border-left-color: #274464; box-shadow: 0 4px 24px rgba(23,43,73,.06); }
.answer { color: #274464; }
.contact a { color: #b5dadd; }
@media (max-width: 1000px) {
  .home header { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .home header nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
  .home header nav a { margin-left: 0; }
  .home .hero-logos { top: 130px; }
  .home .hero { padding-top: 250px; }
}
@media (max-width: 600px) {
  .home header nav { display: none; }
  .home .hero-logos { top: 86px; }
  .home .hero { padding-top: 190px; }
}

/* A more expressive home: practical AI, human support. */
.home section[id] { scroll-margin-top: 115px; }
.home .hero { min-height: 790px; padding: 150px 32px 80px; text-align: left; background: radial-gradient(ellipse at 90% 15%, #e7eef6, transparent 55%), #fff; }
.hero-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; max-width: 1200px; width: 100%; margin: auto; }
.hero-content { max-width: none; min-width: 0; }
.hero-badge { padding: 0 0 0 14px; border: 0; border-left: 3px solid #087f83; border-radius: 0; background: none; font-size: 12px; letter-spacing: .15em; }
.home .hero h1 { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.32; letter-spacing: -.05em; }
.home .hero h1 .highlight { position: relative; display: inline-block; z-index: 0; }
.home .hero h1 .highlight::after { content: ''; position: absolute; left: 0; right: 0; bottom: .12em; height: .15em; background: #b5dadd; z-index: -1; transform: rotate(-2deg); }
.hero-sub { font-size: 16px; line-height: 2; max-width: 500px; margin-bottom: 28px; }
.hero-buttons { justify-content: flex-start; gap: 12px; }
.hero-buttons a { padding: 14px 23px; font-size: 14px; border-radius: 10px; }
.home .hero-logos { position: static; display: inline-flex; margin-top: 32px; padding: 0; background: none; box-shadow: none; gap: 20px; }
.home .hero-logos img { width: 62px; height: 62px; }
.ai-scene { position: relative; min-width: 0; padding: 24px 14px 20px; background: rgba(255,255,255,.7); border: 1px solid #dbe3ed; border-radius: 28px; box-shadow: 0 28px 60px -32px rgba(23,43,73,.3); transform: rotate(1deg); }
.scene-topline { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; font-size: 13px; font-weight: bold; color: #536174; }
.scene-dot { width: 8px; height: 8px; background: #087f83; border-radius: 50%; }
.scene-board { position: relative; width: 100%; aspect-ratio: 480 / 420; margin: 14px 0 0; background-image: radial-gradient(#c6d1de .8px, transparent .8px); background-size: 22px 22px; }
.scene-orbit { position: absolute; left: 50%; top: 49%; border: 1px solid #d8e1eb; border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 62%; aspect-ratio: 1; }
.orbit-two { width: 85%; aspect-ratio: 1; border-style: dashed; }
.scene-paths { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-paths path { stroke: #6a929c; stroke-width: 1.5; stroke-dasharray: 5 7; animation: path-flow 16s linear infinite; }
.work-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; width: 47%; padding: 15px 12px; background: #fff; border: 1px solid #d9e2ed; border-radius: 13px; box-shadow: 0 10px 22px rgba(23,43,73,.08); animation: work-float 7s ease-in-out infinite; }
.work-doc { left: 1%; top: 8%; transform: rotate(-5deg); }
.work-mail { right: 0; top: 12%; animation-delay: -2s; }
.work-info { left: 0; top: 65%; animation-delay: -4s; }
.work-icon { flex-shrink: 0; font-size: 11px; font-weight: bold; color: #08777b; background: #eaf4f4; padding: 7px; border-radius: 7px; }
.work-card strong { font-size: 15px; display: block; color: #172b49; }
.work-card small { display: block; font-size: 10px; color: #536174; margin-top: 4px; }
.card-mark { margin-left: auto; color: #73869d; }
.ai-core { position: absolute; left: 50%; top: 49%; transform: translate(-50%,-50%); width: 104px; height: 104px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #172b49; color: white; box-shadow: 0 12px 26px rgba(23,43,73,.2); z-index: 1; }
.ai-core > span { font-size: 23px; line-height: 1; color: #b5dadd; }
.ai-core strong { font-size: 30px; letter-spacing: .06em; }
.ai-core small { font-size: 10px; color: #d6e1ef; }
.scene-result { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 86%; padding: 13px 8px; border: 1px solid #b8d3d7; background: #f0f7f7; text-align: center; color: #274464; font-size: 13px; font-weight: bold; border-radius: 10px; }
.scene-result span { color: #087f83; margin-right: 8px; }
.ai-scene figcaption { text-align: center; font-size: 12px; line-height: 1.9; color: #536174; margin: 16px 0 10px; }
.motion-toggle { display: block; margin: auto; border: 0; border-bottom: 1px solid #9aabbc; color: #536174; background: transparent; font: inherit; font-size: 11px; min-height: 32px; cursor: pointer; }
.ai-scene.is-paused * { animation-play-state: paused !important; }
@keyframes work-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes path-flow { to { stroke-dashoffset: -96; } }
.home .mission { background: #172b49; color: #fff; position: relative; overflow: hidden; padding: 84px 24px; }
.home .mission::after { content: '+'; position: absolute; right: 5%; top: 50%; transform: translateY(-53%); font-size: 360px; line-height: 1; font-weight: 200; color: rgba(181,218,221,.07); pointer-events: none; }
.home .mission .section-title { color: #fff; font-size: clamp(28px, 3.7vw, 46px); }
.home .mission .section-label, .home .mission .mission-subtitle { color: #b5dadd; }
.home .mission .section-desc { color: #d2dce9; max-width: 760px; }
.home .problem { background: #f3f5f8; }
.home .problem-card { border-left: 0; border-top: 3px solid #274464; border-radius: 3px 3px 16px 16px; }
.home .service { padding-top: 100px; }
.home .service-card { padding-top: 30px; border-radius: 4px 24px 24px 24px; }
.home .service-card .num { font-size: 62px; color: #c4cfde; line-height: 1; margin-bottom: 24px; }
.home .service-card:nth-child(2) { border-top: 4px solid #087f83; }
.home .service-card:nth-child(3) { border-top: 4px solid #274464; }
.home .service-card:nth-child(1) { border-top: 4px solid #172b49; }
.home .service-terms { margin-top: 48px; border-radius: 16px; background: #f3f5f8; padding: 28px; }
.home .service-terms dl { box-shadow: none; }
.home .reason { background: #edf1f6; }
.home .reason-item { background: transparent; box-shadow: none; padding: 24px 12px; border-top: 1px solid #bbc9d9; border-radius: 0; }
.home .profile { padding-top: 96px; padding-bottom: 96px; background: linear-gradient(110deg, #fff 55%, #f3f5f8 55%); }
.home .profile .section-title { font-size: clamp(28px, 4vw, 44px); }
.home .profile-inner { gap: 56px; }
.home .profile-photo { width: 260px; height: 310px; border-radius: 100px 100px 20px 20px; transform: rotate(-3deg); border: 8px solid white; box-shadow: 14px 14px 0 #dbe5ef; }
.home .profile-text .name { font-size: 32px; }
.home .profile-social { padding-top: 20px; border-top: 1px solid #d5dde7; }
@media (max-width: 1000px) {
  .home .hero { padding: 150px 24px 72px; }
  .hero-layout { gap: 24px; }
  .work-card { padding: 12px 8px; gap: 6px; width: 49%; }
  .work-icon, .card-mark { display: none; }
  .ai-core { width: 88px; height: 88px; border-radius: 23px; }
}
@media (max-width: 760px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
  .home .hero { padding-top: 145px; }
  .home .hero h1 { font-size: clamp(36px, 8vw, 56px); }
  .ai-scene { width: 100%; max-width: 500px; margin: auto; transform: none; }
  .work-icon, .card-mark { display: block; }
  .home .profile-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .home .profile-text { min-width: 0; }
  .home .profile { background: #f7f9fc; }
}
@media (max-width: 600px) {
  .home .hero { padding: 112px 20px 56px; }
  .home .hero h1 { font-size: clamp(32px, 8.4vw, 48px); }
  .hero-buttons a { padding: 13px 17px; }
  .home .hero-logos img { width: 52px; height: 52px; }
  .ai-scene { padding: 20px 10px 16px; }
  .work-card strong { font-size: 13px; }
  .work-card small { font-size: 9px; }
  .card-mark { display: none; }
  .ai-core { width: 76px; height: 76px; border-radius: 20px; }
  .ai-core strong { font-size: 24px; }
  .ai-core small { font-size: 9px; }
  .scene-result { font-size: 11px; padding: 10px 4px; width: 94%; }
  .scene-topline { font-size: 12px; }
  .home .profile-inner { align-items: center; }
  .home .profile-photo { width: 220px; height: 265px; }
  .home .service-terms { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-card, .scene-paths path { animation: none; }
  .motion-toggle { display: none; }
}
