/* ========================================
   Logic Design — Design System (Impactless)
   All classes prefixed with .ld- for safe embedding
   ======================================== */

:root {
  /* Colors */
  --ld-primary: #2563eb;
  --ld-primary-hover: #1d4ed8;
  --ld-bg: #ffffff;
  --ld-bg-muted: #f8f9fa;
  --ld-text: #0f172a;
  --ld-text-muted: #041a3d;
  --ld-border: #e2e8f0;
  --ld-border-subtle: rgba(226, 232, 240, 0.8);

  /* 8px grid */
  --ld-space-1: 8px;
  --ld-space-2: 16px;
  --ld-space-3: 24px;
  --ld-space-4: 32px;
  --ld-space-5: 40px;
  --ld-space-6: 48px;
  --ld-space-8: 64px;
  --ld-space-10: 80px;
  --ld-space-12: 96px;

  --ld-radius: 12px;
  --ld-radius-sm: 8px;
  --ld-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --ld-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --ld-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);

  --ld-header-height: 64px;
  --ld-transition: 0.25s ease;
}

/* Reset / Base (scoped to .ld-body to minimize impact) */
.ld-body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ld-text);
  background-color: var(--ld-bg);
  -webkit-font-smoothing: antialiased;
}

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

/* Layout */
.ld-container {
  width: 100%;
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ld-space-3);
  padding-right: var(--ld-space-3);
}

/* ========== Header (Sticky + backdrop-blur when scrolled) ========== */
.ld-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--ld-header-height);
  transition: background-color var(--ld-transition), backdrop-filter var(--ld-transition), box-shadow var(--ld-transition);
}

.ld-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--ld-shadow-sm);
  border-bottom: 1px solid var(--ld-border-subtle);
}

.ld-header__inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 var(--ld-space-3);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ld-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ld-text);
}

.ld-header__logo-svg {
  display: block;
  height: 22px;
  width: auto;
}

.ld-header__nav {
  display: none;
}

/* 768px以上：横並びナビ */
@media (min-width: 768px) {
  .ld-header__nav {
    display: flex;
    gap: var(--ld-space-4);
  }

  .ld-header__menu-btn {
    display: none;
  }
}

/* 767px以下：ハンバーガーメニュー（オーバーレイ） */
@media (max-width: 767px) {
  .ld-header__nav {
    position: fixed;
    top: var(--ld-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ld-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: var(--ld-space-6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ld-transition), visibility var(--ld-transition);
  }

  .ld-header.is-menu-open .ld-header__nav {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .ld-header__nav .ld-header__sep {
    display: none;
  }

  .ld-header__nav .ld-header__link {
    font-size: 1.25rem;
    padding: var(--ld-space-3) 0;
    width: 100%;
    text-align: center;
  }

  .ld-header__menu-btn {
    position: relative;
    z-index: 101;
  }

  .ld-header__menu-icon {
    width: 24px;
    height: 24px;
  }

  .ld-header__menu-icon--close {
    display: none;
  }

  .ld-header__menu-icon--open {
    display: block;
  }

  .ld-header.is-menu-open .ld-header__menu-icon--close {
    display: block;
  }

  .ld-header.is-menu-open .ld-header__menu-icon--open {
    display: none;
  }
}

.ld-header__link {
  color: var(--ld-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--ld-transition);
}

.ld-header__link:hover {
  color: var(--ld-primary);
}

.ld-header__sep {
  color: var(--ld-border);
  font-weight: 300;
  user-select: none;
}

.ld-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--ld-text);
  cursor: pointer;
  border-radius: var(--ld-radius-sm);
}

@media (min-width: 768px) {
  .ld-header__menu-btn {
    display: none;
  }
}

/* Icons */
.ld-icon {
  width: 24px;
  height: 24px;
}

.ld-icon--lg {
  width: 32px;
  height: 32px;
}

.ld-icon--xl {
  width: 40px;
  height: 40px;
}

/* ========== Hero ========== */
.ld-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--ld-space-6) var(--ld-space-3);
  padding-top: calc(var(--ld-header-height) + var(--ld-space-6));
}

.ld-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ld-bg) 0%, var(--ld-bg-muted) 100%);
  overflow: hidden;
}

.ld-hero__video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.ld-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(60deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
  background-size: 60px 52px;
  animation: ld-hero-pattern 20s linear infinite;
}

@keyframes ld-hero-pattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 52px); }
}

.ld-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.ld-hero__title {
  margin: 0 0 var(--ld-space-3);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ld-text);
}

.ld-hero__lead {
  margin: 0 0 var(--ld-space-5);
  font-size: 1.125rem;
  color: var(--ld-text-muted);
  font-weight: 400;
}

.ld-hero__lead-band {
  background: rgba(255, 255, 255, 0.35);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* 下層ページ用ヒーロー（私たちの強みなど） */
.ld-page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--ld-header-height) + var(--ld-space-8)) var(--ld-space-3) var(--ld-space-8);
}

.ld-page-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--ld-bg-muted);
  overflow: hidden;
}

.ld-page-hero__video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.ld-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.5) 100%);
}

.ld-page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.ld-page-hero__title {
  margin: 0 0 var(--ld-space-3);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ld-page-hero__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.ld-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--ld-space-2) var(--ld-space-4);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ld-primary);
  text-decoration: none;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-sm);
  background: var(--ld-bg);
  transition: background-color var(--ld-transition), color var(--ld-transition), border-color var(--ld-transition), box-shadow var(--ld-transition);
}

.ld-cta:hover {
  background: var(--ld-bg-muted);
  border-color: var(--ld-primary);
  color: var(--ld-primary-hover);
}

.ld-cta--primary {
  background: var(--ld-primary);
  color: #fff;
  border-color: var(--ld-primary);
}

.ld-cta--primary:hover {
  background: var(--ld-primary-hover);
  border-color: var(--ld-primary-hover);
  color: #fff;
}

/* ========== Section titles ========== */
.ld-section-title {
  margin: 0 0 var(--ld-space-2);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ld-text);
}

.ld-section-lead {
  margin: 0 0 var(--ld-space-6);
  font-size: 1rem;
  color: var(--ld-text-muted);
  max-width: 560px;
}

/* ========== Strength Section ========== */
.ld-strength {
  padding: var(--ld-space-10) 0;
  background: var(--ld-bg);
}

.ld-page-strength {
  padding-top: calc(var(--ld-header-height) + var(--ld-space-6));
}

.ld-strength__back {
  margin-top: var(--ld-space-6);
  text-align: center;
}

.ld-strength .ld-section-lead {
  margin-bottom: var(--ld-space-8);
}

.ld-strength__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--ld-space-4);
  align-items: stretch;
  margin-bottom: var(--ld-space-6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .ld-strength__grid {
    grid-template-columns: 1fr;
    gap: var(--ld-space-3);
  }

  .ld-strength__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

.ld-strength-card {
  padding: var(--ld-space-5);
  border-radius: var(--ld-radius);
  border: 1px solid var(--ld-border);
  background: var(--ld-bg);
  transition: box-shadow var(--ld-transition), transform var(--ld-transition);
}

.ld-strength-card--old {
  background: var(--ld-bg-muted);
  border-color: var(--ld-border);
}

.ld-strength-card--new {
  background: var(--ld-bg);
  border-color: var(--ld-primary);
  box-shadow: var(--ld-shadow);
}

.ld-strength-card--new:hover {
  box-shadow: var(--ld-shadow-lg);
  transform: translateY(-2px);
}

.ld-strength-card__icon {
  margin-bottom: var(--ld-space-3);
  color: var(--ld-text-muted);
}

.ld-strength-card--new .ld-strength-card__icon {
  color: var(--ld-primary);
}

.ld-strength-card__label {
  margin: 0 0 var(--ld-space-2);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ld-text);
}

.ld-strength-card__list {
  margin: 0;
  padding-left: var(--ld-space-3);
  font-size: 0.9375rem;
  color: var(--ld-text-muted);
  line-height: 1.8;
}

.ld-strength__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ld-text-muted);
}

.ld-strength__message {
  text-align: center;
  font-size: 1rem;
  color: var(--ld-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== 私たちの強み：5本柱（2x2 + 1x2 ブロックレイアウト） ========== */
.ld-strength-body {
  background: var(--ld-bg);
}

/* 4ブロック上部：見出し「私たちの強み」 */
.ld-strength-heading-wrap {
  padding-top: var(--ld-space-10);
  padding-bottom: var(--ld-space-6);
  text-align: center;
}

.ld-strength-heading {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ld-text);
}

/* 2x2 グリッド（1〜4）：ボディ幅内に制限 */
.ld-strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ld-space-3);
  padding-right: var(--ld-space-3);
}

@media (max-width: 767px) {
  .ld-strength-grid {
    grid-template-columns: 1fr;
  }
}

/* カード型ブロック（背景画像 + オーバーレイ + テキスト） */
.ld-pillar--card {
  position: relative;
  min-height: 420px;
  padding: var(--ld-space-6) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ld-bg-muted);
  display: flex;
  align-items: flex-end;
}

.ld-pillar--card .ld-pillar__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.ld-pillar__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.35) 100%);
}

.ld-pillar--card .ld-pillar__num,
.ld-pillar--card .ld-pillar__title,
.ld-pillar--card .ld-pillar__sub,
.ld-pillar--card .ld-pillar__catch,
.ld-pillar--card .ld-pillar__text {
  color: #fff;
}

.ld-pillar--card .ld-pillar__sub {
  color: rgba(255, 255, 255, 0.85);
}

.ld-pillar--card .ld-pillar__catch {
  color: rgba(255, 255, 255, 0.95);
}

.ld-pillar--card .ld-pillar__text {
  color: rgba(255, 255, 255, 0.9);
}

.ld-pillar__inner {
  max-width: 800px;
}

.ld-pillar__num {
  display: block;
  margin-bottom: var(--ld-space-2);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ld-border);
}

.ld-pillar__title {
  margin: 0 0 var(--ld-space-3);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ld-text);
}

.ld-pillar__sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.5em;
  font-weight: 600;
  color: var(--ld-text-muted);
}

.ld-pillar__catch {
  margin: 0 0 var(--ld-space-3);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ld-primary);
}

.ld-pillar__text {
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  line-height: 1.85;
  color: var(--ld-text);
}

.ld-pillar__text p {
  margin: 0 0 var(--ld-space-2);
}

.ld-pillar__text p:last-child {
  margin-bottom: 0;
}

.ld-pillar__text--wide p {
  margin-bottom: var(--ld-space-3);
}

.ld-strength-cta {
  padding: var(--ld-space-12) 0;
  background: var(--ld-bg);
  text-align: center;
}

.ld-strength-cta__text {
  margin: 0 0 var(--ld-space-4);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--ld-text);
}

.ld-strength-cta .ld-cta--primary {
  margin-bottom: var(--ld-space-4);
}

.ld-strength-body .ld-strength__back {
  margin-top: var(--ld-space-2);
}

@media (min-width: 768px) {
  .ld-pillar--card {
    min-height: 480px;
    padding: var(--ld-space-8) 0;
  }

  .ld-pillar--wide {
    min-height: 420px;
    padding: var(--ld-space-12) 0;
  }
}

/* ========== Service Section ========== */
.ld-service {
  padding: var(--ld-space-10) 0;
  background: var(--ld-bg);
}

.ld-service__heading {
  margin: 0 0 var(--ld-space-6);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ld-text);
  text-align: center;
}

.ld-service__list {
  display: flex;
  flex-direction: column;
  gap: var(--ld-space-6);
}

.ld-service-block {
  position: relative;
  min-height: 360px;
  border-radius: var(--ld-radius);
  overflow: hidden;
}

.ld-service-block__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ld-bg-muted);
}


.ld-service-block__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.ld-service-block__inner {
  position: relative;
  z-index: 1;
  padding: var(--ld-space-8) var(--ld-space-6);
  max-width: 720px;
}

.ld-service-block__title {
  margin: 0 0 var(--ld-space-3);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #fff;
}

.ld-service-block__sub {
  display: block;
  margin-top: 0.25em;
  font-size: 0.65em;
  font-weight: 600;
  opacity: 0.95;
}

.ld-service-block__catch {
  margin: 0 0 var(--ld-space-3);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.ld-service-block__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .ld-service-block {
    min-height: 420px;
  }

  .ld-service-block__inner {
    padding: var(--ld-space-10) var(--ld-space-8);
  }
}

/* ========== CTA Section ========== */
.ld-cta-section {
  position: relative;
  padding: var(--ld-space-12) 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.ld-cta-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ld-bg-muted);
}

.ld-cta-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.ld-cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ld-cta-section__title {
  margin: 0 0 var(--ld-space-2);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #fff;
}

.ld-cta-section__lead {
  margin: 0 0 var(--ld-space-5);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-left: auto;
  margin-right: auto;
}

.ld-cta-section .ld-section-title {
  margin-bottom: var(--ld-space-2);
}

.ld-cta-section .ld-section-lead {
  margin-bottom: var(--ld-space-5);
  margin-left: auto;
  margin-right: auto;
}

/* ========== About (会社概要) ========== */
.ld-about-main {
  padding-top: calc(var(--ld-header-height) + var(--ld-space-8));
  padding-bottom: var(--ld-space-10);
}

.ld-about-title {
  margin: 0 0 var(--ld-space-6);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ld-text);
}

.ld-about-section {
  margin-bottom: var(--ld-space-8);
}

.ld-about-company {
  margin: 0 0 var(--ld-space-4);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ld-text);
}

.ld-about-list {
  margin: 0;
  max-width: 560px;
}

.ld-about-list dt {
  margin-top: var(--ld-space-3);
  margin-bottom: var(--ld-space-1);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ld-text-muted);
}

.ld-about-list dt:first-of-type {
  margin-top: 0;
}

.ld-about-list dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ld-text);
}

.ld-about-tel {
  color: var(--ld-primary);
  text-decoration: none;
}

.ld-about-tel:hover {
  text-decoration: underline;
}

.ld-about-map-section {
  margin-top: var(--ld-space-8);
}

.ld-about-map-title {
  margin: 0 0 var(--ld-space-3);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ld-text);
}

.ld-about-map {
  border-radius: var(--ld-radius);
  overflow: hidden;
  border: 1px solid var(--ld-border);
}

.ld-about-map iframe {
  display: block;
  vertical-align: top;
}

.ld-about-map-link {
  margin: var(--ld-space-3) 0 0;
  text-align: center;
}

/* ========== Footer ========== */
.ld-footer {
  padding: var(--ld-space-5) 0;
  border-top: 1px solid var(--ld-border);
  background: var(--ld-bg-muted);
}

.ld-footer__inner {
  text-align: center;
}

.ld-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ld-text-muted);
}

/* ========== Scroll Reveal ========== */
.ld-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ld-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll (fallback if JS not ready) */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ========== Contact Form ========== */
.ld-contact-main {
  padding-top: calc(var(--ld-header-height) + var(--ld-space-8));
  padding-bottom: var(--ld-space-10);
  min-height: 60vh;
}

.ld-contact-title {
  margin: 0 0 var(--ld-space-6);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ld-text);
}

.ld-contact-success {
  max-width: 480px;
  padding: var(--ld-space-6);
  background: var(--ld-bg-muted);
  border-radius: var(--ld-radius);
  border: 1px solid var(--ld-border);
}

.ld-contact-success p {
  margin: 0 0 var(--ld-space-4);
  color: var(--ld-text);
  line-height: 1.7;
}

.ld-form-errors {
  margin: 0 0 var(--ld-space-4);
  padding: var(--ld-space-3);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--ld-radius-sm);
  color: #b91c1c;
  font-size: 0.9375rem;
  list-style: none;
}

.ld-form {
  max-width: 560px;
}

.ld-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ld-form__row {
  margin-bottom: var(--ld-space-4);
}

.ld-form__label {
  display: block;
  margin-bottom: var(--ld-space-1);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ld-text);
}

.ld-form__required {
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 400;
}

.ld-form__input,
.ld-form__textarea {
  display: block;
  width: 100%;
  padding: var(--ld-space-2) var(--ld-space-3);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ld-text);
  background: var(--ld-bg);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-sm);
  transition: border-color var(--ld-transition);
}

.ld-form__input:focus,
.ld-form__textarea:focus {
  outline: none;
  border-color: var(--ld-primary);
}

.ld-form__input--error {
  border-color: #b91c1c;
}

.ld-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.ld-form__error {
  display: block;
  margin-top: var(--ld-space-1);
  font-size: 0.875rem;
  color: #b91c1c;
}

.ld-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ld-space-2) var(--ld-space-4);
  margin-top: var(--ld-space-1);
}

.ld-form__radio-label {
  display: inline-flex;
  align-items: center;
  gap: var(--ld-space-1);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ld-text);
  cursor: pointer;
}

.ld-form__radio-label input {
  width: 1.125rem;
  height: 1.125rem;
}

.ld-form__submit {
  margin-top: var(--ld-space-6);
}
