
:root {
  --page: #dfe3e2;
  --page-deep: #cfd5d3;
  --panel: #22282b;
  --panel-2: #2b3337;
  --panel-3: #343e42;
  --ink: #172025;
  --text: #f2f6f5;
  --muted: #9ca9ad;
  --line: #465156;
  --soft-line: rgba(255,255,255,.09);
  --cyan: #7ed3d7;
  --cyan-deep: #3ea6ad;
  --amber: #e2b76a;
  --green: #8cd59b;
  --red: #e28c84;
  --offwhite: #f4f5f2;
  --shadow: 0 18px 42px rgba(28, 37, 40, .16);
  --bevel: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.18);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,0) 180px),
    var(--page);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.72;
  letter-spacing: .01em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button, input { font: inherit; }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(223,227,226,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34,40,43,.14);
}

.topbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(140,213,155,.18), 0 0 12px rgba(140,213,155,.65);
}

.navlinks {
  display: flex;
  gap: 8px;
  align-items: center;
}

.navlinks a {
  text-decoration: none;
  color: #3f4a4e;
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 11px;
  border: 1px solid rgba(34,40,43,.12);
  background: rgba(255,255,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.navlinks a:hover {
  color: var(--ink);
  background: rgba(255,255,255,.66);
  transform: translateY(-1px);
}

.hero {
  padding: 54px 0 34px;
}

.plugin-shell {
  background: linear-gradient(180deg, #2b3337 0%, #22282b 100%);
  border: 1px solid #101416;
  box-shadow: var(--shadow), var(--bevel);
  color: var(--text);
  border-radius: 10px;
  overflow: hidden;
}

.plugin-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  background: linear-gradient(180deg, #3b454a 0%, #313a3e 100%);
  border-bottom: 1px solid #161b1e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.plugin-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.plugin-title strong {
  font-size: .86rem;
  letter-spacing: .08em;
}

.plugin-title span {
  color: #b3bdc0;
  font: 700 .67rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .09em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd4d6;
  font: 700 .65rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(140,213,155,.85);
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, .65fr);
  gap: 42px;
  padding: clamp(34px, 6vw, 72px);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font: 800 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 5.6vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 750;
}

.hero .lead {
  max-width: 710px;
  margin: 0;
  color: #c5d0d2;
  font-size: clamp(.98rem, 1.8vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.console-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #111719;
  border-radius: 5px;
  background: linear-gradient(180deg, #465156 0%, #343d41 100%);
  color: #eef4f3;
  text-decoration: none;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  box-shadow: 0 2px 0 #14191b, inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .08s ease, filter .16s ease;
}

.console-button.primary {
  background: linear-gradient(180deg, #76ccd1 0%, #4daeb4 100%);
  color: #122427;
  border-color: #2c7d83;
  box-shadow: 0 2px 0 #245d61, inset 0 1px 0 rgba(255,255,255,.38);
}

.console-button:hover { filter: brightness(1.08); }
.console-button:active { transform: translateY(2px); box-shadow: inset 0 1px 5px rgba(0,0,0,.35); }

.meter-bank {
  padding: 18px;
  background: #171c1e;
  border: 1px solid #0f1214;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), inset 0 4px 18px rgba(0,0,0,.32);
  border-radius: 6px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  color: #829095;
  font: 700 .64rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.meter {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
  margin: 9px 0;
}

.meter span {
  height: 10px;
  border-radius: 2px;
  background: #293235;
  border: 1px solid #111719;
}

.meter span.on { background: #6acbd0; box-shadow: 0 0 8px rgba(106,203,208,.28); }
.meter span.warm { background: #d8ae66; box-shadow: 0 0 8px rgba(216,174,102,.28); }

.hero-note {
  margin-top: 14px;
  color: #7f8d91;
  font: 700 .62rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .06em;
}

.page-section {
  padding: 44px 0;
}

.section-shell {
  border: 1px solid rgba(26,34,37,.16);
  background: #eef0ee;
  box-shadow: 0 12px 28px rgba(34,44,47,.08), inset 0 1px 0 rgba(255,255,255,.86);
  border-radius: 8px;
  overflow: hidden;
}

.section-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 0 15px;
  background: #d2d8d6;
  border-bottom: 1px solid rgba(34,40,43,.14);
}

.section-code {
  color: #556267;
  font: 800 .68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.section-state {
  color: #687579;
  font: 700 .63rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.section-body {
  padding: clamp(24px, 4vw, 44px);
}

.section-heading {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -.03em;
}

.section-copy {
  margin: 0 0 24px;
  color: #5c696d;
  max-width: 760px;
}

.signal-list {
  display: grid;
  gap: 1px;
  background: #c7cecc;
  border: 1px solid #c1c8c6;
}

.signal-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #f3f4f2;
}

.signal-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(62,166,173,.12);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.module {
  min-width: 0;
  padding: 20px;
  background: linear-gradient(180deg, #30383c 0%, #242a2d 100%);
  color: var(--text);
  border: 1px solid #151a1c;
  border-radius: 7px;
  box-shadow: 0 5px 14px rgba(24,31,33,.2), var(--bevel);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  color: #91a0a4;
  font: 800 .62rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .09em;
}

.module-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(126,211,215,.55);
}

.module h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.module p {
  margin: 0;
  color: #b5c0c3;
  font-size: .91rem;
}

.module .module-value {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber);
  font: 800 .68rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .05em;
}

.player-shell {
  background: #202629;
  border: 1px solid #111618;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--shadow), var(--bevel);
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  color: #aab6b9;
  background: #30383c;
  border-bottom: 1px solid #13181a;
  font: 800 .65rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.video {
  aspect-ratio: 16 / 9;
  background: #0c1011;
}

.video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.work-note {
  margin: 12px 0 0;
  color: #69767a;
  font-size: .88rem;
}

.pricing-shell {
  background: #1f2528;
  color: var(--text);
  border: 1px solid #111618;
  border-radius: 9px;
  box-shadow: var(--shadow), var(--bevel);
  overflow: hidden;
}

.pricing-inner {
  padding: clamp(22px, 4vw, 38px);
}

.price-tabs {
  display: inline-flex;
  gap: 7px;
  padding: 6px;
  margin: 0 0 26px;
  background: #151a1c;
  border: 1px solid #0d1112;
  border-radius: 6px;
  box-shadow: inset 0 3px 10px rgba(0,0,0,.35);
}

.price-tab {
  appearance: none;
  border: 1px solid #111719;
  border-radius: 4px;
  background: linear-gradient(180deg, #414b50 0%, #30383c 100%);
  color: #c7d0d2;
  padding: 10px 15px;
  font-weight: 800;
  font-size: .82rem;
  cursor: pointer;
  box-shadow: 0 2px 0 #111719, inset 0 1px 0 rgba(255,255,255,.08);
}

.price-tab[aria-selected="true"] {
  color: #102629;
  background: linear-gradient(180deg, #82dce0 0%, #5cbec4 100%);
  border-color: #3b959a;
  box-shadow: inset 0 2px 5px rgba(35,95,99,.28);
  transform: translateY(1px);
}

.price-panel[hidden] { display: none; }

.price-title {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.price-sub {
  margin: 0 0 22px;
  color: #9eaaad;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid #414b4f;
}

.service h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.service p {
  margin: 0;
  color: #9ca8ab;
  font-size: .89rem;
}

.price {
  align-self: start;
  color: var(--amber);
  font: 800 .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}

.estimate-form {
  margin-top: 30px;
  padding: 18px;
  background: #171c1f;
  border: 1px solid #0c1011;
  border-radius: 7px;
  box-shadow: inset 0 4px 16px rgba(0,0,0,.3);
}

.estimate-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 16px;
}

.estimate-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.estimate-head span {
  color: #738085;
  font: 800 .62rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.estimate-question {
  padding: 15px 0;
  border-top: 1px solid #30383c;
}

.estimate-question legend,
.estimate-question > label {
  display: block;
  margin-bottom: 10px;
  color: #c8d1d3;
  font-weight: 750;
  font-size: .9rem;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choices label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #0f1416;
  border-radius: 4px;
  color: #aeb9bc;
  background: linear-gradient(180deg, #3d474b 0%, #2c3438 100%);
  box-shadow: 0 2px 0 #0f1416, inset 0 1px 0 rgba(255,255,255,.07);
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.choices label:has(input:checked) {
  color: #102629;
  background: linear-gradient(180deg, #82dce0 0%, #5cbec4 100%);
  border-color: #3b959a;
  box-shadow: inset 0 2px 5px rgba(35,95,99,.28);
  transform: translateY(1px);
}

.choices input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choices label:has(input:focus-visible) {
  outline: 2px solid #d8eff0;
  outline-offset: 2px;
}

.estimate-song {
  margin-top: 12px;
  padding: 16px;
  background: #22292c;
  border: 1px solid #353f43;
  border-radius: 5px;
}

.estimate-song[hidden] { display: none; }

.estimate-song > h3 {
  margin: 0 0 4px;
  color: var(--cyan);
  font: 800 .72rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.number-control {
  display: inline-flex;
  align-items: stretch;
  background: #0f1416;
  border: 1px solid #080b0c;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: inset 0 4px 12px rgba(0,0,0,.42);
}

.number-control button {
  width: 38px;
  border: 0;
  background: linear-gradient(180deg, #3d474b, #293135);
  color: #d3dcde;
  cursor: pointer;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.number-control button:active {
  background: #242b2e;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.4);
}

.number-control input[type="number"] {
  width: 64px;
  border: 0;
  border-left: 1px solid #060809;
  border-right: 1px solid #060809;
  background: #101718;
  color: var(--cyan);
  text-align: center;
  font: 900 .95rem/36px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  appearance: textfield;
  -moz-appearance: textfield;
}

.number-control input[type="number"]::-webkit-outer-spin-button,
.number-control input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.estimate-result {
  margin-top: 16px;
  padding: 18px;
  background: #0d1314;
  border: 1px solid #080b0c;
  border-radius: 5px;
  box-shadow: inset 0 4px 18px rgba(0,0,0,.48);
}

.estimate-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f7b7f;
  font: 800 .62rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.estimate-total {
  margin: 7px 0 6px;
  color: #98eff0;
  text-shadow: 0 0 12px rgba(126,211,215,.24);
  font: 900 clamp(2rem, 5vw, 3.5rem)/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -.04em;
}

.estimate-breakdown {
  margin: 0;
  color: #7f8b8f;
  font-size: .82rem;
}

.estimate-note {
  margin: 9px 0 0;
  color: #687579;
  font-size: .78rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(180deg, #2f383c 0%, #252c2f 100%);
  color: var(--text);
  border: 1px solid #111618;
  border-radius: 8px;
  box-shadow: var(--shadow), var(--bevel);
}

.contact-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.contact-panel p {
  margin: 0;
  color: #b2bdc0;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rack-unit {
  min-width: 0;
  background: linear-gradient(180deg, #30383c 0%, #242a2d 100%);
  color: var(--text);
  border: 1px solid #111618;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(25,31,34,.18), var(--bevel);
  overflow: hidden;
}

.rack-unit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  background: #394347;
  border-bottom: 1px solid #171c1e;
  color: #a9b5b8;
  font: 800 .62rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.rack-unit-body { padding: 20px; }

.rack-unit h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.rack-unit p {
  margin: 0;
  color: #bac4c7;
}

.footer {
  margin-top: 42px;
  padding: 28px 0 38px;
  color: #667276;
  font-size: .78rem;
}

@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; }
  .meter-bank { max-width: 460px; }
  .module-grid { grid-template-columns: 1fr; }
  .setup-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .site-header { position: static; }
  .topbar { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .navlinks { width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .navlinks a { white-space: nowrap; }
  .hero { padding-top: 24px; }
  .hero-body { padding: 28px 20px; }
  .plugin-head { padding: 0 12px; }
  .plugin-title span { display: none; }
  .page-section { padding: 28px 0; }
  .section-body { padding: 22px 18px; }
  .service { grid-template-columns: 1fr; gap: 7px; }
  .price { white-space: normal; }
  .pricing-inner { padding: 18px; }
  .price-tabs { display: flex; width: 100%; }
  .price-tab { flex: 1; padding-inline: 8px; }
  .estimate-form { padding: 14px; }
  .estimate-song { padding: 12px; }
  .contact-panel { grid-template-columns: 1fr; }
}
