/* ============================================================
   GTM ENGINEER LOG — /work/
   Same HUD vocabulary as the top page, deliberately calmer:
   no particle field, no glow-heavy accents, longer measure.
   ============================================================ */

:root {
  --bg:        #070b14;
  --surface:   #0b111d;
  --surface-2: #0e1626;
  --line:      rgba(126, 165, 195, 0.18);
  --line-hot:  rgba(0, 229, 255, 0.3);

  --cyan:      #35e7ff;
  --gold:      #f0c53a;

  --text:      #e6eff8;
  --text-2:    #b3c6d6;
  --text-3:    #7e96ab;

  --hud:  "Orbitron", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --shell: 940px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --sect: clamp(3.5rem, 8vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 55% 40% at 50% -10%, rgba(0, 229, 255, 0.07), transparent 65%);
  background-repeat: no-repeat;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #9ff4ff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

strong { font-weight: 700; color: #fff; }

h1, h2, h3 { text-wrap: pretty; }

.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--cyan);
  color: #04121a;
  font-family: var(--mono);
}
.skip-link:focus { left: 0; }

/* ── topbar ────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.topbar-id {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 32px;
  color: var(--text-2);
  white-space: nowrap;
}
.topbar-id:hover { color: var(--cyan); }
.topbar-id .sep, .eyebrow .sep { color: var(--text-3); }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}

.topbar-meta { display: flex; align-items: center; gap: 0.5rem; }

.chip {
  padding: 0.2rem 0.6rem;
  color: var(--cyan);
  border: 1px solid var(--line-hot);
  background: rgba(0, 229, 255, 0.06);
}

.chip-gold {
  color: var(--gold);
  border-color: rgba(232, 185, 35, 0.35);
  background: rgba(232, 185, 35, 0.06);
}

/* ── hero ──────────────────────────────────────────────── */

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  line-height: 1.6;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 1.5rem;
  max-width: 16em;
  font-size: clamp(1.75rem, 6.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.hero h1 .accent {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.lead {
  margin: 0 0 2.25rem;
  max-width: 32em;
  color: var(--text-2);
  line-height: 2.15;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--line-hot);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-primary {
  color: #04121a;
  background: var(--cyan);
  border-color: var(--cyan);
}
.btn-primary:hover { color: #04121a; background: #7defff; transform: translateY(-1px); }

.btn-ghost { color: var(--text); background: rgba(0, 229, 255, 0.04); }
.btn-ghost:hover { color: #fff; border-color: var(--cyan); background: rgba(0, 229, 255, 0.1); }

.assurances {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.assurances li {
  padding: 0.9rem 1.15rem;
  background: var(--surface);
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-2);
}

.assurances li::before {
  content: "▸";
  margin-right: 0.7rem;
  color: var(--cyan);
}

.assurances strong { color: var(--text); }

/* ── section frame ─────────────────────────────────────── */

.section {
  padding: var(--sect) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1.1rem;
  align-items: baseline;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section-id {
  grid-row: 1 / 3;
  padding-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.section-head h2 {
  margin: 0;
  font-family: var(--hud);
  font-weight: 700;
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  letter-spacing: 0.14em;
  line-height: 1.3;
  color: #eafcff;
}

.section-jp {
  grid-column: 2;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-3);
}

.section-lead {
  max-width: 34em;
  margin: 0 0 2.25rem;
  color: var(--text-2);
  line-height: 2.15;
  text-wrap: pretty;
}

.note {
  max-width: 40em;
  margin: 2.25rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid var(--line-hot);
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text-3);
  text-wrap: pretty;
}
.note strong { color: var(--text-2); }

/* ── cards ─────────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--text);
}

.card p {
  margin: 0;
  text-wrap: pretty;
  font-size: 0.88rem;
  line-height: 2;
  color: var(--text-3);
}

.ticks {
  margin: 1.1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.ticks li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--cyan);
}

.anchor-link {
  margin: 1.5rem 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.anchor-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.anchor-link a:hover {
  border-color: var(--line-hot);
  background: rgba(0, 229, 255, 0.06);
}

.skillset { scroll-margin-top: 5rem; }

.other {
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-hot);
  background: var(--surface);
}

.other-key {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.other-body {
  margin: 0;
  max-width: 44em;
  font-size: 0.88rem;
  line-height: 2;
  color: var(--text-2);
}

.callout {
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(232, 185, 35, 0.28);
  background: rgba(232, 185, 35, 0.04);
}

.callout h3 {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.callout p {
  margin: 0;
  max-width: 44em;
  font-size: 0.86rem;
  line-height: 2;
  color: var(--text-3);
}

/* ── pricing ───────────────────────────────────────────── */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.price {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.price.is-standard {
  background: var(--surface-2);
  border-color: var(--line-hot);
}

.price h3 {
  margin: 0;
  font-family: var(--hud);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.amount {
  margin: 0.9rem 0 0.3rem;
  font-family: var(--mono);
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text);
}

.amount .unit {
  margin-left: 0.4rem;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.term {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.price .ticks { margin-top: 1.25rem; }

/* ── steps ─────────────────────────────────────────────── */

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.25rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--surface);
}

.steps li::before {
  content: "0" counter(step);
  grid-row: 1 / 3;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.steps h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
}

.steps p {
  margin: 0;
  max-width: 40em;
  text-wrap: pretty;
  font-size: 0.88rem;
  line-height: 2.05;
  color: var(--text-3);
}

/* ── operator ──────────────────────────────────────────── */

.operator {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.prose p {
  margin: 0 0 1.4rem;
  color: var(--text-2);
  line-height: 2.15;
}
.prose p:last-child { margin-bottom: 0; }

.facts {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.facts > div {
  padding: 0.9rem 1.15rem;
  background: var(--surface);
}

.facts dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.facts dd {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-2);
}

.skillset {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.skill-key {
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.skill-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.skill-group h3 {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--text);
}

.skill-group .ticks {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tools li {
  padding: 0.3rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* ── contact ───────────────────────────────────────────── */

.section-contact {
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(0, 229, 255, 0.06), transparent 70%);
}

.contact-cta {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-hot);
  background: rgba(11, 17, 29, 0.6);
}

.contact-btn {
  gap: 0.6rem;
  padding: 0 2rem;
}

.contact-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.contact-status {
  display: none;
  padding: 0.15rem 0.55rem;
  color: var(--gold);
  border: 1px solid rgba(232, 185, 35, 0.35);
  background: rgba(232, 185, 35, 0.06);
}

/* フォーム公開までの暫定状態。URL 差し替え時に is-pending を外す */
.contact-cta.is-pending {
  border-style: dashed;
}

.contact-cta.is-pending .contact-status { display: inline-block; }

.contact-cta.is-pending .contact-btn {
  pointer-events: none;
  color: var(--text-3);
  background: transparent;
  border-color: var(--line);
}

/* ── footer ────────────────────────────────────────────── */

.site-footer {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 13, 0.7);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-family: var(--hud);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--text-3);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-note {
  margin: 0;
  max-width: 44em;
  margin-inline: auto;
  font-size: 0.74rem;
  line-height: 1.9;
  color: var(--text-3);
}

/* ── responsive ────────────────────────────────────────── */

@media (max-width: 820px) {
  .operator { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .section-head { grid-template-columns: 1fr; gap: 0.35rem; }
  .section-id { grid-row: auto; padding-top: 0; }
  .section-jp { grid-column: 1; }

  .actions .btn { flex: 1 1 12rem; }

  .topbar-inner { font-size: 0.66rem; letter-spacing: 0.1em; }
  .chip { padding: 0.2rem 0.45rem; }

  .steps li { grid-template-columns: 1fr; gap: 0.35rem; }
  .steps li::before { grid-row: auto; }
}

@media (max-width: 380px) {
  .topbar-meta .chip-gold { display: none; }
  .amount { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
