:root {
  color-scheme: dark;
  --g: #A8261C;
  --a: #F2C94C;
  --a2: #F7EFE2;
  --ink: #F7EFE2;
  --on: #2C120E;
  --at: #FFDA78;
  --paper: #F7EFE2;
  --deep: #4A1813;
  --chip: #2B1917;
  --copper: #DD9B63;
  --edge: #DBA48B;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--g); color: var(--ink); font: 1rem/1.75 var(--sans); }
a { color: var(--at); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--a2); outline-offset: 4px; }
img { max-width: 100%; display: block; }
p { margin: .65em 0; }
h1, h2, h3 { margin: 0; line-height: 1.18; font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.75rem); }
.site-header, .site-footer { background: var(--deep); }
.site-header { border-bottom: 2px solid var(--copper); }
.site-header-inner, .site-footer-inner {
  width: min(100% - 64px, 1340px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-header-inner { min-height: 72px; }
.site-logo { color: var(--ink); font-size: 1.15rem; letter-spacing: .04em; font-weight: 900; }
.site-logo::before {
  content: "";
  display: inline-block;
  width: .78em;
  aspect-ratio: 1;
  margin-right: .65em;
  border: 2px solid var(--a);
  box-shadow: inset 0 0 0 2px var(--deep);
  background: var(--a);
  vertical-align: -.01em;
}
.site-nav ul, .site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a, .site-footer a, .site-logo { text-decoration: none; }
.site-nav a, .site-footer a { color: var(--ink); font-size: .875rem; }
.site-nav a:hover, .site-nav [aria-current], .site-footer a:hover { text-decoration: underline; }
.site-nav a[href="/contact/"] { display: inline-block; padding: .2rem .9rem; color: var(--on); background: var(--a); font-weight: 800; border-radius: 2px; }
.site-footer { border-top: 1px solid var(--copper); }
.site-footer-inner { min-height: 124px; padding-block: 1rem; flex-wrap: wrap; }
.site-footer p { margin: 0; font-size: .875rem; }

.board {
  position: relative;
  isolation: isolate;
  padding: clamp(16px, 3vw, 42px);
  background: var(--g);
  overflow: hidden;
  border-bottom: 2px solid var(--copper);
}
.board-photo, .board-grid { position: absolute; inset: 0; pointer-events: none; }
.board-photo { z-index: -2; opacity: .44; }
.board-photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }
.board-grid {
  z-index: -1;
  background-image: radial-gradient(circle, var(--edge) 1px, transparent 1.4px);
  background-size: 17px 17px;
  opacity: .25;
}
.board-frame {
  position: relative;
  max-width: 1400px;
  min-height: clamp(580px, 49vw, 720px);
  margin: auto;
  border: 1px solid var(--edge);
  border-radius: 2px;
}
.board-frame::before, .board-frame::after {
  content: "";
  position: absolute;
  bottom: 16px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--copper);
  border-radius: 50%;
  background: var(--deep);
  pointer-events: none;
}
.board-frame::before { left: 16px; }
.board-frame::after { right: 16px; }
.board-mark, .image-label, .silk, .port small {
  font: 700 .875rem/1.4 var(--mono);
  letter-spacing: .09em;
}
.board-mark, .image-label { position: absolute; top: 16px; z-index: 2; }
.board-mark { left: 16px; display: flex; gap: .65em; align-items: center; }
.image-label { right: 16px; background: var(--deep); padding: .13em .5em; }
.led {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--a2);
  background: var(--a2);
  box-shadow: 0 0 12px var(--a2);
  transition: box-shadow .18s, background-color .18s;
}
.led.is-dim { background: var(--deep); box-shadow: none; }
.board-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.board-wires path { fill: none; vector-effect: non-scaling-stroke; }
.copper { stroke: var(--copper); stroke-width: 2; }
.pulse {
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 4 96;
  stroke-dashoffset: 4;
  filter: drop-shadow(0 0 4px var(--a));
  opacity: 0;
}
.pulse--0 { animation: travel 3s .08s infinite; }
.pulse--1 { animation: travel 3.8s .25s infinite; }
.pulse--2 { animation: travel 2.8s 1.18s infinite; }
.pulse--3 { animation: travel 3.5s 1.35s infinite; }
@keyframes travel {
  0% { opacity: 0; stroke-dashoffset: 4; }
  6% { opacity: 1; }
  36% { opacity: 1; stroke-dashoffset: -100; }
  38%, 100% { opacity: 0; stroke-dashoffset: -100; }
}
.board-layout {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 18% 64% 18%;
  align-items: center;
}
.port {
  width: max-content;
  max-width: 100%;
  padding: .55em .85em;
  color: var(--on);
  background: var(--a);
  border: 2px solid var(--deep);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--deep);
}
.port small, .port strong { display: block; }
.port strong { white-space: nowrap; font-weight: 900; }
.chip { position: relative; margin: 0 3%; translate: 0 8%; }
.chip-pins { position: absolute; inset: -15px 4%; z-index: -1; pointer-events: none; background: repeating-linear-gradient(90deg, var(--copper) 0 9px, var(--a) 9px 11px, transparent 11px 30px); }
.chip-face {
  position: relative;
  padding: clamp(25px, 4vw, 62px) clamp(18px, 3vw, 53px) clamp(24px, 3vw, 45px);
  border: 2px solid var(--edge);
  border-radius: 4px;
  background: var(--chip);
  box-shadow: inset 0 0 0 6px var(--deep), 0 8px 0 var(--deep);
  animation: charge 3s .12s infinite;
}
@keyframes charge {
  32%, 44% { border-color: var(--edge); }
  37% { border-color: var(--a); box-shadow: inset 0 0 0 6px var(--deep), 0 8px 0 var(--deep), 0 0 19px var(--a); }
}
.chip-dot { position: absolute; inset: 13px auto auto 13px; border: 1px solid var(--copper); width: 10px; height: 10px; border-radius: 50%; }
.chip h1 { font-size: clamp(44px, 6.65vw, 108px); letter-spacing: -.065em; line-height: 1.12; }
.nw { white-space: nowrap; }
.chip h1 .nw > span { display: inline-block; animation: light-letter .38s both; animation-delay: calc(1s + var(--letter) * 68ms); }
@keyframes light-letter {
  from { opacity: .69; }
  52% { color: var(--a); text-shadow: 0 0 .24em var(--copper); }
  to { opacity: 1; }
}
.chip-face > p { max-width: 52ch; }
.chip-face h1 + p { margin-block: 1em; }
.cta-button, button[type="submit"] {
  display: inline-block;
  padding: .65em 1.15em;
  background: var(--a);
  color: var(--on);
  border: 2px solid var(--on);
  border-radius: 2px;
  font: 900 1rem/1.45 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.cta-button:hover, button[type="submit"]:hover { background: var(--a2); }
.mascot { display: flex; align-items: center; width: fit-content; gap: .7rem; margin: 0; }
.mascot img { width: 172px; height: auto; flex: none; pointer-events: none; }
.mascot figcaption { padding: .6rem .8rem; border: 1px solid var(--deep); border-radius: 2px; color: var(--on); background: var(--paper); font-size: .875rem; line-height: 1.55; }
.mascot--hero { position: absolute; z-index: 1; right: 4%; bottom: calc(100% - 14px); gap: .25rem; flex-direction: row-reverse; }
.mascot--hero img { width: clamp(160px, 13vw, 205px); }
.mascot--hero figcaption { margin-bottom: 1.1rem; }

.home-content, .inner { width: min(100% - 64px, 1180px); margin: auto; }
.home-content { padding: 3.5rem 0 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.module {
  position: relative;
  padding: clamp(19px, 3.2vw, 48px);
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--deep);
}
.silk { color: var(--a); display: block; margin: 0 0 .75rem; }
.module--service, .module--flow { grid-column: 1 / -1; }
.module--audience { border-left: 7px double var(--a); }
.module--faq { border-top: 3px solid var(--a2); }
.module--company { background: var(--g); }
.pins, .signal-flow { counter-reset: pin; padding: 0; margin: 1.25rem 0 0; list-style: none; display: grid; }
.pins { grid-template-columns: 1fr 1.2fr; gap: 1rem; }
.pins li, .signal-flow li { counter-increment: pin; position: relative; padding: .8rem 1rem .85rem 3.8rem; border: 1px solid var(--copper); }
.pins li::before, .signal-flow li::before {
  content: counter(pin, decimal-leading-zero);
  position: absolute;
  left: .7rem;
  top: .85rem;
  padding: .2em .45em;
  font: 700 .875rem var(--mono);
  color: var(--on);
  background: var(--a);
}
.signal-flow { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.signal-flow li + li::after { content: ""; position: absolute; top: 50%; left: -1.45rem; width: 1.45rem; height: 2px; background: var(--copper); pointer-events: none; }

.price-list, .blog-list { padding: 0; list-style: none; }
.price-card {
  position: relative;
  padding: clamp(18px, 3vw, 38px);
  color: var(--on);
  background: var(--paper);
  border: 8px double var(--edge);
  outline: 1px solid var(--copper);
  border-radius: 2px;
}
.price-card::before { content: ""; display: block; height: 13px; margin: 0 0 1rem; background: repeating-linear-gradient(90deg, var(--on) 0 2px, transparent 2px 5px, var(--on) 5px 9px, transparent 9px 12px); width: 92px; pointer-events: none; }
.price { margin: .35em 0; font: 900 clamp(1.12rem, 3.1vw, 2.65rem)/1.25 var(--mono); letter-spacing: -.06em; overflow-wrap: anywhere; }
.pricing .price-card { width: min(100%, 680px); }
.inner { padding: clamp(2.5rem, 6vw, 6rem) 0 clamp(4rem, 8vw, 8rem); min-height: 65vh; }
.inner > section { margin-top: 1.65rem; }
.page-head {
  padding: 0 0 1.65rem;
  border-bottom: 2px solid var(--copper);
  position: relative;
}
.page-head::before { content: ""; display: block; width: 32px; height: 8px; margin-bottom: 1rem; background: var(--a); pointer-events: none; }
.page-head h1 { font-size: clamp(2rem, 6vw, 5.75rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
.page-head p { margin-bottom: 0; }
.pricing > section:not(:first-of-type), .terminal > section, .datasheet > section, .company-page > section, .legal-page > section, .privacy-page > section {
  padding: clamp(1rem, 3vw, 2.5rem);
  background: var(--deep);
  border: 1px solid var(--edge);
  border-radius: 2px;
}
.notice { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mascot--form img { width: 112px; }
.terminal form { margin-block: 1.15rem; }
.form-field {
  display: grid;
  grid-template-columns: minmax(10rem, 28%) minmax(0, 1fr);
  align-items: start;
  gap: .5rem 1.25rem;
  padding: .85rem 1rem;
  border-left: 4px double var(--a);
  background: var(--g);
  margin-bottom: .55rem;
}
.form-field label { padding-top: .4rem; font-weight: 700; }
.required { margin-left: .55em; padding: .12em .4em; color: var(--on); background: var(--a); border-radius: 2px; font-size: .8rem; }
input, select, textarea {
  width: 100%;
  padding: .5rem .7rem;
  font: inherit;
  color: var(--ink);
  background: var(--deep);
  border: 1px solid var(--edge);
  border-radius: 2px;
}
textarea { resize: vertical; }
.faq-item + .faq-item { border-top: 1px solid var(--edge); }
.faq-item { padding: .8rem 0; }
.faq-item summary { cursor: pointer; }
.faq-item h2 { display: inline; font-size: clamp(1.05rem, 2.7vw, 1.45rem); }
.faq-item p { margin-left: 1.2rem; }
.blog-list li { border-left: 3px solid var(--copper); padding: 1.3rem 1.5rem; background: var(--deep); }
.blog-date { font: 700 .9rem/1.4 var(--mono); }
.article { max-width: 850px; }
.article > section { max-width: 41ic; line-height: 1.9; }
.article section h2 + p { margin-bottom: 2rem; }
.company { width: 100%; border-collapse: collapse; }
.company th, .company td { padding: .65rem .7rem; border: 1px solid var(--edge); vertical-align: top; overflow-wrap: anywhere; }
.company th { text-align: left; width: 30%; background: var(--g); }
.complete, .missing { text-align: center; }
.complete .page-head::before, .missing .page-head::before { margin-inline: auto; }
.completion-board {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 205px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--edge);
  background: var(--deep);
  overflow: hidden;
}
.completion-board .mascot { z-index: 1; flex-direction: row; }
.completion-board .led { position: absolute; top: 12px; right: 12px; animation: complete-led .55s .9s both; }
@keyframes complete-led { from { background: var(--deep); box-shadow: none; } }
.completion-board .pulse { animation-delay: .05s; }
.missing > .mascot { margin: 0 auto 1rem; }
.spark-anchor { position: relative; width: fit-content; }
.spark {
  position: absolute;
  top: 50%;
  left: -.5rem;
  width: 8px;
  height: 8px;
  background: var(--a);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
  pointer-events: none;
  animation: solder .62s ease-out both;
}
@keyframes solder {
  from { opacity: 1; transform: translate(0, 0); }
  to { opacity: 0; transform: translate(var(--x), var(--y)) scale(.25); }
}

@media (max-width: 900px) {
  .chip h1 { font-size: clamp(39px, 6.55vw, 60px); }
  .site-header-inner { flex-wrap: wrap; padding-block: .75rem; }
  .signal-flow li { padding: 2.5rem .75rem .65rem; }
}
@media (max-width: 600px) {
  .site-header-inner, .site-footer-inner, .home-content, .inner { width: calc(100% - 32px); }
  .site-header-inner { gap: .35rem 0; }
  .site-nav ul { gap: .25rem .72rem; align-items: center; }
  .site-nav a { font-size: .82rem; }
  .board { padding: 10px; }
  .board-frame { min-height: 0; padding: 142px 10px 29px; }
  .board-layout { position: relative; display: grid; grid-template-columns: 1fr 1.45fr; row-gap: 14px; }
  .board-mark, .image-label { top: 10px; font-size: .72rem; }
  .board-mark { left: 10px; }
  .image-label { right: 10px; }
  .chip { grid-area: 1 / 1 / 2 / -1; margin: 0; translate: none; }
  .chip-face { padding: 24px 12px 16px; }
  .chip h1 { font-size: clamp(33px, 10.4vw, 60px); }
  .chip-face > p { font-size: .925rem; }
  .chip-pins { inset: -9px 6%; }
  .mascot--hero { bottom: calc(100% - 3px); right: 0; }
  .mascot--hero img { width: 120px; }
  .mascot--hero figcaption { margin: 0; }
  .port { padding: .27rem .32rem; font-size: .82rem; }
  .port small { font-size: .75rem; letter-spacing: 0; }
  .board-frame::before, .board-frame::after { width: 10px; height: 10px; bottom: 7px; }
  .home-content { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.5rem 3rem; }
  .pins, .signal-flow { grid-template-columns: 1fr; gap: .65rem; }
  .signal-flow li { padding: .8rem .75rem .85rem 3.8rem; }
  .signal-flow li + li::after { top: -.7rem; left: 1.4rem; width: 2px; height: .7rem; }
  .form-field { grid-template-columns: 1fr; padding: .5rem .75rem .75rem; }
  .mascot img { width: 120px; }
  .mascot--form img { width: 88px; }
  .company th, .company td { padding: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse { opacity: 1; stroke-dashoffset: -55; }
  .spark { display: none; }
  .led.is-dim { background: var(--a2); box-shadow: 0 0 12px var(--a2); }
}

.input-zone, .output-zone { position: absolute; inset: 0; pointer-events: none; }
.input-zone .port { position: absolute; left: 5%; bottom: 72%; }
.input-pads {
  position: absolute;
  top: 30.17%;
  left: 5%;
  width: clamp(17px, 3vw, 45px);
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  translate: -50% -6px;
}
.input-pads li {
  height: 12px;
  background: var(--a);
  border: 2px solid var(--deep);
  border-radius: 2px;
  box-shadow: inset 4px 0 var(--copper);
}
.output-port { position: absolute; top: 57.33%; right: 3%; translate: 0 -50%; }
.output-port::after {
  content: "";
  display: block;
  height: 7px;
  margin-top: .25em;
  background: repeating-linear-gradient(90deg, var(--on) 0 2px, transparent 2px 6px);
}
.chip { grid-column: 2; }
.chip-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-block: 1rem;
  font: 700 clamp(.82rem, 1.65vw, 1.05rem)/1.4 var(--mono);
}
.chip-blocks > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .38em;
  padding: .55em .25em;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--deep);
  white-space: nowrap;
}
.clock {
  position: relative;
  width: 1.15em;
  aspect-ratio: 1;
  border: 1px solid var(--a);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--copper);
}
.clock::after {
  content: "";
  position: absolute;
  inset: 14% auto 50% calc(50% - 1px);
  width: 2px;
  background: var(--a);
  box-shadow: 0 0 4px var(--a);
  transform-origin: bottom center;
  animation: clock-sweep 2.4s linear infinite;
}
@keyframes clock-sweep { to { transform: rotate(1turn); } }
.mascot--form { margin-top: .75rem; }
.mascot--form, .mascot--thanks { position: relative; }
.mascot--form::after {
  content: "";
  position: absolute;
  top: 65%;
  left: 80px;
  width: 23px;
  height: 14px;
  border-bottom: 2px solid var(--a);
  border-right: 2px solid var(--a);
  pointer-events: none;
}
.mobile-wires { display: none; }
@media (min-width: 601px) and (max-width: 900px) {
  .board-frame { min-height: 640px; }
  .input-zone .port, .output-port { padding-inline: .4em; font-size: .84rem; }
}
@media (max-width: 600px) {
  .board-layout { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .board-frame { padding-top: 139px; }
  .chip { grid-area: 1 / 1 / 2 / -1; }
  .chip h1 { font-size: clamp(28px, 10.4vw, 60px); }
  .chip-blocks { margin-block: .7rem; font-size: .84rem; }
  .chip-face h1 + p { margin-block: .65em; }
  .desktop-wires { display: none; }
  .mobile-wires {
    display: block;
    position: absolute;
    width: 100%;
    height: 110px;
    bottom: 0;
    pointer-events: none;
  }
  .mobile-wires path { fill: none; vector-effect: non-scaling-stroke; }
  .input-zone, .output-zone { position: relative; height: 110px; }
  .input-zone { grid-area: 2 / 1; }
  .output-zone { grid-area: 2 / 2; }
  .input-zone .port { z-index: 1; left: 0; top: 29px; bottom: auto; }
  .input-pads {
    z-index: 1;
    top: 72px;
    left: 6px;
    width: 20px;
    height: 33px;
    translate: none;
  }
  .input-pads li { height: 5px; border-width: 1px; }
  .output-port { z-index: 1; top: 76px; right: 0; }
  .mascot--form::after { left: 64px; width: 16px; }
  .completion-board, .missing > .mascot { padding-inline: .45rem; }
}

/* iori-companion */
.iori-companion{position:fixed;right:16px;bottom:16px;z-index:80;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.iori-companion.iori-hidden{display:none}
.iori-bubble{background:#fff;color:#1c2420;border:1.5px solid #1c2420;border-radius:12px;padding:8px 12px;font-size:12.5px;line-height:1.6;max-width:210px;box-shadow:0 6px 18px rgba(0,0,0,.18);opacity:1;transition:opacity .45s ease;position:relative}
.iori-bubble:after{content:"";position:absolute;right:26px;bottom:-7px;width:12px;height:12px;background:#fff;border-right:1.5px solid #1c2420;border-bottom:1.5px solid #1c2420;transform:rotate(45deg)}
.iori-bubble.iori-fade{opacity:0}
.iori-body{display:block;animation:ioriFloat 3.4s ease-in-out infinite}
.iori-body img{width:84px;height:auto;display:block;filter:drop-shadow(0 8px 14px rgba(0,0,0,.25))}
.iori-close{position:absolute;top:-8px;right:-4px;width:22px;height:22px;border-radius:50%;border:1.5px solid #1c2420;background:#fff;color:#1c2420;font-size:13px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
@keyframes ioriFloat{0%,100%{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-7px) rotate(1.2deg)}}
@media (max-width:640px){.iori-body img{width:62px}.iori-bubble{max-width:168px;font-size:11.5px}}
@media (prefers-reduced-motion:reduce){.iori-body{animation:none}.iori-bubble{transition:none}}
