/* ICM Hub v2 — original stylesheet. Font: Inter (OFL). Icons: Phosphor (MIT). */
@font-face {
  font-family: "Inter";
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1b33;
  --ink-2: #33445e;
  --muted: #5e6e86;
  --line: #e2e8f1;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --navy: #0a1f3d;
  --navy-2: #12305a;
  --brand: #00a6e6;
  --brand-ink: #0079b0;
  --brand-soft: #e3f5fd;
  --accent: #ffaa00;
  --accent-ink: #a86400;
  --accent-soft: #fff3d6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 8px 24px rgba(11, 27, 51, .06);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, .16);
  --container: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
h4 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mt { margin-top: 48px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-soft); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; color: var(--brand-ink); }
.link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* Announcement bar */
.announce { background: var(--navy); color: #cfe0f5; font-size: .88rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.announce a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .3em; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.badge { background: var(--brand); color: #fff; font-weight: 700; font-size: .75rem; padding: 2px 8px; border-radius: 999px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 27, 51, .05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 40px; height: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3em; padding: 10px 14px; border-radius: 999px;
  border: 0; background: none; font: inherit; font-size: .95rem; font-weight: 550; color: var(--ink-2); cursor: pointer;
}
.nav-link:hover, .nav-item.is-open .nav-link { background: var(--soft); color: var(--ink); }
.caret { width: .9em; height: .9em; transition: transform .2s; }
.nav-item.is-open .caret, .lang.is-open .caret { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; display: none;
}
.nav-item.is-open .menu { display: block; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.menu-overview { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: .85rem; font-weight: 650; color: var(--brand-ink); text-decoration: none; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.menu-item:hover { background: var(--soft); }
.menu-item strong { display: block; font-size: .95rem; font-weight: 600; }
.menu-item small { display: block; color: var(--muted); font-size: .83rem; line-height: 1.4; }
.menu-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.menu-icon .icon { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 650; color: var(--ink); cursor: pointer;
}
.lang-button:hover { border-color: var(--ink-2); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); display: none;
}
.lang.is-open .lang-list { display: block; animation: pop .16s ease-out; }
.lang-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.lang-list a:hover { background: var(--soft); }
.lang-list a[aria-current] { font-weight: 650; }
.lang-list .icon { color: var(--brand-ink); }
.nav-cta { display: none !important; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .close, .nav-open .nav-toggle .open { display: none; }
.nav-open .nav-toggle .close { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #dff3fd 0%, rgba(223, 243, 253, 0) 60%), linear-gradient(#fff, #f7fafd); padding: 80px 0 96px; }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-route path { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 6 8; opacity: .35; }
.hero-route path.faint { opacity: .15; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .93rem; font-weight: 550; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--brand-ink); }
.hero-visual { position: relative; padding: 24px 0 40px 32px; }

/* Mock chat (drawn in HTML/CSS) */
.mock-chat { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 440px; margin-left: auto; }
.mock-wide { max-width: 480px; }
.mock-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--navy); color: #fff; }
.mock-head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.mock-head strong { display: block; font-size: .95rem; }
.mock-head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #a9c2e0; }
.mock-head i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(#fbfdff, #f3f7fb); }
.msg { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.45; max-width: 85%; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); display: flex; gap: 4px; padding: 12px 14px; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.mock-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; font-size: .85rem; }
.mock-card small { display: block; color: var(--muted); font-size: .75rem; }
.mock-card strong { font-size: .95rem; }
.mock-stat { left: 0; bottom: -18px; }
.mock-lang { right: -8px; top: 0; font-weight: 600; color: var(--ink-2); }
.mock-lang .icon { color: var(--brand-ink); }

/* Logos */
.logos { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.logo-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.logo-row img { height: 34px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 48px 0 96px; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.08rem; }
.subhead { margin: 72px 0 24px; font-size: 1.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse > :first-child { order: 2; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-tight { gap: 16px; }
.grid-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.card-plain { box-shadow: none; display: flex; flex-direction: column; }
.card-plain .link { margin-top: auto; }
.card-feature { padding: 40px; }
.card-feature h3 { font-size: 1.45rem; margin-top: 20px; }
.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 18px; }
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile.lg { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 0; }
.icon-tile.lg .icon { width: 30px; height: 30px; }

/* Video */
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.video video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--navy); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-top: 12px; }
.tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }

/* CTA */
.cta { padding: 0 0 96px; }
.section-soft + .cta, .cta:first-child { padding-top: 96px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #0d4a78 100%);
  color: #cfe0f5; border-radius: 24px; padding: 56px; max-width: calc(var(--container));
  position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(0, 166, 230, .18); }
.cta-inner > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 620px; }
.section-soft + .cta { background: var(--soft); }

/* Page hero */
.page-hero { padding: 80px 0 72px; background: radial-gradient(900px 400px at 90% -20%, #dff3fd 0%, rgba(223, 243, 253, 0) 60%), linear-gradient(#fff, #f7fafd); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 900px; }
.page-hero .split h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.page-hero-sm { padding: 64px 0 40px; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Voice mock */
.mock-voice { background: var(--navy); border-radius: 24px; padding: 40px 32px; color: #dbe7f6; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.voice-orb { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #4fd0ff, var(--brand) 55%, #00669a); box-shadow: 0 0 0 12px rgba(0, 166, 230, .15), 0 0 0 26px rgba(0, 166, 230, .07); color: #fff; }
.voice-orb .icon { width: 36px; height: 36px; }
.wave { width: 240px; height: 40px; }
.wave rect { fill: var(--brand); opacity: .8; }
.voice-line { margin: 0; font-size: .95rem; max-width: 380px; }
.voice-line.user { color: #fff; font-weight: 550; }
.voice-line.bot { color: #a9c2e0; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { background: var(--soft); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.compare thead th .icon { vertical-align: -3px; color: var(--brand-ink); margin-right: 4px; }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td { color: var(--ink-2); }
.yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dcf6ea; color: #10845a; }
.no { color: var(--muted); }

/* Channels */
.channel h3 { margin-top: 0; }
.channel .link { margin-top: 8px; }
.channel-mascots { background: linear-gradient(140deg, var(--brand-soft), #fff); }
.mascots { display: flex; margin-bottom: 18px; }
.mascots img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.mascots img + img { margin-left: -14px; }

/* Use cases */
.product-shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-shot img { width: 100%; }
.usecase .icon-tile { margin-bottom: 14px; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--brand-ink) !important; margin-bottom: 6px; }
.usecase h3 { font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .96rem; }
.checks .icon { color: #10845a; margin-top: .25em; }

/* About */
.prose-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; }
.prose p { font-size: 1.08rem; color: var(--ink-2); }
.client { display: flex; flex-direction: column; }
.client-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; object-position: left; margin-bottom: 22px; }
.client .link { margin-top: auto; padding-top: 8px; }
.client blockquote { margin: 8px 0 18px; padding: 18px 20px; background: var(--soft); border-radius: 12px; }
.client blockquote .icon { color: var(--brand); width: 24px; height: 24px; }
.client blockquote p { font-style: italic; margin: 6px 0 8px; }
.client blockquote footer { font-size: .85rem; color: var(--muted); }
.news-item { position: relative; display: flex; flex-direction: column; box-shadow: none; transition: box-shadow .2s, transform .2s; }
.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.news-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; min-height: 32px; }
.news-top img { height: 26px; width: auto; max-width: 130px; object-fit: contain; }
.news-top time { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.outlet { font-weight: 800; letter-spacing: .02em; }
.news-source { font-size: .8rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 8px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .link { margin-top: auto; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.contact > div > .lead { margin-bottom: 28px; }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field small { font-weight: 450; color: var(--muted); font-size: .85em; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input::placeholder, .field textarea::placeholder { color: #98a5b8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #167a4a; }
.form-status.is-error { color: #b42318; }
.contact-form.is-sent .field-row, .contact-form.is-sent > .field, .contact-form.is-sent button, .contact-form.is-sent .fine { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: .97rem; }
.contact-list .icon { color: var(--brand-ink); width: 22px; height: 22px; }
.fine { text-align: center; font-size: .85rem !important; color: var(--muted) !important; margin: 14px 0 0; }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--muted); font-size: .92rem; }

/* Footer */
.footer { background: var(--navy); color: #a9bdd6; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #d6e3f3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.brand-light { color: #fff; margin-bottom: 16px; }
.brand-light img { background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand p { max-width: 380px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.social a:hover { background: rgba(255, 255, 255, .08); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Japanese */
html[lang="ja"] body { line-break: strict; }
html[lang="ja"] :is(h1, h2, h3, h4) { word-break: auto-phrase; letter-spacing: 0; line-height: 1.35; }
html[lang="ja"] p { word-break: auto-phrase; }
html[lang="ja"] h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
html[lang="ja"] .page-hero h1 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
html[lang="ja"] .eyebrow { letter-spacing: .06em; }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  /* The header's backdrop-filter makes it the containing block, so the panel hangs below it. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: 100dvh; background: #fff;
    padding: 16px var(--gutter) 160px; overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .nav-open .nav { display: block; }
  .nav-open .nav-cta { display: flex !important; margin-top: 24px; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-item.is-open .nav-link { background: none; }
  .menu { position: static; translate: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; }
  .hero-grid, .split, .contact, .prose-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse > :first-child { order: 0; }
  .grid-3, .grid-channels { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { padding: 24px 0; }
  .mock-chat { margin: 0 auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .brand span { display: none; }
  .hide-sm { display: none; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .cta { padding-bottom: 64px; }
  .section-soft + .cta { padding-top: 64px; }
  .grid-2, .grid-3, .grid-4, .grid-channels { grid-template-columns: 1fr; }
  .card, .card-feature { padding: 24px; }
  .mock-card { display: none; }
  .cta-inner { padding: 32px 24px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .logo-row { gap: 22px 32px; }
  .logo-row img { height: 26px; }
  .page-hero { padding: 48px 0; }
  .subhead { margin-top: 48px; }
}
@media (max-width: 640px) {
  .announce-inner > span:not(.badge) { display: none; }
}

/* Hero with the aircraft photo as background, text on the left */
.hero-photo { background: #e9eef6; min-height: 640px; display: flex; align-items: center; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform: scale(1.05); transform-origin: 80% 60%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,0) 62%); }
.hero-photo .hero-route { display: none; }
.hero-photo .hero-grid { grid-template-columns: 1fr; width: 100%; }
.hero-photo .hero-copy { max-width: 620px; }
.hero-photo .hero-visual { display: none; }
.hero-photo .btn-ghost { background: rgba(255,255,255,.85); }
@media (max-width: 900px) {
  .hero-photo { min-height: 0; }
  .hero-photo .hero-bg { object-position: 75% 50%; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.7) 60%, rgba(255,255,255,.35) 100%); }
}

/* Secondary colour from the original site: #FFAA00 */
::selection { background: var(--accent-soft); color: var(--ink); }
.badge { background: var(--accent); color: var(--navy); }
.hero-photo .eyebrow { color: var(--ink); }
.hero-photo .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 18px; }
.section-head.center h2::after { margin-inline: auto; }
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #ffd98a; }
.btn-ghost:hover { border-color: var(--accent); }
.footer a:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
