/* Diana AI for AndroidXR — site styles.
   Copyright (c) 2026 株式会社IoTone Japan (IoTone, Inc.). Proprietary — all rights reserved.

   SINGLE THEME, ON PURPOSE. Diana's own UI is an additive optical see-through
   HUD: neon strokes on true black, because on see-through glasses black IS
   transparent. The site commits to that same world rather than offering a light
   mode that would misrepresent the product. Every colour is therefore painted
   explicitly — nothing inherits from the host page.

   Palette lifted from the app's Neon.kt so the site and the product agree:
     CYAN  #22D3EE   primary
     DIM   #2A6E7C   rules, secondary strokes
     AMBER #FFB020   one warm accent, used sparingly
     TEXT  #E6EDF3
*/

:root {
  --ground:  #070B0E;
  --surface: #0E151A;
  --raised:  #131D24;
  --rule:    #1C2A32;
  --text:    #E6EDF3;
  --muted:   #8A9BA6;
  --cyan:    #22D3EE;
  --dim:     #2A6E7C;
  --amber:   #FFB020;
  --amber-w: #2A1D06;
  --cyan-w:  #06232A;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --jp:   "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
          "Noto Sans JP", Meiryo, system-ui, sans-serif;

  --measure: 42rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Type ──────────────────────────────────────────────────────────────── */
/* Mono as the display face: the product is an instrument, not a magazine. */
h1, h2, h3, .eyebrow, .navlink, .stat b {
  font-family: var(--mono);
}
h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0 0 1rem;
  font-weight: 600;
}
h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 .9rem;
  font-weight: 600;
}
h3 {
  font-size: .95rem;
  letter-spacing: .04em;
  margin: 0 0 .5rem;
  color: var(--text);
  font-weight: 600;
}
p { margin: 0 0 1rem; }
a { color: var(--cyan); text-decoration-color: var(--dim); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.eyebrow {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 .8rem;
}
.lede { font-size: 1.12rem; color: var(--text); max-width: var(--measure); }
.muted { color: var(--muted); }
.jp { font-family: var(--jp); }
code, kbd {
  font-family: var(--mono);
  font-size: .85em;
  background: var(--cyan-w);
  color: var(--cyan);
  padding: .12em .45em;
  border-radius: 3px;
}

/* ── Shell ─────────────────────────────────────────────────────────────── */
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li { margin-bottom: .45rem; }

header.site {
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(10px);
}
.bar { display: flex; align-items: center; gap: 1.25rem; padding: .85rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.brand b { font-family: var(--mono); letter-spacing: .04em; font-size: .95rem; }
.brand span { font-family: var(--jp); color: var(--dim); font-size: .9rem; }
nav.site { margin-left: auto; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.navlink {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.navlink:hover, .navlink[aria-current="page"] { color: var(--cyan); }

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 5rem; padding: 2.5rem 0 3.5rem;
  color: var(--muted); font-size: .85rem;
}
footer.site nav { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--cyan); }

/* ── Corner-bracket frame ──────────────────────────────────────────────── */
/* Diana's cards are drawn as four corner arms, not a closed box (Neon.kt).
   The site reuses that mark so a card here reads as a card there. */
.panel {
  position: relative;
  background: var(--surface);
  padding: 1.6rem;
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--dim); border-style: solid;
}
.panel::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.panel::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.panel > .arm-tr, .panel > .arm-bl {
  position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--dim); border-style: solid;
}
.panel > .arm-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.panel > .arm-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.panel.lit::before, .panel.lit::after,
.panel.lit > .arm-tr, .panel.lit > .arm-bl { border-color: var(--cyan); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 4.5rem 0 3.5rem; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.15fr .85fr; } }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; display: block; border-radius: 12px; }
.hero .cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.btn {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  padding: .7rem 1.3rem; border: 1px solid var(--cyan); color: var(--ground);
  background: var(--cyan); border-radius: 4px;
}
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: none; color: var(--cyan); }
.btn.ghost:hover { background: var(--cyan-w); filter: none; }

/* ── Sections & grids ──────────────────────────────────────────────────── */
section.band { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.grid { display: grid; gap: 1rem; }
@media (min-width: 700px)  { .grid.two   { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat b { font-size: 1.5rem; color: var(--cyan); font-variant-numeric: tabular-nums; }
.stat span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Say-this chips — real utterances, which is how the in-app HELP card teaches. */
.says { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.says li {
  font-family: var(--mono); font-size: .82rem;
  border: 1px solid var(--rule); border-left: 2px solid var(--dim);
  padding: .4rem .75rem; color: var(--text); background: var(--surface);
}
.says li::before { content: "“"; color: var(--dim); }
.says li::after  { content: "”"; color: var(--dim); }

/* ── Tables (permissions, data flows) ──────────────────────────────────── */
.tablewrap { overflow-x: auto; margin: 0 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 34rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim); font-weight: 600;
  border-bottom-color: var(--dim);
}
td code { white-space: nowrap; }

/* ── Callouts ──────────────────────────────────────────────────────────── */
.note {
  border-left: 2px solid var(--amber); background: var(--amber-w);
  padding: .9rem 1.1rem; margin: 0 0 1.5rem; font-size: .9rem; color: var(--text);
}
.note b { color: var(--amber); }
.pill {
  display: inline-block; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--dim); color: var(--cyan);
  padding: .18rem .55rem; border-radius: 99px;
}

/* ── Gallery ───────────────────────────────────────────────────────────── */
.shots { display: grid; gap: 1rem; }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { position: relative; background: var(--surface); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: .8rem 1rem; font-size: .83rem; color: var(--muted); }
.shot .pending {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center;
  color: var(--dim); font-family: var(--mono); font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 1rem;
  border: 1px dashed var(--rule);
}

.doc-head { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; }
.updated { font-family: var(--mono); font-size: .76rem; color: var(--muted); letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
