/* ========================================
   ImageClickScript — Official Site Styles
   Color: #F7F3EE / #2E4A3F / #D26640 / #2C2C2C
   Font: Noto Sans JP / JetBrains Mono
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F7F3EE;
  --primary: #2E4A3F;
  --accent: #D26640;
  --text: #2C2C2C;
  --text-muted: #6B6560;
  --border: #D8D2CB;
  --bg-card: #FFFFFF;
  --bg-dark: #2E4A3F;

  --font-body: "Noto Sans JP", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  --lh-ja: 1.7;
  --lh-mixed: 1.3;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
  --space-2xl: 160px;

  --radius: 8px;
  --radius-lg: 16px;

  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: var(--lh-ja);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: var(--lh-mixed);
  text-transform: uppercase;
}

.sp-only {
  display: none;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-base);
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-slow);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background var(--transition-slow), transform var(--transition-base) !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding: calc(72px + var(--space-xl)) var(--space-md) var(--space-xl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-label {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero-label .mono-label {
  background: var(--primary);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  max-width: 18em;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 28em;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
  z-index: 0;
}

.btn-primary:hover::before {
  width: 300%;
  height: 300%;
}

.btn-primary span,
.btn-primary .btn-version {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
  flex-direction: column;
  gap: 4px;
}

.btn-version {
  font-size: 0.65rem;
  opacity: 0.7;
}

/* --- Hero Visual --- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-window {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 20px 60px rgba(46, 74, 63, 0.08);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--primary);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(247, 243, 238, 0.3);
}

.window-dot:first-child {
  background: #E5746A;
}

.window-dot:nth-child(2) {
  background: #E5C46A;
}

.window-dot:nth-child(3) {
  background: #6AE59A;
}

.window-title {
  margin-left: auto;
  color: rgba(247, 243, 238, 0.6);
  font-size: 0.65rem;
}

.window-body {
  padding: var(--space-md);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.placeholder-icon {
  margin-bottom: var(--space-sm);
  opacity: 0.4;
}

.placeholder-text {
  opacity: 0.5;
  font-size: 0.7rem;
}

/* --- Scroll Hint --- */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ========================================
   Sections — Common
   ======================================== */
.section-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-label {
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* ========================================
   Features
   ======================================== */
.features {
  padding: var(--space-xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(210, 102, 64, 0.06);
}

.feature-icon {
  color: var(--primary);
  margin-bottom: var(--space-md);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 74, 63, 0.06);
  border-radius: 12px;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.feature-tag {
  color: var(--accent);
  font-size: 0.65rem;
}

/* ========================================
   How it Works
   ======================================== */
.how-it-works {
  padding: var(--space-xl) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 880px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: var(--space-md);
  align-items: center;
}

.step--reverse {
  direction: ltr;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(46, 74, 63, 0.1);
  line-height: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.step-description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.step-visual {
  display: flex;
  justify-content: center;
}

.step-placeholder {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4/3;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--transition-base), border-color var(--transition-base);
}

.step-placeholder:hover {
  opacity: 0.8;
  border-color: var(--accent);
}

.placeholder-icon--small {
  opacity: 0.5;
}

.step-divider {
  display: flex;
  justify-content: flex-start;
  padding: var(--space-sm) 0 var(--space-sm) 20px;
}

.divider-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ========================================
   Specifications
   ======================================== */
.specifications {
  padding: var(--space-xl) 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.spec-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.spec-block-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.spec-key {
  color: var(--accent);
  font-size: 0.7rem;
  min-width: 80px;
  flex-shrink: 0;
}

.spec-code-block {
  background: var(--primary);
  color: rgba(247, 243, 238, 0.85);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  overflow-x: auto;
}

.spec-code-block code {
  font-size: 0.8rem;
  line-height: 1.8;
}

.code-keyword {
  color: var(--accent);
  filter: brightness(1.3);
}

.code-value {
  color: #90C5A9;
}

/* ========================================
   Download
   ======================================== */
.download {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.download-inner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: center;
  color: var(--bg);
}

.download .section-label {
  color: rgba(247, 243, 238, 0.5);
}

.download .section-title {
  color: var(--bg);
}

.download-description {
  color: rgba(247, 243, 238, 0.7);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.download .btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.download .btn-primary::before {
  background: rgba(255, 255, 255, 0.15);
}

.requirements-title {
  color: rgba(247, 243, 238, 0.4);
  margin-bottom: var(--space-sm);
  font-size: 0.65rem;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.requirements-list li {
  font-size: 0.8rem;
  color: rgba(247, 243, 238, 0.7);
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.requirements-list .spec-key {
  color: rgba(210, 102, 64, 0.8);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--primary);
  color: rgba(247, 243, 238, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(247, 243, 238, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bg);
}

.footer-brand .logo-mark {
  background: rgba(247, 243, 238, 0.15);
  color: var(--bg);
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.footer-brand .logo-text {
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: var(--space-md);
}

.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(247, 243, 238, 0.5);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--bg);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom .mono-label {
  font-size: 0.65rem;
  color: rgba(247, 243, 238, 0.3);
}

/* ========================================
   Navigation — Current Page Indicator
   ======================================== */
.nav-links a.is-current {
  color: var(--text);
}

.nav-links a.is-current::after {
  width: 100%;
}

.section-cta {
  margin-top: var(--space-lg);
  text-align: center;
}

/* ========================================
   Page Hero (Sub pages)
   ======================================== */
.page-hero {
  padding: calc(72px + var(--space-lg)) 0 var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-top: var(--space-xs);
}

.page-hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ========================================
   Usage Page
   ======================================== */
.usage-toc {
  padding: var(--space-lg) 0;
}

.toc-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  max-width: 480px;
}

.toc-title {
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-size: 0.65rem;
}

.toc-list {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li {
  counter-increment: toc;
}

.toc-list li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toc-list li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  min-width: 24px;
}

.toc-list li a:hover {
  color: var(--text);
}

.usage-content {
  padding: 0 0 var(--space-xl);
}

.usage-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.usage-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.usage-step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(46, 74, 63, 0.15);
  line-height: 1;
}

.usage-section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.usage-section-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  max-width: 40em;
}

.usage-step-block {
  margin-top: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--border);
}

.usage-substep-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.usage-step-block p {
  font-size: 0.875rem;
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-sm) 0;
  font-size: 0.85rem;
}

.usage-table th,
.usage-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.usage-table th {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.usage-table td {
  color: var(--text-muted);
}

.usage-table tr:last-child td {
  border-bottom: none;
}

.usage-callout {
  background: rgba(46, 74, 63, 0.04);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}

.usage-callout-title {
  color: var(--primary);
  font-size: 0.65rem;
  margin-bottom: 6px;
}

.usage-callout p,
.usage-callout li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.usage-list {
  list-style: disc;
  padding-left: 1.5em;
  margin-top: var(--space-xs);
}

.usage-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.usage-code-block {
  margin: var(--space-md) 0;
}

/* ========================================
   Legal / Terms Page
   ======================================== */
.legal-content {
  padding: var(--space-lg) 0 var(--space-xl);
}

.legal-body {
  max-width: 720px;
}

.legal-section {
  margin-bottom: var(--space-lg);
}

.legal-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40em;
}

.legal-list {
  list-style: none;
  counter-reset: legal;
  margin-top: var(--space-xs);
}

.legal-list li {
  counter-increment: legal;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 2em;
  position: relative;
  margin-bottom: var(--space-xs);
  max-width: 40em;
}

.legal-list li::before {
  content: counter(legal) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  padding: var(--space-lg) 0 var(--space-xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-lg);
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-required {
  color: var(--accent);
  font-size: 0.6rem;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition-base);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--border);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
}

.form-actions {
  margin-top: var(--space-md);
}

.form-notice {
  margin-top: var(--space-md);
}

.form-notice .mono-label {
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: none;
}

.form-notice a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-info-title {
  color: var(--accent);
  font-size: 0.65rem;
  margin-bottom: var(--space-xs);
}

.contact-info-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-checklist {
  margin-top: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-checklist li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.contact-resources {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-resources a {
  font-size: 0.85rem;
  color: var(--accent);
  transition: color var(--transition-base);
}

.contact-resources a:hover {
  color: var(--text);
}

/* ========================================
   Download Page
   ======================================== */
.download-page {
  padding: var(--space-lg) 0 var(--space-xl);
}

.download-page-layout {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.download-card--main {
  border-color: var(--primary);
  border-width: 2px;
}

.download-card-header {
  margin-bottom: var(--space-md);
}

.download-card-badge .mono-label {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.6rem;
  margin-bottom: var(--space-xs);
}

.download-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.download-card-title .mono-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: none;
}

.download-card-date {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-top: 4px;
}

.download-card-body {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.download-main-btn {
  flex-direction: row;
  gap: 10px;
}

.download-file-info {
  color: var(--text-muted);
  font-size: 0.65rem;
  margin-top: var(--space-xs);
}

.download-card-meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.download-meta-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.download-card-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.download-install-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.download-install-steps li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.download-install-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(46, 74, 63, 0.06);
  color: var(--primary);
  font-size: 0.7rem;
  border-radius: 50%;
}

.download-install-steps li strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.download-install-steps li p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.download-install-steps li a {
  color: var(--accent);
}

/* FAQ */
.download-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: var(--space-sm) 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 0 var(--space-sm);
}

.faq-answer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 40em;
}

/* ========================================
   Page CTA (Sub pages)
   ======================================== */
.page-cta {
  padding: 0 0 var(--space-xl);
}

.page-cta-inner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  color: var(--bg);
}

.page-cta-inner .section-title {
  color: var(--bg);
}

.page-cta-description {
  color: rgba(247, 243, 238, 0.7);
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.9375rem;
}

.page-cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.page-cta .btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.page-cta .btn-primary::before {
  background: rgba(255, 255, 255, 0.15);
}

.page-cta .btn-ghost {
  border-color: rgba(247, 243, 238, 0.3);
  color: var(--bg);
}

.page-cta .btn-ghost:hover {
  border-color: var(--bg);
  color: var(--bg);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .step {
    grid-template-columns: auto 1fr;
  }

  .step-visual {
    display: none;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-requirements {
    text-align: left;
    background: rgba(247, 243, 238, 0.06);
    padding: var(--space-md);
    border-radius: var(--radius);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    gap: var(--space-md);
  }

  .sp-only {
    display: inline;
  }
}

@media (max-width: 600px) {
  :root {
    --space-xl: 80px;
    --space-2xl: 100px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(247, 243, 238, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    gap: var(--space-sm);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-window {
    max-width: 320px;
  }

  .step-number {
    font-size: 2rem;
  }

  .download-inner {
    padding: var(--space-md);
  }

  .download-card-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .usage-table {
    font-size: 0.8rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
}