:root {
  --as-ink: #0f172a;
  --as-muted: #5f6b7a;
  --as-body: #334155;
  --as-line: #e5ebf5;
  --as-line-strong: #d7e1f6;
  --as-card: rgba(255, 255, 255, 0.86);
  --as-card-solid: #ffffff;
  --as-surface: #f8fbff;
  --as-surface-2: #f5f8ff;
  --as-accent: #4067D9;
  --as-accent-2: #6f8cff;
  --as-accent-soft: #eef3ff;
  --as-accent-soft-2: #f4f7ff;
  --as-accent-glow: rgba(64, 103, 217, 0.12);

  --as-radius-lg: 28px;
  --as-radius-md: 18px;
  --as-radius-sm: 12px;

  --as-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
  --as-shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
  --as-shadow-lg: 0 30px 72px rgba(15, 23, 42, 0.12);
}

/* section */
#assumptions.assumptions-section {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 6vw, 96px) 0;
  color: var(--as-ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(64, 103, 217, 0.04), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(64, 103, 217, 0.05), transparent 22%);
}

/* shell */
#assumptions .assumptions-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  display: grid;
  gap: 28px;
}

/* header */
#assumptions .assumptions-header {
  display: grid;
  gap: 12px;
  max-width: 760px;
  animation: assumptionsIntroUp 0.72s cubic-bezier(.2,.7,.2,1) both;
}

#assumptions .assumptions-kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(64, 103, 217, 0.12);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-accent);
  font-weight: 800;
}

#assumptions .assumptions-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--as-ink);
  max-width: 14ch;
  text-wrap: balance;
}

#assumptions .assumptions-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--as-muted);
  max-width: 64ch;
}

/* grid */
#assumptions .assumptions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 20px;
  align-items: stretch;
}

/* cards */
#assumptions .assumptions-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 100%;
  min-height: 100%;
  background: var(--as-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-lg);
  padding: 22px 20px 20px;
  box-shadow: var(--as-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition:
    transform 0.28s cubic-bezier(.2,.7,.2,1),
    box-shadow 0.28s cubic-bezier(.2,.7,.2,1),
    border-color 0.28s ease,
    background 0.28s ease;
}

#assumptions .assumptions-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(64, 103, 217, 0.1), transparent 36%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}

#assumptions .assumptions-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--as-accent), var(--as-accent-2));
  transform: scaleY(0.24);
  transform-origin: top;
  opacity: 0.35;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#assumptions .assumptions-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--as-shadow-lg);
  border-color: var(--as-line-strong);
  background: var(--as-card-solid);
}

#assumptions .assumptions-card:hover::before {
  opacity: 1;
}

#assumptions .assumptions-card:hover::after {
  transform: scaleY(1);
  opacity: 1;
}

#assumptions .assumptions-card-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--as-accent);
  letter-spacing: -0.02em;
  transition: transform 0.28s ease, color 0.28s ease;
}

#assumptions .assumptions-card:hover .assumptions-card-title {
  transform: translateY(-1px);
}

/* assumptions list */
#assumptions .assumptions-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

#assumptions .assumptions-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
  border: 1px solid #e6ecfb;
  font-size: 15px;
  line-height: 1.72;
  color: var(--as-body);
  transition:
    transform 0.26s cubic-bezier(.2,.7,.2,1),
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.26s ease,
    color 0.26s ease;
}

#assumptions .assumptions-list li::before {
  content: counter(assumption-item);
  counter-increment: assumption-item;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  margin-top: 1px;
  background: var(--as-accent-soft);
  border: 1px solid #d8e2ff;
  color: var(--as-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

#assumptions .assumptions-list {
  counter-reset: assumption-item;
}

#assumptions .assumptions-list li:hover {
  transform: translateY(-3px);
  border-color: #d3ddff;
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(64, 103, 217, 0.07);
  color: #22314d;
}

/* hypotheses */
#assumptions .hypothesis-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

#assumptions .hypothesis-list li {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 16px 16px 14px;
  border-radius: var(--as-radius-md);
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
  border: 1px solid #e1e8ff;
  transition:
    transform 0.26s cubic-bezier(.2,.7,.2,1),
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.26s ease;
}

#assumptions .hypothesis-list li::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--as-accent), var(--as-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

#assumptions .hypothesis-list li:hover {
  transform: translateY(-4px);
  border-color: #d3ddff;
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(64, 103, 217, 0.08);
}

#assumptions .hypothesis-list li:hover::after {
  transform: scaleX(1);
}

#assumptions .hypothesis-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--as-accent-soft);
  color: var(--as-accent);
  border: 1px solid #d7e0ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  transition:
    transform 0.26s cubic-bezier(.2,.7,.2,1),
    background 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

#assumptions .hypothesis-list li:hover .hypothesis-label {
  transform: translateY(-1px) scale(1.04);
  background: linear-gradient(180deg, #f3f6ff 0%, #e8efff 100%);
  border-color: #cad8ff;
  box-shadow:
    0 10px 18px rgba(64, 103, 217, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

#assumptions .hypothesis-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--as-body);
  transition: color 0.26s ease, transform 0.26s ease;
}

#assumptions .hypothesis-list li:hover p {
  color: #22314d;
  transform: translateY(-1px);
}

/* micro variation */
#assumptions .hypothesis-list li:nth-child(1):hover .hypothesis-label {
  transform: translateY(-1px) scale(1.04) rotate(-1deg);
}

#assumptions .hypothesis-list li:nth-child(2):hover .hypothesis-label {
  transform: translateY(-1px) scale(1.05);
}

#assumptions .hypothesis-list li:nth-child(3):hover .hypothesis-label {
  transform: translateY(-1px) scale(1.04) rotate(1deg);
}

/* motion */
@media (prefers-reduced-motion: no-preference) {
  #assumptions .assumptions-card {
    animation: assumptionsCardIn 0.58s cubic-bezier(.2,.7,.2,1) both;
  }

  #assumptions .assumptions-card:nth-child(1) {
    animation-delay: 0.05s;
  }

  #assumptions .assumptions-card:nth-child(2) {
    animation-delay: 0.12s;
  }

  #assumptions .assumptions-list li,
  #assumptions .hypothesis-list li {
    animation: assumptionsInnerIn 0.52s cubic-bezier(.2,.7,.2,1) both;
  }

  #assumptions .assumptions-list li:nth-child(1),
  #assumptions .hypothesis-list li:nth-child(1) {
    animation-delay: 0.14s;
  }

  #assumptions .assumptions-list li:nth-child(2),
  #assumptions .hypothesis-list li:nth-child(2) {
    animation-delay: 0.19s;
  }

  #assumptions .assumptions-list li:nth-child(3),
  #assumptions .hypothesis-list li:nth-child(3) {
    animation-delay: 0.24s;
  }

  #assumptions .assumptions-list li:nth-child(4) {
    animation-delay: 0.29s;
  }
}

@keyframes assumptionsIntroUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes assumptionsCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes assumptionsInnerIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  #assumptions .assumptions-header,
  #assumptions .assumptions-card,
  #assumptions .assumptions-card::before,
  #assumptions .assumptions-card::after,
  #assumptions .assumptions-card-title,
  #assumptions .assumptions-list li,
  #assumptions .assumptions-list li::before,
  #assumptions .hypothesis-list li,
  #assumptions .hypothesis-label,
  #assumptions .hypothesis-list p {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* responsive */
@media (max-width: 900px) {
  #assumptions .assumptions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #assumptions.assumptions-section {
    padding: 34px 0 58px;
  }

  #assumptions .assumptions-shell {
    gap: 22px;
    padding: 0 20px;
  }

  #assumptions .assumptions-title {
    font-size: 32px;
    line-height: 1.1;
  }

  #assumptions .assumptions-intro {
    font-size: 15px;
    line-height: 1.72;
  }

  #assumptions .assumptions-card {
    padding: 18px 16px;
    border-radius: 24px;
  }

  #assumptions .assumptions-card-title {
    font-size: 20px;
  }

  #assumptions .assumptions-list li,
  #assumptions .hypothesis-list p {
    font-size: 14px;
    line-height: 1.7;
  }

  #assumptions .assumptions-list li {
    gap: 10px;
    padding: 13px 13px 13px 14px;
  }

  #assumptions .assumptions-list li::before {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  #assumptions .hypothesis-list li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  #assumptions .hypothesis-label {
    width: fit-content;
  }
}


.assumptions-grid {
  align-items: stretch;
}

.assumptions-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.assumptions-list,
.hypothesis-list {
  display: grid;
  gap: 14px;
}