:root {
  --navy: #0d2239;
  --navy-soft: #17334f;
  --ink: #172331;
  --paper: #f5f6f4;
  --white: #ffffff;
  --cyan: #72d5e8;
  --muted: #64717e;
  --line: #ccd2d5;
  --max: 1160px;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
p { line-height: 1.75; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: -80px; left: 14px; padding: 11px 15px; background: var(--white); color: var(--ink); box-shadow: 0 4px 18px rgb(0 0 0 / .15); }
.skip:focus { top: 14px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.site-header { border-bottom: 1px solid transparent; }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: none; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 12px; }
.nav-links a { position: relative; padding: 9px 0; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 11px 15px !important; background: var(--navy); color: var(--white); }
.nav-contact::after { display: none; }

.eyebrow { margin: 0 0 16px; color: var(--muted); font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.light { color: var(--cyan); }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: 12px; font-weight: 750; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.button.primary { background: var(--navy); color: var(--white); }
.button.light { border-color: var(--white); color: var(--white); }
.button:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

.home-hero { min-height: 660px; padding: 70px 0 90px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 8%; align-items: center; }
.home-hero h1 { margin: 15px 0 28px; font-size: clamp(62px, 9vw, 124px); font-weight: 560; letter-spacing: -.08em; line-height: .81; }
.home-hero-copy > p { max-width: 600px; color: #536171; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-side { align-self: stretch; display: grid; place-items: center; background: var(--navy); color: var(--white); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.hero-side > div { width: 65%; }
.hero-side strong { display: block; color: var(--cyan); font-size: clamp(82px, 9vw, 116px); line-height: .78; letter-spacing: -.09em; }
.hero-side p { font: 700 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }

.dark-section { padding: 88px 0; background: var(--navy); color: var(--white); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-bottom: 55px; }
.section-intro h2, .section-title { margin: 0; font-size: clamp(42px, 6vw, 72px); font-weight: 500; letter-spacing: -.06em; line-height: .96; }
.section-intro > p { max-width: 540px; margin: 0; color: #b9c5cf; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #405166; }
.service { min-height: 220px; padding: 24px 24px 0 0; border-right: 1px solid #405166; }
.service:not(:first-child) { padding-left: 24px; }
.service:last-child { border: 0; }
.service small { color: var(--cyan); font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.service h3 { margin: 60px 0 12px; font-size: 21px; }
.service p { margin: 0; color: #aebac5; font-size: 13px; }

.business-summary { padding: 90px 0; }
.summary-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.summary-head h2 { margin: 0; font-size: clamp(42px, 6vw, 70px); font-weight: 520; letter-spacing: -.06em; }
.summary-head > p { max-width: 420px; margin: 0; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.fact { min-height: 170px; padding: 20px 18px 20px 0; border-right: 1px solid var(--line); }
.fact:not(:first-child) { padding-left: 18px; }
.fact:last-child { border: 0; }
.fact small { color: var(--muted); font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.fact p { margin: 50px 0 0; line-height: 1.55; }

.apps-preview { padding: 42px 0 72px; border-top: 1px solid var(--line); }
.app-row { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding-top: 24px; }
.app-icon { width: 60px; height: 60px; border-radius: 12px; box-shadow: 0 8px 20px rgb(13 34 57 / .16); }
.app-row h2, .app-row h3 { margin: 0 0 5px; font-size: 20px; }
.app-row p { margin: 0; color: var(--muted); font-size: 13px; }
.app-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 16px; font-size: 11px; font-weight: 750; }

.page-hero { padding: 95px 0 88px; border-top: 1px solid var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9%; align-items: end; }
.page-hero h1 { max-width: 850px; margin: 12px 0 0; font-size: clamp(62px, 9vw, 116px); font-weight: 530; letter-spacing: -.08em; line-height: .82; }
.page-hero-copy { max-width: 500px; margin: 0; color: var(--muted); font-size: 17px; }

.content-section { padding: 85px 0; border-top: 1px solid var(--line); }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.content-grid h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 520; letter-spacing: -.055em; line-height: 1; }
.prose { max-width: 690px; }
.prose > :first-child { margin-top: 0; }
.prose p { color: #4f5b67; }
.prose h3 { margin: 42px 0 10px; font-size: 20px; }
.prose ul { padding-left: 20px; color: #4f5b67; line-height: 1.9; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border-top: 1px solid var(--ink); }
.principle { min-height: 235px; padding: 22px 22px 0 0; border-right: 1px solid var(--line); }
.principle:not(:first-child) { padding-left: 22px; }
.principle:last-child { border: 0; }
.principle small { color: var(--muted); font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.principle h3 { margin: 70px 0 12px; font-size: 21px; }
.principle p { margin: 0; color: var(--muted); font-size: 13px; }

.app-card { display: grid; grid-template-columns: 180px 1fr; gap: 42px; padding: 42px; border: 1px solid var(--line); background: var(--white); }
.app-card .app-icon { width: 148px; height: 148px; border-radius: 30px; }
.app-card h2 { margin: 8px 0 15px; font-size: clamp(38px, 5vw, 58px); font-weight: 560; letter-spacing: -.055em; }
.app-card p { max-width: 670px; color: var(--muted); }
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tag { padding: 8px 11px; border: 1px solid var(--line); font-size: 11px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.product-hero { padding: 76px 0 88px; display: grid; grid-template-columns: 150px 1fr; gap: 44px; align-items: center; border-top: 1px solid var(--ink); }
.product-hero .app-icon { width: 136px; height: 136px; border-radius: 28px; }
.product-hero h1 { margin: 8px 0 16px; font-size: clamp(58px, 8vw, 104px); font-weight: 550; letter-spacing: -.075em; line-height: .86; }
.product-hero p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.feature-item { min-height: 210px; padding: 22px 22px 0 0; border-right: 1px solid var(--line); }
.feature-item:not(:first-child) { padding-left: 22px; }
.feature-item:last-child { border: 0; }
.feature-item small { color: var(--muted); font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.feature-item h2 { margin: 58px 0 10px; font-size: 20px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 13px; }
.screenshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.screenshot { margin: 0; }
.screenshot img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--white); }
.screenshot figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; }

.data-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.data-table th, .data-table td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { width: 31%; color: var(--muted); font: 700 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.data-table td { font-size: 14px; line-height: 1.65; }

.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 48px; background: var(--navy); color: var(--white); }
.contact-panel h2 { margin: 0 0 13px; font-size: clamp(34px, 5vw, 58px); font-weight: 500; letter-spacing: -.055em; }
.contact-panel p { max-width: 640px; margin: 0; color: #b9c5cf; }
.email-link { overflow-wrap: anywhere; font-size: clamp(16px, 2vw, 23px); font-weight: 700; }

.legal { max-width: 800px; }
.legal section { padding: 36px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 16px; font-size: 23px; }
.legal p, .legal li { color: #4f5b67; line-height: 1.85; }
.legal ul { padding-left: 20px; }
.legal-meta { display: flex; gap: 28px; margin-top: 45px; color: var(--muted); font-size: 12px; }

.not-found { min-height: calc(100vh - 170px); display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.not-found strong { display: block; color: var(--cyan); font-size: clamp(130px, 24vw, 330px); line-height: .7; letter-spacing: -.1em; }
.not-found h1 { margin: 0 0 20px; font-size: clamp(44px, 7vw, 84px); font-weight: 530; letter-spacing: -.065em; line-height: .9; }
.not-found p { max-width: 460px; color: var(--muted); }

.site-footer { padding-top: 70px; background: var(--navy); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 65px; }
.footer-main h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.footer-side { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-side h3 { margin: 0 0 18px; color: var(--cyan); font: 700 10px/1 monospace; letter-spacing: .1em; }
.footer-side a { display: block; margin: 10px 0; color: #c2ccd4; font-size: 12px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; border-top: 1px solid #405166; color: #9eabb5; font-size: 10px; }

@media (max-width: 780px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 76px; align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px 0; }
  .nav-links { width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 4px; }
  .nav-links a { white-space: nowrap; }
  .nav-contact { margin-left: auto; }
  .home-hero, .page-hero-grid, .section-intro, .content-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; padding: 60px 0 70px; }
  .home-hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .page-hero h1 { font-size: clamp(50px, 16vw, 76px); }
  .hero-side { min-height: 330px; margin-top: 45px; }
  .section-intro, .page-hero-grid, .content-grid { gap: 28px; }
  .services, .principles { grid-template-columns: 1fr; }
  .service, .service:not(:first-child), .principle, .principle:not(:first-child) { min-height: 170px; padding: 24px 0; border-right: 0; border-bottom: 1px solid #405166; }
  .principle, .principle:not(:first-child) { border-bottom-color: var(--line); }
  .service h3, .principle h3 { margin-top: 35px; }
  .summary-head { align-items: flex-start; flex-direction: column; gap: 22px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .app-row { grid-template-columns: 65px 1fr; }
  .app-links { grid-column: 2; justify-content: flex-start; }
  .app-card { grid-template-columns: 1fr; padding: 28px; }
  .app-card .app-icon { width: 112px; height: 112px; border-radius: 24px; }
  .contact-panel { grid-template-columns: 1fr; padding: 34px 26px; }
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
  .product-hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .feature-list, .screenshots { grid-template-columns: 1fr; }
  .feature-item, .feature-item:not(:first-child) { min-height: 160px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-item h2 { margin-top: 32px; }
  .screenshots { gap: 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
  .not-found { grid-template-columns: 1fr; padding: 70px 0; }
}

@media (max-width: 480px) {
  .nav-links { gap: 13px; font-size: 11px; }
  .nav-contact { padding-inline: 12px !important; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact, .fact:not(:first-child) { min-height: 140px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact p { margin-top: 32px; }
  .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { padding-bottom: 5px; border-bottom: 0; }
  .data-table td { padding-top: 5px; }
  .footer-side { grid-template-columns: 1fr; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .legal-meta { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
