/* Android Edge AI Runtime for Unity product site */
:root {
  --bg: #080d19;
  --bg-soft: #0d1425;
  --panel: rgba(18, 27, 48, 0.8);
  --text: #eef4ff;
  --muted: #a8b4cb;
  --line: rgba(255,255,255,0.11);
  --accent: #73a8ff;
  --accent-strong: #4f8eff;
  --accent-soft: rgba(115,168,255,0.14);
  --max: 1120px;
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(71,113,204,0.22), transparent 34rem),
    radial-gradient(circle at 95% 12%, rgba(73,164,210,0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8,13,25,0.84);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a, .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}
nav a:hover, .footer-links a:hover { color: var(--text); }

.hero { padding: 104px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,0.8fr);
  align-items: center;
  gap: 72px;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1,h2,h3,p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(2.8rem,7vw,5.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
h2 {
  margin: 0;
  font-size: clamp(2rem,4.5vw,3.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h3 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.35; }
.hero-title-ja {
  max-width: 760px;
  margin: 20px 0 0;
  color: #d8e3f2;
  font-size: clamp(1.12rem,2vw,1.5rem);
  font-weight: 650;
}
.heading-en {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem,1.8vw,1.3rem);
  font-weight: 600;
  line-height: 1.45;
}
.lang-en { color: var(--muted); font-size: .92em; }
.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #cbd7e8;
  font-size: clamp(1.08rem,2.4vw,1.32rem);
}
.lead.lang-en { margin-top: 12px; color: var(--muted); }
.status-note { margin: 20px 0 0; color: #cbd7e8; font-size: 0.94rem; }
.status-note.lang-en { margin-top: 6px; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 19px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg,var(--accent),var(--accent-strong)); color: #061023; }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,0.035); }

.runtime-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg,rgba(111,169,255,0.11),rgba(255,255,255,0.025)),var(--panel);
  box-shadow: 0 28px 80px rgba(0,0,0,0.32);
}
.runtime-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 17px 18px;
  background: rgba(4,9,20,0.4);
}
.runtime-node span { color: var(--muted); font-size: 0.86rem; }
.runtime-node strong { font-size: 1rem; }
.runtime-arrow { padding: 7px; color: var(--accent); text-align: center; font-size: 1.25rem; }

.section { padding: 94px 0; border-top: 1px solid var(--line); }
.section.alt { background: rgba(255,255,255,0.018); }
.section.compact { padding: 60px 0; }
.section-intro { max-width: 860px; margin: 22px 0 0; color: #cbd7e8; font-size: 1.08rem; }
.section-intro.lang-en { margin-top: 10px; color: var(--muted); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-top: 42px;
}
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; background: var(--panel); }
.card p { margin: 0; color: var(--muted); }
.card p:not(.lang-en) { color: #cbd7e8; }
.card p.lang-en { margin-top: 9px; font-size: .86rem; line-height: 1.6; }
.card-kicker { margin-bottom: 16px !important; color: var(--accent) !important; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.split-panel {
  display: grid;
  grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: linear-gradient(135deg,var(--accent-soft),transparent 62%);
}
.split-panel p { color: #cbd7e8; }
.split-panel p.lang-en { margin-top: 10px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.steps li { display: flex; align-items: flex-start; gap: 14px; color: #d7e1ef; }
.steps li > div { min-width: 0; }
.steps small { display: block; margin-top: 3px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.steps span {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.narrow > p:not(.eyebrow):not(.heading-en):not(.lang-en) { color: #cbd7e8; }
.narrow > p.lang-en { margin-top: 10px; color: var(--muted); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.callout h2 { font-size: clamp(1.7rem,4vw,2.5rem); }
.callout p { margin: 11px 0 0; color: #cbd7e8; max-width: 780px; }
.callout p.lang-en { margin-top: 8px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  nav { gap: 12px; }
  nav a { font-size: .8rem; }
}
@media (max-width: 900px) {
  .hero-grid, .split-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px),var(--max)); }
  .header-inner { min-height: 62px; align-items: flex-start; flex-direction: column; padding-block: 13px; }
  nav { gap: 10px; flex-wrap: wrap; }
  nav a { font-size: 0.8rem; }
  .hero { padding: 76px 0 64px; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-panel { gap: 30px; padding: 25px; }
  .callout, .footer-inner { align-items: flex-start; flex-direction: column; }
}
