/* anyconcept homepage
   section-specific layout and spacing for index.html. */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: flex-start;
  padding: 20vh 0 60px;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__headline {
  max-width: 700px;
  margin-bottom: 36px;
}

.hero__sub {
  max-width: 440px;
  margin-bottom: 48px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.section-divider {
  border: none;
  border-top: var(--border-width) solid var(--border);
}

.section {
  padding: 88px 0;
}

.thesis__inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 80px;
  align-items: start;
}

.thesis__right {
  padding-top: 54px;
}

.thesis__quote {
  max-width: 620px;
  margin-bottom: 24px;
  font-family: var(--font-family-sans);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.thesis__body {
  max-width: 500px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* --- comparison graphic --- */
.comparison {
  background: var(--bg-surface);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.comparison__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison__row:last-child {
  border-bottom: none;
}

.comparison__row--header {
}

.comparison__cell {
  padding: 14px 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.comparison__cell:first-child {
  border-right: 0.5px solid rgba(255, 255, 255, 0.06);
}

.comparison__row--header .comparison__cell {
  padding: 20px 28px 24px;
}

.comparison__title {
  font-family: var(--font-family-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}

.comparison__subtitle {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-mono);
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.comparison__note {
  margin-top: 16px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-mono);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}
/* --- end comparison graphic --- */

.thesis-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
}

.thesis-grid__item-label {
  margin-bottom: 20px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-mono);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.thesis-grid__item-title {
  margin-bottom: 12px;
  font-family: var(--font-family-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.thesis-grid__item-body {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-tertiary);
}

.vam {
  border-top: var(--border-width) solid var(--border);
  padding: 88px 0;
}

.vam__inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 80px;
  align-items: start;
}

.vam__left {
  padding: 0;
}

.vam__headline {
  margin-bottom: 16px;
  font-family: var(--font-family-sans);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.vam__body {
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.vam__link {
  display: inline-flex;
  font-size: 12px;
  color: var(--red);
}

.product__link {
  display: inline-flex;
  font-size: 12px;
  color: #1C1B18;
  text-decoration: none;
}

.vam__right {
}

.vam__graphic {
  background: var(--bg-surface);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.vam__mockup {
  width: 100%;
  height: auto;
  display: block;
}

.vam__graphic-note {
  margin-top: 16px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-mono);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.product {
  position: relative;
  background: #F5F3EF;
  padding: 80px 0;
}

.product .section-label {
  color: #9A9994;
}

.product__logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.product__inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 80px;
  align-items: start;
}

.product__headline {
  color: #1C1B18;
  margin-bottom: 16px;
}

.product__body {
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.8;
  color: #6B6860;
}

.product__sub {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  color: #6B6860;
  margin-bottom: 20px;
}

.product__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  padding-top: 122px;
}

.product__feature-label {
  font-family: var(--font-family-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1C1B18;
  margin-bottom: 4px;
}

.product__feature-body {
  font-size: 13px;
  line-height: 1.75;
  color: #6B6860;
}

.product__tagline {
  padding-top: 40px;
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  color: rgba(107, 104, 96, 0.6);
  border-left: 1px solid rgba(250, 87, 70, 0.4);
  padding-left: 20px;
}

/* --- GHOSTS demo animation --- */
.ghosts-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
}

.ghosts-demo__label {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-mono);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #A8A49C;
  margin-bottom: 16px;
  align-self: center;
  transition: color 0.3s ease;
}

.ghosts-demo__card {
  position: relative;
  background: #FFFFFF;
  border: 0.5px solid #E8E6E0;
  border-radius: 4px;
  padding: 28px 24px 24px;
  width: 100%;
  max-width: 280px;
  height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ghosts-demo__form-title {
  font-family: var(--font-family-sans);
  font-size: 15px;
  font-weight: 500;
  color: #1C1B18;
  margin-bottom: 16px;
}

.ghosts-demo__field {
  margin-bottom: 12px;
}

.ghosts-demo__field-label {
  font-family: var(--font-family-sans);
  font-size: 11px;
  font-weight: 500;
  color: #6B6860;
  margin-bottom: 6px;
}

.ghosts-demo__input {
  background: #F9F8F6;
  border: 1px solid #E8E6E0;
  border-radius: 3px;
  padding: 8px 10px;
  height: 32px;
  box-sizing: border-box;
  font-family: var(--font-family-sans);
  font-size: 12px;
  color: #1C1B18;
}

.ghosts-demo__input--focus {
  box-shadow: inset 0 0 0 1px #A8A49C;
}

.ghosts-demo__input-value {
  font-family: var(--font-family-sans);
  font-size: 12px;
  color: #1C1B18;
}

.ghosts-demo__btn {
  margin-top: 14px;
  background: #1C1B18;
  color: #FFFFFF;
  font-family: var(--font-family-sans);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 8px 0;
  border-radius: 3px;
  transition: opacity 0.3s ease, transform 0.1s ease;
}

.ghosts-demo__btn--pressed {
  transform: scale(0.97);
}

.ghosts-demo__cursor {
  display: none;
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 10;
  pointer-events: none;
  background: #C73D2E;
}

.ghosts-demo__cursor--arrow {
  width: 14px;
  height: 20px;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='20' viewBox='0 0 14 20'%3E%3Cpath d='M0 0l12 10H6l-1 2-3 8L0 0z' fill='%235A5A58'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.ghosts-demo__scanner {
  display: none;
  position: absolute;
  z-index: 5;
  pointer-events: none;
  border: 2px solid rgba(250, 87, 70, 0.6);
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      to right,
      rgba(250, 87, 70, 0.08) 0px,
      rgba(250, 87, 70, 0.08) 4px,
      transparent 4px,
      transparent 6px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(250, 87, 70, 0.08) 0px,
      rgba(250, 87, 70, 0.08) 4px,
      transparent 4px,
      transparent 6px
    );
  transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.ghosts-demo__badge {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FDECEA;
  border: 0.5px solid #C0392B;
  border-radius: 3px;
  padding: 8px 16px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #C0392B;
  z-index: 6;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ghosts-demo__note {
  margin-top: 16px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-mono);
  letter-spacing: 0.08em;
  color: #A8A49C;
  align-self: center;
}

.ghosts-demo__card--error {
  border-color: #C0392B;
}

.ghosts-demo__welcome {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.ghosts-demo__welcome-text {
  font-family: var(--font-family-sans);
  font-size: 20px;
  font-weight: 400;
  color: #1C1B18;
}

.ghosts-demo__error {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.ghosts-demo__error-code {
  font-family: var(--font-family-mono);
  font-size: 40px;
  font-weight: 500;
  color: #C0392B;
  line-height: 1;
  margin-bottom: 6px;
}

.ghosts-demo__error-msg {
  font-family: var(--font-family-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #A8A49C;
}

/* --- end GHOSTS demo animation --- */

.supported {
  border-top: var(--border-width) solid var(--border);
  padding: 40px 0;
}

.supported__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.supported__label {
  white-space: nowrap;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .vam__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product__tagline {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 88px 0 72px;
  }

  .hero__headline {
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
  }

  .hero__sub {
    margin-bottom: 36px;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .thesis__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .thesis-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .comparison__row {
    gap: 0 16px;
  }

  .comparison__cell {
    padding: 12px 16px;
    font-size: 12px;
  }

  .comparison__row--header .comparison__cell {
    padding: 20px 16px 16px;
  }

  .comparison__title {
    font-size: 13px;
  }

  .comparison__subtitle {
    font-size: 9px;
  }

  .vam {
    padding: 72px 0;
  }

  .product {
    padding: 64px 0;
  }

  .supported__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}
